From eaf5b42559ddfeb384274f6e54d853ec1e7f5133 Mon Sep 17 00:00:00 2001 From: skv Date: Thu, 6 Aug 2015 10:25:42 +0300 Subject: [PATCH] No implementation of STANDARD_TYPE --- resources/GEOMDS_Resources | 2 - resources/Plugin.in | 1 - src/CMakeLists.txt | 2 +- src/FromOCCT/CMakeLists.txt | 30 + src/FromOCCT/PTKernel/CMakeLists.txt | 261 +++ src/FromOCCT/PTKernel/DBC_BaseArray.cxx | 251 +++ src/FromOCCT/PTKernel/DBC_BaseArray.hxx | 79 + src/FromOCCT/PTKernel/DBC_BaseArray.ixx | 10 + src/FromOCCT/PTKernel/DBC_BaseArray.jxx | 4 + src/FromOCCT/PTKernel/DBC_BaseArray.lxx | 33 + src/FromOCCT/PTKernel/DBC_BaseArray_objs.hxx | 82 + src/FromOCCT/PTKernel/DBC_DBVArray.cxx | 19 + src/FromOCCT/PTKernel/DBC_DBVArray.hxx | 35 + src/FromOCCT/PTKernel/DBC_VArray.gxx | 288 ++++ src/FromOCCT/PTKernel/DBC_VArrayNode.gxx | 34 + .../DBC_VArrayNodeOfVArrayOfCharacter.hxx | 65 + .../DBC_VArrayNodeOfVArrayOfCharacter_0.cxx | 29 + .../DBC_VArrayNodeOfVArrayOfExtCharacter.hxx | 65 + ...DBC_VArrayNodeOfVArrayOfExtCharacter_0.cxx | 29 + .../DBC_VArrayNodeOfVArrayOfInteger.hxx | 65 + .../DBC_VArrayNodeOfVArrayOfInteger_0.cxx | 29 + .../PTKernel/DBC_VArrayNodeOfVArrayOfReal.hxx | 65 + .../DBC_VArrayNodeOfVArrayOfReal_0.cxx | 29 + .../PTKernel/DBC_VArrayOfCharacter.hxx | 84 + .../PTKernel/DBC_VArrayOfCharacter_0.cxx | 27 + .../PTKernel/DBC_VArrayOfExtCharacter.hxx | 84 + .../PTKernel/DBC_VArrayOfExtCharacter_0.cxx | 27 + src/FromOCCT/PTKernel/DBC_VArrayOfInteger.hxx | 83 + .../PTKernel/DBC_VArrayOfInteger_0.cxx | 27 + src/FromOCCT/PTKernel/DBC_VArrayOfReal.hxx | 84 + src/FromOCCT/PTKernel/DBC_VArrayOfReal_0.cxx | 27 + src/FromOCCT/PTKernel/DBC_VArrayTNode.gxx | 16 + src/FromOCCT/PTKernel/DBC_VArrayTNode.lxx | 32 + .../DBC_VArrayTNodeOfVArrayOfCharacter.hxx | 81 + .../DBC_VArrayTNodeOfVArrayOfCharacter_0.cxx | 23 + .../DBC_VArrayTNodeOfVArrayOfExtCharacter.hxx | 81 + ...BC_VArrayTNodeOfVArrayOfExtCharacter_0.cxx | 23 + .../DBC_VArrayTNodeOfVArrayOfInteger.hxx | 81 + .../DBC_VArrayTNodeOfVArrayOfInteger_0.cxx | 23 + .../DBC_VArrayTNodeOfVArrayOfReal.hxx | 81 + .../DBC_VArrayTNodeOfVArrayOfReal_0.cxx | 23 + ...ndle_DBC_VArrayNodeOfVArrayOfCharacter.hxx | 21 + ...e_DBC_VArrayNodeOfVArrayOfExtCharacter.hxx | 21 + ...Handle_DBC_VArrayNodeOfVArrayOfInteger.hxx | 21 + .../Handle_DBC_VArrayNodeOfVArrayOfReal.hxx | 21 + .../PTKernel/Handle_ObjMgt_ExternRef.hxx | 21 + .../Handle_ObjMgt_ExternShareable.hxx | 21 + .../PTKernel/Handle_ObjMgt_PSeqOfExtRef.hxx | 21 + .../Handle_ObjMgt_SeqNodeOfPSeqOfExtRef.hxx | 21 + ...Handle_PColStd_HArray1OfExtendedString.hxx | 21 + .../Handle_PColStd_HArray1OfInteger.hxx | 21 + .../Handle_PColStd_HArray1OfPersistent.hxx | 21 + .../PTKernel/Handle_PColStd_HArray1OfReal.hxx | 21 + .../Handle_PColStd_HArray2OfInteger.hxx | 21 + .../Handle_PColStd_HArray2OfPersistent.hxx | 21 + .../PTKernel/Handle_PColStd_HArray2OfReal.hxx | 21 + ...ayNodeOfFieldOfHArray1OfExtendedString.hxx | 21 + ...td_VArrayNodeOfFieldOfHArray1OfInteger.hxx | 21 + ...VArrayNodeOfFieldOfHArray1OfPersistent.hxx | 21 + ...olStd_VArrayNodeOfFieldOfHArray1OfReal.hxx | 21 + ...td_VArrayNodeOfFieldOfHArray2OfInteger.hxx | 21 + ...VArrayNodeOfFieldOfHArray2OfPersistent.hxx | 21 + ...olStd_VArrayNodeOfFieldOfHArray2OfReal.hxx | 21 + .../Handle_PCollection_HAsciiString.hxx | 21 + .../Handle_PCollection_HExtendedString.hxx | 21 + .../PTKernel/Handle_PMMgt_PManaged.hxx | 21 + .../Handle_PShort_HArray1OfShortReal.hxx | 21 + .../Handle_PShort_HArray2OfShortReal.hxx | 21 + .../Handle_PShort_HSequenceOfShortReal.hxx | 21 + ...e_PShort_SeqNodeOfHSequenceOfShortReal.hxx | 21 + ..._VArrayNodeOfFieldOfHArray1OfShortReal.hxx | 21 + ..._VArrayNodeOfFieldOfHArray2OfShortReal.hxx | 21 + .../PTKernel/Handle_PStandard_ArrayNode.hxx | 21 + ...td_DataMapNodeOfPersistentTransientMap.hxx | 20 + ...td_DataMapNodeOfTransientPersistentMap.hxx | 20 + ...apNodeOfDoubleMapOfTransientPersistent.hxx | 20 + src/FromOCCT/PTKernel/ObjMgt_ExternRef.cxx | 16 + src/FromOCCT/PTKernel/ObjMgt_ExternRef.hxx | 63 + src/FromOCCT/PTKernel/ObjMgt_ExternRef.ixx | 12 + src/FromOCCT/PTKernel/ObjMgt_ExternRef.jxx | 2 + .../PTKernel/ObjMgt_ExternShareable.cxx | 15 + .../PTKernel/ObjMgt_ExternShareable.hxx | 59 + .../PTKernel/ObjMgt_ExternShareable.ixx | 12 + .../PTKernel/ObjMgt_ExternShareable.jxx | 2 + src/FromOCCT/PTKernel/ObjMgt_PSeqOfExtRef.hxx | 129 ++ .../PTKernel/ObjMgt_PSeqOfExtRef_0.cxx | 34 + .../ObjMgt_SeqExplorerOfPSeqOfExtRef.hxx | 69 + .../ObjMgt_SeqExplorerOfPSeqOfExtRef_0.cxx | 28 + .../PTKernel/ObjMgt_SeqNodeOfPSeqOfExtRef.hxx | 89 + .../ObjMgt_SeqNodeOfPSeqOfExtRef_0.cxx | 33 + ...PColStd_FieldOfHArray1OfExtendedString.hxx | 91 + ...olStd_FieldOfHArray1OfExtendedString_0.cxx | 27 + .../PColStd_FieldOfHArray1OfInteger.hxx | 89 + .../PColStd_FieldOfHArray1OfInteger_0.cxx | 26 + .../PColStd_FieldOfHArray1OfPersistent.hxx | 91 + .../PColStd_FieldOfHArray1OfPersistent_0.cxx | 27 + .../PTKernel/PColStd_FieldOfHArray1OfReal.hxx | 90 + .../PColStd_FieldOfHArray1OfReal_0.cxx | 26 + .../PColStd_FieldOfHArray2OfInteger.hxx | 89 + .../PColStd_FieldOfHArray2OfInteger_0.cxx | 26 + .../PColStd_FieldOfHArray2OfPersistent.hxx | 91 + .../PColStd_FieldOfHArray2OfPersistent_0.cxx | 27 + .../PTKernel/PColStd_FieldOfHArray2OfReal.hxx | 90 + .../PColStd_FieldOfHArray2OfReal_0.cxx | 26 + .../PColStd_HArray1OfExtendedString.hxx | 132 ++ .../PColStd_HArray1OfExtendedString_0.cxx | 43 + .../PTKernel/PColStd_HArray1OfInteger.hxx | 130 ++ .../PTKernel/PColStd_HArray1OfInteger_0.cxx | 42 + .../PTKernel/PColStd_HArray1OfPersistent.hxx | 132 ++ .../PColStd_HArray1OfPersistent_0.cxx | 43 + .../PTKernel/PColStd_HArray1OfReal.hxx | 131 ++ .../PTKernel/PColStd_HArray1OfReal_0.cxx | 42 + .../PTKernel/PColStd_HArray2OfInteger.hxx | 142 ++ .../PTKernel/PColStd_HArray2OfInteger_0.cxx | 42 + .../PTKernel/PColStd_HArray2OfPersistent.hxx | 144 ++ .../PColStd_HArray2OfPersistent_0.cxx | 43 + .../PTKernel/PColStd_HArray2OfReal.hxx | 143 ++ .../PTKernel/PColStd_HArray2OfReal_0.cxx | 42 + ...ayNodeOfFieldOfHArray1OfExtendedString.hxx | 66 + ...NodeOfFieldOfHArray1OfExtendedString_0.cxx | 30 + ...td_VArrayNodeOfFieldOfHArray1OfInteger.hxx | 65 + ..._VArrayNodeOfFieldOfHArray1OfInteger_0.cxx | 29 + ...VArrayNodeOfFieldOfHArray1OfPersistent.hxx | 66 + ...rrayNodeOfFieldOfHArray1OfPersistent_0.cxx | 30 + ...olStd_VArrayNodeOfFieldOfHArray1OfReal.hxx | 65 + ...Std_VArrayNodeOfFieldOfHArray1OfReal_0.cxx | 29 + ...td_VArrayNodeOfFieldOfHArray2OfInteger.hxx | 65 + ..._VArrayNodeOfFieldOfHArray2OfInteger_0.cxx | 29 + ...VArrayNodeOfFieldOfHArray2OfPersistent.hxx | 66 + ...rrayNodeOfFieldOfHArray2OfPersistent_0.cxx | 30 + ...olStd_VArrayNodeOfFieldOfHArray2OfReal.hxx | 65 + ...Std_VArrayNodeOfFieldOfHArray2OfReal_0.cxx | 29 + ...yTNodeOfFieldOfHArray1OfExtendedString.hxx | 82 + ...NodeOfFieldOfHArray1OfExtendedString_0.cxx | 24 + ...d_VArrayTNodeOfFieldOfHArray1OfInteger.hxx | 81 + ...VArrayTNodeOfFieldOfHArray1OfInteger_0.cxx | 23 + ...ArrayTNodeOfFieldOfHArray1OfPersistent.hxx | 82 + ...rayTNodeOfFieldOfHArray1OfPersistent_0.cxx | 24 + ...lStd_VArrayTNodeOfFieldOfHArray1OfReal.hxx | 81 + ...td_VArrayTNodeOfFieldOfHArray1OfReal_0.cxx | 23 + ...d_VArrayTNodeOfFieldOfHArray2OfInteger.hxx | 81 + ...VArrayTNodeOfFieldOfHArray2OfInteger_0.cxx | 23 + ...ArrayTNodeOfFieldOfHArray2OfPersistent.hxx | 82 + ...rayTNodeOfFieldOfHArray2OfPersistent_0.cxx | 24 + ...lStd_VArrayTNodeOfFieldOfHArray2OfReal.hxx | 81 + ...td_VArrayTNodeOfFieldOfHArray2OfReal_0.cxx | 23 + .../PTKernel/PCollection_AccessMode.hxx | 18 + src/FromOCCT/PTKernel/PCollection_HArray1.gxx | 112 ++ src/FromOCCT/PTKernel/PCollection_HArray1.lxx | 46 + src/FromOCCT/PTKernel/PCollection_HArray2.gxx | 133 ++ src/FromOCCT/PTKernel/PCollection_HArray2.lxx | 76 + .../PTKernel/PCollection_HAsciiString.cxx | 735 ++++++++ .../PTKernel/PCollection_HAsciiString.hxx | 293 ++++ .../PTKernel/PCollection_HAsciiString.ixx | 12 + .../PTKernel/PCollection_HAsciiString.jxx | 8 + .../PTKernel/PCollection_HExtendedString.cxx | 573 +++++++ .../PTKernel/PCollection_HExtendedString.hxx | 238 +++ .../PTKernel/PCollection_HExtendedString.ixx | 12 + .../PTKernel/PCollection_HExtendedString.jxx | 8 + .../PTKernel/PCollection_HSequence.gxx | 465 +++++ .../PTKernel/PCollection_SeqExplorer.gxx | 100 ++ src/FromOCCT/PTKernel/PCollection_SeqNode.gxx | 107 ++ src/FromOCCT/PTKernel/PMMgt_PManaged.cxx | 59 + src/FromOCCT/PTKernel/PMMgt_PManaged.hxx | 69 + src/FromOCCT/PTKernel/PMMgt_PManaged.ixx | 12 + src/FromOCCT/PTKernel/PMMgt_PManaged.jxx | 2 + .../PShort_FieldOfHArray1OfShortReal.hxx | 90 + .../PShort_FieldOfHArray1OfShortReal_0.cxx | 26 + .../PShort_FieldOfHArray2OfShortReal.hxx | 90 + .../PShort_FieldOfHArray2OfShortReal_0.cxx | 26 + .../PTKernel/PShort_HArray1OfShortReal.hxx | 131 ++ .../PTKernel/PShort_HArray1OfShortReal_0.cxx | 42 + .../PTKernel/PShort_HArray2OfShortReal.hxx | 143 ++ .../PTKernel/PShort_HArray2OfShortReal_0.cxx | 42 + .../PTKernel/PShort_HSequenceOfShortReal.hxx | 128 ++ .../PShort_HSequenceOfShortReal_0.cxx | 33 + ...hort_SeqExplorerOfHSequenceOfShortReal.hxx | 68 + ...rt_SeqExplorerOfHSequenceOfShortReal_0.cxx | 27 + .../PShort_SeqNodeOfHSequenceOfShortReal.hxx | 88 + ...PShort_SeqNodeOfHSequenceOfShortReal_0.cxx | 32 + ..._VArrayNodeOfFieldOfHArray1OfShortReal.hxx | 65 + ...ArrayNodeOfFieldOfHArray1OfShortReal_0.cxx | 29 + ..._VArrayNodeOfFieldOfHArray2OfShortReal.hxx | 65 + ...ArrayNodeOfFieldOfHArray2OfShortReal_0.cxx | 29 + ...VArrayTNodeOfFieldOfHArray1OfShortReal.hxx | 81 + ...rrayTNodeOfFieldOfHArray1OfShortReal_0.cxx | 23 + ...VArrayTNodeOfFieldOfHArray2OfShortReal.hxx | 81 + ...rrayTNodeOfFieldOfHArray2OfShortReal_0.cxx | 23 + src/FromOCCT/PTKernel/PStandard_ArrayNode.cxx | 20 + src/FromOCCT/PTKernel/PStandard_ArrayNode.hxx | 53 + src/FromOCCT/PTKernel/PStandard_ArrayNode.ixx | 12 + src/FromOCCT/PTKernel/PStandard_ArrayNode.jxx | 1 + ...ataMapIteratorOfPersistentTransientMap.hxx | 66 + ...aMapIteratorOfPersistentTransientMap_0.cxx | 31 + ...ataMapIteratorOfTransientPersistentMap.hxx | 66 + ...aMapIteratorOfTransientPersistentMap_0.cxx | 31 + ...td_DataMapNodeOfPersistentTransientMap.hxx | 91 + ..._DataMapNodeOfPersistentTransientMap_0.cxx | 48 + ...td_DataMapNodeOfTransientPersistentMap.hxx | 91 + ..._DataMapNodeOfTransientPersistentMap_0.cxx | 48 + ...eratorOfDoubleMapOfTransientPersistent.hxx | 67 + ...atorOfDoubleMapOfTransientPersistent_0.cxx | 34 + ...apNodeOfDoubleMapOfTransientPersistent.hxx | 99 ++ ...NodeOfDoubleMapOfTransientPersistent_0.cxx | 51 + ...TColStd_DoubleMapOfTransientPersistent.hxx | 95 + ...olStd_DoubleMapOfTransientPersistent_0.cxx | 36 + .../PTKernel/PTColStd_MapPersistentHasher.hxx | 54 + .../PTColStd_MapPersistentHasher_0.cxx | 16 + .../PTColStd_PersistentTransientMap.hxx | 100 ++ .../PTColStd_PersistentTransientMap_0.cxx | 32 + .../PTColStd_TransientPersistentMap.hxx | 100 ++ .../PTColStd_TransientPersistentMap_0.cxx | 32 + src/FromOCCT/TKPCAF/CMakeLists.txt | 319 ++++ .../Handle_MDataXtd_AxisRetrievalDriver.hxx | 20 + .../Handle_MDataXtd_AxisStorageDriver.hxx | 20 + ...dle_MDataXtd_ConstraintRetrievalDriver.hxx | 20 + ...andle_MDataXtd_ConstraintStorageDriver.hxx | 20 + ...andle_MDataXtd_GeometryRetrievalDriver.hxx | 20 + .../Handle_MDataXtd_GeometryStorageDriver.hxx | 20 + ...dle_MDataXtd_PatternStdRetrievalDriver.hxx | 20 + ...andle_MDataXtd_PatternStdStorageDriver.hxx | 20 + ...ndle_MDataXtd_PlacementRetrievalDriver.hxx | 20 + ...Handle_MDataXtd_PlacementStorageDriver.hxx | 20 + .../Handle_MDataXtd_PlaneRetrievalDriver.hxx | 20 + .../Handle_MDataXtd_PlaneStorageDriver.hxx | 20 + .../Handle_MDataXtd_PointRetrievalDriver.hxx | 20 + .../Handle_MDataXtd_PointStorageDriver.hxx | 20 + .../Handle_MDataXtd_ShapeRetrievalDriver.hxx | 20 + .../Handle_MDataXtd_ShapeStorageDriver.hxx | 20 + ...ndle_MNaming_NamedShapeRetrievalDriver.hxx | 20 + ...Handle_MNaming_NamedShapeStorageDriver.hxx | 20 + .../Handle_MNaming_NamingRetrievalDriver.hxx | 20 + ...Handle_MNaming_NamingRetrievalDriver_1.hxx | 20 + ...Handle_MNaming_NamingRetrievalDriver_2.hxx | 20 + .../Handle_MNaming_NamingStorageDriver.hxx | 20 + ...MPrsStd_AISPresentationRetrievalDriver.hxx | 20 + ...rsStd_AISPresentationRetrievalDriver_1.hxx | 20 + ...e_MPrsStd_AISPresentationStorageDriver.hxx | 20 + ...Handle_MPrsStd_PositionRetrievalDriver.hxx | 20 + .../Handle_MPrsStd_PositionStorageDriver.hxx | 20 + src/FromOCCT/TKPCAF/Handle_PDataXtd_Axis.hxx | 21 + .../TKPCAF/Handle_PDataXtd_Constraint.hxx | 21 + .../TKPCAF/Handle_PDataXtd_Geometry.hxx | 21 + .../TKPCAF/Handle_PDataXtd_PatternStd.hxx | 21 + .../TKPCAF/Handle_PDataXtd_Placement.hxx | 21 + src/FromOCCT/TKPCAF/Handle_PDataXtd_Plane.hxx | 21 + src/FromOCCT/TKPCAF/Handle_PDataXtd_Point.hxx | 21 + .../TKPCAF/Handle_PDataXtd_Position.hxx | 21 + src/FromOCCT/TKPCAF/Handle_PDataXtd_Shape.hxx | 21 + .../Handle_PNaming_HArray1OfNamedShape.hxx | 21 + src/FromOCCT/TKPCAF/Handle_PNaming_Name.hxx | 21 + src/FromOCCT/TKPCAF/Handle_PNaming_Name_1.hxx | 21 + src/FromOCCT/TKPCAF/Handle_PNaming_Name_2.hxx | 21 + .../TKPCAF/Handle_PNaming_NamedShape.hxx | 21 + src/FromOCCT/TKPCAF/Handle_PNaming_Naming.hxx | 21 + .../TKPCAF/Handle_PNaming_Naming_1.hxx | 21 + .../TKPCAF/Handle_PNaming_Naming_2.hxx | 21 + ...VArrayNodeOfFieldOfHArray1OfNamedShape.hxx | 21 + .../TKPCAF/Handle_PPrsStd_AISPresentation.hxx | 21 + .../Handle_PPrsStd_AISPresentation_1.hxx | 21 + src/FromOCCT/TKPCAF/MDataXtd.cxx | 315 ++++ src/FromOCCT/TKPCAF/MDataXtd.hxx | 120 ++ src/FromOCCT/TKPCAF/MDataXtd.ixx | 10 + src/FromOCCT/TKPCAF/MDataXtd.jxx | 6 + .../TKPCAF/MDataXtd_AxisRetrievalDriver.cxx | 36 + .../TKPCAF/MDataXtd_AxisRetrievalDriver.hxx | 70 + .../TKPCAF/MDataXtd_AxisRetrievalDriver.ixx | 28 + .../TKPCAF/MDataXtd_AxisRetrievalDriver.jxx | 6 + .../TKPCAF/MDataXtd_AxisStorageDriver.cxx | 35 + .../TKPCAF/MDataXtd_AxisStorageDriver.hxx | 70 + .../TKPCAF/MDataXtd_AxisStorageDriver.ixx | 28 + .../TKPCAF/MDataXtd_AxisStorageDriver.jxx | 6 + .../MDataXtd_ConstraintRetrievalDriver.cxx | 120 ++ .../MDataXtd_ConstraintRetrievalDriver.hxx | 70 + .../MDataXtd_ConstraintRetrievalDriver.ixx | 28 + .../MDataXtd_ConstraintRetrievalDriver.jxx | 6 + .../MDataXtd_ConstraintStorageDriver.cxx | 123 ++ .../MDataXtd_ConstraintStorageDriver.hxx | 70 + .../MDataXtd_ConstraintStorageDriver.ixx | 28 + .../MDataXtd_ConstraintStorageDriver.jxx | 6 + .../MDataXtd_GeometryRetrievalDriver.cxx | 85 + .../MDataXtd_GeometryRetrievalDriver.hxx | 70 + .../MDataXtd_GeometryRetrievalDriver.ixx | 28 + .../MDataXtd_GeometryRetrievalDriver.jxx | 6 + .../TKPCAF/MDataXtd_GeometryStorageDriver.cxx | 85 + .../TKPCAF/MDataXtd_GeometryStorageDriver.hxx | 70 + .../TKPCAF/MDataXtd_GeometryStorageDriver.ixx | 28 + .../TKPCAF/MDataXtd_GeometryStorageDriver.jxx | 6 + .../MDataXtd_PatternStdRetrievalDriver.cxx | 116 ++ .../MDataXtd_PatternStdRetrievalDriver.hxx | 70 + .../MDataXtd_PatternStdRetrievalDriver.ixx | 28 + .../MDataXtd_PatternStdRetrievalDriver.jxx | 6 + .../MDataXtd_PatternStdStorageDriver.cxx | 119 ++ .../MDataXtd_PatternStdStorageDriver.hxx | 70 + .../MDataXtd_PatternStdStorageDriver.ixx | 28 + .../MDataXtd_PatternStdStorageDriver.jxx | 6 + .../MDataXtd_PlacementRetrievalDriver.cxx | 74 + .../MDataXtd_PlacementRetrievalDriver.hxx | 70 + .../MDataXtd_PlacementRetrievalDriver.ixx | 28 + .../MDataXtd_PlacementRetrievalDriver.jxx | 6 + .../MDataXtd_PlacementStorageDriver.cxx | 74 + .../MDataXtd_PlacementStorageDriver.hxx | 70 + .../MDataXtd_PlacementStorageDriver.ixx | 28 + .../MDataXtd_PlacementStorageDriver.jxx | 6 + .../TKPCAF/MDataXtd_PlaneRetrievalDriver.cxx | 36 + .../TKPCAF/MDataXtd_PlaneRetrievalDriver.hxx | 70 + .../TKPCAF/MDataXtd_PlaneRetrievalDriver.ixx | 28 + .../TKPCAF/MDataXtd_PlaneRetrievalDriver.jxx | 6 + .../TKPCAF/MDataXtd_PlaneStorageDriver.cxx | 36 + .../TKPCAF/MDataXtd_PlaneStorageDriver.hxx | 70 + .../TKPCAF/MDataXtd_PlaneStorageDriver.ixx | 28 + .../TKPCAF/MDataXtd_PlaneStorageDriver.jxx | 6 + .../TKPCAF/MDataXtd_PointRetrievalDriver.cxx | 36 + .../TKPCAF/MDataXtd_PointRetrievalDriver.hxx | 70 + .../TKPCAF/MDataXtd_PointRetrievalDriver.ixx | 28 + .../TKPCAF/MDataXtd_PointRetrievalDriver.jxx | 6 + .../TKPCAF/MDataXtd_PointStorageDriver.cxx | 35 + .../TKPCAF/MDataXtd_PointStorageDriver.hxx | 70 + .../TKPCAF/MDataXtd_PointStorageDriver.ixx | 28 + .../TKPCAF/MDataXtd_PointStorageDriver.jxx | 6 + .../TKPCAF/MDataXtd_ShapeRetrievalDriver.cxx | 36 + .../TKPCAF/MDataXtd_ShapeRetrievalDriver.hxx | 70 + .../TKPCAF/MDataXtd_ShapeRetrievalDriver.ixx | 28 + .../TKPCAF/MDataXtd_ShapeRetrievalDriver.jxx | 6 + .../TKPCAF/MDataXtd_ShapeStorageDriver.cxx | 36 + .../TKPCAF/MDataXtd_ShapeStorageDriver.hxx | 70 + .../TKPCAF/MDataXtd_ShapeStorageDriver.ixx | 28 + .../TKPCAF/MDataXtd_ShapeStorageDriver.jxx | 6 + src/FromOCCT/TKPCAF/MNaming.cxx | 59 + src/FromOCCT/TKPCAF/MNaming.hxx | 70 + src/FromOCCT/TKPCAF/MNaming.ixx | 10 + src/FromOCCT/TKPCAF/MNaming.jxx | 4 + .../MNaming_NamedShapeRetrievalDriver.cxx | 176 ++ .../MNaming_NamedShapeRetrievalDriver.hxx | 70 + .../MNaming_NamedShapeRetrievalDriver.ixx | 28 + .../MNaming_NamedShapeRetrievalDriver.jxx | 6 + .../MNaming_NamedShapeStorageDriver.cxx | 161 ++ .../MNaming_NamedShapeStorageDriver.hxx | 70 + .../MNaming_NamedShapeStorageDriver.ixx | 28 + .../MNaming_NamedShapeStorageDriver.jxx | 6 + .../TKPCAF/MNaming_NamingRetrievalDriver.cxx | 158 ++ .../TKPCAF/MNaming_NamingRetrievalDriver.hxx | 70 + .../TKPCAF/MNaming_NamingRetrievalDriver.ixx | 28 + .../TKPCAF/MNaming_NamingRetrievalDriver.jxx | 6 + .../MNaming_NamingRetrievalDriver_1.cxx | 196 +++ .../MNaming_NamingRetrievalDriver_1.hxx | 70 + .../MNaming_NamingRetrievalDriver_1.ixx | 28 + .../MNaming_NamingRetrievalDriver_1.jxx | 6 + .../MNaming_NamingRetrievalDriver_2.cxx | 184 ++ .../MNaming_NamingRetrievalDriver_2.hxx | 70 + .../MNaming_NamingRetrievalDriver_2.ixx | 28 + .../MNaming_NamingRetrievalDriver_2.jxx | 6 + .../TKPCAF/MNaming_NamingStorageDriver.cxx | 196 +++ .../TKPCAF/MNaming_NamingStorageDriver.hxx | 70 + .../TKPCAF/MNaming_NamingStorageDriver.ixx | 28 + .../TKPCAF/MNaming_NamingStorageDriver.jxx | 6 + src/FromOCCT/TKPCAF/MPrsStd.cxx | 56 + src/FromOCCT/TKPCAF/MPrsStd.hxx | 71 + src/FromOCCT/TKPCAF/MPrsStd.ixx | 10 + src/FromOCCT/TKPCAF/MPrsStd.jxx | 4 + ...MPrsStd_AISPresentationRetrievalDriver.cxx | 76 + ...MPrsStd_AISPresentationRetrievalDriver.hxx | 71 + ...MPrsStd_AISPresentationRetrievalDriver.ixx | 28 + ...MPrsStd_AISPresentationRetrievalDriver.jxx | 6 + ...rsStd_AISPresentationRetrievalDriver_1.cxx | 79 + ...rsStd_AISPresentationRetrievalDriver_1.hxx | 71 + ...rsStd_AISPresentationRetrievalDriver_1.ixx | 28 + ...rsStd_AISPresentationRetrievalDriver_1.jxx | 6 + .../MPrsStd_AISPresentationStorageDriver.cxx | 90 + .../MPrsStd_AISPresentationStorageDriver.hxx | 71 + .../MPrsStd_AISPresentationStorageDriver.ixx | 28 + .../MPrsStd_AISPresentationStorageDriver.jxx | 6 + .../MPrsStd_PositionRetrievalDriver.cxx | 63 + .../MPrsStd_PositionRetrievalDriver.hxx | 71 + .../MPrsStd_PositionRetrievalDriver.ixx | 28 + .../MPrsStd_PositionRetrievalDriver.jxx | 6 + .../TKPCAF/MPrsStd_PositionStorageDriver.cxx | 65 + .../TKPCAF/MPrsStd_PositionStorageDriver.hxx | 71 + .../TKPCAF/MPrsStd_PositionStorageDriver.ixx | 28 + .../TKPCAF/MPrsStd_PositionStorageDriver.jxx | 6 + src/FromOCCT/TKPCAF/PDataXtd_Axis.cxx | 16 + src/FromOCCT/TKPCAF/PDataXtd_Axis.hxx | 52 + src/FromOCCT/TKPCAF/PDataXtd_Axis.ixx | 12 + src/FromOCCT/TKPCAF/PDataXtd_Axis.jxx | 1 + src/FromOCCT/TKPCAF/PDataXtd_Constraint.cxx | 112 ++ src/FromOCCT/TKPCAF/PDataXtd_Constraint.hxx | 111 ++ src/FromOCCT/TKPCAF/PDataXtd_Constraint.ixx | 12 + src/FromOCCT/TKPCAF/PDataXtd_Constraint.jxx | 4 + src/FromOCCT/TKPCAF/PDataXtd_Geometry.cxx | 27 + src/FromOCCT/TKPCAF/PDataXtd_Geometry.hxx | 62 + src/FromOCCT/TKPCAF/PDataXtd_Geometry.ixx | 12 + src/FromOCCT/TKPCAF/PDataXtd_Geometry.jxx | 1 + src/FromOCCT/TKPCAF/PDataXtd_PatternStd.cxx | 24 + src/FromOCCT/TKPCAF/PDataXtd_PatternStd.hxx | 131 ++ src/FromOCCT/TKPCAF/PDataXtd_PatternStd.ixx | 12 + src/FromOCCT/TKPCAF/PDataXtd_PatternStd.jxx | 4 + src/FromOCCT/TKPCAF/PDataXtd_PatternStd.lxx | 218 +++ src/FromOCCT/TKPCAF/PDataXtd_Placement.cxx | 17 + src/FromOCCT/TKPCAF/PDataXtd_Placement.hxx | 52 + src/FromOCCT/TKPCAF/PDataXtd_Placement.ixx | 12 + src/FromOCCT/TKPCAF/PDataXtd_Placement.jxx | 1 + src/FromOCCT/TKPCAF/PDataXtd_Plane.cxx | 17 + src/FromOCCT/TKPCAF/PDataXtd_Plane.hxx | 52 + src/FromOCCT/TKPCAF/PDataXtd_Plane.ixx | 12 + src/FromOCCT/TKPCAF/PDataXtd_Plane.jxx | 1 + src/FromOCCT/TKPCAF/PDataXtd_Point.cxx | 17 + src/FromOCCT/TKPCAF/PDataXtd_Point.hxx | 52 + src/FromOCCT/TKPCAF/PDataXtd_Point.ixx | 12 + src/FromOCCT/TKPCAF/PDataXtd_Point.jxx | 1 + src/FromOCCT/TKPCAF/PDataXtd_Position.cxx | 29 + src/FromOCCT/TKPCAF/PDataXtd_Position.hxx | 61 + src/FromOCCT/TKPCAF/PDataXtd_Position.ixx | 12 + src/FromOCCT/TKPCAF/PDataXtd_Position.jxx | 2 + src/FromOCCT/TKPCAF/PDataXtd_Position.lxx | 36 + src/FromOCCT/TKPCAF/PDataXtd_Shape.cxx | 18 + src/FromOCCT/TKPCAF/PDataXtd_Shape.hxx | 52 + src/FromOCCT/TKPCAF/PDataXtd_Shape.ixx | 12 + src/FromOCCT/TKPCAF/PDataXtd_Shape.jxx | 1 + .../PNaming_FieldOfHArray1OfNamedShape.hxx | 91 + .../PNaming_FieldOfHArray1OfNamedShape_0.cxx | 27 + .../TKPCAF/PNaming_HArray1OfNamedShape.hxx | 132 ++ .../TKPCAF/PNaming_HArray1OfNamedShape_0.cxx | 43 + src/FromOCCT/TKPCAF/PNaming_Name.cxx | 27 + src/FromOCCT/TKPCAF/PNaming_Name.hxx | 93 + src/FromOCCT/TKPCAF/PNaming_Name.ixx | 12 + src/FromOCCT/TKPCAF/PNaming_Name.jxx | 3 + src/FromOCCT/TKPCAF/PNaming_Name.lxx | 46 + src/FromOCCT/TKPCAF/PNaming_Name_1.cxx | 25 + src/FromOCCT/TKPCAF/PNaming_Name_1.hxx | 102 ++ src/FromOCCT/TKPCAF/PNaming_Name_1.ixx | 12 + src/FromOCCT/TKPCAF/PNaming_Name_1.jxx | 4 + src/FromOCCT/TKPCAF/PNaming_Name_1.lxx | 51 + src/FromOCCT/TKPCAF/PNaming_Name_2.cxx | 25 + src/FromOCCT/TKPCAF/PNaming_Name_2.hxx | 109 ++ src/FromOCCT/TKPCAF/PNaming_Name_2.ixx | 12 + src/FromOCCT/TKPCAF/PNaming_Name_2.jxx | 4 + src/FromOCCT/TKPCAF/PNaming_Name_2.lxx | 56 + src/FromOCCT/TKPCAF/PNaming_NamedShape.cxx | 114 ++ src/FromOCCT/TKPCAF/PNaming_NamedShape.hxx | 95 + src/FromOCCT/TKPCAF/PNaming_NamedShape.ixx | 12 + src/FromOCCT/TKPCAF/PNaming_NamedShape.jxx | 2 + src/FromOCCT/TKPCAF/PNaming_Naming.cxx | 44 + src/FromOCCT/TKPCAF/PNaming_Naming.hxx | 61 + src/FromOCCT/TKPCAF/PNaming_Naming.ixx | 12 + src/FromOCCT/TKPCAF/PNaming_Naming.jxx | 2 + src/FromOCCT/TKPCAF/PNaming_Naming_1.cxx | 42 + src/FromOCCT/TKPCAF/PNaming_Naming_1.hxx | 61 + src/FromOCCT/TKPCAF/PNaming_Naming_1.ixx | 12 + src/FromOCCT/TKPCAF/PNaming_Naming_1.jxx | 2 + src/FromOCCT/TKPCAF/PNaming_Naming_2.cxx | 42 + src/FromOCCT/TKPCAF/PNaming_Naming_2.hxx | 61 + src/FromOCCT/TKPCAF/PNaming_Naming_2.ixx | 12 + src/FromOCCT/TKPCAF/PNaming_Naming_2.jxx | 2 + ...VArrayNodeOfFieldOfHArray1OfNamedShape.hxx | 66 + ...rrayNodeOfFieldOfHArray1OfNamedShape_0.cxx | 30 + ...ArrayTNodeOfFieldOfHArray1OfNamedShape.hxx | 82 + ...rayTNodeOfFieldOfHArray1OfNamedShape_0.cxx | 24 + .../TKPCAF/PPrsStd_AISPresentation.cxx | 144 ++ .../TKPCAF/PPrsStd_AISPresentation.hxx | 99 ++ .../TKPCAF/PPrsStd_AISPresentation.ixx | 12 + .../TKPCAF/PPrsStd_AISPresentation.jxx | 2 + .../TKPCAF/PPrsStd_AISPresentation_1.cxx | 172 ++ .../TKPCAF/PPrsStd_AISPresentation_1.hxx | 106 ++ .../TKPCAF/PPrsStd_AISPresentation_1.ixx | 12 + .../TKPCAF/PPrsStd_AISPresentation_1.jxx | 2 + src/FromOCCT/TKPLCAF/CMakeLists.txt | 736 ++++++++ src/FromOCCT/TKPLCAF/Handle_MDF_ARDriver.hxx | 20 + .../TKPLCAF/Handle_MDF_ARDriverHSequence.hxx | 20 + .../TKPLCAF/Handle_MDF_ARDriverTable.hxx | 20 + src/FromOCCT/TKPLCAF/Handle_MDF_ASDriver.hxx | 20 + .../TKPLCAF/Handle_MDF_ASDriverHSequence.hxx | 20 + .../TKPLCAF/Handle_MDF_ASDriverTable.hxx | 20 + ...andle_MDF_DataMapNodeOfTypeARDriverMap.hxx | 20 + ...andle_MDF_DataMapNodeOfTypeASDriverMap.hxx | 20 + ...NodeOfTypeDriverListMapOfARDriverTable.hxx | 20 + ...NodeOfTypeDriverListMapOfASDriverTable.hxx | 20 + ...DF_ListNodeOfDriverListOfARDriverTable.hxx | 20 + ...DF_ListNodeOfDriverListOfASDriverTable.hxx | 20 + .../TKPLCAF/Handle_MDF_RRelocationTable.hxx | 20 + .../Handle_MDF_ReferenceRetrievalDriver.hxx | 20 + .../Handle_MDF_ReferenceStorageDriver.hxx | 20 + .../TKPLCAF/Handle_MDF_SRelocationTable.hxx | 20 + ...dle_MDF_SequenceNodeOfARDriverSequence.hxx | 20 + ...dle_MDF_SequenceNodeOfASDriverSequence.hxx | 20 + .../Handle_MDF_TagSourceRetrievalDriver.hxx | 20 + .../Handle_MDF_TagSourceStorageDriver.hxx | 20 + ...le_MDataStd_AsciiStringRetrievalDriver.hxx | 20 + ...ndle_MDataStd_AsciiStringStorageDriver.hxx | 20 + ...e_MDataStd_BooleanArrayRetrievalDriver.hxx | 20 + ...dle_MDataStd_BooleanArrayStorageDriver.hxx | 20 + ...le_MDataStd_BooleanListRetrievalDriver.hxx | 20 + ...ndle_MDataStd_BooleanListStorageDriver.hxx | 20 + ...ndle_MDataStd_ByteArrayRetrievalDriver.hxx | 20 + ...le_MDataStd_ByteArrayRetrievalDriver_1.hxx | 20 + ...Handle_MDataStd_ByteArrayStorageDriver.hxx | 20 + ...Handle_MDataStd_CommentRetrievalDriver.hxx | 20 + .../Handle_MDataStd_CommentStorageDriver.hxx | 20 + ...ndle_MDataStd_DirectoryRetrievalDriver.hxx | 20 + ...Handle_MDataStd_DirectoryStorageDriver.hxx | 20 + ...dle_MDataStd_ExpressionRetrievalDriver.hxx | 20 + ...andle_MDataStd_ExpressionStorageDriver.hxx | 20 + ...MDataStd_ExtStringArrayRetrievalDriver.hxx | 20 + ...ataStd_ExtStringArrayRetrievalDriver_1.hxx | 20 + ...e_MDataStd_ExtStringArrayStorageDriver.hxx | 20 + ..._MDataStd_ExtStringListRetrievalDriver.hxx | 20 + ...le_MDataStd_ExtStringListStorageDriver.hxx | 20 + ...e_MDataStd_IntPackedMapRetrievalDriver.hxx | 20 + ...MDataStd_IntPackedMapRetrievalDriver_1.hxx | 20 + ...dle_MDataStd_IntPackedMapStorageDriver.hxx | 20 + ...e_MDataStd_IntegerArrayRetrievalDriver.hxx | 20 + ...MDataStd_IntegerArrayRetrievalDriver_1.hxx | 20 + ...dle_MDataStd_IntegerArrayStorageDriver.hxx | 20 + ...le_MDataStd_IntegerListRetrievalDriver.hxx | 20 + ...ndle_MDataStd_IntegerListStorageDriver.hxx | 20 + ...Handle_MDataStd_IntegerRetrievalDriver.hxx | 20 + .../Handle_MDataStd_IntegerStorageDriver.hxx | 20 + .../Handle_MDataStd_NameRetrievalDriver.hxx | 20 + .../Handle_MDataStd_NameStorageDriver.hxx | 20 + ...ndle_MDataStd_NamedDataRetrievalDriver.hxx | 20 + ...Handle_MDataStd_NamedDataStorageDriver.hxx | 20 + ...andle_MDataStd_NoteBookRetrievalDriver.hxx | 20 + .../Handle_MDataStd_NoteBookStorageDriver.hxx | 20 + ...ndle_MDataStd_RealArrayRetrievalDriver.hxx | 20 + ...le_MDataStd_RealArrayRetrievalDriver_1.hxx | 20 + ...Handle_MDataStd_RealArrayStorageDriver.hxx | 20 + ...andle_MDataStd_RealListRetrievalDriver.hxx | 20 + .../Handle_MDataStd_RealListStorageDriver.hxx | 20 + .../Handle_MDataStd_RealRetrievalDriver.hxx | 20 + .../Handle_MDataStd_RealStorageDriver.hxx | 20 + ...MDataStd_ReferenceArrayRetrievalDriver.hxx | 20 + ...e_MDataStd_ReferenceArrayStorageDriver.hxx | 20 + ..._MDataStd_ReferenceListRetrievalDriver.hxx | 20 + ...le_MDataStd_ReferenceListStorageDriver.hxx | 20 + ...andle_MDataStd_RelationRetrievalDriver.hxx | 20 + .../Handle_MDataStd_RelationStorageDriver.hxx | 20 + .../Handle_MDataStd_TickRetrievalDriver.hxx | 20 + .../Handle_MDataStd_TickStorageDriver.hxx | 20 + ...andle_MDataStd_TreeNodeRetrievalDriver.hxx | 20 + .../Handle_MDataStd_TreeNodeStorageDriver.hxx | 20 + ...dle_MDataStd_UAttributeRetrievalDriver.hxx | 20 + ...andle_MDataStd_UAttributeStorageDriver.hxx | 20 + ...andle_MDataStd_VariableRetrievalDriver.hxx | 20 + .../Handle_MDataStd_VariableStorageDriver.hxx | 20 + ...Handle_MDocStd_DocumentRetrievalDriver.hxx | 20 + .../Handle_MDocStd_DocumentStorageDriver.hxx | 20 + .../Handle_MDocStd_XLinkRetrievalDriver.hxx | 20 + .../Handle_MDocStd_XLinkStorageDriver.hxx | 20 + ...ndle_MFunction_FunctionRetrievalDriver.hxx | 20 + ...Handle_MFunction_FunctionStorageDriver.hxx | 20 + src/FromOCCT/TKPLCAF/Handle_PDF_Attribute.hxx | 21 + src/FromOCCT/TKPLCAF/Handle_PDF_Data.hxx | 21 + .../TKPLCAF/Handle_PDF_HAttributeArray1.hxx | 21 + src/FromOCCT/TKPLCAF/Handle_PDF_Reference.hxx | 21 + src/FromOCCT/TKPLCAF/Handle_PDF_TagSource.hxx | 21 + ...DF_VArrayNodeOfFieldOfHAttributeArray1.hxx | 21 + .../TKPLCAF/Handle_PDataStd_AsciiString.hxx | 21 + .../TKPLCAF/Handle_PDataStd_BooleanArray.hxx | 21 + .../TKPLCAF/Handle_PDataStd_BooleanList.hxx | 21 + .../TKPLCAF/Handle_PDataStd_ByteArray.hxx | 21 + .../TKPLCAF/Handle_PDataStd_ByteArray_1.hxx | 21 + .../TKPLCAF/Handle_PDataStd_Comment.hxx | 21 + .../TKPLCAF/Handle_PDataStd_Directory.hxx | 21 + .../TKPLCAF/Handle_PDataStd_Expression.hxx | 21 + .../Handle_PDataStd_ExtStringArray.hxx | 21 + .../Handle_PDataStd_ExtStringArray_1.hxx | 21 + .../TKPLCAF/Handle_PDataStd_ExtStringList.hxx | 21 + .../TKPLCAF/Handle_PDataStd_HArray1OfByte.hxx | 21 + ...dle_PDataStd_HArray1OfHArray1OfInteger.hxx | 21 + ...Handle_PDataStd_HArray1OfHArray1OfReal.hxx | 21 + .../Handle_PDataStd_HArray1OfHAsciiString.hxx | 21 + .../TKPLCAF/Handle_PDataStd_IntPackedMap.hxx | 21 + .../Handle_PDataStd_IntPackedMap_1.hxx | 21 + .../TKPLCAF/Handle_PDataStd_Integer.hxx | 21 + .../TKPLCAF/Handle_PDataStd_IntegerArray.hxx | 21 + .../Handle_PDataStd_IntegerArray_1.hxx | 21 + .../TKPLCAF/Handle_PDataStd_IntegerList.hxx | 21 + src/FromOCCT/TKPLCAF/Handle_PDataStd_Name.hxx | 21 + .../TKPLCAF/Handle_PDataStd_NamedData.hxx | 21 + .../TKPLCAF/Handle_PDataStd_NoteBook.hxx | 21 + src/FromOCCT/TKPLCAF/Handle_PDataStd_Real.hxx | 21 + .../TKPLCAF/Handle_PDataStd_RealArray.hxx | 21 + .../TKPLCAF/Handle_PDataStd_RealArray_1.hxx | 21 + .../TKPLCAF/Handle_PDataStd_RealList.hxx | 21 + .../Handle_PDataStd_ReferenceArray.hxx | 21 + .../TKPLCAF/Handle_PDataStd_ReferenceList.hxx | 21 + .../TKPLCAF/Handle_PDataStd_Relation.hxx | 21 + src/FromOCCT/TKPLCAF/Handle_PDataStd_Tick.hxx | 21 + .../TKPLCAF/Handle_PDataStd_TreeNode.hxx | 21 + .../TKPLCAF/Handle_PDataStd_UAttribute.hxx | 21 + ...taStd_VArrayNodeOfFieldOfHArray1OfByte.hxx | 21 + ...NodeOfFieldOfHArray1OfHArray1OfInteger.hxx | 21 + ...rayNodeOfFieldOfHArray1OfHArray1OfReal.hxx | 21 + ...rrayNodeOfFieldOfHArray1OfHAsciiString.hxx | 21 + .../TKPLCAF/Handle_PDataStd_Variable.hxx | 21 + .../TKPLCAF/Handle_PDocStd_Document.hxx | 21 + src/FromOCCT/TKPLCAF/Handle_PDocStd_XLink.hxx | 21 + .../TKPLCAF/Handle_PFunction_Function.hxx | 21 + src/FromOCCT/TKPLCAF/MDF.cxx | 121 ++ src/FromOCCT/TKPLCAF/MDF.hxx | 179 ++ src/FromOCCT/TKPLCAF/MDF.ixx | 10 + src/FromOCCT/TKPLCAF/MDF.jxx | 10 + src/FromOCCT/TKPLCAF/MDF_ARDriver.cxx | 42 + src/FromOCCT/TKPLCAF/MDF_ARDriver.hxx | 80 + src/FromOCCT/TKPLCAF/MDF_ARDriver.ixx | 27 + src/FromOCCT/TKPLCAF/MDF_ARDriver.jxx | 7 + .../TKPLCAF/MDF_ARDriverHSequence.hxx | 116 ++ .../TKPLCAF/MDF_ARDriverHSequence_0.cxx | 40 + src/FromOCCT/TKPLCAF/MDF_ARDriverSequence.hxx | 127 ++ .../TKPLCAF/MDF_ARDriverSequence_0.cxx | 23 + src/FromOCCT/TKPLCAF/MDF_ARDriverTable.hxx | 78 + src/FromOCCT/TKPLCAF/MDF_ARDriverTable_0.cxx | 78 + src/FromOCCT/TKPLCAF/MDF_ASDriver.cxx | 42 + src/FromOCCT/TKPLCAF/MDF_ASDriver.hxx | 80 + src/FromOCCT/TKPLCAF/MDF_ASDriver.ixx | 27 + src/FromOCCT/TKPLCAF/MDF_ASDriver.jxx | 7 + .../TKPLCAF/MDF_ASDriverHSequence.hxx | 116 ++ .../TKPLCAF/MDF_ASDriverHSequence_0.cxx | 40 + src/FromOCCT/TKPLCAF/MDF_ASDriverSequence.hxx | 127 ++ .../TKPLCAF/MDF_ASDriverSequence_0.cxx | 23 + src/FromOCCT/TKPLCAF/MDF_ASDriverTable.hxx | 78 + src/FromOCCT/TKPLCAF/MDF_ASDriverTable_0.cxx | 78 + .../MDF_DataMapIteratorOfTypeARDriverMap.hxx | 66 + ...MDF_DataMapIteratorOfTypeARDriverMap_0.cxx | 31 + .../MDF_DataMapIteratorOfTypeASDriverMap.hxx | 66 + ...MDF_DataMapIteratorOfTypeASDriverMap_0.cxx | 31 + ...atorOfTypeDriverListMapOfARDriverTable.hxx | 65 + ...orOfTypeDriverListMapOfARDriverTable_0.cxx | 31 + ...atorOfTypeDriverListMapOfASDriverTable.hxx | 65 + ...orOfTypeDriverListMapOfASDriverTable_0.cxx | 31 + .../MDF_DataMapNodeOfTypeARDriverMap.hxx | 91 + .../MDF_DataMapNodeOfTypeARDriverMap_0.cxx | 48 + .../MDF_DataMapNodeOfTypeASDriverMap.hxx | 91 + .../MDF_DataMapNodeOfTypeASDriverMap_0.cxx | 48 + ...NodeOfTypeDriverListMapOfARDriverTable.hxx | 91 + ...deOfTypeDriverListMapOfARDriverTable_0.cxx | 48 + ...NodeOfTypeDriverListMapOfASDriverTable.hxx | 91 + ...deOfTypeDriverListMapOfASDriverTable_0.cxx | 48 + .../TKPLCAF/MDF_DriverListOfARDriverTable.hxx | 127 ++ .../MDF_DriverListOfARDriverTable_0.cxx | 25 + .../TKPLCAF/MDF_DriverListOfASDriverTable.hxx | 127 ++ .../MDF_DriverListOfASDriverTable_0.cxx | 25 + src/FromOCCT/TKPLCAF/MDF_DriverTable.gxx | 149 ++ ...istIteratorOfDriverListOfARDriverTable.hxx | 91 + ...tIteratorOfDriverListOfARDriverTable_0.cxx | 26 + ...istIteratorOfDriverListOfASDriverTable.hxx | 91 + ...tIteratorOfDriverListOfASDriverTable_0.cxx | 26 + ...DF_ListNodeOfDriverListOfARDriverTable.hxx | 77 + ..._ListNodeOfDriverListOfARDriverTable_0.cxx | 42 + ...DF_ListNodeOfDriverListOfASDriverTable.hxx | 77 + ..._ListNodeOfDriverListOfASDriverTable_0.cxx | 42 + src/FromOCCT/TKPLCAF/MDF_RRelocationTable.hxx | 78 + .../TKPLCAF/MDF_RRelocationTable_0.cxx | 47 + .../TKPLCAF/MDF_ReferenceRetrievalDriver.cxx | 58 + .../TKPLCAF/MDF_ReferenceRetrievalDriver.hxx | 70 + .../TKPLCAF/MDF_ReferenceRetrievalDriver.ixx | 28 + .../TKPLCAF/MDF_ReferenceRetrievalDriver.jxx | 6 + .../TKPLCAF/MDF_ReferenceStorageDriver.cxx | 64 + .../TKPLCAF/MDF_ReferenceStorageDriver.hxx | 70 + .../TKPLCAF/MDF_ReferenceStorageDriver.ixx | 28 + .../TKPLCAF/MDF_ReferenceStorageDriver.jxx | 6 + src/FromOCCT/TKPLCAF/MDF_RelocationTable.gxx | 128 ++ src/FromOCCT/TKPLCAF/MDF_SRelocationTable.hxx | 78 + .../TKPLCAF/MDF_SRelocationTable_0.cxx | 47 + .../MDF_SequenceNodeOfARDriverSequence.hxx | 72 + .../MDF_SequenceNodeOfARDriverSequence_0.cxx | 39 + .../MDF_SequenceNodeOfASDriverSequence.hxx | 72 + .../MDF_SequenceNodeOfASDriverSequence_0.cxx | 39 + .../TKPLCAF/MDF_TagSourceRetrievalDriver.cxx | 39 + .../TKPLCAF/MDF_TagSourceRetrievalDriver.hxx | 70 + .../TKPLCAF/MDF_TagSourceRetrievalDriver.ixx | 28 + .../TKPLCAF/MDF_TagSourceRetrievalDriver.jxx | 6 + .../TKPLCAF/MDF_TagSourceStorageDriver.cxx | 39 + .../TKPLCAF/MDF_TagSourceStorageDriver.hxx | 70 + .../TKPLCAF/MDF_TagSourceStorageDriver.ixx | 28 + .../TKPLCAF/MDF_TagSourceStorageDriver.jxx | 6 + src/FromOCCT/TKPLCAF/MDF_Tool.cxx | 456 +++++ src/FromOCCT/TKPLCAF/MDF_Tool.hxx | 80 + src/FromOCCT/TKPLCAF/MDF_Tool.ixx | 10 + src/FromOCCT/TKPLCAF/MDF_Tool.jxx | 10 + src/FromOCCT/TKPLCAF/MDF_TypeARDriverMap.hxx | 100 ++ .../TKPLCAF/MDF_TypeARDriverMap_0.cxx | 32 + src/FromOCCT/TKPLCAF/MDF_TypeASDriverMap.hxx | 100 ++ .../TKPLCAF/MDF_TypeASDriverMap_0.cxx | 32 + .../MDF_TypeDriverListMapOfARDriverTable.hxx | 99 ++ ...MDF_TypeDriverListMapOfARDriverTable_0.cxx | 32 + .../MDF_TypeDriverListMapOfASDriverTable.hxx | 99 ++ ...MDF_TypeDriverListMapOfASDriverTable_0.cxx | 32 + src/FromOCCT/TKPLCAF/MDataStd.cxx | 213 +++ src/FromOCCT/TKPLCAF/MDataStd.hxx | 183 ++ src/FromOCCT/TKPLCAF/MDataStd.ixx | 10 + src/FromOCCT/TKPLCAF/MDataStd.jxx | 4 + .../MDataStd_AsciiStringRetrievalDriver.cxx | 68 + .../MDataStd_AsciiStringRetrievalDriver.hxx | 70 + .../MDataStd_AsciiStringRetrievalDriver.ixx | 28 + .../MDataStd_AsciiStringRetrievalDriver.jxx | 6 + .../MDataStd_AsciiStringStorageDriver.cxx | 67 + .../MDataStd_AsciiStringStorageDriver.hxx | 70 + .../MDataStd_AsciiStringStorageDriver.ixx | 28 + .../MDataStd_AsciiStringStorageDriver.jxx | 6 + .../MDataStd_BooleanArrayRetrievalDriver.cxx | 85 + .../MDataStd_BooleanArrayRetrievalDriver.hxx | 67 + .../MDataStd_BooleanArrayRetrievalDriver.ixx | 28 + .../MDataStd_BooleanArrayRetrievalDriver.jxx | 6 + .../MDataStd_BooleanArrayStorageDriver.cxx | 86 + .../MDataStd_BooleanArrayStorageDriver.hxx | 67 + .../MDataStd_BooleanArrayStorageDriver.ixx | 28 + .../MDataStd_BooleanArrayStorageDriver.jxx | 6 + .../MDataStd_BooleanListRetrievalDriver.cxx | 76 + .../MDataStd_BooleanListRetrievalDriver.hxx | 67 + .../MDataStd_BooleanListRetrievalDriver.ixx | 28 + .../MDataStd_BooleanListRetrievalDriver.jxx | 6 + .../MDataStd_BooleanListStorageDriver.cxx | 85 + .../MDataStd_BooleanListStorageDriver.hxx | 67 + .../MDataStd_BooleanListStorageDriver.ixx | 28 + .../MDataStd_BooleanListStorageDriver.jxx | 6 + .../MDataStd_ByteArrayRetrievalDriver.cxx | 84 + .../MDataStd_ByteArrayRetrievalDriver.hxx | 67 + .../MDataStd_ByteArrayRetrievalDriver.ixx | 28 + .../MDataStd_ByteArrayRetrievalDriver.jxx | 6 + .../MDataStd_ByteArrayRetrievalDriver_1.cxx | 86 + .../MDataStd_ByteArrayRetrievalDriver_1.hxx | 68 + .../MDataStd_ByteArrayRetrievalDriver_1.ixx | 28 + .../MDataStd_ByteArrayRetrievalDriver_1.jxx | 6 + .../MDataStd_ByteArrayStorageDriver.cxx | 85 + .../MDataStd_ByteArrayStorageDriver.hxx | 67 + .../MDataStd_ByteArrayStorageDriver.ixx | 28 + .../MDataStd_ByteArrayStorageDriver.jxx | 6 + .../MDataStd_CommentRetrievalDriver.cxx | 46 + .../MDataStd_CommentRetrievalDriver.hxx | 70 + .../MDataStd_CommentRetrievalDriver.ixx | 28 + .../MDataStd_CommentRetrievalDriver.jxx | 6 + .../TKPLCAF/MDataStd_CommentStorageDriver.cxx | 47 + .../TKPLCAF/MDataStd_CommentStorageDriver.hxx | 70 + .../TKPLCAF/MDataStd_CommentStorageDriver.ixx | 28 + .../TKPLCAF/MDataStd_CommentStorageDriver.jxx | 6 + .../MDataStd_DirectoryRetrievalDriver.cxx | 36 + .../MDataStd_DirectoryRetrievalDriver.hxx | 70 + .../MDataStd_DirectoryRetrievalDriver.ixx | 28 + .../MDataStd_DirectoryRetrievalDriver.jxx | 6 + .../MDataStd_DirectoryStorageDriver.cxx | 36 + .../MDataStd_DirectoryStorageDriver.hxx | 70 + .../MDataStd_DirectoryStorageDriver.ixx | 28 + .../MDataStd_DirectoryStorageDriver.jxx | 6 + .../MDataStd_ExpressionRetrievalDriver.cxx | 84 + .../MDataStd_ExpressionRetrievalDriver.hxx | 70 + .../MDataStd_ExpressionRetrievalDriver.ixx | 28 + .../MDataStd_ExpressionRetrievalDriver.jxx | 6 + .../MDataStd_ExpressionStorageDriver.cxx | 88 + .../MDataStd_ExpressionStorageDriver.hxx | 70 + .../MDataStd_ExpressionStorageDriver.ixx | 28 + .../MDataStd_ExpressionStorageDriver.jxx | 6 + ...MDataStd_ExtStringArrayRetrievalDriver.cxx | 90 + ...MDataStd_ExtStringArrayRetrievalDriver.hxx | 70 + ...MDataStd_ExtStringArrayRetrievalDriver.ixx | 28 + ...MDataStd_ExtStringArrayRetrievalDriver.jxx | 6 + ...ataStd_ExtStringArrayRetrievalDriver_1.cxx | 94 + ...ataStd_ExtStringArrayRetrievalDriver_1.hxx | 71 + ...ataStd_ExtStringArrayRetrievalDriver_1.ixx | 28 + ...ataStd_ExtStringArrayRetrievalDriver_1.jxx | 6 + .../MDataStd_ExtStringArrayStorageDriver.cxx | 92 + .../MDataStd_ExtStringArrayStorageDriver.hxx | 70 + .../MDataStd_ExtStringArrayStorageDriver.ixx | 28 + .../MDataStd_ExtStringArrayStorageDriver.jxx | 6 + .../MDataStd_ExtStringListRetrievalDriver.cxx | 80 + .../MDataStd_ExtStringListRetrievalDriver.hxx | 67 + .../MDataStd_ExtStringListRetrievalDriver.ixx | 28 + .../MDataStd_ExtStringListRetrievalDriver.jxx | 6 + .../MDataStd_ExtStringListStorageDriver.cxx | 89 + .../MDataStd_ExtStringListStorageDriver.hxx | 67 + .../MDataStd_ExtStringListStorageDriver.ixx | 28 + .../MDataStd_ExtStringListStorageDriver.jxx | 6 + .../MDataStd_IntPackedMapRetrievalDriver.cxx | 77 + .../MDataStd_IntPackedMapRetrievalDriver.hxx | 70 + .../MDataStd_IntPackedMapRetrievalDriver.ixx | 28 + .../MDataStd_IntPackedMapRetrievalDriver.jxx | 6 + ...MDataStd_IntPackedMapRetrievalDriver_1.cxx | 83 + ...MDataStd_IntPackedMapRetrievalDriver_1.hxx | 71 + ...MDataStd_IntPackedMapRetrievalDriver_1.ixx | 28 + ...MDataStd_IntPackedMapRetrievalDriver_1.jxx | 6 + .../MDataStd_IntPackedMapStorageDriver.cxx | 77 + .../MDataStd_IntPackedMapStorageDriver.hxx | 70 + .../MDataStd_IntPackedMapStorageDriver.ixx | 28 + .../MDataStd_IntPackedMapStorageDriver.jxx | 6 + .../MDataStd_IntegerArrayRetrievalDriver.cxx | 82 + .../MDataStd_IntegerArrayRetrievalDriver.hxx | 70 + .../MDataStd_IntegerArrayRetrievalDriver.ixx | 28 + .../MDataStd_IntegerArrayRetrievalDriver.jxx | 6 + ...MDataStd_IntegerArrayRetrievalDriver_1.cxx | 82 + ...MDataStd_IntegerArrayRetrievalDriver_1.hxx | 71 + ...MDataStd_IntegerArrayRetrievalDriver_1.ixx | 28 + ...MDataStd_IntegerArrayRetrievalDriver_1.jxx | 6 + .../MDataStd_IntegerArrayStorageDriver.cxx | 84 + .../MDataStd_IntegerArrayStorageDriver.hxx | 70 + .../MDataStd_IntegerArrayStorageDriver.ixx | 28 + .../MDataStd_IntegerArrayStorageDriver.jxx | 6 + .../MDataStd_IntegerListRetrievalDriver.cxx | 75 + .../MDataStd_IntegerListRetrievalDriver.hxx | 67 + .../MDataStd_IntegerListRetrievalDriver.ixx | 28 + .../MDataStd_IntegerListRetrievalDriver.jxx | 6 + .../MDataStd_IntegerListStorageDriver.cxx | 85 + .../MDataStd_IntegerListStorageDriver.hxx | 67 + .../MDataStd_IntegerListStorageDriver.ixx | 28 + .../MDataStd_IntegerListStorageDriver.jxx | 6 + .../MDataStd_IntegerRetrievalDriver.cxx | 82 + .../MDataStd_IntegerRetrievalDriver.hxx | 70 + .../MDataStd_IntegerRetrievalDriver.ixx | 28 + .../MDataStd_IntegerRetrievalDriver.jxx | 6 + .../TKPLCAF/MDataStd_IntegerStorageDriver.cxx | 83 + .../TKPLCAF/MDataStd_IntegerStorageDriver.hxx | 70 + .../TKPLCAF/MDataStd_IntegerStorageDriver.ixx | 28 + .../TKPLCAF/MDataStd_IntegerStorageDriver.jxx | 6 + .../TKPLCAF/MDataStd_NameRetrievalDriver.cxx | 50 + .../TKPLCAF/MDataStd_NameRetrievalDriver.hxx | 70 + .../TKPLCAF/MDataStd_NameRetrievalDriver.ixx | 28 + .../TKPLCAF/MDataStd_NameRetrievalDriver.jxx | 6 + .../TKPLCAF/MDataStd_NameStorageDriver.cxx | 44 + .../TKPLCAF/MDataStd_NameStorageDriver.hxx | 70 + .../TKPLCAF/MDataStd_NameStorageDriver.ixx | 28 + .../TKPLCAF/MDataStd_NameStorageDriver.jxx | 6 + .../MDataStd_NamedDataRetrievalDriver.cxx | 161 ++ .../MDataStd_NamedDataRetrievalDriver.hxx | 67 + .../MDataStd_NamedDataRetrievalDriver.ixx | 28 + .../MDataStd_NamedDataRetrievalDriver.jxx | 6 + .../MDataStd_NamedDataStorageDriver.cxx | 180 ++ .../MDataStd_NamedDataStorageDriver.hxx | 67 + .../MDataStd_NamedDataStorageDriver.ixx | 28 + .../MDataStd_NamedDataStorageDriver.jxx | 6 + .../MDataStd_NoteBookRetrievalDriver.cxx | 37 + .../MDataStd_NoteBookRetrievalDriver.hxx | 70 + .../MDataStd_NoteBookRetrievalDriver.ixx | 28 + .../MDataStd_NoteBookRetrievalDriver.jxx | 6 + .../MDataStd_NoteBookStorageDriver.cxx | 37 + .../MDataStd_NoteBookStorageDriver.hxx | 70 + .../MDataStd_NoteBookStorageDriver.ixx | 28 + .../MDataStd_NoteBookStorageDriver.jxx | 6 + .../MDataStd_RealArrayRetrievalDriver.cxx | 82 + .../MDataStd_RealArrayRetrievalDriver.hxx | 70 + .../MDataStd_RealArrayRetrievalDriver.ixx | 28 + .../MDataStd_RealArrayRetrievalDriver.jxx | 6 + .../MDataStd_RealArrayRetrievalDriver_1.cxx | 84 + .../MDataStd_RealArrayRetrievalDriver_1.hxx | 71 + .../MDataStd_RealArrayRetrievalDriver_1.ixx | 28 + .../MDataStd_RealArrayRetrievalDriver_1.jxx | 6 + .../MDataStd_RealArrayStorageDriver.cxx | 83 + .../MDataStd_RealArrayStorageDriver.hxx | 70 + .../MDataStd_RealArrayStorageDriver.ixx | 28 + .../MDataStd_RealArrayStorageDriver.jxx | 6 + .../MDataStd_RealListRetrievalDriver.cxx | 76 + .../MDataStd_RealListRetrievalDriver.hxx | 67 + .../MDataStd_RealListRetrievalDriver.ixx | 28 + .../MDataStd_RealListRetrievalDriver.jxx | 6 + .../MDataStd_RealListStorageDriver.cxx | 85 + .../MDataStd_RealListStorageDriver.hxx | 67 + .../MDataStd_RealListStorageDriver.ixx | 28 + .../MDataStd_RealListStorageDriver.jxx | 6 + .../TKPLCAF/MDataStd_RealRetrievalDriver.cxx | 82 + .../TKPLCAF/MDataStd_RealRetrievalDriver.hxx | 70 + .../TKPLCAF/MDataStd_RealRetrievalDriver.ixx | 28 + .../TKPLCAF/MDataStd_RealRetrievalDriver.jxx | 6 + .../TKPLCAF/MDataStd_RealStorageDriver.cxx | 82 + .../TKPLCAF/MDataStd_RealStorageDriver.hxx | 70 + .../TKPLCAF/MDataStd_RealStorageDriver.ixx | 28 + .../TKPLCAF/MDataStd_RealStorageDriver.jxx | 6 + ...MDataStd_ReferenceArrayRetrievalDriver.cxx | 90 + ...MDataStd_ReferenceArrayRetrievalDriver.hxx | 67 + ...MDataStd_ReferenceArrayRetrievalDriver.ixx | 28 + ...MDataStd_ReferenceArrayRetrievalDriver.jxx | 6 + .../MDataStd_ReferenceArrayStorageDriver.cxx | 89 + .../MDataStd_ReferenceArrayStorageDriver.hxx | 67 + .../MDataStd_ReferenceArrayStorageDriver.ixx | 28 + .../MDataStd_ReferenceArrayStorageDriver.jxx | 6 + .../MDataStd_ReferenceListRetrievalDriver.cxx | 88 + .../MDataStd_ReferenceListRetrievalDriver.hxx | 67 + .../MDataStd_ReferenceListRetrievalDriver.ixx | 28 + .../MDataStd_ReferenceListRetrievalDriver.jxx | 6 + .../MDataStd_ReferenceListStorageDriver.cxx | 96 ++ .../MDataStd_ReferenceListStorageDriver.hxx | 67 + .../MDataStd_ReferenceListStorageDriver.ixx | 28 + .../MDataStd_ReferenceListStorageDriver.jxx | 6 + .../MDataStd_RelationRetrievalDriver.cxx | 91 + .../MDataStd_RelationRetrievalDriver.hxx | 70 + .../MDataStd_RelationRetrievalDriver.ixx | 28 + .../MDataStd_RelationRetrievalDriver.jxx | 6 + .../MDataStd_RelationStorageDriver.cxx | 86 + .../MDataStd_RelationStorageDriver.hxx | 70 + .../MDataStd_RelationStorageDriver.ixx | 28 + .../MDataStd_RelationStorageDriver.jxx | 6 + .../TKPLCAF/MDataStd_TickRetrievalDriver.cxx | 64 + .../TKPLCAF/MDataStd_TickRetrievalDriver.hxx | 68 + .../TKPLCAF/MDataStd_TickRetrievalDriver.ixx | 28 + .../TKPLCAF/MDataStd_TickRetrievalDriver.jxx | 6 + .../TKPLCAF/MDataStd_TickStorageDriver.cxx | 64 + .../TKPLCAF/MDataStd_TickStorageDriver.hxx | 68 + .../TKPLCAF/MDataStd_TickStorageDriver.ixx | 28 + .../TKPLCAF/MDataStd_TickStorageDriver.jxx | 6 + .../MDataStd_TreeNodeRetrievalDriver.cxx | 67 + .../MDataStd_TreeNodeRetrievalDriver.hxx | 69 + .../MDataStd_TreeNodeRetrievalDriver.ixx | 28 + .../MDataStd_TreeNodeRetrievalDriver.jxx | 6 + .../MDataStd_TreeNodeStorageDriver.cxx | 65 + .../MDataStd_TreeNodeStorageDriver.hxx | 69 + .../MDataStd_TreeNodeStorageDriver.ixx | 28 + .../MDataStd_TreeNodeStorageDriver.jxx | 6 + .../MDataStd_UAttributeRetrievalDriver.cxx | 83 + .../MDataStd_UAttributeRetrievalDriver.hxx | 70 + .../MDataStd_UAttributeRetrievalDriver.ixx | 28 + .../MDataStd_UAttributeRetrievalDriver.jxx | 6 + .../MDataStd_UAttributeStorageDriver.cxx | 87 + .../MDataStd_UAttributeStorageDriver.hxx | 70 + .../MDataStd_UAttributeStorageDriver.ixx | 28 + .../MDataStd_UAttributeStorageDriver.jxx | 6 + .../MDataStd_VariableRetrievalDriver.cxx | 81 + .../MDataStd_VariableRetrievalDriver.hxx | 70 + .../MDataStd_VariableRetrievalDriver.ixx | 28 + .../MDataStd_VariableRetrievalDriver.jxx | 6 + .../MDataStd_VariableStorageDriver.cxx | 83 + .../MDataStd_VariableStorageDriver.hxx | 70 + .../MDataStd_VariableStorageDriver.ixx | 28 + .../MDataStd_VariableStorageDriver.jxx | 6 + src/FromOCCT/TKPLCAF/MDocStd.cxx | 198 +++ src/FromOCCT/TKPLCAF/MDocStd.hxx | 73 + src/FromOCCT/TKPLCAF/MDocStd.ixx | 10 + src/FromOCCT/TKPLCAF/MDocStd.jxx | 6 + .../MDocStd_DocumentRetrievalDriver.cxx | 152 ++ .../MDocStd_DocumentRetrievalDriver.hxx | 79 + .../MDocStd_DocumentRetrievalDriver.ixx | 28 + .../MDocStd_DocumentRetrievalDriver.jxx | 9 + .../TKPLCAF/MDocStd_DocumentStorageDriver.cxx | 141 ++ .../TKPLCAF/MDocStd_DocumentStorageDriver.hxx | 79 + .../TKPLCAF/MDocStd_DocumentStorageDriver.ixx | 28 + .../TKPLCAF/MDocStd_DocumentStorageDriver.jxx | 9 + .../TKPLCAF/MDocStd_XLinkRetrievalDriver.cxx | 87 + .../TKPLCAF/MDocStd_XLinkRetrievalDriver.hxx | 71 + .../TKPLCAF/MDocStd_XLinkRetrievalDriver.ixx | 28 + .../TKPLCAF/MDocStd_XLinkRetrievalDriver.jxx | 6 + .../TKPLCAF/MDocStd_XLinkStorageDriver.cxx | 89 + .../TKPLCAF/MDocStd_XLinkStorageDriver.hxx | 71 + .../TKPLCAF/MDocStd_XLinkStorageDriver.ixx | 28 + .../TKPLCAF/MDocStd_XLinkStorageDriver.jxx | 6 + src/FromOCCT/TKPLCAF/MFunction.cxx | 44 + src/FromOCCT/TKPLCAF/MFunction.hxx | 62 + src/FromOCCT/TKPLCAF/MFunction.ixx | 10 + src/FromOCCT/TKPLCAF/MFunction.jxx | 4 + .../MFunction_FunctionRetrievalDriver.cxx | 45 + .../MFunction_FunctionRetrievalDriver.hxx | 69 + .../MFunction_FunctionRetrievalDriver.ixx | 28 + .../MFunction_FunctionRetrievalDriver.jxx | 6 + .../MFunction_FunctionStorageDriver.cxx | 45 + .../MFunction_FunctionStorageDriver.hxx | 69 + .../MFunction_FunctionStorageDriver.ixx | 28 + .../MFunction_FunctionStorageDriver.jxx | 6 + src/FromOCCT/TKPLCAF/PDF_Attribute.cxx | 24 + src/FromOCCT/TKPLCAF/PDF_Attribute.hxx | 54 + src/FromOCCT/TKPLCAF/PDF_Attribute.ixx | 12 + src/FromOCCT/TKPLCAF/PDF_Attribute.jxx | 1 + src/FromOCCT/TKPLCAF/PDF_Data.cxx | 44 + src/FromOCCT/TKPLCAF/PDF_Data.hxx | 84 + src/FromOCCT/TKPLCAF/PDF_Data.ixx | 12 + src/FromOCCT/TKPLCAF/PDF_Data.jxx | 3 + src/FromOCCT/TKPLCAF/PDF_Data.lxx | 37 + .../TKPLCAF/PDF_FieldOfHAttributeArray1.hxx | 91 + .../TKPLCAF/PDF_FieldOfHAttributeArray1_0.cxx | 27 + src/FromOCCT/TKPLCAF/PDF_HAttributeArray1.hxx | 132 ++ .../TKPLCAF/PDF_HAttributeArray1_0.cxx | 43 + src/FromOCCT/TKPLCAF/PDF_Reference.cxx | 29 + src/FromOCCT/TKPLCAF/PDF_Reference.hxx | 63 + src/FromOCCT/TKPLCAF/PDF_Reference.ixx | 12 + src/FromOCCT/TKPLCAF/PDF_Reference.jxx | 2 + src/FromOCCT/TKPLCAF/PDF_TagSource.cxx | 26 + src/FromOCCT/TKPLCAF/PDF_TagSource.hxx | 62 + src/FromOCCT/TKPLCAF/PDF_TagSource.ixx | 12 + src/FromOCCT/TKPLCAF/PDF_TagSource.jxx | 1 + ...DF_VArrayNodeOfFieldOfHAttributeArray1.hxx | 66 + ..._VArrayNodeOfFieldOfHAttributeArray1_0.cxx | 30 + ...F_VArrayTNodeOfFieldOfHAttributeArray1.hxx | 82 + ...VArrayTNodeOfFieldOfHAttributeArray1_0.cxx | 24 + src/FromOCCT/TKPLCAF/PDataStd_AsciiString.cxx | 44 + src/FromOCCT/TKPLCAF/PDataStd_AsciiString.hxx | 63 + src/FromOCCT/TKPLCAF/PDataStd_AsciiString.ixx | 12 + src/FromOCCT/TKPLCAF/PDataStd_AsciiString.jxx | 2 + .../TKPLCAF/PDataStd_BooleanArray.cxx | 81 + .../TKPLCAF/PDataStd_BooleanArray.hxx | 76 + .../TKPLCAF/PDataStd_BooleanArray.ixx | 12 + .../TKPLCAF/PDataStd_BooleanArray.jxx | 2 + src/FromOCCT/TKPLCAF/PDataStd_BooleanList.cxx | 76 + src/FromOCCT/TKPLCAF/PDataStd_BooleanList.hxx | 68 + src/FromOCCT/TKPLCAF/PDataStd_BooleanList.ixx | 12 + src/FromOCCT/TKPLCAF/PDataStd_BooleanList.jxx | 2 + src/FromOCCT/TKPLCAF/PDataStd_ByteArray.cxx | 43 + src/FromOCCT/TKPLCAF/PDataStd_ByteArray.hxx | 61 + src/FromOCCT/TKPLCAF/PDataStd_ByteArray.ixx | 12 + src/FromOCCT/TKPLCAF/PDataStd_ByteArray.jxx | 2 + src/FromOCCT/TKPLCAF/PDataStd_ByteArray_1.cxx | 58 + src/FromOCCT/TKPLCAF/PDataStd_ByteArray_1.hxx | 69 + src/FromOCCT/TKPLCAF/PDataStd_ByteArray_1.ixx | 12 + src/FromOCCT/TKPLCAF/PDataStd_ByteArray_1.jxx | 2 + src/FromOCCT/TKPLCAF/PDataStd_Comment.cxx | 30 + src/FromOCCT/TKPLCAF/PDataStd_Comment.hxx | 63 + src/FromOCCT/TKPLCAF/PDataStd_Comment.ixx | 12 + src/FromOCCT/TKPLCAF/PDataStd_Comment.jxx | 2 + src/FromOCCT/TKPLCAF/PDataStd_Directory.cxx | 17 + src/FromOCCT/TKPLCAF/PDataStd_Directory.hxx | 52 + src/FromOCCT/TKPLCAF/PDataStd_Directory.ixx | 12 + src/FromOCCT/TKPLCAF/PDataStd_Directory.jxx | 1 + src/FromOCCT/TKPLCAF/PDataStd_Expression.cxx | 78 + src/FromOCCT/TKPLCAF/PDataStd_Expression.hxx | 72 + src/FromOCCT/TKPLCAF/PDataStd_Expression.ixx | 12 + src/FromOCCT/TKPLCAF/PDataStd_Expression.jxx | 3 + .../TKPLCAF/PDataStd_ExtStringArray.cxx | 75 + .../TKPLCAF/PDataStd_ExtStringArray.hxx | 70 + .../TKPLCAF/PDataStd_ExtStringArray.ixx | 12 + .../TKPLCAF/PDataStd_ExtStringArray.jxx | 3 + .../TKPLCAF/PDataStd_ExtStringArray_1.cxx | 94 + .../TKPLCAF/PDataStd_ExtStringArray_1.hxx | 78 + .../TKPLCAF/PDataStd_ExtStringArray_1.ixx | 12 + .../TKPLCAF/PDataStd_ExtStringArray_1.jxx | 3 + .../TKPLCAF/PDataStd_ExtStringList.cxx | 76 + .../TKPLCAF/PDataStd_ExtStringList.hxx | 70 + .../TKPLCAF/PDataStd_ExtStringList.ixx | 12 + .../TKPLCAF/PDataStd_ExtStringList.jxx | 3 + .../TKPLCAF/PDataStd_FieldOfHArray1OfByte.hxx | 90 + .../PDataStd_FieldOfHArray1OfByte_0.cxx | 26 + ...taStd_FieldOfHArray1OfHArray1OfInteger.hxx | 91 + ...Std_FieldOfHArray1OfHArray1OfInteger_0.cxx | 27 + ...PDataStd_FieldOfHArray1OfHArray1OfReal.hxx | 91 + ...ataStd_FieldOfHArray1OfHArray1OfReal_0.cxx | 27 + .../PDataStd_FieldOfHArray1OfHAsciiString.hxx | 91 + ...DataStd_FieldOfHArray1OfHAsciiString_0.cxx | 27 + .../TKPLCAF/PDataStd_HArray1OfByte.hxx | 131 ++ .../TKPLCAF/PDataStd_HArray1OfByte_0.cxx | 42 + .../PDataStd_HArray1OfHArray1OfInteger.hxx | 132 ++ .../PDataStd_HArray1OfHArray1OfInteger_0.cxx | 43 + .../PDataStd_HArray1OfHArray1OfReal.hxx | 132 ++ .../PDataStd_HArray1OfHArray1OfReal_0.cxx | 43 + .../PDataStd_HArray1OfHAsciiString.hxx | 132 ++ .../PDataStd_HArray1OfHAsciiString_0.cxx | 43 + .../TKPLCAF/PDataStd_IntPackedMap.cxx | 80 + .../TKPLCAF/PDataStd_IntPackedMap.hxx | 77 + .../TKPLCAF/PDataStd_IntPackedMap.ixx | 12 + .../TKPLCAF/PDataStd_IntPackedMap.jxx | 2 + .../TKPLCAF/PDataStd_IntPackedMap_1.cxx | 99 ++ .../TKPLCAF/PDataStd_IntPackedMap_1.hxx | 84 + .../TKPLCAF/PDataStd_IntPackedMap_1.ixx | 12 + .../TKPLCAF/PDataStd_IntPackedMap_1.jxx | 2 + src/FromOCCT/TKPLCAF/PDataStd_Integer.cxx | 57 + src/FromOCCT/TKPLCAF/PDataStd_Integer.hxx | 62 + src/FromOCCT/TKPLCAF/PDataStd_Integer.ixx | 12 + src/FromOCCT/TKPLCAF/PDataStd_Integer.jxx | 1 + .../TKPLCAF/PDataStd_IntegerArray.cxx | 71 + .../TKPLCAF/PDataStd_IntegerArray.hxx | 68 + .../TKPLCAF/PDataStd_IntegerArray.ixx | 12 + .../TKPLCAF/PDataStd_IntegerArray.jxx | 2 + .../TKPLCAF/PDataStd_IntegerArray_1.cxx | 90 + .../TKPLCAF/PDataStd_IntegerArray_1.hxx | 76 + .../TKPLCAF/PDataStd_IntegerArray_1.ixx | 12 + .../TKPLCAF/PDataStd_IntegerArray_1.jxx | 2 + src/FromOCCT/TKPLCAF/PDataStd_IntegerList.cxx | 76 + src/FromOCCT/TKPLCAF/PDataStd_IntegerList.hxx | 68 + src/FromOCCT/TKPLCAF/PDataStd_IntegerList.ixx | 12 + src/FromOCCT/TKPLCAF/PDataStd_IntegerList.jxx | 2 + src/FromOCCT/TKPLCAF/PDataStd_Name.cxx | 27 + src/FromOCCT/TKPLCAF/PDataStd_Name.hxx | 63 + src/FromOCCT/TKPLCAF/PDataStd_Name.ixx | 12 + src/FromOCCT/TKPLCAF/PDataStd_Name.jxx | 2 + src/FromOCCT/TKPLCAF/PDataStd_NamedData.cxx | 405 +++++ src/FromOCCT/TKPLCAF/PDataStd_NamedData.hxx | 184 ++ src/FromOCCT/TKPLCAF/PDataStd_NamedData.ixx | 12 + src/FromOCCT/TKPLCAF/PDataStd_NamedData.jxx | 10 + src/FromOCCT/TKPLCAF/PDataStd_NoteBook.cxx | 18 + src/FromOCCT/TKPLCAF/PDataStd_NoteBook.hxx | 52 + src/FromOCCT/TKPLCAF/PDataStd_NoteBook.ixx | 12 + src/FromOCCT/TKPLCAF/PDataStd_NoteBook.jxx | 1 + src/FromOCCT/TKPLCAF/PDataStd_Real.cxx | 81 + src/FromOCCT/TKPLCAF/PDataStd_Real.hxx | 70 + src/FromOCCT/TKPLCAF/PDataStd_Real.ixx | 12 + src/FromOCCT/TKPLCAF/PDataStd_Real.jxx | 1 + src/FromOCCT/TKPLCAF/PDataStd_RealArray.cxx | 71 + src/FromOCCT/TKPLCAF/PDataStd_RealArray.hxx | 69 + src/FromOCCT/TKPLCAF/PDataStd_RealArray.ixx | 12 + src/FromOCCT/TKPLCAF/PDataStd_RealArray.jxx | 2 + src/FromOCCT/TKPLCAF/PDataStd_RealArray_1.cxx | 88 + src/FromOCCT/TKPLCAF/PDataStd_RealArray_1.hxx | 77 + src/FromOCCT/TKPLCAF/PDataStd_RealArray_1.ixx | 12 + src/FromOCCT/TKPLCAF/PDataStd_RealArray_1.jxx | 2 + src/FromOCCT/TKPLCAF/PDataStd_RealList.cxx | 76 + src/FromOCCT/TKPLCAF/PDataStd_RealList.hxx | 69 + src/FromOCCT/TKPLCAF/PDataStd_RealList.ixx | 12 + src/FromOCCT/TKPLCAF/PDataStd_RealList.jxx | 2 + .../TKPLCAF/PDataStd_ReferenceArray.cxx | 76 + .../TKPLCAF/PDataStd_ReferenceArray.hxx | 70 + .../TKPLCAF/PDataStd_ReferenceArray.ixx | 12 + .../TKPLCAF/PDataStd_ReferenceArray.jxx | 3 + .../TKPLCAF/PDataStd_ReferenceList.cxx | 76 + .../TKPLCAF/PDataStd_ReferenceList.hxx | 70 + .../TKPLCAF/PDataStd_ReferenceList.ixx | 12 + .../TKPLCAF/PDataStd_ReferenceList.jxx | 3 + src/FromOCCT/TKPLCAF/PDataStd_Relation.cxx | 78 + src/FromOCCT/TKPLCAF/PDataStd_Relation.hxx | 72 + src/FromOCCT/TKPLCAF/PDataStd_Relation.ixx | 12 + src/FromOCCT/TKPLCAF/PDataStd_Relation.jxx | 3 + src/FromOCCT/TKPLCAF/PDataStd_Tick.cxx | 21 + src/FromOCCT/TKPLCAF/PDataStd_Tick.hxx | 52 + src/FromOCCT/TKPLCAF/PDataStd_Tick.ixx | 12 + src/FromOCCT/TKPLCAF/PDataStd_Tick.jxx | 1 + src/FromOCCT/TKPLCAF/PDataStd_TreeNode.cxx | 51 + src/FromOCCT/TKPLCAF/PDataStd_TreeNode.hxx | 75 + src/FromOCCT/TKPLCAF/PDataStd_TreeNode.ixx | 12 + src/FromOCCT/TKPLCAF/PDataStd_TreeNode.jxx | 3 + src/FromOCCT/TKPLCAF/PDataStd_UAttribute.cxx | 46 + src/FromOCCT/TKPLCAF/PDataStd_UAttribute.hxx | 61 + src/FromOCCT/TKPLCAF/PDataStd_UAttribute.ixx | 12 + src/FromOCCT/TKPLCAF/PDataStd_UAttribute.jxx | 2 + ...taStd_VArrayNodeOfFieldOfHArray1OfByte.hxx | 65 + ...Std_VArrayNodeOfFieldOfHArray1OfByte_0.cxx | 29 + ...NodeOfFieldOfHArray1OfHArray1OfInteger.hxx | 66 + ...deOfFieldOfHArray1OfHArray1OfInteger_0.cxx | 30 + ...rayNodeOfFieldOfHArray1OfHArray1OfReal.hxx | 66 + ...yNodeOfFieldOfHArray1OfHArray1OfReal_0.cxx | 30 + ...rrayNodeOfFieldOfHArray1OfHAsciiString.hxx | 66 + ...ayNodeOfFieldOfHArray1OfHAsciiString_0.cxx | 30 + ...aStd_VArrayTNodeOfFieldOfHArray1OfByte.hxx | 81 + ...td_VArrayTNodeOfFieldOfHArray1OfByte_0.cxx | 23 + ...NodeOfFieldOfHArray1OfHArray1OfInteger.hxx | 82 + ...deOfFieldOfHArray1OfHArray1OfInteger_0.cxx | 24 + ...ayTNodeOfFieldOfHArray1OfHArray1OfReal.hxx | 82 + ...TNodeOfFieldOfHArray1OfHArray1OfReal_0.cxx | 24 + ...rayTNodeOfFieldOfHArray1OfHAsciiString.hxx | 82 + ...yTNodeOfFieldOfHArray1OfHAsciiString_0.cxx | 24 + src/FromOCCT/TKPLCAF/PDataStd_Variable.cxx | 71 + src/FromOCCT/TKPLCAF/PDataStd_Variable.hxx | 71 + src/FromOCCT/TKPLCAF/PDataStd_Variable.ixx | 12 + src/FromOCCT/TKPLCAF/PDataStd_Variable.jxx | 2 + src/FromOCCT/TKPLCAF/PDocStd_Document.cxx | 58 + src/FromOCCT/TKPLCAF/PDocStd_Document.hxx | 63 + src/FromOCCT/TKPLCAF/PDocStd_Document.ixx | 12 + src/FromOCCT/TKPLCAF/PDocStd_Document.jxx | 2 + src/FromOCCT/TKPLCAF/PDocStd_XLink.cxx | 72 + src/FromOCCT/TKPLCAF/PDocStd_XLink.hxx | 73 + src/FromOCCT/TKPLCAF/PDocStd_XLink.ixx | 12 + src/FromOCCT/TKPLCAF/PDocStd_XLink.jxx | 2 + src/FromOCCT/TKPLCAF/PFunction_Function.cxx | 42 + src/FromOCCT/TKPLCAF/PFunction_Function.hxx | 68 + src/FromOCCT/TKPLCAF/PFunction_Function.ixx | 12 + src/FromOCCT/TKPLCAF/PFunction_Function.jxx | 2 + src/FromOCCT/TKPShape/CMakeLists.txt | 935 ++++++++++ .../TKPShape/Handle_MgtBRep_TranslateTool.hxx | 20 + .../Handle_MgtBRep_TranslateTool1.hxx | 20 + .../Handle_MgtTopoDS_TranslateTool.hxx | 20 + .../Handle_MgtTopoDS_TranslateTool1.hxx | 20 + .../TKPShape/Handle_PBRep_Curve3D.hxx | 21 + .../Handle_PBRep_CurveOn2Surfaces.hxx | 21 + .../Handle_PBRep_CurveOnClosedSurface.hxx | 21 + .../TKPShape/Handle_PBRep_CurveOnSurface.hxx | 21 + .../Handle_PBRep_CurveRepresentation.hxx | 21 + src/FromOCCT/TKPShape/Handle_PBRep_GCurve.hxx | 21 + .../TKPShape/Handle_PBRep_PointOnCurve.hxx | 21 + .../Handle_PBRep_PointOnCurveOnSurface.hxx | 21 + .../TKPShape/Handle_PBRep_PointOnSurface.hxx | 21 + .../Handle_PBRep_PointRepresentation.hxx | 21 + .../TKPShape/Handle_PBRep_PointsOnSurface.hxx | 21 + .../TKPShape/Handle_PBRep_Polygon3D.hxx | 21 + .../Handle_PBRep_PolygonOnClosedSurface.hxx | 21 + ...dle_PBRep_PolygonOnClosedTriangulation.hxx | 21 + .../Handle_PBRep_PolygonOnSurface.hxx | 21 + .../Handle_PBRep_PolygonOnTriangulation.hxx | 21 + src/FromOCCT/TKPShape/Handle_PBRep_TEdge.hxx | 21 + src/FromOCCT/TKPShape/Handle_PBRep_TEdge1.hxx | 21 + src/FromOCCT/TKPShape/Handle_PBRep_TFace.hxx | 21 + src/FromOCCT/TKPShape/Handle_PBRep_TFace1.hxx | 21 + .../TKPShape/Handle_PBRep_TVertex.hxx | 21 + .../TKPShape/Handle_PBRep_TVertex1.hxx | 21 + .../Handle_PColgp_HArray1OfCirc2d.hxx | 21 + .../TKPShape/Handle_PColgp_HArray1OfDir.hxx | 21 + .../TKPShape/Handle_PColgp_HArray1OfDir2d.hxx | 21 + .../TKPShape/Handle_PColgp_HArray1OfLin2d.hxx | 21 + .../TKPShape/Handle_PColgp_HArray1OfPnt.hxx | 21 + .../TKPShape/Handle_PColgp_HArray1OfPnt2d.hxx | 21 + .../TKPShape/Handle_PColgp_HArray1OfVec.hxx | 21 + .../TKPShape/Handle_PColgp_HArray1OfVec2d.hxx | 21 + .../TKPShape/Handle_PColgp_HArray1OfXY.hxx | 21 + .../TKPShape/Handle_PColgp_HArray1OfXYZ.hxx | 21 + .../Handle_PColgp_HArray2OfCirc2d.hxx | 21 + .../TKPShape/Handle_PColgp_HArray2OfDir.hxx | 21 + .../TKPShape/Handle_PColgp_HArray2OfDir2d.hxx | 21 + .../TKPShape/Handle_PColgp_HArray2OfLin2d.hxx | 21 + .../TKPShape/Handle_PColgp_HArray2OfPnt.hxx | 21 + .../TKPShape/Handle_PColgp_HArray2OfPnt2d.hxx | 21 + .../TKPShape/Handle_PColgp_HArray2OfVec.hxx | 21 + .../TKPShape/Handle_PColgp_HArray2OfVec2d.hxx | 21 + .../TKPShape/Handle_PColgp_HArray2OfXY.hxx | 21 + .../TKPShape/Handle_PColgp_HArray2OfXYZ.hxx | 21 + .../TKPShape/Handle_PColgp_HSequenceOfDir.hxx | 21 + .../TKPShape/Handle_PColgp_HSequenceOfPnt.hxx | 21 + .../TKPShape/Handle_PColgp_HSequenceOfVec.hxx | 21 + .../TKPShape/Handle_PColgp_HSequenceOfXYZ.hxx | 21 + .../Handle_PColgp_SeqNodeOfHSequenceOfDir.hxx | 21 + .../Handle_PColgp_SeqNodeOfHSequenceOfPnt.hxx | 21 + .../Handle_PColgp_SeqNodeOfHSequenceOfVec.hxx | 21 + .../Handle_PColgp_SeqNodeOfHSequenceOfXYZ.hxx | 21 + ...lgp_VArrayNodeOfFieldOfHArray1OfCirc2d.hxx | 21 + ...PColgp_VArrayNodeOfFieldOfHArray1OfDir.hxx | 21 + ...olgp_VArrayNodeOfFieldOfHArray1OfDir2d.hxx | 21 + ...olgp_VArrayNodeOfFieldOfHArray1OfLin2d.hxx | 21 + ...PColgp_VArrayNodeOfFieldOfHArray1OfPnt.hxx | 21 + ...olgp_VArrayNodeOfFieldOfHArray1OfPnt2d.hxx | 21 + ...PColgp_VArrayNodeOfFieldOfHArray1OfVec.hxx | 21 + ...olgp_VArrayNodeOfFieldOfHArray1OfVec2d.hxx | 21 + ..._PColgp_VArrayNodeOfFieldOfHArray1OfXY.hxx | 21 + ...PColgp_VArrayNodeOfFieldOfHArray1OfXYZ.hxx | 21 + ...lgp_VArrayNodeOfFieldOfHArray2OfCirc2d.hxx | 21 + ...PColgp_VArrayNodeOfFieldOfHArray2OfDir.hxx | 21 + ...olgp_VArrayNodeOfFieldOfHArray2OfDir2d.hxx | 21 + ...olgp_VArrayNodeOfFieldOfHArray2OfLin2d.hxx | 21 + ...PColgp_VArrayNodeOfFieldOfHArray2OfPnt.hxx | 21 + ...olgp_VArrayNodeOfFieldOfHArray2OfPnt2d.hxx | 21 + ...PColgp_VArrayNodeOfFieldOfHArray2OfVec.hxx | 21 + ...olgp_VArrayNodeOfFieldOfHArray2OfVec2d.hxx | 21 + ..._PColgp_VArrayNodeOfFieldOfHArray2OfXY.hxx | 21 + ...PColgp_VArrayNodeOfFieldOfHArray2OfXYZ.hxx | 21 + .../TKPShape/Handle_PGeom2d_AxisPlacement.hxx | 21 + .../TKPShape/Handle_PGeom2d_BSplineCurve.hxx | 21 + .../TKPShape/Handle_PGeom2d_BezierCurve.hxx | 21 + .../TKPShape/Handle_PGeom2d_BoundedCurve.hxx | 21 + .../Handle_PGeom2d_CartesianPoint.hxx | 21 + .../TKPShape/Handle_PGeom2d_Circle.hxx | 21 + .../TKPShape/Handle_PGeom2d_Conic.hxx | 21 + .../TKPShape/Handle_PGeom2d_Curve.hxx | 21 + .../TKPShape/Handle_PGeom2d_Direction.hxx | 21 + .../TKPShape/Handle_PGeom2d_Ellipse.hxx | 21 + .../TKPShape/Handle_PGeom2d_Geometry.hxx | 21 + .../TKPShape/Handle_PGeom2d_Hyperbola.hxx | 21 + src/FromOCCT/TKPShape/Handle_PGeom2d_Line.hxx | 21 + .../TKPShape/Handle_PGeom2d_OffsetCurve.hxx | 21 + .../TKPShape/Handle_PGeom2d_Parabola.hxx | 21 + .../TKPShape/Handle_PGeom2d_Point.hxx | 21 + .../Handle_PGeom2d_Transformation.hxx | 21 + .../TKPShape/Handle_PGeom2d_TrimmedCurve.hxx | 21 + .../TKPShape/Handle_PGeom2d_Vector.hxx | 21 + .../Handle_PGeom2d_VectorWithMagnitude.hxx | 21 + .../TKPShape/Handle_PGeom_Axis1Placement.hxx | 21 + .../TKPShape/Handle_PGeom_Axis2Placement.hxx | 21 + .../TKPShape/Handle_PGeom_AxisPlacement.hxx | 21 + .../TKPShape/Handle_PGeom_BSplineCurve.hxx | 21 + .../TKPShape/Handle_PGeom_BSplineSurface.hxx | 21 + .../TKPShape/Handle_PGeom_BezierCurve.hxx | 21 + .../TKPShape/Handle_PGeom_BezierSurface.hxx | 21 + .../TKPShape/Handle_PGeom_BoundedCurve.hxx | 21 + .../TKPShape/Handle_PGeom_BoundedSurface.hxx | 21 + .../TKPShape/Handle_PGeom_CartesianPoint.hxx | 21 + src/FromOCCT/TKPShape/Handle_PGeom_Circle.hxx | 21 + src/FromOCCT/TKPShape/Handle_PGeom_Conic.hxx | 21 + .../TKPShape/Handle_PGeom_ConicalSurface.hxx | 21 + src/FromOCCT/TKPShape/Handle_PGeom_Curve.hxx | 21 + .../Handle_PGeom_CylindricalSurface.hxx | 21 + .../TKPShape/Handle_PGeom_Direction.hxx | 21 + .../Handle_PGeom_ElementarySurface.hxx | 21 + .../TKPShape/Handle_PGeom_Ellipse.hxx | 21 + .../TKPShape/Handle_PGeom_Geometry.hxx | 21 + .../TKPShape/Handle_PGeom_Hyperbola.hxx | 21 + src/FromOCCT/TKPShape/Handle_PGeom_Line.hxx | 21 + .../TKPShape/Handle_PGeom_OffsetCurve.hxx | 21 + .../TKPShape/Handle_PGeom_OffsetSurface.hxx | 21 + .../TKPShape/Handle_PGeom_Parabola.hxx | 21 + src/FromOCCT/TKPShape/Handle_PGeom_Plane.hxx | 21 + src/FromOCCT/TKPShape/Handle_PGeom_Point.hxx | 21 + ...Handle_PGeom_RectangularTrimmedSurface.hxx | 21 + .../Handle_PGeom_SphericalSurface.hxx | 21 + .../TKPShape/Handle_PGeom_Surface.hxx | 21 + .../Handle_PGeom_SurfaceOfLinearExtrusion.hxx | 21 + .../Handle_PGeom_SurfaceOfRevolution.hxx | 21 + .../TKPShape/Handle_PGeom_SweptSurface.hxx | 21 + .../TKPShape/Handle_PGeom_ToroidalSurface.hxx | 21 + .../TKPShape/Handle_PGeom_Transformation.hxx | 21 + .../TKPShape/Handle_PGeom_TrimmedCurve.hxx | 21 + src/FromOCCT/TKPShape/Handle_PGeom_Vector.hxx | 21 + .../Handle_PGeom_VectorWithMagnitude.hxx | 21 + .../Handle_PPoly_HArray1OfTriangle.hxx | 21 + .../TKPShape/Handle_PPoly_Polygon2D.hxx | 21 + .../TKPShape/Handle_PPoly_Polygon3D.hxx | 21 + .../Handle_PPoly_PolygonOnTriangulation.hxx | 21 + .../TKPShape/Handle_PPoly_Triangulation.hxx | 21 + ...y_VArrayNodeOfFieldOfHArray1OfTriangle.hxx | 21 + .../TKPShape/Handle_PTopLoc_Datum3D.hxx | 21 + .../TKPShape/Handle_PTopLoc_ItemLocation.hxx | 21 + .../TKPShape/Handle_PTopoDS_CompSolid.hxx | 21 + .../TKPShape/Handle_PTopoDS_Compound.hxx | 21 + src/FromOCCT/TKPShape/Handle_PTopoDS_Edge.hxx | 21 + src/FromOCCT/TKPShape/Handle_PTopoDS_Face.hxx | 21 + .../Handle_PTopoDS_HArray1OfHShape.hxx | 21 + .../Handle_PTopoDS_HArray1OfShape1.hxx | 21 + .../TKPShape/Handle_PTopoDS_HShape.hxx | 21 + .../TKPShape/Handle_PTopoDS_Shell.hxx | 21 + .../TKPShape/Handle_PTopoDS_Solid.hxx | 21 + .../TKPShape/Handle_PTopoDS_TCompSolid.hxx | 21 + .../TKPShape/Handle_PTopoDS_TCompSolid1.hxx | 21 + .../TKPShape/Handle_PTopoDS_TCompound.hxx | 21 + .../TKPShape/Handle_PTopoDS_TCompound1.hxx | 21 + .../TKPShape/Handle_PTopoDS_TEdge.hxx | 21 + .../TKPShape/Handle_PTopoDS_TEdge1.hxx | 21 + .../TKPShape/Handle_PTopoDS_TFace.hxx | 21 + .../TKPShape/Handle_PTopoDS_TFace1.hxx | 21 + .../TKPShape/Handle_PTopoDS_TShape.hxx | 21 + .../TKPShape/Handle_PTopoDS_TShape1.hxx | 21 + .../TKPShape/Handle_PTopoDS_TShell.hxx | 21 + .../TKPShape/Handle_PTopoDS_TShell1.hxx | 21 + .../TKPShape/Handle_PTopoDS_TSolid.hxx | 21 + .../TKPShape/Handle_PTopoDS_TSolid1.hxx | 21 + .../TKPShape/Handle_PTopoDS_TVertex.hxx | 21 + .../TKPShape/Handle_PTopoDS_TVertex1.hxx | 21 + .../TKPShape/Handle_PTopoDS_TWire.hxx | 21 + .../TKPShape/Handle_PTopoDS_TWire1.hxx | 21 + ...oDS_VArrayNodeOfFieldOfHArray1OfHShape.hxx | 21 + ...oDS_VArrayNodeOfFieldOfHArray1OfShape1.hxx | 21 + .../TKPShape/Handle_PTopoDS_Vertex.hxx | 21 + src/FromOCCT/TKPShape/Handle_PTopoDS_Wire.hxx | 21 + src/FromOCCT/TKPShape/MgtBRep.cxx | 88 + src/FromOCCT/TKPShape/MgtBRep.hxx | 118 ++ src/FromOCCT/TKPShape/MgtBRep.ixx | 10 + src/FromOCCT/TKPShape/MgtBRep.jxx | 6 + .../TKPShape/MgtBRep_TranslateTool.cxx | 1034 +++++++++++ .../TKPShape/MgtBRep_TranslateTool.hxx | 135 ++ .../TKPShape/MgtBRep_TranslateTool.ixx | 28 + .../TKPShape/MgtBRep_TranslateTool.jxx | 12 + .../TKPShape/MgtBRep_TranslateTool1.cxx | 1007 +++++++++++ .../TKPShape/MgtBRep_TranslateTool1.hxx | 134 ++ .../TKPShape/MgtBRep_TranslateTool1.ixx | 28 + .../TKPShape/MgtBRep_TranslateTool1.jxx | 12 + .../TKPShape/MgtBRep_TriangleMode.hxx | 18 + src/FromOCCT/TKPShape/MgtGeom.cxx | 1522 +++++++++++++++++ src/FromOCCT/TKPShape/MgtGeom.hxx | 348 ++++ src/FromOCCT/TKPShape/MgtGeom.ixx | 10 + src/FromOCCT/TKPShape/MgtGeom.jxx | 59 + src/FromOCCT/TKPShape/MgtGeom2d.cxx | 812 +++++++++ src/FromOCCT/TKPShape/MgtGeom2d.hxx | 216 +++ src/FromOCCT/TKPShape/MgtGeom2d.ixx | 10 + src/FromOCCT/TKPShape/MgtGeom2d.jxx | 33 + src/FromOCCT/TKPShape/MgtPoly.cxx | 569 ++++++ src/FromOCCT/TKPShape/MgtPoly.hxx | 100 ++ src/FromOCCT/TKPShape/MgtPoly.ixx | 10 + src/FromOCCT/TKPShape/MgtPoly.jxx | 13 + src/FromOCCT/TKPShape/MgtTopLoc.cxx | 128 ++ src/FromOCCT/TKPShape/MgtTopLoc.hxx | 97 ++ src/FromOCCT/TKPShape/MgtTopLoc.ixx | 10 + src/FromOCCT/TKPShape/MgtTopLoc.jxx | 7 + src/FromOCCT/TKPShape/MgtTopoDS.cxx | 507 ++++++ src/FromOCCT/TKPShape/MgtTopoDS.hxx | 107 ++ src/FromOCCT/TKPShape/MgtTopoDS.ixx | 10 + src/FromOCCT/TKPShape/MgtTopoDS.jxx | 8 + .../TKPShape/MgtTopoDS_TranslateTool.cxx | 267 +++ .../TKPShape/MgtTopoDS_TranslateTool.hxx | 127 ++ .../TKPShape/MgtTopoDS_TranslateTool.ixx | 27 + .../TKPShape/MgtTopoDS_TranslateTool.jxx | 6 + .../TKPShape/MgtTopoDS_TranslateTool1.cxx | 248 +++ .../TKPShape/MgtTopoDS_TranslateTool1.hxx | 126 ++ .../TKPShape/MgtTopoDS_TranslateTool1.ixx | 27 + .../TKPShape/MgtTopoDS_TranslateTool1.jxx | 6 + src/FromOCCT/TKPShape/PBRep_Curve3D.cxx | 56 + src/FromOCCT/TKPShape/PBRep_Curve3D.hxx | 73 + src/FromOCCT/TKPShape/PBRep_Curve3D.ixx | 12 + src/FromOCCT/TKPShape/PBRep_Curve3D.jxx | 3 + .../TKPShape/PBRep_CurveOn2Surfaces.cxx | 93 + .../TKPShape/PBRep_CurveOn2Surfaces.hxx | 85 + .../TKPShape/PBRep_CurveOn2Surfaces.ixx | 12 + .../TKPShape/PBRep_CurveOn2Surfaces.jxx | 4 + .../TKPShape/PBRep_CurveOnClosedSurface.cxx | 112 ++ .../TKPShape/PBRep_CurveOnClosedSurface.hxx | 97 ++ .../TKPShape/PBRep_CurveOnClosedSurface.ixx | 12 + .../TKPShape/PBRep_CurveOnClosedSurface.jxx | 5 + .../TKPShape/PBRep_CurveOnSurface.cxx | 102 ++ .../TKPShape/PBRep_CurveOnSurface.hxx | 92 + .../TKPShape/PBRep_CurveOnSurface.ixx | 12 + .../TKPShape/PBRep_CurveOnSurface.jxx | 5 + .../TKPShape/PBRep_CurveRepresentation.cxx | 165 ++ .../TKPShape/PBRep_CurveRepresentation.hxx | 96 ++ .../TKPShape/PBRep_CurveRepresentation.ixx | 12 + .../TKPShape/PBRep_CurveRepresentation.jxx | 3 + src/FromOCCT/TKPShape/PBRep_GCurve.cxx | 85 + src/FromOCCT/TKPShape/PBRep_GCurve.hxx | 76 + src/FromOCCT/TKPShape/PBRep_GCurve.ixx | 12 + src/FromOCCT/TKPShape/PBRep_GCurve.jxx | 2 + src/FromOCCT/TKPShape/PBRep_PointOnCurve.cxx | 52 + src/FromOCCT/TKPShape/PBRep_PointOnCurve.hxx | 69 + src/FromOCCT/TKPShape/PBRep_PointOnCurve.ixx | 12 + src/FromOCCT/TKPShape/PBRep_PointOnCurve.jxx | 3 + .../TKPShape/PBRep_PointOnCurveOnSurface.cxx | 55 + .../TKPShape/PBRep_PointOnCurveOnSurface.hxx | 71 + .../TKPShape/PBRep_PointOnCurveOnSurface.ixx | 12 + .../TKPShape/PBRep_PointOnCurveOnSurface.jxx | 4 + .../TKPShape/PBRep_PointOnSurface.cxx | 54 + .../TKPShape/PBRep_PointOnSurface.hxx | 69 + .../TKPShape/PBRep_PointOnSurface.ixx | 12 + .../TKPShape/PBRep_PointOnSurface.jxx | 3 + .../TKPShape/PBRep_PointRepresentation.cxx | 116 ++ .../TKPShape/PBRep_PointRepresentation.hxx | 88 + .../TKPShape/PBRep_PointRepresentation.ixx | 12 + .../TKPShape/PBRep_PointRepresentation.jxx | 3 + .../TKPShape/PBRep_PointsOnSurface.cxx | 44 + .../TKPShape/PBRep_PointsOnSurface.hxx | 65 + .../TKPShape/PBRep_PointsOnSurface.ixx | 12 + .../TKPShape/PBRep_PointsOnSurface.jxx | 3 + src/FromOCCT/TKPShape/PBRep_Polygon3D.cxx | 51 + src/FromOCCT/TKPShape/PBRep_Polygon3D.hxx | 68 + src/FromOCCT/TKPShape/PBRep_Polygon3D.ixx | 12 + src/FromOCCT/TKPShape/PBRep_Polygon3D.jxx | 3 + .../TKPShape/PBRep_PolygonOnClosedSurface.cxx | 52 + .../TKPShape/PBRep_PolygonOnClosedSurface.hxx | 70 + .../TKPShape/PBRep_PolygonOnClosedSurface.ixx | 12 + .../TKPShape/PBRep_PolygonOnClosedSurface.jxx | 4 + .../PBRep_PolygonOnClosedTriangulation.cxx | 53 + .../PBRep_PolygonOnClosedTriangulation.hxx | 70 + .../PBRep_PolygonOnClosedTriangulation.ixx | 12 + .../PBRep_PolygonOnClosedTriangulation.jxx | 4 + .../TKPShape/PBRep_PolygonOnSurface.cxx | 63 + .../TKPShape/PBRep_PolygonOnSurface.hxx | 76 + .../TKPShape/PBRep_PolygonOnSurface.ixx | 12 + .../TKPShape/PBRep_PolygonOnSurface.jxx | 4 + .../TKPShape/PBRep_PolygonOnTriangulation.cxx | 66 + .../TKPShape/PBRep_PolygonOnTriangulation.hxx | 75 + .../TKPShape/PBRep_PolygonOnTriangulation.ixx | 12 + .../TKPShape/PBRep_PolygonOnTriangulation.jxx | 4 + src/FromOCCT/TKPShape/PBRep_TEdge.cxx | 145 ++ src/FromOCCT/TKPShape/PBRep_TEdge.hxx | 87 + src/FromOCCT/TKPShape/PBRep_TEdge.ixx | 12 + src/FromOCCT/TKPShape/PBRep_TEdge.jxx | 2 + src/FromOCCT/TKPShape/PBRep_TEdge1.cxx | 148 ++ src/FromOCCT/TKPShape/PBRep_TEdge1.hxx | 87 + src/FromOCCT/TKPShape/PBRep_TEdge1.ixx | 12 + src/FromOCCT/TKPShape/PBRep_TEdge1.jxx | 2 + src/FromOCCT/TKPShape/PBRep_TFace.cxx | 137 ++ src/FromOCCT/TKPShape/PBRep_TFace.hxx | 95 + src/FromOCCT/TKPShape/PBRep_TFace.ixx | 12 + src/FromOCCT/TKPShape/PBRep_TFace.jxx | 4 + src/FromOCCT/TKPShape/PBRep_TFace1.cxx | 137 ++ src/FromOCCT/TKPShape/PBRep_TFace1.hxx | 95 + src/FromOCCT/TKPShape/PBRep_TFace1.ixx | 12 + src/FromOCCT/TKPShape/PBRep_TFace1.jxx | 4 + src/FromOCCT/TKPShape/PBRep_TVertex.cxx | 94 + src/FromOCCT/TKPShape/PBRep_TVertex.hxx | 77 + src/FromOCCT/TKPShape/PBRep_TVertex.ixx | 12 + src/FromOCCT/TKPShape/PBRep_TVertex.jxx | 3 + src/FromOCCT/TKPShape/PBRep_TVertex1.cxx | 94 + src/FromOCCT/TKPShape/PBRep_TVertex1.hxx | 77 + src/FromOCCT/TKPShape/PBRep_TVertex1.ixx | 12 + src/FromOCCT/TKPShape/PBRep_TVertex1.jxx | 3 + .../PColgp_FieldOfHArray1OfCirc2d.hxx | 90 + .../PColgp_FieldOfHArray1OfCirc2d_0.cxx | 27 + .../TKPShape/PColgp_FieldOfHArray1OfDir.hxx | 90 + .../TKPShape/PColgp_FieldOfHArray1OfDir2d.hxx | 90 + .../PColgp_FieldOfHArray1OfDir2d_0.cxx | 27 + .../TKPShape/PColgp_FieldOfHArray1OfDir_0.cxx | 27 + .../TKPShape/PColgp_FieldOfHArray1OfLin2d.hxx | 90 + .../PColgp_FieldOfHArray1OfLin2d_0.cxx | 27 + .../TKPShape/PColgp_FieldOfHArray1OfPnt.hxx | 90 + .../TKPShape/PColgp_FieldOfHArray1OfPnt2d.hxx | 90 + .../PColgp_FieldOfHArray1OfPnt2d_0.cxx | 27 + .../TKPShape/PColgp_FieldOfHArray1OfPnt_0.cxx | 27 + .../TKPShape/PColgp_FieldOfHArray1OfVec.hxx | 90 + .../TKPShape/PColgp_FieldOfHArray1OfVec2d.hxx | 90 + .../PColgp_FieldOfHArray1OfVec2d_0.cxx | 27 + .../TKPShape/PColgp_FieldOfHArray1OfVec_0.cxx | 27 + .../TKPShape/PColgp_FieldOfHArray1OfXY.hxx | 90 + .../TKPShape/PColgp_FieldOfHArray1OfXYZ.hxx | 90 + .../TKPShape/PColgp_FieldOfHArray1OfXYZ_0.cxx | 27 + .../TKPShape/PColgp_FieldOfHArray1OfXY_0.cxx | 27 + .../PColgp_FieldOfHArray2OfCirc2d.hxx | 90 + .../PColgp_FieldOfHArray2OfCirc2d_0.cxx | 27 + .../TKPShape/PColgp_FieldOfHArray2OfDir.hxx | 90 + .../TKPShape/PColgp_FieldOfHArray2OfDir2d.hxx | 90 + .../PColgp_FieldOfHArray2OfDir2d_0.cxx | 27 + .../TKPShape/PColgp_FieldOfHArray2OfDir_0.cxx | 27 + .../TKPShape/PColgp_FieldOfHArray2OfLin2d.hxx | 90 + .../PColgp_FieldOfHArray2OfLin2d_0.cxx | 27 + .../TKPShape/PColgp_FieldOfHArray2OfPnt.hxx | 90 + .../TKPShape/PColgp_FieldOfHArray2OfPnt2d.hxx | 90 + .../PColgp_FieldOfHArray2OfPnt2d_0.cxx | 27 + .../TKPShape/PColgp_FieldOfHArray2OfPnt_0.cxx | 27 + .../TKPShape/PColgp_FieldOfHArray2OfVec.hxx | 90 + .../TKPShape/PColgp_FieldOfHArray2OfVec2d.hxx | 90 + .../PColgp_FieldOfHArray2OfVec2d_0.cxx | 27 + .../TKPShape/PColgp_FieldOfHArray2OfVec_0.cxx | 27 + .../TKPShape/PColgp_FieldOfHArray2OfXY.hxx | 90 + .../TKPShape/PColgp_FieldOfHArray2OfXYZ.hxx | 90 + .../TKPShape/PColgp_FieldOfHArray2OfXYZ_0.cxx | 27 + .../TKPShape/PColgp_FieldOfHArray2OfXY_0.cxx | 27 + .../TKPShape/PColgp_HArray1OfCirc2d.hxx | 132 ++ .../TKPShape/PColgp_HArray1OfCirc2d_0.cxx | 43 + src/FromOCCT/TKPShape/PColgp_HArray1OfDir.hxx | 132 ++ .../TKPShape/PColgp_HArray1OfDir2d.hxx | 132 ++ .../TKPShape/PColgp_HArray1OfDir2d_0.cxx | 43 + .../TKPShape/PColgp_HArray1OfDir_0.cxx | 43 + .../TKPShape/PColgp_HArray1OfLin2d.hxx | 132 ++ .../TKPShape/PColgp_HArray1OfLin2d_0.cxx | 43 + src/FromOCCT/TKPShape/PColgp_HArray1OfPnt.hxx | 132 ++ .../TKPShape/PColgp_HArray1OfPnt2d.hxx | 132 ++ .../TKPShape/PColgp_HArray1OfPnt2d_0.cxx | 43 + .../TKPShape/PColgp_HArray1OfPnt_0.cxx | 43 + src/FromOCCT/TKPShape/PColgp_HArray1OfVec.hxx | 132 ++ .../TKPShape/PColgp_HArray1OfVec2d.hxx | 132 ++ .../TKPShape/PColgp_HArray1OfVec2d_0.cxx | 43 + .../TKPShape/PColgp_HArray1OfVec_0.cxx | 43 + src/FromOCCT/TKPShape/PColgp_HArray1OfXY.hxx | 132 ++ src/FromOCCT/TKPShape/PColgp_HArray1OfXYZ.hxx | 132 ++ .../TKPShape/PColgp_HArray1OfXYZ_0.cxx | 43 + .../TKPShape/PColgp_HArray1OfXY_0.cxx | 43 + .../TKPShape/PColgp_HArray2OfCirc2d.hxx | 144 ++ .../TKPShape/PColgp_HArray2OfCirc2d_0.cxx | 43 + src/FromOCCT/TKPShape/PColgp_HArray2OfDir.hxx | 144 ++ .../TKPShape/PColgp_HArray2OfDir2d.hxx | 144 ++ .../TKPShape/PColgp_HArray2OfDir2d_0.cxx | 43 + .../TKPShape/PColgp_HArray2OfDir_0.cxx | 43 + .../TKPShape/PColgp_HArray2OfLin2d.hxx | 144 ++ .../TKPShape/PColgp_HArray2OfLin2d_0.cxx | 43 + src/FromOCCT/TKPShape/PColgp_HArray2OfPnt.hxx | 144 ++ .../TKPShape/PColgp_HArray2OfPnt2d.hxx | 144 ++ .../TKPShape/PColgp_HArray2OfPnt2d_0.cxx | 43 + .../TKPShape/PColgp_HArray2OfPnt_0.cxx | 43 + src/FromOCCT/TKPShape/PColgp_HArray2OfVec.hxx | 144 ++ .../TKPShape/PColgp_HArray2OfVec2d.hxx | 144 ++ .../TKPShape/PColgp_HArray2OfVec2d_0.cxx | 43 + .../TKPShape/PColgp_HArray2OfVec_0.cxx | 43 + src/FromOCCT/TKPShape/PColgp_HArray2OfXY.hxx | 144 ++ src/FromOCCT/TKPShape/PColgp_HArray2OfXYZ.hxx | 144 ++ .../TKPShape/PColgp_HArray2OfXYZ_0.cxx | 43 + .../TKPShape/PColgp_HArray2OfXY_0.cxx | 43 + .../TKPShape/PColgp_HSequenceOfDir.hxx | 129 ++ .../TKPShape/PColgp_HSequenceOfDir_0.cxx | 34 + .../TKPShape/PColgp_HSequenceOfPnt.hxx | 129 ++ .../TKPShape/PColgp_HSequenceOfPnt_0.cxx | 34 + .../TKPShape/PColgp_HSequenceOfVec.hxx | 129 ++ .../TKPShape/PColgp_HSequenceOfVec_0.cxx | 34 + .../TKPShape/PColgp_HSequenceOfXYZ.hxx | 129 ++ .../TKPShape/PColgp_HSequenceOfXYZ_0.cxx | 34 + .../PColgp_SeqExplorerOfHSequenceOfDir.hxx | 68 + .../PColgp_SeqExplorerOfHSequenceOfDir_0.cxx | 28 + .../PColgp_SeqExplorerOfHSequenceOfPnt.hxx | 68 + .../PColgp_SeqExplorerOfHSequenceOfPnt_0.cxx | 28 + .../PColgp_SeqExplorerOfHSequenceOfVec.hxx | 68 + .../PColgp_SeqExplorerOfHSequenceOfVec_0.cxx | 28 + .../PColgp_SeqExplorerOfHSequenceOfXYZ.hxx | 68 + .../PColgp_SeqExplorerOfHSequenceOfXYZ_0.cxx | 28 + .../PColgp_SeqNodeOfHSequenceOfDir.hxx | 88 + .../PColgp_SeqNodeOfHSequenceOfDir_0.cxx | 33 + .../PColgp_SeqNodeOfHSequenceOfPnt.hxx | 88 + .../PColgp_SeqNodeOfHSequenceOfPnt_0.cxx | 33 + .../PColgp_SeqNodeOfHSequenceOfVec.hxx | 88 + .../PColgp_SeqNodeOfHSequenceOfVec_0.cxx | 33 + .../PColgp_SeqNodeOfHSequenceOfXYZ.hxx | 88 + .../PColgp_SeqNodeOfHSequenceOfXYZ_0.cxx | 33 + ...lgp_VArrayNodeOfFieldOfHArray1OfCirc2d.hxx | 65 + ...p_VArrayNodeOfFieldOfHArray1OfCirc2d_0.cxx | 30 + ...PColgp_VArrayNodeOfFieldOfHArray1OfDir.hxx | 65 + ...olgp_VArrayNodeOfFieldOfHArray1OfDir2d.hxx | 65 + ...gp_VArrayNodeOfFieldOfHArray1OfDir2d_0.cxx | 30 + ...olgp_VArrayNodeOfFieldOfHArray1OfDir_0.cxx | 30 + ...olgp_VArrayNodeOfFieldOfHArray1OfLin2d.hxx | 65 + ...gp_VArrayNodeOfFieldOfHArray1OfLin2d_0.cxx | 30 + ...PColgp_VArrayNodeOfFieldOfHArray1OfPnt.hxx | 65 + ...olgp_VArrayNodeOfFieldOfHArray1OfPnt2d.hxx | 65 + ...gp_VArrayNodeOfFieldOfHArray1OfPnt2d_0.cxx | 30 + ...olgp_VArrayNodeOfFieldOfHArray1OfPnt_0.cxx | 30 + ...PColgp_VArrayNodeOfFieldOfHArray1OfVec.hxx | 65 + ...olgp_VArrayNodeOfFieldOfHArray1OfVec2d.hxx | 65 + ...gp_VArrayNodeOfFieldOfHArray1OfVec2d_0.cxx | 30 + ...olgp_VArrayNodeOfFieldOfHArray1OfVec_0.cxx | 30 + .../PColgp_VArrayNodeOfFieldOfHArray1OfXY.hxx | 65 + ...PColgp_VArrayNodeOfFieldOfHArray1OfXYZ.hxx | 65 + ...olgp_VArrayNodeOfFieldOfHArray1OfXYZ_0.cxx | 30 + ...Colgp_VArrayNodeOfFieldOfHArray1OfXY_0.cxx | 30 + ...lgp_VArrayNodeOfFieldOfHArray2OfCirc2d.hxx | 65 + ...p_VArrayNodeOfFieldOfHArray2OfCirc2d_0.cxx | 30 + ...PColgp_VArrayNodeOfFieldOfHArray2OfDir.hxx | 65 + ...olgp_VArrayNodeOfFieldOfHArray2OfDir2d.hxx | 65 + ...gp_VArrayNodeOfFieldOfHArray2OfDir2d_0.cxx | 30 + ...olgp_VArrayNodeOfFieldOfHArray2OfDir_0.cxx | 30 + ...olgp_VArrayNodeOfFieldOfHArray2OfLin2d.hxx | 65 + ...gp_VArrayNodeOfFieldOfHArray2OfLin2d_0.cxx | 30 + ...PColgp_VArrayNodeOfFieldOfHArray2OfPnt.hxx | 65 + ...olgp_VArrayNodeOfFieldOfHArray2OfPnt2d.hxx | 65 + ...gp_VArrayNodeOfFieldOfHArray2OfPnt2d_0.cxx | 30 + ...olgp_VArrayNodeOfFieldOfHArray2OfPnt_0.cxx | 30 + ...PColgp_VArrayNodeOfFieldOfHArray2OfVec.hxx | 65 + ...olgp_VArrayNodeOfFieldOfHArray2OfVec2d.hxx | 65 + ...gp_VArrayNodeOfFieldOfHArray2OfVec2d_0.cxx | 30 + ...olgp_VArrayNodeOfFieldOfHArray2OfVec_0.cxx | 30 + .../PColgp_VArrayNodeOfFieldOfHArray2OfXY.hxx | 65 + ...PColgp_VArrayNodeOfFieldOfHArray2OfXYZ.hxx | 65 + ...olgp_VArrayNodeOfFieldOfHArray2OfXYZ_0.cxx | 30 + ...Colgp_VArrayNodeOfFieldOfHArray2OfXY_0.cxx | 30 + ...gp_VArrayTNodeOfFieldOfHArray1OfCirc2d.hxx | 82 + ..._VArrayTNodeOfFieldOfHArray1OfCirc2d_0.cxx | 24 + ...Colgp_VArrayTNodeOfFieldOfHArray1OfDir.hxx | 82 + ...lgp_VArrayTNodeOfFieldOfHArray1OfDir2d.hxx | 82 + ...p_VArrayTNodeOfFieldOfHArray1OfDir2d_0.cxx | 24 + ...lgp_VArrayTNodeOfFieldOfHArray1OfDir_0.cxx | 24 + ...lgp_VArrayTNodeOfFieldOfHArray1OfLin2d.hxx | 82 + ...p_VArrayTNodeOfFieldOfHArray1OfLin2d_0.cxx | 24 + ...Colgp_VArrayTNodeOfFieldOfHArray1OfPnt.hxx | 82 + ...lgp_VArrayTNodeOfFieldOfHArray1OfPnt2d.hxx | 82 + ...p_VArrayTNodeOfFieldOfHArray1OfPnt2d_0.cxx | 24 + ...lgp_VArrayTNodeOfFieldOfHArray1OfPnt_0.cxx | 24 + ...Colgp_VArrayTNodeOfFieldOfHArray1OfVec.hxx | 82 + ...lgp_VArrayTNodeOfFieldOfHArray1OfVec2d.hxx | 82 + ...p_VArrayTNodeOfFieldOfHArray1OfVec2d_0.cxx | 24 + ...lgp_VArrayTNodeOfFieldOfHArray1OfVec_0.cxx | 24 + ...PColgp_VArrayTNodeOfFieldOfHArray1OfXY.hxx | 82 + ...Colgp_VArrayTNodeOfFieldOfHArray1OfXYZ.hxx | 82 + ...lgp_VArrayTNodeOfFieldOfHArray1OfXYZ_0.cxx | 24 + ...olgp_VArrayTNodeOfFieldOfHArray1OfXY_0.cxx | 24 + ...gp_VArrayTNodeOfFieldOfHArray2OfCirc2d.hxx | 82 + ..._VArrayTNodeOfFieldOfHArray2OfCirc2d_0.cxx | 24 + ...Colgp_VArrayTNodeOfFieldOfHArray2OfDir.hxx | 82 + ...lgp_VArrayTNodeOfFieldOfHArray2OfDir2d.hxx | 82 + ...p_VArrayTNodeOfFieldOfHArray2OfDir2d_0.cxx | 24 + ...lgp_VArrayTNodeOfFieldOfHArray2OfDir_0.cxx | 24 + ...lgp_VArrayTNodeOfFieldOfHArray2OfLin2d.hxx | 82 + ...p_VArrayTNodeOfFieldOfHArray2OfLin2d_0.cxx | 24 + ...Colgp_VArrayTNodeOfFieldOfHArray2OfPnt.hxx | 82 + ...lgp_VArrayTNodeOfFieldOfHArray2OfPnt2d.hxx | 82 + ...p_VArrayTNodeOfFieldOfHArray2OfPnt2d_0.cxx | 24 + ...lgp_VArrayTNodeOfFieldOfHArray2OfPnt_0.cxx | 24 + ...Colgp_VArrayTNodeOfFieldOfHArray2OfVec.hxx | 82 + ...lgp_VArrayTNodeOfFieldOfHArray2OfVec2d.hxx | 82 + ...p_VArrayTNodeOfFieldOfHArray2OfVec2d_0.cxx | 24 + ...lgp_VArrayTNodeOfFieldOfHArray2OfVec_0.cxx | 24 + ...PColgp_VArrayTNodeOfFieldOfHArray2OfXY.hxx | 82 + ...Colgp_VArrayTNodeOfFieldOfHArray2OfXYZ.hxx | 82 + ...lgp_VArrayTNodeOfFieldOfHArray2OfXYZ_0.cxx | 24 + ...olgp_VArrayTNodeOfFieldOfHArray2OfXY_0.cxx | 24 + .../TKPShape/PGeom2d_AxisPlacement.cxx | 53 + .../TKPShape/PGeom2d_AxisPlacement.hxx | 66 + .../TKPShape/PGeom2d_AxisPlacement.ixx | 12 + .../TKPShape/PGeom2d_AxisPlacement.jxx | 2 + .../TKPShape/PGeom2d_BSplineCurve.cxx | 178 ++ .../TKPShape/PGeom2d_BSplineCurve.hxx | 129 ++ .../TKPShape/PGeom2d_BSplineCurve.ixx | 12 + .../TKPShape/PGeom2d_BSplineCurve.jxx | 4 + src/FromOCCT/TKPShape/PGeom2d_BezierCurve.cxx | 96 ++ src/FromOCCT/TKPShape/PGeom2d_BezierCurve.hxx | 90 + src/FromOCCT/TKPShape/PGeom2d_BezierCurve.ixx | 12 + src/FromOCCT/TKPShape/PGeom2d_BezierCurve.jxx | 3 + .../TKPShape/PGeom2d_BoundedCurve.cxx | 17 + .../TKPShape/PGeom2d_BoundedCurve.hxx | 54 + .../TKPShape/PGeom2d_BoundedCurve.ixx | 12 + .../TKPShape/PGeom2d_BoundedCurve.jxx | 1 + .../TKPShape/PGeom2d_CartesianPoint.cxx | 53 + .../TKPShape/PGeom2d_CartesianPoint.hxx | 66 + .../TKPShape/PGeom2d_CartesianPoint.ixx | 12 + .../TKPShape/PGeom2d_CartesianPoint.jxx | 2 + src/FromOCCT/TKPShape/PGeom2d_Circle.cxx | 56 + src/FromOCCT/TKPShape/PGeom2d_Circle.hxx | 68 + src/FromOCCT/TKPShape/PGeom2d_Circle.ixx | 12 + src/FromOCCT/TKPShape/PGeom2d_Circle.jxx | 2 + src/FromOCCT/TKPShape/PGeom2d_Conic.cxx | 53 + src/FromOCCT/TKPShape/PGeom2d_Conic.hxx | 66 + src/FromOCCT/TKPShape/PGeom2d_Conic.ixx | 12 + src/FromOCCT/TKPShape/PGeom2d_Conic.jxx | 2 + src/FromOCCT/TKPShape/PGeom2d_Curve.cxx | 17 + src/FromOCCT/TKPShape/PGeom2d_Curve.hxx | 54 + src/FromOCCT/TKPShape/PGeom2d_Curve.ixx | 12 + src/FromOCCT/TKPShape/PGeom2d_Curve.jxx | 1 + src/FromOCCT/TKPShape/PGeom2d_Direction.cxx | 35 + src/FromOCCT/TKPShape/PGeom2d_Direction.hxx | 57 + src/FromOCCT/TKPShape/PGeom2d_Direction.ixx | 12 + src/FromOCCT/TKPShape/PGeom2d_Direction.jxx | 2 + src/FromOCCT/TKPShape/PGeom2d_Ellipse.cxx | 76 + src/FromOCCT/TKPShape/PGeom2d_Ellipse.hxx | 80 + src/FromOCCT/TKPShape/PGeom2d_Ellipse.ixx | 12 + src/FromOCCT/TKPShape/PGeom2d_Ellipse.jxx | 2 + src/FromOCCT/TKPShape/PGeom2d_Geometry.cxx | 17 + src/FromOCCT/TKPShape/PGeom2d_Geometry.hxx | 54 + src/FromOCCT/TKPShape/PGeom2d_Geometry.ixx | 12 + src/FromOCCT/TKPShape/PGeom2d_Geometry.jxx | 1 + src/FromOCCT/TKPShape/PGeom2d_Hyperbola.cxx | 76 + src/FromOCCT/TKPShape/PGeom2d_Hyperbola.hxx | 80 + src/FromOCCT/TKPShape/PGeom2d_Hyperbola.ixx | 12 + src/FromOCCT/TKPShape/PGeom2d_Hyperbola.jxx | 2 + src/FromOCCT/TKPShape/PGeom2d_Line.cxx | 53 + src/FromOCCT/TKPShape/PGeom2d_Line.hxx | 68 + src/FromOCCT/TKPShape/PGeom2d_Line.ixx | 12 + src/FromOCCT/TKPShape/PGeom2d_Line.jxx | 2 + src/FromOCCT/TKPShape/PGeom2d_OffsetCurve.cxx | 74 + src/FromOCCT/TKPShape/PGeom2d_OffsetCurve.hxx | 80 + src/FromOCCT/TKPShape/PGeom2d_OffsetCurve.ixx | 12 + src/FromOCCT/TKPShape/PGeom2d_OffsetCurve.jxx | 2 + src/FromOCCT/TKPShape/PGeom2d_Parabola.cxx | 56 + src/FromOCCT/TKPShape/PGeom2d_Parabola.hxx | 69 + src/FromOCCT/TKPShape/PGeom2d_Parabola.ixx | 12 + src/FromOCCT/TKPShape/PGeom2d_Parabola.jxx | 2 + src/FromOCCT/TKPShape/PGeom2d_Point.cxx | 17 + src/FromOCCT/TKPShape/PGeom2d_Point.hxx | 54 + src/FromOCCT/TKPShape/PGeom2d_Point.ixx | 12 + src/FromOCCT/TKPShape/PGeom2d_Point.jxx | 1 + .../TKPShape/PGeom2d_Transformation.cxx | 53 + .../TKPShape/PGeom2d_Transformation.hxx | 66 + .../TKPShape/PGeom2d_Transformation.ixx | 12 + .../TKPShape/PGeom2d_Transformation.jxx | 2 + .../TKPShape/PGeom2d_TrimmedCurve.cxx | 94 + .../TKPShape/PGeom2d_TrimmedCurve.hxx | 88 + .../TKPShape/PGeom2d_TrimmedCurve.ixx | 12 + .../TKPShape/PGeom2d_TrimmedCurve.jxx | 2 + src/FromOCCT/TKPShape/PGeom2d_Vector.cxx | 53 + src/FromOCCT/TKPShape/PGeom2d_Vector.hxx | 66 + src/FromOCCT/TKPShape/PGeom2d_Vector.ixx | 12 + src/FromOCCT/TKPShape/PGeom2d_Vector.jxx | 2 + .../TKPShape/PGeom2d_VectorWithMagnitude.cxx | 36 + .../TKPShape/PGeom2d_VectorWithMagnitude.hxx | 57 + .../TKPShape/PGeom2d_VectorWithMagnitude.ixx | 12 + .../TKPShape/PGeom2d_VectorWithMagnitude.jxx | 2 + .../TKPShape/PGeom_Axis1Placement.cxx | 35 + .../TKPShape/PGeom_Axis1Placement.hxx | 57 + .../TKPShape/PGeom_Axis1Placement.ixx | 12 + .../TKPShape/PGeom_Axis1Placement.jxx | 2 + .../TKPShape/PGeom_Axis2Placement.cxx | 56 + .../TKPShape/PGeom_Axis2Placement.hxx | 67 + .../TKPShape/PGeom_Axis2Placement.ixx | 12 + .../TKPShape/PGeom_Axis2Placement.jxx | 3 + src/FromOCCT/TKPShape/PGeom_AxisPlacement.cxx | 53 + src/FromOCCT/TKPShape/PGeom_AxisPlacement.hxx | 66 + src/FromOCCT/TKPShape/PGeom_AxisPlacement.ixx | 12 + src/FromOCCT/TKPShape/PGeom_AxisPlacement.jxx | 2 + src/FromOCCT/TKPShape/PGeom_BSplineCurve.cxx | 178 ++ src/FromOCCT/TKPShape/PGeom_BSplineCurve.hxx | 129 ++ src/FromOCCT/TKPShape/PGeom_BSplineCurve.ixx | 12 + src/FromOCCT/TKPShape/PGeom_BSplineCurve.jxx | 4 + .../TKPShape/PGeom_BSplineSurface.cxx | 281 +++ .../TKPShape/PGeom_BSplineSurface.hxx | 178 ++ .../TKPShape/PGeom_BSplineSurface.ixx | 12 + .../TKPShape/PGeom_BSplineSurface.jxx | 5 + src/FromOCCT/TKPShape/PGeom_BezierCurve.cxx | 97 ++ src/FromOCCT/TKPShape/PGeom_BezierCurve.hxx | 90 + src/FromOCCT/TKPShape/PGeom_BezierCurve.ixx | 12 + src/FromOCCT/TKPShape/PGeom_BezierCurve.jxx | 3 + src/FromOCCT/TKPShape/PGeom_BezierSurface.cxx | 114 ++ src/FromOCCT/TKPShape/PGeom_BezierSurface.hxx | 97 ++ src/FromOCCT/TKPShape/PGeom_BezierSurface.ixx | 12 + src/FromOCCT/TKPShape/PGeom_BezierSurface.jxx | 3 + src/FromOCCT/TKPShape/PGeom_BoundedCurve.cxx | 17 + src/FromOCCT/TKPShape/PGeom_BoundedCurve.hxx | 54 + src/FromOCCT/TKPShape/PGeom_BoundedCurve.ixx | 12 + src/FromOCCT/TKPShape/PGeom_BoundedCurve.jxx | 1 + .../TKPShape/PGeom_BoundedSurface.cxx | 17 + .../TKPShape/PGeom_BoundedSurface.hxx | 54 + .../TKPShape/PGeom_BoundedSurface.ixx | 12 + .../TKPShape/PGeom_BoundedSurface.jxx | 1 + .../TKPShape/PGeom_CartesianPoint.cxx | 53 + .../TKPShape/PGeom_CartesianPoint.hxx | 66 + .../TKPShape/PGeom_CartesianPoint.ixx | 12 + .../TKPShape/PGeom_CartesianPoint.jxx | 2 + src/FromOCCT/TKPShape/PGeom_Circle.cxx | 56 + src/FromOCCT/TKPShape/PGeom_Circle.hxx | 68 + src/FromOCCT/TKPShape/PGeom_Circle.ixx | 12 + src/FromOCCT/TKPShape/PGeom_Circle.jxx | 2 + src/FromOCCT/TKPShape/PGeom_Conic.cxx | 53 + src/FromOCCT/TKPShape/PGeom_Conic.hxx | 66 + src/FromOCCT/TKPShape/PGeom_Conic.ixx | 12 + src/FromOCCT/TKPShape/PGeom_Conic.jxx | 2 + .../TKPShape/PGeom_ConicalSurface.cxx | 76 + .../TKPShape/PGeom_ConicalSurface.hxx | 76 + .../TKPShape/PGeom_ConicalSurface.ixx | 12 + .../TKPShape/PGeom_ConicalSurface.jxx | 2 + src/FromOCCT/TKPShape/PGeom_Curve.cxx | 17 + src/FromOCCT/TKPShape/PGeom_Curve.hxx | 54 + src/FromOCCT/TKPShape/PGeom_Curve.ixx | 12 + src/FromOCCT/TKPShape/PGeom_Curve.jxx | 1 + .../TKPShape/PGeom_CylindricalSurface.cxx | 56 + .../TKPShape/PGeom_CylindricalSurface.hxx | 67 + .../TKPShape/PGeom_CylindricalSurface.ixx | 12 + .../TKPShape/PGeom_CylindricalSurface.jxx | 2 + src/FromOCCT/TKPShape/PGeom_Direction.cxx | 35 + src/FromOCCT/TKPShape/PGeom_Direction.hxx | 57 + src/FromOCCT/TKPShape/PGeom_Direction.ixx | 12 + src/FromOCCT/TKPShape/PGeom_Direction.jxx | 2 + .../TKPShape/PGeom_ElementarySurface.cxx | 56 + .../TKPShape/PGeom_ElementarySurface.hxx | 66 + .../TKPShape/PGeom_ElementarySurface.ixx | 12 + .../TKPShape/PGeom_ElementarySurface.jxx | 2 + src/FromOCCT/TKPShape/PGeom_Ellipse.cxx | 76 + src/FromOCCT/TKPShape/PGeom_Ellipse.hxx | 80 + src/FromOCCT/TKPShape/PGeom_Ellipse.ixx | 12 + src/FromOCCT/TKPShape/PGeom_Ellipse.jxx | 2 + src/FromOCCT/TKPShape/PGeom_Geometry.cxx | 17 + src/FromOCCT/TKPShape/PGeom_Geometry.hxx | 54 + src/FromOCCT/TKPShape/PGeom_Geometry.ixx | 12 + src/FromOCCT/TKPShape/PGeom_Geometry.jxx | 1 + src/FromOCCT/TKPShape/PGeom_Hyperbola.cxx | 76 + src/FromOCCT/TKPShape/PGeom_Hyperbola.hxx | 80 + src/FromOCCT/TKPShape/PGeom_Hyperbola.ixx | 12 + src/FromOCCT/TKPShape/PGeom_Hyperbola.jxx | 2 + src/FromOCCT/TKPShape/PGeom_Line.cxx | 53 + src/FromOCCT/TKPShape/PGeom_Line.hxx | 68 + src/FromOCCT/TKPShape/PGeom_Line.ixx | 12 + src/FromOCCT/TKPShape/PGeom_Line.jxx | 2 + src/FromOCCT/TKPShape/PGeom_OffsetCurve.cxx | 94 + src/FromOCCT/TKPShape/PGeom_OffsetCurve.hxx | 91 + src/FromOCCT/TKPShape/PGeom_OffsetCurve.ixx | 12 + src/FromOCCT/TKPShape/PGeom_OffsetCurve.jxx | 3 + src/FromOCCT/TKPShape/PGeom_OffsetSurface.cxx | 75 + src/FromOCCT/TKPShape/PGeom_OffsetSurface.hxx | 81 + src/FromOCCT/TKPShape/PGeom_OffsetSurface.ixx | 12 + src/FromOCCT/TKPShape/PGeom_OffsetSurface.jxx | 2 + src/FromOCCT/TKPShape/PGeom_Parabola.cxx | 56 + src/FromOCCT/TKPShape/PGeom_Parabola.hxx | 69 + src/FromOCCT/TKPShape/PGeom_Parabola.ixx | 12 + src/FromOCCT/TKPShape/PGeom_Parabola.jxx | 2 + src/FromOCCT/TKPShape/PGeom_Plane.cxx | 36 + src/FromOCCT/TKPShape/PGeom_Plane.hxx | 57 + src/FromOCCT/TKPShape/PGeom_Plane.ixx | 12 + src/FromOCCT/TKPShape/PGeom_Plane.jxx | 2 + src/FromOCCT/TKPShape/PGeom_Point.cxx | 17 + src/FromOCCT/TKPShape/PGeom_Point.hxx | 54 + src/FromOCCT/TKPShape/PGeom_Point.ixx | 12 + src/FromOCCT/TKPShape/PGeom_Point.jxx | 1 + .../PGeom_RectangularTrimmedSurface.cxx | 135 ++ .../PGeom_RectangularTrimmedSurface.hxx | 105 ++ .../PGeom_RectangularTrimmedSurface.ixx | 12 + .../PGeom_RectangularTrimmedSurface.jxx | 2 + .../TKPShape/PGeom_SphericalSurface.cxx | 56 + .../TKPShape/PGeom_SphericalSurface.hxx | 67 + .../TKPShape/PGeom_SphericalSurface.ixx | 12 + .../TKPShape/PGeom_SphericalSurface.jxx | 2 + src/FromOCCT/TKPShape/PGeom_Surface.cxx | 17 + src/FromOCCT/TKPShape/PGeom_Surface.hxx | 54 + src/FromOCCT/TKPShape/PGeom_Surface.ixx | 12 + src/FromOCCT/TKPShape/PGeom_Surface.jxx | 1 + .../PGeom_SurfaceOfLinearExtrusion.cxx | 37 + .../PGeom_SurfaceOfLinearExtrusion.hxx | 59 + .../PGeom_SurfaceOfLinearExtrusion.ixx | 12 + .../PGeom_SurfaceOfLinearExtrusion.jxx | 3 + .../TKPShape/PGeom_SurfaceOfRevolution.cxx | 57 + .../TKPShape/PGeom_SurfaceOfRevolution.hxx | 69 + .../TKPShape/PGeom_SurfaceOfRevolution.ixx | 12 + .../TKPShape/PGeom_SurfaceOfRevolution.jxx | 4 + src/FromOCCT/TKPShape/PGeom_SweptSurface.cxx | 75 + src/FromOCCT/TKPShape/PGeom_SweptSurface.hxx | 77 + src/FromOCCT/TKPShape/PGeom_SweptSurface.ixx | 12 + src/FromOCCT/TKPShape/PGeom_SweptSurface.jxx | 3 + .../TKPShape/PGeom_ToroidalSurface.cxx | 76 + .../TKPShape/PGeom_ToroidalSurface.hxx | 76 + .../TKPShape/PGeom_ToroidalSurface.ixx | 12 + .../TKPShape/PGeom_ToroidalSurface.jxx | 2 + .../TKPShape/PGeom_Transformation.cxx | 53 + .../TKPShape/PGeom_Transformation.hxx | 66 + .../TKPShape/PGeom_Transformation.ixx | 12 + .../TKPShape/PGeom_Transformation.jxx | 2 + src/FromOCCT/TKPShape/PGeom_TrimmedCurve.cxx | 94 + src/FromOCCT/TKPShape/PGeom_TrimmedCurve.hxx | 88 + src/FromOCCT/TKPShape/PGeom_TrimmedCurve.ixx | 12 + src/FromOCCT/TKPShape/PGeom_TrimmedCurve.jxx | 2 + src/FromOCCT/TKPShape/PGeom_Vector.cxx | 53 + src/FromOCCT/TKPShape/PGeom_Vector.hxx | 66 + src/FromOCCT/TKPShape/PGeom_Vector.ixx | 12 + src/FromOCCT/TKPShape/PGeom_Vector.jxx | 2 + .../TKPShape/PGeom_VectorWithMagnitude.cxx | 35 + .../TKPShape/PGeom_VectorWithMagnitude.hxx | 57 + .../TKPShape/PGeom_VectorWithMagnitude.ixx | 12 + .../TKPShape/PGeom_VectorWithMagnitude.jxx | 2 + .../PPoly_FieldOfHArray1OfTriangle.hxx | 90 + .../PPoly_FieldOfHArray1OfTriangle_0.cxx | 27 + .../TKPShape/PPoly_HArray1OfTriangle.hxx | 132 ++ .../TKPShape/PPoly_HArray1OfTriangle_0.cxx | 43 + src/FromOCCT/TKPShape/PPoly_Polygon2D.cxx | 48 + src/FromOCCT/TKPShape/PPoly_Polygon2D.hxx | 77 + src/FromOCCT/TKPShape/PPoly_Polygon2D.ixx | 12 + src/FromOCCT/TKPShape/PPoly_Polygon2D.jxx | 2 + src/FromOCCT/TKPShape/PPoly_Polygon3D.cxx | 131 ++ src/FromOCCT/TKPShape/PPoly_Polygon3D.hxx | 94 + src/FromOCCT/TKPShape/PPoly_Polygon3D.ixx | 12 + src/FromOCCT/TKPShape/PPoly_Polygon3D.jxx | 3 + .../TKPShape/PPoly_PolygonOnTriangulation.cxx | 134 ++ .../TKPShape/PPoly_PolygonOnTriangulation.hxx | 93 + .../TKPShape/PPoly_PolygonOnTriangulation.ixx | 12 + .../TKPShape/PPoly_PolygonOnTriangulation.jxx | 4 + src/FromOCCT/TKPShape/PPoly_Triangle.cxx | 58 + src/FromOCCT/TKPShape/PPoly_Triangle.hxx | 60 + src/FromOCCT/TKPShape/PPoly_Triangle.ixx | 7 + src/FromOCCT/TKPShape/PPoly_Triangle.jxx | 1 + src/FromOCCT/TKPShape/PPoly_Triangulation.cxx | 137 ++ src/FromOCCT/TKPShape/PPoly_Triangulation.hxx | 102 ++ src/FromOCCT/TKPShape/PPoly_Triangulation.ixx | 12 + src/FromOCCT/TKPShape/PPoly_Triangulation.jxx | 4 + ...y_VArrayNodeOfFieldOfHArray1OfTriangle.hxx | 65 + ...VArrayNodeOfFieldOfHArray1OfTriangle_0.cxx | 30 + ..._VArrayTNodeOfFieldOfHArray1OfTriangle.hxx | 82 + ...ArrayTNodeOfFieldOfHArray1OfTriangle_0.cxx | 24 + src/FromOCCT/TKPShape/PTopLoc_Datum3D.cxx | 47 + src/FromOCCT/TKPShape/PTopLoc_Datum3D.hxx | 68 + src/FromOCCT/TKPShape/PTopLoc_Datum3D.ixx | 12 + src/FromOCCT/TKPShape/PTopLoc_Datum3D.jxx | 3 + .../TKPShape/PTopLoc_ItemLocation.cxx | 66 + .../TKPShape/PTopLoc_ItemLocation.hxx | 75 + .../TKPShape/PTopLoc_ItemLocation.ixx | 12 + .../TKPShape/PTopLoc_ItemLocation.jxx | 3 + src/FromOCCT/TKPShape/PTopLoc_Location.cxx | 89 + src/FromOCCT/TKPShape/PTopLoc_Location.hxx | 88 + src/FromOCCT/TKPShape/PTopLoc_Location.ixx | 7 + src/FromOCCT/TKPShape/PTopLoc_Location.jxx | 4 + src/FromOCCT/TKPShape/PTopoDS_CompSolid.cxx | 20 + src/FromOCCT/TKPShape/PTopoDS_CompSolid.hxx | 52 + src/FromOCCT/TKPShape/PTopoDS_CompSolid.ixx | 12 + src/FromOCCT/TKPShape/PTopoDS_CompSolid.jxx | 1 + src/FromOCCT/TKPShape/PTopoDS_Compound.cxx | 21 + src/FromOCCT/TKPShape/PTopoDS_Compound.hxx | 52 + src/FromOCCT/TKPShape/PTopoDS_Compound.ixx | 12 + src/FromOCCT/TKPShape/PTopoDS_Compound.jxx | 1 + src/FromOCCT/TKPShape/PTopoDS_Edge.cxx | 20 + src/FromOCCT/TKPShape/PTopoDS_Edge.hxx | 52 + src/FromOCCT/TKPShape/PTopoDS_Edge.ixx | 12 + src/FromOCCT/TKPShape/PTopoDS_Edge.jxx | 1 + src/FromOCCT/TKPShape/PTopoDS_Face.cxx | 20 + src/FromOCCT/TKPShape/PTopoDS_Face.hxx | 52 + src/FromOCCT/TKPShape/PTopoDS_Face.ixx | 12 + src/FromOCCT/TKPShape/PTopoDS_Face.jxx | 1 + .../PTopoDS_FieldOfHArray1OfHShape.hxx | 91 + .../PTopoDS_FieldOfHArray1OfHShape_0.cxx | 27 + .../PTopoDS_FieldOfHArray1OfShape1.hxx | 90 + .../PTopoDS_FieldOfHArray1OfShape1_0.cxx | 27 + .../TKPShape/PTopoDS_HArray1OfHShape.hxx | 132 ++ .../TKPShape/PTopoDS_HArray1OfHShape_0.cxx | 43 + .../TKPShape/PTopoDS_HArray1OfShape1.hxx | 132 ++ .../TKPShape/PTopoDS_HArray1OfShape1_0.cxx | 43 + src/FromOCCT/TKPShape/PTopoDS_HShape.cxx | 100 ++ src/FromOCCT/TKPShape/PTopoDS_HShape.hxx | 77 + src/FromOCCT/TKPShape/PTopoDS_HShape.ixx | 12 + src/FromOCCT/TKPShape/PTopoDS_HShape.jxx | 3 + src/FromOCCT/TKPShape/PTopoDS_Shape1.cxx | 99 ++ src/FromOCCT/TKPShape/PTopoDS_Shape1.hxx | 88 + src/FromOCCT/TKPShape/PTopoDS_Shape1.ixx | 7 + src/FromOCCT/TKPShape/PTopoDS_Shape1.jxx | 3 + src/FromOCCT/TKPShape/PTopoDS_Shell.cxx | 20 + src/FromOCCT/TKPShape/PTopoDS_Shell.hxx | 52 + src/FromOCCT/TKPShape/PTopoDS_Shell.ixx | 12 + src/FromOCCT/TKPShape/PTopoDS_Shell.jxx | 1 + src/FromOCCT/TKPShape/PTopoDS_Solid.cxx | 20 + src/FromOCCT/TKPShape/PTopoDS_Solid.hxx | 52 + src/FromOCCT/TKPShape/PTopoDS_Solid.ixx | 12 + src/FromOCCT/TKPShape/PTopoDS_Solid.jxx | 1 + src/FromOCCT/TKPShape/PTopoDS_TCompSolid.cxx | 38 + src/FromOCCT/TKPShape/PTopoDS_TCompSolid.hxx | 56 + src/FromOCCT/TKPShape/PTopoDS_TCompSolid.ixx | 12 + src/FromOCCT/TKPShape/PTopoDS_TCompSolid.jxx | 1 + src/FromOCCT/TKPShape/PTopoDS_TCompSolid1.cxx | 38 + src/FromOCCT/TKPShape/PTopoDS_TCompSolid1.hxx | 56 + src/FromOCCT/TKPShape/PTopoDS_TCompSolid1.ixx | 12 + src/FromOCCT/TKPShape/PTopoDS_TCompSolid1.jxx | 1 + src/FromOCCT/TKPShape/PTopoDS_TCompound.cxx | 38 + src/FromOCCT/TKPShape/PTopoDS_TCompound.hxx | 56 + src/FromOCCT/TKPShape/PTopoDS_TCompound.ixx | 12 + src/FromOCCT/TKPShape/PTopoDS_TCompound.jxx | 1 + src/FromOCCT/TKPShape/PTopoDS_TCompound1.cxx | 38 + src/FromOCCT/TKPShape/PTopoDS_TCompound1.hxx | 56 + src/FromOCCT/TKPShape/PTopoDS_TCompound1.ixx | 12 + src/FromOCCT/TKPShape/PTopoDS_TCompound1.jxx | 1 + src/FromOCCT/TKPShape/PTopoDS_TEdge.cxx | 27 + src/FromOCCT/TKPShape/PTopoDS_TEdge.hxx | 57 + src/FromOCCT/TKPShape/PTopoDS_TEdge.ixx | 12 + src/FromOCCT/TKPShape/PTopoDS_TEdge.jxx | 1 + src/FromOCCT/TKPShape/PTopoDS_TEdge1.cxx | 27 + src/FromOCCT/TKPShape/PTopoDS_TEdge1.hxx | 57 + src/FromOCCT/TKPShape/PTopoDS_TEdge1.ixx | 12 + src/FromOCCT/TKPShape/PTopoDS_TEdge1.jxx | 1 + src/FromOCCT/TKPShape/PTopoDS_TFace.cxx | 38 + src/FromOCCT/TKPShape/PTopoDS_TFace.hxx | 56 + src/FromOCCT/TKPShape/PTopoDS_TFace.ixx | 12 + src/FromOCCT/TKPShape/PTopoDS_TFace.jxx | 1 + src/FromOCCT/TKPShape/PTopoDS_TFace1.cxx | 38 + src/FromOCCT/TKPShape/PTopoDS_TFace1.hxx | 56 + src/FromOCCT/TKPShape/PTopoDS_TFace1.ixx | 12 + src/FromOCCT/TKPShape/PTopoDS_TFace1.jxx | 1 + src/FromOCCT/TKPShape/PTopoDS_TShape.cxx | 211 +++ src/FromOCCT/TKPShape/PTopoDS_TShape.hxx | 117 ++ src/FromOCCT/TKPShape/PTopoDS_TShape.ixx | 12 + src/FromOCCT/TKPShape/PTopoDS_TShape.jxx | 3 + src/FromOCCT/TKPShape/PTopoDS_TShape1.cxx | 201 +++ src/FromOCCT/TKPShape/PTopoDS_TShape1.hxx | 117 ++ src/FromOCCT/TKPShape/PTopoDS_TShape1.ixx | 12 + src/FromOCCT/TKPShape/PTopoDS_TShape1.jxx | 3 + src/FromOCCT/TKPShape/PTopoDS_TShell.cxx | 41 + src/FromOCCT/TKPShape/PTopoDS_TShell.hxx | 55 + src/FromOCCT/TKPShape/PTopoDS_TShell.ixx | 12 + src/FromOCCT/TKPShape/PTopoDS_TShell.jxx | 1 + src/FromOCCT/TKPShape/PTopoDS_TShell1.cxx | 41 + src/FromOCCT/TKPShape/PTopoDS_TShell1.hxx | 55 + src/FromOCCT/TKPShape/PTopoDS_TShell1.ixx | 12 + src/FromOCCT/TKPShape/PTopoDS_TShell1.jxx | 1 + src/FromOCCT/TKPShape/PTopoDS_TSolid.cxx | 38 + src/FromOCCT/TKPShape/PTopoDS_TSolid.hxx | 57 + src/FromOCCT/TKPShape/PTopoDS_TSolid.ixx | 12 + src/FromOCCT/TKPShape/PTopoDS_TSolid.jxx | 1 + src/FromOCCT/TKPShape/PTopoDS_TSolid1.cxx | 38 + src/FromOCCT/TKPShape/PTopoDS_TSolid1.hxx | 57 + src/FromOCCT/TKPShape/PTopoDS_TSolid1.ixx | 12 + src/FromOCCT/TKPShape/PTopoDS_TSolid1.jxx | 1 + src/FromOCCT/TKPShape/PTopoDS_TVertex.cxx | 28 + src/FromOCCT/TKPShape/PTopoDS_TVertex.hxx | 57 + src/FromOCCT/TKPShape/PTopoDS_TVertex.ixx | 12 + src/FromOCCT/TKPShape/PTopoDS_TVertex.jxx | 1 + src/FromOCCT/TKPShape/PTopoDS_TVertex1.cxx | 28 + src/FromOCCT/TKPShape/PTopoDS_TVertex1.hxx | 57 + src/FromOCCT/TKPShape/PTopoDS_TVertex1.ixx | 12 + src/FromOCCT/TKPShape/PTopoDS_TVertex1.jxx | 1 + src/FromOCCT/TKPShape/PTopoDS_TWire.cxx | 36 + src/FromOCCT/TKPShape/PTopoDS_TWire.hxx | 55 + src/FromOCCT/TKPShape/PTopoDS_TWire.ixx | 12 + src/FromOCCT/TKPShape/PTopoDS_TWire.jxx | 1 + src/FromOCCT/TKPShape/PTopoDS_TWire1.cxx | 36 + src/FromOCCT/TKPShape/PTopoDS_TWire1.hxx | 55 + src/FromOCCT/TKPShape/PTopoDS_TWire1.ixx | 12 + src/FromOCCT/TKPShape/PTopoDS_TWire1.jxx | 1 + ...oDS_VArrayNodeOfFieldOfHArray1OfHShape.hxx | 66 + ...S_VArrayNodeOfFieldOfHArray1OfHShape_0.cxx | 30 + ...oDS_VArrayNodeOfFieldOfHArray1OfShape1.hxx | 65 + ...S_VArrayNodeOfFieldOfHArray1OfShape1_0.cxx | 30 + ...DS_VArrayTNodeOfFieldOfHArray1OfHShape.hxx | 82 + ..._VArrayTNodeOfFieldOfHArray1OfHShape_0.cxx | 24 + ...DS_VArrayTNodeOfFieldOfHArray1OfShape1.hxx | 82 + ..._VArrayTNodeOfFieldOfHArray1OfShape1_0.cxx | 24 + src/FromOCCT/TKPShape/PTopoDS_Vertex.cxx | 20 + src/FromOCCT/TKPShape/PTopoDS_Vertex.hxx | 52 + src/FromOCCT/TKPShape/PTopoDS_Vertex.ixx | 12 + src/FromOCCT/TKPShape/PTopoDS_Vertex.jxx | 1 + src/FromOCCT/TKPShape/PTopoDS_Wire.cxx | 20 + src/FromOCCT/TKPShape/PTopoDS_Wire.hxx | 52 + src/FromOCCT/TKPShape/PTopoDS_Wire.ixx | 12 + src/FromOCCT/TKPShape/PTopoDS_Wire.jxx | 1 + src/FromOCCT/TKShapeSchema/CMakeLists.txt | 684 ++++++++ .../Handle_PCDMShape_Document.hxx | 21 + .../TKShapeSchema/PCDMShape_Document.cxx | 54 + .../TKShapeSchema/PCDMShape_Document.hxx | 62 + .../TKShapeSchema/PCDMShape_Document.ixx | 12 + .../TKShapeSchema/PCDMShape_Document.jxx | 2 + src/FromOCCT/TKShapeSchema/ShapeSchema.cxx | 926 ++++++++++ src/FromOCCT/TKShapeSchema/ShapeSchema.hxx | 258 +++ .../ShapeSchema_DBC_VArrayOfCharacter.cxx | 45 + .../ShapeSchema_DBC_VArrayOfCharacter.hxx | 26 + .../ShapeSchema_DBC_VArrayOfCharacter.ixx | 1 + .../ShapeSchema_DBC_VArrayOfExtCharacter.cxx | 45 + .../ShapeSchema_DBC_VArrayOfExtCharacter.hxx | 26 + .../ShapeSchema_DBC_VArrayOfExtCharacter.ixx | 1 + .../ShapeSchema_ObjMgt_ExternRef.cxx | 87 + .../ShapeSchema_ObjMgt_ExternRef.hxx | 43 + .../ShapeSchema_ObjMgt_ExternRef.ixx | 5 + .../ShapeSchema_ObjMgt_ExternShareable.cxx | 83 + .../ShapeSchema_ObjMgt_ExternShareable.hxx | 43 + .../ShapeSchema_ObjMgt_ExternShareable.ixx | 5 + .../ShapeSchema_ObjMgt_PSeqOfExtRef.cxx | 94 + .../ShapeSchema_ObjMgt_PSeqOfExtRef.hxx | 43 + .../ShapeSchema_ObjMgt_PSeqOfExtRef.ixx | 8 + ...apeSchema_ObjMgt_SeqNodeOfPSeqOfExtRef.cxx | 96 ++ ...apeSchema_ObjMgt_SeqNodeOfPSeqOfExtRef.hxx | 43 + ...apeSchema_ObjMgt_SeqNodeOfPSeqOfExtRef.ixx | 11 + .../ShapeSchema_PBRep_Curve3D.cxx | 103 ++ .../ShapeSchema_PBRep_Curve3D.hxx | 43 + .../ShapeSchema_PBRep_Curve3D.ixx | 5 + .../ShapeSchema_PBRep_CurveOn2Surfaces.cxx | 111 ++ .../ShapeSchema_PBRep_CurveOn2Surfaces.hxx | 43 + .../ShapeSchema_PBRep_CurveOn2Surfaces.ixx | 11 + ...ShapeSchema_PBRep_CurveOnClosedSurface.cxx | 136 ++ ...ShapeSchema_PBRep_CurveOnClosedSurface.hxx | 43 + ...ShapeSchema_PBRep_CurveOnClosedSurface.ixx | 11 + .../ShapeSchema_PBRep_CurveOnSurface.cxx | 116 ++ .../ShapeSchema_PBRep_CurveOnSurface.hxx | 43 + .../ShapeSchema_PBRep_CurveOnSurface.ixx | 14 + .../ShapeSchema_PBRep_CurveRepresentation.cxx | 87 + .../ShapeSchema_PBRep_CurveRepresentation.hxx | 43 + .../ShapeSchema_PBRep_CurveRepresentation.ixx | 8 + .../ShapeSchema_PBRep_GCurve.cxx | 97 ++ .../ShapeSchema_PBRep_GCurve.hxx | 43 + .../ShapeSchema_PBRep_GCurve.ixx | 2 + .../ShapeSchema_PBRep_PointOnCurve.cxx | 98 ++ .../ShapeSchema_PBRep_PointOnCurve.hxx | 43 + .../ShapeSchema_PBRep_PointOnCurve.ixx | 5 + ...hapeSchema_PBRep_PointOnCurveOnSurface.cxx | 105 ++ ...hapeSchema_PBRep_PointOnCurveOnSurface.hxx | 43 + ...hapeSchema_PBRep_PointOnCurveOnSurface.ixx | 5 + .../ShapeSchema_PBRep_PointOnSurface.cxx | 103 ++ .../ShapeSchema_PBRep_PointOnSurface.hxx | 43 + .../ShapeSchema_PBRep_PointOnSurface.ixx | 2 + .../ShapeSchema_PBRep_PointRepresentation.cxx | 92 + .../ShapeSchema_PBRep_PointRepresentation.hxx | 43 + .../ShapeSchema_PBRep_PointRepresentation.ixx | 8 + .../ShapeSchema_PBRep_PointsOnSurface.cxx | 99 ++ .../ShapeSchema_PBRep_PointsOnSurface.hxx | 43 + .../ShapeSchema_PBRep_PointsOnSurface.ixx | 5 + .../ShapeSchema_PBRep_Polygon3D.cxx | 93 + .../ShapeSchema_PBRep_Polygon3D.hxx | 43 + .../ShapeSchema_PBRep_Polygon3D.ixx | 5 + ...apeSchema_PBRep_PolygonOnClosedSurface.cxx | 107 ++ ...apeSchema_PBRep_PolygonOnClosedSurface.hxx | 43 + ...apeSchema_PBRep_PolygonOnClosedSurface.ixx | 5 + ...ema_PBRep_PolygonOnClosedTriangulation.cxx | 107 ++ ...ema_PBRep_PolygonOnClosedTriangulation.hxx | 43 + ...ema_PBRep_PolygonOnClosedTriangulation.ixx | 5 + .../ShapeSchema_PBRep_PolygonOnSurface.cxx | 100 ++ .../ShapeSchema_PBRep_PolygonOnSurface.hxx | 43 + .../ShapeSchema_PBRep_PolygonOnSurface.ixx | 8 + ...apeSchema_PBRep_PolygonOnTriangulation.cxx | 100 ++ ...apeSchema_PBRep_PolygonOnTriangulation.hxx | 43 + ...apeSchema_PBRep_PolygonOnTriangulation.ixx | 8 + .../TKShapeSchema/ShapeSchema_PBRep_TEdge.cxx | 104 ++ .../TKShapeSchema/ShapeSchema_PBRep_TEdge.hxx | 43 + .../TKShapeSchema/ShapeSchema_PBRep_TEdge.ixx | 5 + .../ShapeSchema_PBRep_TEdge1.cxx | 104 ++ .../ShapeSchema_PBRep_TEdge1.hxx | 43 + .../ShapeSchema_PBRep_TEdge1.ixx | 5 + .../TKShapeSchema/ShapeSchema_PBRep_TFace.cxx | 115 ++ .../TKShapeSchema/ShapeSchema_PBRep_TFace.hxx | 43 + .../TKShapeSchema/ShapeSchema_PBRep_TFace.ixx | 11 + .../ShapeSchema_PBRep_TFace1.cxx | 115 ++ .../ShapeSchema_PBRep_TFace1.hxx | 43 + .../ShapeSchema_PBRep_TFace1.ixx | 11 + .../ShapeSchema_PBRep_TVertex.cxx | 102 ++ .../ShapeSchema_PBRep_TVertex.hxx | 43 + .../ShapeSchema_PBRep_TVertex.ixx | 8 + .../ShapeSchema_PBRep_TVertex1.cxx | 102 ++ .../ShapeSchema_PBRep_TVertex1.hxx | 43 + .../ShapeSchema_PBRep_TVertex1.ixx | 8 + .../ShapeSchema_PCDMShape_Document.cxx | 79 + .../ShapeSchema_PCDMShape_Document.hxx | 43 + .../ShapeSchema_PCDMShape_Document.ixx | 5 + .../ShapeSchema_PCDM_Document.cxx | 76 + .../ShapeSchema_PCDM_Document.hxx | 43 + .../ShapeSchema_PCDM_Document.ixx | 2 + ...Schema_PColStd_FieldOfHArray1OfInteger.cxx | 45 + ...Schema_PColStd_FieldOfHArray1OfInteger.hxx | 26 + ...Schema_PColStd_FieldOfHArray1OfInteger.ixx | 1 + ...apeSchema_PColStd_FieldOfHArray1OfReal.cxx | 45 + ...apeSchema_PColStd_FieldOfHArray1OfReal.hxx | 26 + ...apeSchema_PColStd_FieldOfHArray1OfReal.ixx | 1 + ...apeSchema_PColStd_FieldOfHArray2OfReal.cxx | 45 + ...apeSchema_PColStd_FieldOfHArray2OfReal.hxx | 26 + ...apeSchema_PColStd_FieldOfHArray2OfReal.ixx | 1 + .../ShapeSchema_PColStd_HArray1OfInteger.cxx | 88 + .../ShapeSchema_PColStd_HArray1OfInteger.hxx | 43 + .../ShapeSchema_PColStd_HArray1OfInteger.ixx | 5 + .../ShapeSchema_PColStd_HArray1OfReal.cxx | 88 + .../ShapeSchema_PColStd_HArray1OfReal.hxx | 43 + .../ShapeSchema_PColStd_HArray1OfReal.ixx | 5 + .../ShapeSchema_PColStd_HArray2OfReal.cxx | 98 ++ .../ShapeSchema_PColStd_HArray2OfReal.hxx | 43 + .../ShapeSchema_PColStd_HArray2OfReal.ixx | 5 + ...peSchema_PColgp_FieldOfHArray1OfCirc2d.cxx | 42 + ...peSchema_PColgp_FieldOfHArray1OfCirc2d.hxx | 29 + ...peSchema_PColgp_FieldOfHArray1OfCirc2d.ixx | 1 + ...ShapeSchema_PColgp_FieldOfHArray1OfDir.cxx | 42 + ...ShapeSchema_PColgp_FieldOfHArray1OfDir.hxx | 29 + ...ShapeSchema_PColgp_FieldOfHArray1OfDir.ixx | 1 + ...apeSchema_PColgp_FieldOfHArray1OfDir2d.cxx | 42 + ...apeSchema_PColgp_FieldOfHArray1OfDir2d.hxx | 29 + ...apeSchema_PColgp_FieldOfHArray1OfDir2d.ixx | 1 + ...apeSchema_PColgp_FieldOfHArray1OfLin2d.cxx | 42 + ...apeSchema_PColgp_FieldOfHArray1OfLin2d.hxx | 29 + ...apeSchema_PColgp_FieldOfHArray1OfLin2d.ixx | 1 + ...ShapeSchema_PColgp_FieldOfHArray1OfPnt.cxx | 42 + ...ShapeSchema_PColgp_FieldOfHArray1OfPnt.hxx | 29 + ...ShapeSchema_PColgp_FieldOfHArray1OfPnt.ixx | 1 + ...apeSchema_PColgp_FieldOfHArray1OfPnt2d.cxx | 42 + ...apeSchema_PColgp_FieldOfHArray1OfPnt2d.hxx | 29 + ...apeSchema_PColgp_FieldOfHArray1OfPnt2d.ixx | 1 + ...ShapeSchema_PColgp_FieldOfHArray1OfVec.cxx | 42 + ...ShapeSchema_PColgp_FieldOfHArray1OfVec.hxx | 29 + ...ShapeSchema_PColgp_FieldOfHArray1OfVec.ixx | 1 + ...apeSchema_PColgp_FieldOfHArray1OfVec2d.cxx | 42 + ...apeSchema_PColgp_FieldOfHArray1OfVec2d.hxx | 29 + ...apeSchema_PColgp_FieldOfHArray1OfVec2d.ixx | 1 + .../ShapeSchema_PColgp_FieldOfHArray1OfXY.cxx | 42 + .../ShapeSchema_PColgp_FieldOfHArray1OfXY.hxx | 29 + .../ShapeSchema_PColgp_FieldOfHArray1OfXY.ixx | 1 + ...ShapeSchema_PColgp_FieldOfHArray1OfXYZ.cxx | 42 + ...ShapeSchema_PColgp_FieldOfHArray1OfXYZ.hxx | 29 + ...ShapeSchema_PColgp_FieldOfHArray1OfXYZ.ixx | 1 + ...peSchema_PColgp_FieldOfHArray2OfCirc2d.cxx | 42 + ...peSchema_PColgp_FieldOfHArray2OfCirc2d.hxx | 29 + ...peSchema_PColgp_FieldOfHArray2OfCirc2d.ixx | 1 + ...ShapeSchema_PColgp_FieldOfHArray2OfDir.cxx | 42 + ...ShapeSchema_PColgp_FieldOfHArray2OfDir.hxx | 29 + ...ShapeSchema_PColgp_FieldOfHArray2OfDir.ixx | 1 + ...apeSchema_PColgp_FieldOfHArray2OfDir2d.cxx | 42 + ...apeSchema_PColgp_FieldOfHArray2OfDir2d.hxx | 29 + ...apeSchema_PColgp_FieldOfHArray2OfDir2d.ixx | 1 + ...apeSchema_PColgp_FieldOfHArray2OfLin2d.cxx | 42 + ...apeSchema_PColgp_FieldOfHArray2OfLin2d.hxx | 29 + ...apeSchema_PColgp_FieldOfHArray2OfLin2d.ixx | 1 + ...ShapeSchema_PColgp_FieldOfHArray2OfPnt.cxx | 42 + ...ShapeSchema_PColgp_FieldOfHArray2OfPnt.hxx | 29 + ...ShapeSchema_PColgp_FieldOfHArray2OfPnt.ixx | 1 + ...apeSchema_PColgp_FieldOfHArray2OfPnt2d.cxx | 42 + ...apeSchema_PColgp_FieldOfHArray2OfPnt2d.hxx | 29 + ...apeSchema_PColgp_FieldOfHArray2OfPnt2d.ixx | 1 + ...ShapeSchema_PColgp_FieldOfHArray2OfVec.cxx | 42 + ...ShapeSchema_PColgp_FieldOfHArray2OfVec.hxx | 29 + ...ShapeSchema_PColgp_FieldOfHArray2OfVec.ixx | 1 + ...apeSchema_PColgp_FieldOfHArray2OfVec2d.cxx | 42 + ...apeSchema_PColgp_FieldOfHArray2OfVec2d.hxx | 29 + ...apeSchema_PColgp_FieldOfHArray2OfVec2d.ixx | 1 + .../ShapeSchema_PColgp_FieldOfHArray2OfXY.cxx | 42 + .../ShapeSchema_PColgp_FieldOfHArray2OfXY.hxx | 29 + .../ShapeSchema_PColgp_FieldOfHArray2OfXY.ixx | 1 + ...ShapeSchema_PColgp_FieldOfHArray2OfXYZ.cxx | 42 + ...ShapeSchema_PColgp_FieldOfHArray2OfXYZ.hxx | 29 + ...ShapeSchema_PColgp_FieldOfHArray2OfXYZ.ixx | 1 + .../ShapeSchema_PColgp_HArray1OfCirc2d.cxx | 88 + .../ShapeSchema_PColgp_HArray1OfCirc2d.hxx | 43 + .../ShapeSchema_PColgp_HArray1OfCirc2d.ixx | 5 + .../ShapeSchema_PColgp_HArray1OfDir.cxx | 88 + .../ShapeSchema_PColgp_HArray1OfDir.hxx | 43 + .../ShapeSchema_PColgp_HArray1OfDir.ixx | 5 + .../ShapeSchema_PColgp_HArray1OfDir2d.cxx | 88 + .../ShapeSchema_PColgp_HArray1OfDir2d.hxx | 43 + .../ShapeSchema_PColgp_HArray1OfDir2d.ixx | 5 + .../ShapeSchema_PColgp_HArray1OfLin2d.cxx | 88 + .../ShapeSchema_PColgp_HArray1OfLin2d.hxx | 43 + .../ShapeSchema_PColgp_HArray1OfLin2d.ixx | 5 + .../ShapeSchema_PColgp_HArray1OfPnt.cxx | 88 + .../ShapeSchema_PColgp_HArray1OfPnt.hxx | 43 + .../ShapeSchema_PColgp_HArray1OfPnt.ixx | 5 + .../ShapeSchema_PColgp_HArray1OfPnt2d.cxx | 88 + .../ShapeSchema_PColgp_HArray1OfPnt2d.hxx | 43 + .../ShapeSchema_PColgp_HArray1OfPnt2d.ixx | 5 + .../ShapeSchema_PColgp_HArray1OfVec.cxx | 88 + .../ShapeSchema_PColgp_HArray1OfVec.hxx | 43 + .../ShapeSchema_PColgp_HArray1OfVec.ixx | 5 + .../ShapeSchema_PColgp_HArray1OfVec2d.cxx | 88 + .../ShapeSchema_PColgp_HArray1OfVec2d.hxx | 43 + .../ShapeSchema_PColgp_HArray1OfVec2d.ixx | 5 + .../ShapeSchema_PColgp_HArray1OfXY.cxx | 88 + .../ShapeSchema_PColgp_HArray1OfXY.hxx | 43 + .../ShapeSchema_PColgp_HArray1OfXY.ixx | 5 + .../ShapeSchema_PColgp_HArray1OfXYZ.cxx | 88 + .../ShapeSchema_PColgp_HArray1OfXYZ.hxx | 43 + .../ShapeSchema_PColgp_HArray1OfXYZ.ixx | 5 + .../ShapeSchema_PColgp_HArray2OfCirc2d.cxx | 98 ++ .../ShapeSchema_PColgp_HArray2OfCirc2d.hxx | 43 + .../ShapeSchema_PColgp_HArray2OfCirc2d.ixx | 5 + .../ShapeSchema_PColgp_HArray2OfDir.cxx | 98 ++ .../ShapeSchema_PColgp_HArray2OfDir.hxx | 43 + .../ShapeSchema_PColgp_HArray2OfDir.ixx | 5 + .../ShapeSchema_PColgp_HArray2OfDir2d.cxx | 98 ++ .../ShapeSchema_PColgp_HArray2OfDir2d.hxx | 43 + .../ShapeSchema_PColgp_HArray2OfDir2d.ixx | 5 + .../ShapeSchema_PColgp_HArray2OfLin2d.cxx | 98 ++ .../ShapeSchema_PColgp_HArray2OfLin2d.hxx | 43 + .../ShapeSchema_PColgp_HArray2OfLin2d.ixx | 5 + .../ShapeSchema_PColgp_HArray2OfPnt.cxx | 98 ++ .../ShapeSchema_PColgp_HArray2OfPnt.hxx | 43 + .../ShapeSchema_PColgp_HArray2OfPnt.ixx | 5 + .../ShapeSchema_PColgp_HArray2OfPnt2d.cxx | 98 ++ .../ShapeSchema_PColgp_HArray2OfPnt2d.hxx | 43 + .../ShapeSchema_PColgp_HArray2OfPnt2d.ixx | 5 + .../ShapeSchema_PColgp_HArray2OfVec.cxx | 98 ++ .../ShapeSchema_PColgp_HArray2OfVec.hxx | 43 + .../ShapeSchema_PColgp_HArray2OfVec.ixx | 5 + .../ShapeSchema_PColgp_HArray2OfVec2d.cxx | 98 ++ .../ShapeSchema_PColgp_HArray2OfVec2d.hxx | 43 + .../ShapeSchema_PColgp_HArray2OfVec2d.ixx | 5 + .../ShapeSchema_PColgp_HArray2OfXY.cxx | 98 ++ .../ShapeSchema_PColgp_HArray2OfXY.hxx | 43 + .../ShapeSchema_PColgp_HArray2OfXY.ixx | 5 + .../ShapeSchema_PColgp_HArray2OfXYZ.cxx | 98 ++ .../ShapeSchema_PColgp_HArray2OfXYZ.hxx | 43 + .../ShapeSchema_PColgp_HArray2OfXYZ.ixx | 5 + .../ShapeSchema_PColgp_HSequenceOfDir.cxx | 94 + .../ShapeSchema_PColgp_HSequenceOfDir.hxx | 43 + .../ShapeSchema_PColgp_HSequenceOfDir.ixx | 8 + .../ShapeSchema_PColgp_HSequenceOfPnt.cxx | 94 + .../ShapeSchema_PColgp_HSequenceOfPnt.hxx | 43 + .../ShapeSchema_PColgp_HSequenceOfPnt.ixx | 8 + .../ShapeSchema_PColgp_HSequenceOfVec.cxx | 94 + .../ShapeSchema_PColgp_HSequenceOfVec.hxx | 43 + .../ShapeSchema_PColgp_HSequenceOfVec.ixx | 8 + .../ShapeSchema_PColgp_HSequenceOfXYZ.cxx | 94 + .../ShapeSchema_PColgp_HSequenceOfXYZ.hxx | 43 + .../ShapeSchema_PColgp_HSequenceOfXYZ.ixx | 8 + ...eSchema_PColgp_SeqNodeOfHSequenceOfDir.cxx | 92 + ...eSchema_PColgp_SeqNodeOfHSequenceOfDir.hxx | 43 + ...eSchema_PColgp_SeqNodeOfHSequenceOfDir.ixx | 11 + ...eSchema_PColgp_SeqNodeOfHSequenceOfPnt.cxx | 92 + ...eSchema_PColgp_SeqNodeOfHSequenceOfPnt.hxx | 43 + ...eSchema_PColgp_SeqNodeOfHSequenceOfPnt.ixx | 11 + ...eSchema_PColgp_SeqNodeOfHSequenceOfVec.cxx | 92 + ...eSchema_PColgp_SeqNodeOfHSequenceOfVec.hxx | 43 + ...eSchema_PColgp_SeqNodeOfHSequenceOfVec.ixx | 11 + ...eSchema_PColgp_SeqNodeOfHSequenceOfXYZ.cxx | 92 + ...eSchema_PColgp_SeqNodeOfHSequenceOfXYZ.hxx | 43 + ...eSchema_PColgp_SeqNodeOfHSequenceOfXYZ.ixx | 11 + .../ShapeSchema_PCollection_HAsciiString.cxx | 78 + .../ShapeSchema_PCollection_HAsciiString.hxx | 43 + .../ShapeSchema_PCollection_HAsciiString.ixx | 5 + ...hapeSchema_PCollection_HExtendedString.cxx | 78 + ...hapeSchema_PCollection_HExtendedString.hxx | 43 + ...hapeSchema_PCollection_HExtendedString.ixx | 5 + .../ShapeSchema_PGeom2d_AxisPlacement.cxx | 78 + .../ShapeSchema_PGeom2d_AxisPlacement.hxx | 43 + .../ShapeSchema_PGeom2d_AxisPlacement.ixx | 5 + .../ShapeSchema_PGeom2d_BSplineCurve.cxx | 118 ++ .../ShapeSchema_PGeom2d_BSplineCurve.hxx | 43 + .../ShapeSchema_PGeom2d_BSplineCurve.ixx | 14 + .../ShapeSchema_PGeom2d_BezierCurve.cxx | 94 + .../ShapeSchema_PGeom2d_BezierCurve.hxx | 43 + .../ShapeSchema_PGeom2d_BezierCurve.ixx | 8 + .../ShapeSchema_PGeom2d_BoundedCurve.cxx | 76 + .../ShapeSchema_PGeom2d_BoundedCurve.hxx | 43 + .../ShapeSchema_PGeom2d_BoundedCurve.ixx | 2 + .../ShapeSchema_PGeom2d_CartesianPoint.cxx | 78 + .../ShapeSchema_PGeom2d_CartesianPoint.hxx | 43 + .../ShapeSchema_PGeom2d_CartesianPoint.ixx | 5 + .../ShapeSchema_PGeom2d_Circle.cxx | 83 + .../ShapeSchema_PGeom2d_Circle.hxx | 43 + .../ShapeSchema_PGeom2d_Circle.ixx | 2 + .../ShapeSchema_PGeom2d_Conic.cxx | 79 + .../ShapeSchema_PGeom2d_Conic.hxx | 43 + .../ShapeSchema_PGeom2d_Conic.ixx | 5 + .../ShapeSchema_PGeom2d_Curve.cxx | 76 + .../ShapeSchema_PGeom2d_Curve.hxx | 43 + .../ShapeSchema_PGeom2d_Curve.ixx | 2 + .../ShapeSchema_PGeom2d_Direction.cxx | 78 + .../ShapeSchema_PGeom2d_Direction.hxx | 43 + .../ShapeSchema_PGeom2d_Direction.ixx | 2 + .../ShapeSchema_PGeom2d_Ellipse.cxx | 88 + .../ShapeSchema_PGeom2d_Ellipse.hxx | 43 + .../ShapeSchema_PGeom2d_Ellipse.ixx | 2 + .../ShapeSchema_PGeom2d_Geometry.cxx | 76 + .../ShapeSchema_PGeom2d_Geometry.hxx | 43 + .../ShapeSchema_PGeom2d_Geometry.ixx | 2 + .../ShapeSchema_PGeom2d_Hyperbola.cxx | 88 + .../ShapeSchema_PGeom2d_Hyperbola.hxx | 43 + .../ShapeSchema_PGeom2d_Hyperbola.ixx | 2 + .../ShapeSchema_PGeom2d_Line.cxx | 78 + .../ShapeSchema_PGeom2d_Line.hxx | 43 + .../ShapeSchema_PGeom2d_Line.ixx | 5 + .../ShapeSchema_PGeom2d_OffsetCurve.cxx | 87 + .../ShapeSchema_PGeom2d_OffsetCurve.hxx | 43 + .../ShapeSchema_PGeom2d_OffsetCurve.ixx | 5 + .../ShapeSchema_PGeom2d_Parabola.cxx | 83 + .../ShapeSchema_PGeom2d_Parabola.hxx | 43 + .../ShapeSchema_PGeom2d_Parabola.ixx | 2 + .../ShapeSchema_PGeom2d_Point.cxx | 76 + .../ShapeSchema_PGeom2d_Point.hxx | 43 + .../ShapeSchema_PGeom2d_Point.ixx | 2 + .../ShapeSchema_PGeom2d_Transformation.cxx | 78 + .../ShapeSchema_PGeom2d_Transformation.hxx | 43 + .../ShapeSchema_PGeom2d_Transformation.ixx | 5 + .../ShapeSchema_PGeom2d_TrimmedCurve.cxx | 92 + .../ShapeSchema_PGeom2d_TrimmedCurve.hxx | 43 + .../ShapeSchema_PGeom2d_TrimmedCurve.ixx | 5 + .../ShapeSchema_PGeom2d_Vector.cxx | 79 + .../ShapeSchema_PGeom2d_Vector.hxx | 43 + .../ShapeSchema_PGeom2d_Vector.ixx | 5 + ...hapeSchema_PGeom2d_VectorWithMagnitude.cxx | 78 + ...hapeSchema_PGeom2d_VectorWithMagnitude.hxx | 43 + ...hapeSchema_PGeom2d_VectorWithMagnitude.ixx | 2 + .../ShapeSchema_PGeom_Axis1Placement.cxx | 78 + .../ShapeSchema_PGeom_Axis1Placement.hxx | 43 + .../ShapeSchema_PGeom_Axis1Placement.ixx | 2 + .../ShapeSchema_PGeom_Axis2Placement.cxx | 81 + .../ShapeSchema_PGeom_Axis2Placement.hxx | 43 + .../ShapeSchema_PGeom_Axis2Placement.ixx | 5 + .../ShapeSchema_PGeom_AxisPlacement.cxx | 79 + .../ShapeSchema_PGeom_AxisPlacement.hxx | 43 + .../ShapeSchema_PGeom_AxisPlacement.ixx | 5 + .../ShapeSchema_PGeom_BSplineCurve.cxx | 118 ++ .../ShapeSchema_PGeom_BSplineCurve.hxx | 43 + .../ShapeSchema_PGeom_BSplineCurve.ixx | 14 + .../ShapeSchema_PGeom_BSplineSurface.cxx | 147 ++ .../ShapeSchema_PGeom_BSplineSurface.hxx | 43 + .../ShapeSchema_PGeom_BSplineSurface.ixx | 20 + .../ShapeSchema_PGeom_BezierCurve.cxx | 94 + .../ShapeSchema_PGeom_BezierCurve.hxx | 43 + .../ShapeSchema_PGeom_BezierCurve.ixx | 8 + .../ShapeSchema_PGeom_BezierSurface.cxx | 99 ++ .../ShapeSchema_PGeom_BezierSurface.hxx | 43 + .../ShapeSchema_PGeom_BezierSurface.ixx | 8 + .../ShapeSchema_PGeom_BoundedCurve.cxx | 76 + .../ShapeSchema_PGeom_BoundedCurve.hxx | 43 + .../ShapeSchema_PGeom_BoundedCurve.ixx | 2 + .../ShapeSchema_PGeom_BoundedSurface.cxx | 76 + .../ShapeSchema_PGeom_BoundedSurface.hxx | 43 + .../ShapeSchema_PGeom_BoundedSurface.ixx | 2 + .../ShapeSchema_PGeom_CartesianPoint.cxx | 78 + .../ShapeSchema_PGeom_CartesianPoint.hxx | 43 + .../ShapeSchema_PGeom_CartesianPoint.ixx | 5 + .../ShapeSchema_PGeom_Circle.cxx | 83 + .../ShapeSchema_PGeom_Circle.hxx | 43 + .../ShapeSchema_PGeom_Circle.ixx | 2 + .../TKShapeSchema/ShapeSchema_PGeom_Conic.cxx | 79 + .../TKShapeSchema/ShapeSchema_PGeom_Conic.hxx | 43 + .../TKShapeSchema/ShapeSchema_PGeom_Conic.ixx | 5 + .../ShapeSchema_PGeom_ConicalSurface.cxx | 88 + .../ShapeSchema_PGeom_ConicalSurface.hxx | 43 + .../ShapeSchema_PGeom_ConicalSurface.ixx | 2 + .../TKShapeSchema/ShapeSchema_PGeom_Curve.cxx | 76 + .../TKShapeSchema/ShapeSchema_PGeom_Curve.hxx | 43 + .../TKShapeSchema/ShapeSchema_PGeom_Curve.ixx | 2 + .../ShapeSchema_PGeom_CylindricalSurface.cxx | 83 + .../ShapeSchema_PGeom_CylindricalSurface.hxx | 43 + .../ShapeSchema_PGeom_CylindricalSurface.ixx | 2 + .../ShapeSchema_PGeom_Direction.cxx | 78 + .../ShapeSchema_PGeom_Direction.hxx | 43 + .../ShapeSchema_PGeom_Direction.ixx | 2 + .../ShapeSchema_PGeom_ElementarySurface.cxx | 79 + .../ShapeSchema_PGeom_ElementarySurface.hxx | 43 + .../ShapeSchema_PGeom_ElementarySurface.ixx | 5 + .../ShapeSchema_PGeom_Ellipse.cxx | 88 + .../ShapeSchema_PGeom_Ellipse.hxx | 43 + .../ShapeSchema_PGeom_Ellipse.ixx | 2 + .../ShapeSchema_PGeom_Geometry.cxx | 76 + .../ShapeSchema_PGeom_Geometry.hxx | 43 + .../ShapeSchema_PGeom_Geometry.ixx | 2 + .../ShapeSchema_PGeom_Hyperbola.cxx | 88 + .../ShapeSchema_PGeom_Hyperbola.hxx | 43 + .../ShapeSchema_PGeom_Hyperbola.ixx | 2 + .../TKShapeSchema/ShapeSchema_PGeom_Line.cxx | 78 + .../TKShapeSchema/ShapeSchema_PGeom_Line.hxx | 43 + .../TKShapeSchema/ShapeSchema_PGeom_Line.ixx | 5 + .../ShapeSchema_PGeom_OffsetCurve.cxx | 90 + .../ShapeSchema_PGeom_OffsetCurve.hxx | 43 + .../ShapeSchema_PGeom_OffsetCurve.ixx | 8 + .../ShapeSchema_PGeom_OffsetSurface.cxx | 87 + .../ShapeSchema_PGeom_OffsetSurface.hxx | 43 + .../ShapeSchema_PGeom_OffsetSurface.ixx | 5 + .../ShapeSchema_PGeom_Parabola.cxx | 83 + .../ShapeSchema_PGeom_Parabola.hxx | 43 + .../ShapeSchema_PGeom_Parabola.ixx | 2 + .../TKShapeSchema/ShapeSchema_PGeom_Plane.cxx | 78 + .../TKShapeSchema/ShapeSchema_PGeom_Plane.hxx | 43 + .../TKShapeSchema/ShapeSchema_PGeom_Plane.ixx | 2 + .../TKShapeSchema/ShapeSchema_PGeom_Point.cxx | 76 + .../TKShapeSchema/ShapeSchema_PGeom_Point.hxx | 43 + .../TKShapeSchema/ShapeSchema_PGeom_Point.ixx | 2 + ...Schema_PGeom_RectangularTrimmedSurface.cxx | 102 ++ ...Schema_PGeom_RectangularTrimmedSurface.hxx | 43 + ...Schema_PGeom_RectangularTrimmedSurface.ixx | 5 + .../ShapeSchema_PGeom_SphericalSurface.cxx | 83 + .../ShapeSchema_PGeom_SphericalSurface.hxx | 43 + .../ShapeSchema_PGeom_SphericalSurface.ixx | 2 + .../ShapeSchema_PGeom_Surface.cxx | 76 + .../ShapeSchema_PGeom_Surface.hxx | 43 + .../ShapeSchema_PGeom_Surface.ixx | 2 + ...eSchema_PGeom_SurfaceOfLinearExtrusion.cxx | 85 + ...eSchema_PGeom_SurfaceOfLinearExtrusion.hxx | 43 + ...eSchema_PGeom_SurfaceOfLinearExtrusion.ixx | 2 + .../ShapeSchema_PGeom_SurfaceOfRevolution.cxx | 88 + .../ShapeSchema_PGeom_SurfaceOfRevolution.hxx | 43 + .../ShapeSchema_PGeom_SurfaceOfRevolution.ixx | 5 + .../ShapeSchema_PGeom_SweptSurface.cxx | 86 + .../ShapeSchema_PGeom_SweptSurface.hxx | 43 + .../ShapeSchema_PGeom_SweptSurface.ixx | 8 + .../ShapeSchema_PGeom_ToroidalSurface.cxx | 88 + .../ShapeSchema_PGeom_ToroidalSurface.hxx | 43 + .../ShapeSchema_PGeom_ToroidalSurface.ixx | 2 + .../ShapeSchema_PGeom_Transformation.cxx | 78 + .../ShapeSchema_PGeom_Transformation.hxx | 43 + .../ShapeSchema_PGeom_Transformation.ixx | 5 + .../ShapeSchema_PGeom_TrimmedCurve.cxx | 92 + .../ShapeSchema_PGeom_TrimmedCurve.hxx | 43 + .../ShapeSchema_PGeom_TrimmedCurve.ixx | 5 + .../ShapeSchema_PGeom_Vector.cxx | 79 + .../ShapeSchema_PGeom_Vector.hxx | 43 + .../ShapeSchema_PGeom_Vector.ixx | 5 + .../ShapeSchema_PGeom_VectorWithMagnitude.cxx | 78 + .../ShapeSchema_PGeom_VectorWithMagnitude.hxx | 43 + .../ShapeSchema_PGeom_VectorWithMagnitude.ixx | 2 + .../ShapeSchema_PMMgt_PManaged.cxx | 76 + .../ShapeSchema_PMMgt_PManaged.hxx | 43 + .../ShapeSchema_PMMgt_PManaged.ixx | 2 + ...eSchema_PPoly_FieldOfHArray1OfTriangle.cxx | 42 + ...eSchema_PPoly_FieldOfHArray1OfTriangle.hxx | 29 + ...eSchema_PPoly_FieldOfHArray1OfTriangle.ixx | 1 + .../ShapeSchema_PPoly_HArray1OfTriangle.cxx | 88 + .../ShapeSchema_PPoly_HArray1OfTriangle.hxx | 43 + .../ShapeSchema_PPoly_HArray1OfTriangle.ixx | 5 + .../ShapeSchema_PPoly_Polygon2D.cxx | 87 + .../ShapeSchema_PPoly_Polygon2D.hxx | 43 + .../ShapeSchema_PPoly_Polygon2D.ixx | 5 + .../ShapeSchema_PPoly_Polygon3D.cxx | 94 + .../ShapeSchema_PPoly_Polygon3D.hxx | 43 + .../ShapeSchema_PPoly_Polygon3D.ixx | 8 + ...apeSchema_PPoly_PolygonOnTriangulation.cxx | 94 + ...apeSchema_PPoly_PolygonOnTriangulation.hxx | 43 + ...apeSchema_PPoly_PolygonOnTriangulation.ixx | 8 + .../ShapeSchema_PPoly_Triangle.cxx | 46 + .../ShapeSchema_PPoly_Triangle.hxx | 25 + .../ShapeSchema_PPoly_Triangle.ixx | 0 .../ShapeSchema_PPoly_Triangulation.cxx | 101 ++ .../ShapeSchema_PPoly_Triangulation.hxx | 43 + .../ShapeSchema_PPoly_Triangulation.ixx | 11 + .../ShapeSchema_PTopLoc_Datum3D.cxx | 78 + .../ShapeSchema_PTopLoc_Datum3D.hxx | 43 + .../ShapeSchema_PTopLoc_Datum3D.ixx | 5 + .../ShapeSchema_PTopLoc_ItemLocation.cxx | 91 + .../ShapeSchema_PTopLoc_ItemLocation.hxx | 43 + .../ShapeSchema_PTopLoc_ItemLocation.ixx | 8 + .../ShapeSchema_PTopLoc_Location.cxx | 41 + .../ShapeSchema_PTopLoc_Location.hxx | 25 + .../ShapeSchema_PTopLoc_Location.ixx | 4 + .../ShapeSchema_PTopoDS_CompSolid.cxx | 100 ++ .../ShapeSchema_PTopoDS_CompSolid.hxx | 43 + .../ShapeSchema_PTopoDS_CompSolid.ixx | 2 + .../ShapeSchema_PTopoDS_Compound.cxx | 100 ++ .../ShapeSchema_PTopoDS_Compound.hxx | 43 + .../ShapeSchema_PTopoDS_Compound.ixx | 2 + .../ShapeSchema_PTopoDS_Edge.cxx | 100 ++ .../ShapeSchema_PTopoDS_Edge.hxx | 43 + .../ShapeSchema_PTopoDS_Edge.ixx | 2 + .../ShapeSchema_PTopoDS_Face.cxx | 100 ++ .../ShapeSchema_PTopoDS_Face.hxx | 43 + .../ShapeSchema_PTopoDS_Face.ixx | 2 + ...eSchema_PTopoDS_FieldOfHArray1OfHShape.cxx | 54 + ...eSchema_PTopoDS_FieldOfHArray1OfHShape.hxx | 29 + ...eSchema_PTopoDS_FieldOfHArray1OfHShape.ixx | 1 + ...eSchema_PTopoDS_FieldOfHArray1OfShape1.cxx | 51 + ...eSchema_PTopoDS_FieldOfHArray1OfShape1.hxx | 29 + ...eSchema_PTopoDS_FieldOfHArray1OfShape1.ixx | 1 + .../ShapeSchema_PTopoDS_HArray1OfHShape.cxx | 89 + .../ShapeSchema_PTopoDS_HArray1OfHShape.hxx | 43 + .../ShapeSchema_PTopoDS_HArray1OfHShape.ixx | 5 + .../ShapeSchema_PTopoDS_HArray1OfShape1.cxx | 89 + .../ShapeSchema_PTopoDS_HArray1OfShape1.hxx | 43 + .../ShapeSchema_PTopoDS_HArray1OfShape1.ixx | 5 + .../ShapeSchema_PTopoDS_HShape.cxx | 100 ++ .../ShapeSchema_PTopoDS_HShape.hxx | 43 + .../ShapeSchema_PTopoDS_HShape.ixx | 8 + .../ShapeSchema_PTopoDS_Shape1.cxx | 52 + .../ShapeSchema_PTopoDS_Shape1.hxx | 25 + .../ShapeSchema_PTopoDS_Shape1.ixx | 7 + .../ShapeSchema_PTopoDS_Shell.cxx | 100 ++ .../ShapeSchema_PTopoDS_Shell.hxx | 43 + .../ShapeSchema_PTopoDS_Shell.ixx | 2 + .../ShapeSchema_PTopoDS_Solid.cxx | 100 ++ .../ShapeSchema_PTopoDS_Solid.hxx | 43 + .../ShapeSchema_PTopoDS_Solid.ixx | 2 + .../ShapeSchema_PTopoDS_TCompSolid.cxx | 87 + .../ShapeSchema_PTopoDS_TCompSolid.hxx | 43 + .../ShapeSchema_PTopoDS_TCompSolid.ixx | 2 + .../ShapeSchema_PTopoDS_TCompSolid1.cxx | 87 + .../ShapeSchema_PTopoDS_TCompSolid1.hxx | 43 + .../ShapeSchema_PTopoDS_TCompSolid1.ixx | 2 + .../ShapeSchema_PTopoDS_TCompound.cxx | 87 + .../ShapeSchema_PTopoDS_TCompound.hxx | 43 + .../ShapeSchema_PTopoDS_TCompound.ixx | 2 + .../ShapeSchema_PTopoDS_TCompound1.cxx | 87 + .../ShapeSchema_PTopoDS_TCompound1.hxx | 43 + .../ShapeSchema_PTopoDS_TCompound1.ixx | 2 + .../ShapeSchema_PTopoDS_TEdge.cxx | 88 + .../ShapeSchema_PTopoDS_TEdge.hxx | 43 + .../ShapeSchema_PTopoDS_TEdge.ixx | 2 + .../ShapeSchema_PTopoDS_TEdge1.cxx | 88 + .../ShapeSchema_PTopoDS_TEdge1.hxx | 43 + .../ShapeSchema_PTopoDS_TEdge1.ixx | 2 + .../ShapeSchema_PTopoDS_TFace.cxx | 87 + .../ShapeSchema_PTopoDS_TFace.hxx | 43 + .../ShapeSchema_PTopoDS_TFace.ixx | 2 + .../ShapeSchema_PTopoDS_TFace1.cxx | 87 + .../ShapeSchema_PTopoDS_TFace1.hxx | 43 + .../ShapeSchema_PTopoDS_TFace1.ixx | 2 + .../ShapeSchema_PTopoDS_TShape.cxx | 88 + .../ShapeSchema_PTopoDS_TShape.hxx | 43 + .../ShapeSchema_PTopoDS_TShape.ixx | 5 + .../ShapeSchema_PTopoDS_TShape1.cxx | 88 + .../ShapeSchema_PTopoDS_TShape1.hxx | 43 + .../ShapeSchema_PTopoDS_TShape1.ixx | 5 + .../ShapeSchema_PTopoDS_TShell.cxx | 87 + .../ShapeSchema_PTopoDS_TShell.hxx | 43 + .../ShapeSchema_PTopoDS_TShell.ixx | 2 + .../ShapeSchema_PTopoDS_TShell1.cxx | 87 + .../ShapeSchema_PTopoDS_TShell1.hxx | 43 + .../ShapeSchema_PTopoDS_TShell1.ixx | 2 + .../ShapeSchema_PTopoDS_TSolid.cxx | 87 + .../ShapeSchema_PTopoDS_TSolid.hxx | 43 + .../ShapeSchema_PTopoDS_TSolid.ixx | 2 + .../ShapeSchema_PTopoDS_TSolid1.cxx | 87 + .../ShapeSchema_PTopoDS_TSolid1.hxx | 43 + .../ShapeSchema_PTopoDS_TSolid1.ixx | 2 + .../ShapeSchema_PTopoDS_TVertex.cxx | 88 + .../ShapeSchema_PTopoDS_TVertex.hxx | 43 + .../ShapeSchema_PTopoDS_TVertex.ixx | 2 + .../ShapeSchema_PTopoDS_TVertex1.cxx | 88 + .../ShapeSchema_PTopoDS_TVertex1.hxx | 43 + .../ShapeSchema_PTopoDS_TVertex1.ixx | 2 + .../ShapeSchema_PTopoDS_TWire.cxx | 87 + .../ShapeSchema_PTopoDS_TWire.hxx | 43 + .../ShapeSchema_PTopoDS_TWire.ixx | 2 + .../ShapeSchema_PTopoDS_TWire1.cxx | 87 + .../ShapeSchema_PTopoDS_TWire1.hxx | 43 + .../ShapeSchema_PTopoDS_TWire1.ixx | 2 + .../ShapeSchema_PTopoDS_Vertex.cxx | 100 ++ .../ShapeSchema_PTopoDS_Vertex.hxx | 43 + .../ShapeSchema_PTopoDS_Vertex.ixx | 2 + .../ShapeSchema_PTopoDS_Wire.cxx | 100 ++ .../ShapeSchema_PTopoDS_Wire.hxx | 43 + .../ShapeSchema_PTopoDS_Wire.ixx | 2 + .../ShapeSchema_Standard_Persistent.cxx | 76 + .../ShapeSchema_Standard_Persistent.hxx | 39 + .../ShapeSchema_Standard_Persistent.ixx | 0 .../TKShapeSchema/ShapeSchema_gp_Ax1.cxx | 35 + .../TKShapeSchema/ShapeSchema_gp_Ax1.hxx | 25 + .../TKShapeSchema/ShapeSchema_gp_Ax1.ixx | 7 + .../TKShapeSchema/ShapeSchema_gp_Ax2.cxx | 38 + .../TKShapeSchema/ShapeSchema_gp_Ax2.hxx | 25 + .../TKShapeSchema/ShapeSchema_gp_Ax2.ixx | 10 + .../TKShapeSchema/ShapeSchema_gp_Ax22d.cxx | 38 + .../TKShapeSchema/ShapeSchema_gp_Ax22d.hxx | 25 + .../TKShapeSchema/ShapeSchema_gp_Ax22d.ixx | 10 + .../TKShapeSchema/ShapeSchema_gp_Ax2d.cxx | 35 + .../TKShapeSchema/ShapeSchema_gp_Ax2d.hxx | 25 + .../TKShapeSchema/ShapeSchema_gp_Ax2d.ixx | 7 + .../TKShapeSchema/ShapeSchema_gp_Ax3.cxx | 38 + .../TKShapeSchema/ShapeSchema_gp_Ax3.hxx | 25 + .../TKShapeSchema/ShapeSchema_gp_Ax3.ixx | 10 + .../TKShapeSchema/ShapeSchema_gp_Circ2d.cxx | 37 + .../TKShapeSchema/ShapeSchema_gp_Circ2d.hxx | 25 + .../TKShapeSchema/ShapeSchema_gp_Circ2d.ixx | 4 + .../TKShapeSchema/ShapeSchema_gp_Dir.cxx | 32 + .../TKShapeSchema/ShapeSchema_gp_Dir.hxx | 25 + .../TKShapeSchema/ShapeSchema_gp_Dir.ixx | 4 + .../TKShapeSchema/ShapeSchema_gp_Dir2d.cxx | 32 + .../TKShapeSchema/ShapeSchema_gp_Dir2d.hxx | 25 + .../TKShapeSchema/ShapeSchema_gp_Dir2d.ixx | 4 + .../TKShapeSchema/ShapeSchema_gp_Lin2d.cxx | 32 + .../TKShapeSchema/ShapeSchema_gp_Lin2d.hxx | 25 + .../TKShapeSchema/ShapeSchema_gp_Lin2d.ixx | 4 + .../TKShapeSchema/ShapeSchema_gp_Mat.cxx | 48 + .../TKShapeSchema/ShapeSchema_gp_Mat.hxx | 25 + .../TKShapeSchema/ShapeSchema_gp_Mat.ixx | 0 .../TKShapeSchema/ShapeSchema_gp_Mat2d.cxx | 48 + .../TKShapeSchema/ShapeSchema_gp_Mat2d.hxx | 25 + .../TKShapeSchema/ShapeSchema_gp_Mat2d.ixx | 0 .../TKShapeSchema/ShapeSchema_gp_Pnt.cxx | 32 + .../TKShapeSchema/ShapeSchema_gp_Pnt.hxx | 25 + .../TKShapeSchema/ShapeSchema_gp_Pnt.ixx | 4 + .../TKShapeSchema/ShapeSchema_gp_Pnt2d.cxx | 32 + .../TKShapeSchema/ShapeSchema_gp_Pnt2d.hxx | 25 + .../TKShapeSchema/ShapeSchema_gp_Pnt2d.ixx | 4 + .../TKShapeSchema/ShapeSchema_gp_Trsf.cxx | 47 + .../TKShapeSchema/ShapeSchema_gp_Trsf.hxx | 25 + .../TKShapeSchema/ShapeSchema_gp_Trsf.ixx | 7 + .../TKShapeSchema/ShapeSchema_gp_Trsf2d.cxx | 47 + .../TKShapeSchema/ShapeSchema_gp_Trsf2d.hxx | 25 + .../TKShapeSchema/ShapeSchema_gp_Trsf2d.ixx | 7 + .../TKShapeSchema/ShapeSchema_gp_Vec.cxx | 32 + .../TKShapeSchema/ShapeSchema_gp_Vec.hxx | 25 + .../TKShapeSchema/ShapeSchema_gp_Vec.ixx | 4 + .../TKShapeSchema/ShapeSchema_gp_Vec2d.cxx | 32 + .../TKShapeSchema/ShapeSchema_gp_Vec2d.hxx | 25 + .../TKShapeSchema/ShapeSchema_gp_Vec2d.ixx | 4 + .../TKShapeSchema/ShapeSchema_gp_XY.cxx | 39 + .../TKShapeSchema/ShapeSchema_gp_XY.hxx | 25 + .../TKShapeSchema/ShapeSchema_gp_XY.ixx | 0 .../TKShapeSchema/ShapeSchema_gp_XYZ.cxx | 44 + .../TKShapeSchema/ShapeSchema_gp_XYZ.hxx | 25 + .../TKShapeSchema/ShapeSchema_gp_XYZ.ixx | 0 src/FromOCCT/TKStdLSchema/CMakeLists.txt | 265 +++ ...le_StdLDrivers_DocumentRetrievalDriver.hxx | 20 + ...ndle_StdLDrivers_DocumentStorageDriver.hxx | 20 + src/FromOCCT/TKStdLSchema/StdLDrivers.cxx | 71 + src/FromOCCT/TKStdLSchema/StdLDrivers.hxx | 57 + src/FromOCCT/TKStdLSchema/StdLDrivers.ixx | 10 + src/FromOCCT/TKStdLSchema/StdLDrivers.jxx | 3 + .../StdLDrivers_DocumentRetrievalDriver.cxx | 50 + .../StdLDrivers_DocumentRetrievalDriver.hxx | 54 + .../StdLDrivers_DocumentRetrievalDriver.ixx | 29 + .../StdLDrivers_DocumentRetrievalDriver.jxx | 3 + .../StdLDrivers_DocumentStorageDriver.cxx | 72 + .../StdLDrivers_DocumentStorageDriver.hxx | 59 + .../StdLDrivers_DocumentStorageDriver.ixx | 29 + .../StdLDrivers_DocumentStorageDriver.jxx | 5 + src/FromOCCT/TKStdLSchema/StdLSchema.cxx | 324 ++++ src/FromOCCT/TKStdLSchema/StdLSchema.hxx | 115 ++ .../StdLSchema_DBC_VArrayOfCharacter.cxx | 45 + .../StdLSchema_DBC_VArrayOfCharacter.hxx | 26 + .../StdLSchema_DBC_VArrayOfCharacter.ixx | 1 + .../StdLSchema_DBC_VArrayOfExtCharacter.cxx | 45 + .../StdLSchema_DBC_VArrayOfExtCharacter.hxx | 26 + .../StdLSchema_DBC_VArrayOfExtCharacter.ixx | 1 + .../TKStdLSchema/StdLSchema_PCDM_Document.cxx | 76 + .../TKStdLSchema/StdLSchema_PCDM_Document.hxx | 43 + .../TKStdLSchema/StdLSchema_PCDM_Document.ixx | 2 + ...PColStd_FieldOfHArray1OfExtendedString.cxx | 54 + ...PColStd_FieldOfHArray1OfExtendedString.hxx | 29 + ...PColStd_FieldOfHArray1OfExtendedString.ixx | 1 + ...Schema_PColStd_FieldOfHArray1OfInteger.cxx | 45 + ...Schema_PColStd_FieldOfHArray1OfInteger.hxx | 26 + ...Schema_PColStd_FieldOfHArray1OfInteger.ixx | 1 + ...tdLSchema_PColStd_FieldOfHArray1OfReal.cxx | 45 + ...tdLSchema_PColStd_FieldOfHArray1OfReal.hxx | 26 + ...tdLSchema_PColStd_FieldOfHArray1OfReal.ixx | 1 + ...Schema_PColStd_FieldOfHArray2OfInteger.cxx | 45 + ...Schema_PColStd_FieldOfHArray2OfInteger.hxx | 26 + ...Schema_PColStd_FieldOfHArray2OfInteger.ixx | 1 + ...Schema_PColStd_HArray1OfExtendedString.cxx | 89 + ...Schema_PColStd_HArray1OfExtendedString.hxx | 43 + ...Schema_PColStd_HArray1OfExtendedString.ixx | 5 + .../StdLSchema_PColStd_HArray1OfInteger.cxx | 88 + .../StdLSchema_PColStd_HArray1OfInteger.hxx | 43 + .../StdLSchema_PColStd_HArray1OfInteger.ixx | 5 + .../StdLSchema_PColStd_HArray1OfReal.cxx | 88 + .../StdLSchema_PColStd_HArray1OfReal.hxx | 43 + .../StdLSchema_PColStd_HArray1OfReal.ixx | 5 + .../StdLSchema_PColStd_HArray2OfInteger.cxx | 98 ++ .../StdLSchema_PColStd_HArray2OfInteger.hxx | 43 + .../StdLSchema_PColStd_HArray2OfInteger.ixx | 5 + .../StdLSchema_PCollection_HAsciiString.cxx | 78 + .../StdLSchema_PCollection_HAsciiString.hxx | 43 + .../StdLSchema_PCollection_HAsciiString.ixx | 5 + ...StdLSchema_PCollection_HExtendedString.cxx | 78 + ...StdLSchema_PCollection_HExtendedString.hxx | 43 + ...StdLSchema_PCollection_HExtendedString.ixx | 5 + .../TKStdLSchema/StdLSchema_PDF_Attribute.cxx | 76 + .../TKStdLSchema/StdLSchema_PDF_Attribute.hxx | 43 + .../TKStdLSchema/StdLSchema_PDF_Attribute.ixx | 2 + .../TKStdLSchema/StdLSchema_PDF_Data.cxx | 94 + .../TKStdLSchema/StdLSchema_PDF_Data.hxx | 43 + .../TKStdLSchema/StdLSchema_PDF_Data.ixx | 8 + ...StdLSchema_PDF_FieldOfHAttributeArray1.cxx | 54 + ...StdLSchema_PDF_FieldOfHAttributeArray1.hxx | 29 + ...StdLSchema_PDF_FieldOfHAttributeArray1.ixx | 1 + .../StdLSchema_PDF_HAttributeArray1.cxx | 89 + .../StdLSchema_PDF_HAttributeArray1.hxx | 43 + .../StdLSchema_PDF_HAttributeArray1.ixx | 5 + .../TKStdLSchema/StdLSchema_PDF_Reference.cxx | 82 + .../TKStdLSchema/StdLSchema_PDF_Reference.hxx | 43 + .../TKStdLSchema/StdLSchema_PDF_Reference.ixx | 5 + .../TKStdLSchema/StdLSchema_PDF_TagSource.cxx | 80 + .../TKStdLSchema/StdLSchema_PDF_TagSource.hxx | 43 + .../TKStdLSchema/StdLSchema_PDF_TagSource.ixx | 2 + .../StdLSchema_PDataStd_AsciiString.cxx | 82 + .../StdLSchema_PDataStd_AsciiString.hxx | 43 + .../StdLSchema_PDataStd_AsciiString.ixx | 5 + .../StdLSchema_PDataStd_BooleanArray.cxx | 92 + .../StdLSchema_PDataStd_BooleanArray.hxx | 43 + .../StdLSchema_PDataStd_BooleanArray.ixx | 5 + .../StdLSchema_PDataStd_BooleanList.cxx | 82 + .../StdLSchema_PDataStd_BooleanList.hxx | 43 + .../StdLSchema_PDataStd_BooleanList.ixx | 5 + .../StdLSchema_PDataStd_ByteArray.cxx | 82 + .../StdLSchema_PDataStd_ByteArray.hxx | 43 + .../StdLSchema_PDataStd_ByteArray.ixx | 5 + .../StdLSchema_PDataStd_ByteArray_1.cxx | 87 + .../StdLSchema_PDataStd_ByteArray_1.hxx | 43 + .../StdLSchema_PDataStd_ByteArray_1.ixx | 5 + .../StdLSchema_PDataStd_Comment.cxx | 82 + .../StdLSchema_PDataStd_Comment.hxx | 43 + .../StdLSchema_PDataStd_Comment.ixx | 5 + .../StdLSchema_PDataStd_Directory.cxx | 75 + .../StdLSchema_PDataStd_Directory.hxx | 43 + .../StdLSchema_PDataStd_Directory.ixx | 2 + .../StdLSchema_PDataStd_Expression.cxx | 89 + .../StdLSchema_PDataStd_Expression.hxx | 43 + .../StdLSchema_PDataStd_Expression.ixx | 8 + .../StdLSchema_PDataStd_ExtStringArray.cxx | 82 + .../StdLSchema_PDataStd_ExtStringArray.hxx | 43 + .../StdLSchema_PDataStd_ExtStringArray.ixx | 5 + .../StdLSchema_PDataStd_ExtStringArray_1.cxx | 87 + .../StdLSchema_PDataStd_ExtStringArray_1.hxx | 43 + .../StdLSchema_PDataStd_ExtStringArray_1.ixx | 5 + .../StdLSchema_PDataStd_ExtStringList.cxx | 82 + .../StdLSchema_PDataStd_ExtStringList.hxx | 43 + .../StdLSchema_PDataStd_ExtStringList.ixx | 5 + ...dLSchema_PDataStd_FieldOfHArray1OfByte.cxx | 45 + ...dLSchema_PDataStd_FieldOfHArray1OfByte.hxx | 26 + ...dLSchema_PDataStd_FieldOfHArray1OfByte.ixx | 1 + ...taStd_FieldOfHArray1OfHArray1OfInteger.cxx | 54 + ...taStd_FieldOfHArray1OfHArray1OfInteger.hxx | 29 + ...taStd_FieldOfHArray1OfHArray1OfInteger.ixx | 1 + ...PDataStd_FieldOfHArray1OfHArray1OfReal.cxx | 54 + ...PDataStd_FieldOfHArray1OfHArray1OfReal.hxx | 29 + ...PDataStd_FieldOfHArray1OfHArray1OfReal.ixx | 1 + ..._PDataStd_FieldOfHArray1OfHAsciiString.cxx | 54 + ..._PDataStd_FieldOfHArray1OfHAsciiString.hxx | 29 + ..._PDataStd_FieldOfHArray1OfHAsciiString.ixx | 1 + .../StdLSchema_PDataStd_HArray1OfByte.cxx | 88 + .../StdLSchema_PDataStd_HArray1OfByte.hxx | 43 + .../StdLSchema_PDataStd_HArray1OfByte.ixx | 5 + ...ema_PDataStd_HArray1OfHArray1OfInteger.cxx | 89 + ...ema_PDataStd_HArray1OfHArray1OfInteger.hxx | 43 + ...ema_PDataStd_HArray1OfHArray1OfInteger.ixx | 5 + ...Schema_PDataStd_HArray1OfHArray1OfReal.cxx | 89 + ...Schema_PDataStd_HArray1OfHArray1OfReal.hxx | 43 + ...Schema_PDataStd_HArray1OfHArray1OfReal.ixx | 5 + ...LSchema_PDataStd_HArray1OfHAsciiString.cxx | 89 + ...LSchema_PDataStd_HArray1OfHAsciiString.hxx | 43 + ...LSchema_PDataStd_HArray1OfHAsciiString.ixx | 5 + .../StdLSchema_PDataStd_IntPackedMap.cxx | 82 + .../StdLSchema_PDataStd_IntPackedMap.hxx | 43 + .../StdLSchema_PDataStd_IntPackedMap.ixx | 5 + .../StdLSchema_PDataStd_IntPackedMap_1.cxx | 87 + .../StdLSchema_PDataStd_IntPackedMap_1.hxx | 43 + .../StdLSchema_PDataStd_IntPackedMap_1.ixx | 5 + .../StdLSchema_PDataStd_Integer.cxx | 80 + .../StdLSchema_PDataStd_Integer.hxx | 43 + .../StdLSchema_PDataStd_Integer.ixx | 2 + .../StdLSchema_PDataStd_IntegerArray.cxx | 82 + .../StdLSchema_PDataStd_IntegerArray.hxx | 43 + .../StdLSchema_PDataStd_IntegerArray.ixx | 5 + .../StdLSchema_PDataStd_IntegerArray_1.cxx | 87 + .../StdLSchema_PDataStd_IntegerArray_1.hxx | 43 + .../StdLSchema_PDataStd_IntegerArray_1.ixx | 5 + .../StdLSchema_PDataStd_IntegerList.cxx | 82 + .../StdLSchema_PDataStd_IntegerList.hxx | 43 + .../StdLSchema_PDataStd_IntegerList.ixx | 5 + .../TKStdLSchema/StdLSchema_PDataStd_Name.cxx | 82 + .../TKStdLSchema/StdLSchema_PDataStd_Name.hxx | 43 + .../TKStdLSchema/StdLSchema_PDataStd_Name.ixx | 5 + .../StdLSchema_PDataStd_NamedData.cxx | 166 ++ .../StdLSchema_PDataStd_NamedData.hxx | 43 + .../StdLSchema_PDataStd_NamedData.ixx | 41 + .../StdLSchema_PDataStd_NoteBook.cxx | 75 + .../StdLSchema_PDataStd_NoteBook.hxx | 43 + .../StdLSchema_PDataStd_NoteBook.ixx | 2 + .../TKStdLSchema/StdLSchema_PDataStd_Real.cxx | 85 + .../TKStdLSchema/StdLSchema_PDataStd_Real.hxx | 43 + .../TKStdLSchema/StdLSchema_PDataStd_Real.ixx | 2 + .../StdLSchema_PDataStd_RealArray.cxx | 82 + .../StdLSchema_PDataStd_RealArray.hxx | 43 + .../StdLSchema_PDataStd_RealArray.ixx | 5 + .../StdLSchema_PDataStd_RealArray_1.cxx | 87 + .../StdLSchema_PDataStd_RealArray_1.hxx | 43 + .../StdLSchema_PDataStd_RealArray_1.ixx | 5 + .../StdLSchema_PDataStd_RealList.cxx | 82 + .../StdLSchema_PDataStd_RealList.hxx | 43 + .../StdLSchema_PDataStd_RealList.ixx | 5 + .../StdLSchema_PDataStd_ReferenceArray.cxx | 82 + .../StdLSchema_PDataStd_ReferenceArray.hxx | 43 + .../StdLSchema_PDataStd_ReferenceArray.ixx | 5 + .../StdLSchema_PDataStd_ReferenceList.cxx | 82 + .../StdLSchema_PDataStd_ReferenceList.hxx | 43 + .../StdLSchema_PDataStd_ReferenceList.ixx | 5 + .../StdLSchema_PDataStd_Relation.cxx | 89 + .../StdLSchema_PDataStd_Relation.hxx | 43 + .../StdLSchema_PDataStd_Relation.ixx | 8 + .../TKStdLSchema/StdLSchema_PDataStd_Tick.cxx | 75 + .../TKStdLSchema/StdLSchema_PDataStd_Tick.hxx | 43 + .../TKStdLSchema/StdLSchema_PDataStd_Tick.ixx | 2 + .../StdLSchema_PDataStd_TreeNode.cxx | 92 + .../StdLSchema_PDataStd_TreeNode.hxx | 43 + .../StdLSchema_PDataStd_TreeNode.ixx | 11 + .../StdLSchema_PDataStd_UAttribute.cxx | 82 + .../StdLSchema_PDataStd_UAttribute.hxx | 43 + .../StdLSchema_PDataStd_UAttribute.ixx | 5 + .../StdLSchema_PDataStd_Variable.cxx | 87 + .../StdLSchema_PDataStd_Variable.hxx | 43 + .../StdLSchema_PDataStd_Variable.ixx | 5 + .../StdLSchema_PDocStd_Document.cxx | 82 + .../StdLSchema_PDocStd_Document.hxx | 43 + .../StdLSchema_PDocStd_Document.ixx | 5 + .../TKStdLSchema/StdLSchema_PDocStd_XLink.cxx | 89 + .../TKStdLSchema/StdLSchema_PDocStd_XLink.hxx | 43 + .../TKStdLSchema/StdLSchema_PDocStd_XLink.ixx | 8 + .../StdLSchema_PFunction_Function.cxx | 83 + .../StdLSchema_PFunction_Function.hxx | 43 + .../StdLSchema_PFunction_Function.ixx | 5 + .../TKStdLSchema/StdLSchema_Standard_GUID.cxx | 80 + .../TKStdLSchema/StdLSchema_Standard_GUID.hxx | 25 + .../TKStdLSchema/StdLSchema_Standard_GUID.ixx | 0 .../StdLSchema_Standard_Persistent.cxx | 76 + .../StdLSchema_Standard_Persistent.hxx | 39 + .../StdLSchema_Standard_Persistent.ixx | 0 src/FromOCCT/TKStdSchema/CMakeLists.txt | 251 +++ ...dle_StdDrivers_DocumentRetrievalDriver.hxx | 20 + ...andle_StdDrivers_DocumentStorageDriver.hxx | 20 + src/FromOCCT/TKStdSchema/StdDrivers.cxx | 80 + src/FromOCCT/TKStdSchema/StdDrivers.hxx | 57 + src/FromOCCT/TKStdSchema/StdDrivers.ixx | 10 + src/FromOCCT/TKStdSchema/StdDrivers.jxx | 3 + .../StdDrivers_DocumentRetrievalDriver.cxx | 56 + .../StdDrivers_DocumentRetrievalDriver.hxx | 54 + .../StdDrivers_DocumentRetrievalDriver.ixx | 29 + .../StdDrivers_DocumentRetrievalDriver.jxx | 3 + .../StdDrivers_DocumentStorageDriver.cxx | 83 + .../StdDrivers_DocumentStorageDriver.hxx | 59 + .../StdDrivers_DocumentStorageDriver.ixx | 29 + .../StdDrivers_DocumentStorageDriver.jxx | 5 + src/FromOCCT/TKStdSchema/StdSchema.cxx | 204 +++ src/FromOCCT/TKStdSchema/StdSchema.hxx | 107 ++ .../StdSchema_DBC_VArrayOfCharacter.cxx | 45 + .../StdSchema_DBC_VArrayOfCharacter.hxx | 26 + .../StdSchema_DBC_VArrayOfCharacter.ixx | 1 + .../StdSchema_DBC_VArrayOfExtCharacter.cxx | 45 + .../StdSchema_DBC_VArrayOfExtCharacter.hxx | 26 + .../StdSchema_DBC_VArrayOfExtCharacter.ixx | 1 + ...Schema_PColStd_FieldOfHArray1OfInteger.cxx | 45 + ...Schema_PColStd_FieldOfHArray1OfInteger.hxx | 26 + ...Schema_PColStd_FieldOfHArray1OfInteger.ixx | 1 + .../StdSchema_PColStd_HArray1OfInteger.cxx | 88 + .../StdSchema_PColStd_HArray1OfInteger.hxx | 43 + .../StdSchema_PColStd_HArray1OfInteger.ixx | 5 + .../StdSchema_PCollection_HAsciiString.cxx | 78 + .../StdSchema_PCollection_HAsciiString.hxx | 43 + .../StdSchema_PCollection_HAsciiString.ixx | 5 + .../StdSchema_PCollection_HExtendedString.cxx | 78 + .../StdSchema_PCollection_HExtendedString.hxx | 43 + .../StdSchema_PCollection_HExtendedString.ixx | 5 + .../TKStdSchema/StdSchema_PDF_Attribute.cxx | 76 + .../TKStdSchema/StdSchema_PDF_Attribute.hxx | 43 + .../TKStdSchema/StdSchema_PDF_Attribute.ixx | 2 + .../StdSchema_PDF_FieldOfHAttributeArray1.cxx | 54 + .../StdSchema_PDF_FieldOfHAttributeArray1.hxx | 29 + .../StdSchema_PDF_FieldOfHAttributeArray1.ixx | 1 + .../StdSchema_PDF_HAttributeArray1.cxx | 89 + .../StdSchema_PDF_HAttributeArray1.hxx | 43 + .../StdSchema_PDF_HAttributeArray1.ixx | 5 + .../StdSchema_PDataStd_Integer.cxx | 80 + .../StdSchema_PDataStd_Integer.hxx | 43 + .../StdSchema_PDataStd_Integer.ixx | 2 + .../TKStdSchema/StdSchema_PDataStd_Real.cxx | 85 + .../TKStdSchema/StdSchema_PDataStd_Real.hxx | 43 + .../TKStdSchema/StdSchema_PDataStd_Real.ixx | 2 + .../TKStdSchema/StdSchema_PDataXtd_Axis.cxx | 75 + .../TKStdSchema/StdSchema_PDataXtd_Axis.hxx | 43 + .../TKStdSchema/StdSchema_PDataXtd_Axis.ixx | 2 + .../StdSchema_PDataXtd_Constraint.cxx | 116 ++ .../StdSchema_PDataXtd_Constraint.hxx | 43 + .../StdSchema_PDataXtd_Constraint.ixx | 11 + .../StdSchema_PDataXtd_Geometry.cxx | 80 + .../StdSchema_PDataXtd_Geometry.hxx | 43 + .../StdSchema_PDataXtd_Geometry.ixx | 2 + .../StdSchema_PDataXtd_PatternStd.cxx | 139 ++ .../StdSchema_PDataXtd_PatternStd.hxx | 43 + .../StdSchema_PDataXtd_PatternStd.ixx | 23 + .../StdSchema_PDataXtd_Placement.cxx | 75 + .../StdSchema_PDataXtd_Placement.hxx | 43 + .../StdSchema_PDataXtd_Placement.ixx | 2 + .../TKStdSchema/StdSchema_PDataXtd_Plane.cxx | 75 + .../TKStdSchema/StdSchema_PDataXtd_Plane.hxx | 43 + .../TKStdSchema/StdSchema_PDataXtd_Plane.ixx | 2 + .../TKStdSchema/StdSchema_PDataXtd_Point.cxx | 75 + .../TKStdSchema/StdSchema_PDataXtd_Point.hxx | 43 + .../TKStdSchema/StdSchema_PDataXtd_Point.ixx | 2 + .../StdSchema_PDataXtd_Position.cxx | 78 + .../StdSchema_PDataXtd_Position.hxx | 43 + .../StdSchema_PDataXtd_Position.ixx | 5 + .../TKStdSchema/StdSchema_PDataXtd_Shape.cxx | 75 + .../TKStdSchema/StdSchema_PDataXtd_Shape.hxx | 43 + .../TKStdSchema/StdSchema_PDataXtd_Shape.ixx | 2 + ...ema_PNaming_FieldOfHArray1OfNamedShape.cxx | 54 + ...ema_PNaming_FieldOfHArray1OfNamedShape.hxx | 29 + ...ema_PNaming_FieldOfHArray1OfNamedShape.ixx | 1 + .../StdSchema_PNaming_HArray1OfNamedShape.cxx | 89 + .../StdSchema_PNaming_HArray1OfNamedShape.hxx | 43 + .../StdSchema_PNaming_HArray1OfNamedShape.ixx | 5 + .../TKStdSchema/StdSchema_PNaming_Name.cxx | 104 ++ .../TKStdSchema/StdSchema_PNaming_Name.hxx | 43 + .../TKStdSchema/StdSchema_PNaming_Name.ixx | 8 + .../TKStdSchema/StdSchema_PNaming_Name_1.cxx | 111 ++ .../TKStdSchema/StdSchema_PNaming_Name_1.hxx | 43 + .../TKStdSchema/StdSchema_PNaming_Name_1.ixx | 11 + .../TKStdSchema/StdSchema_PNaming_Name_2.cxx | 116 ++ .../TKStdSchema/StdSchema_PNaming_Name_2.hxx | 43 + .../TKStdSchema/StdSchema_PNaming_Name_2.ixx | 11 + .../StdSchema_PNaming_NamedShape.cxx | 99 ++ .../StdSchema_PNaming_NamedShape.hxx | 43 + .../StdSchema_PNaming_NamedShape.ixx | 8 + .../TKStdSchema/StdSchema_PNaming_Naming.cxx | 82 + .../TKStdSchema/StdSchema_PNaming_Naming.hxx | 43 + .../TKStdSchema/StdSchema_PNaming_Naming.ixx | 5 + .../StdSchema_PNaming_Naming_1.cxx | 82 + .../StdSchema_PNaming_Naming_1.hxx | 43 + .../StdSchema_PNaming_Naming_1.ixx | 5 + .../StdSchema_PNaming_Naming_2.cxx | 82 + .../StdSchema_PNaming_Naming_2.hxx | 43 + .../StdSchema_PNaming_Naming_2.ixx | 5 + .../StdSchema_PPrsStd_AISPresentation.cxx | 107 ++ .../StdSchema_PPrsStd_AISPresentation.hxx | 43 + .../StdSchema_PPrsStd_AISPresentation.ixx | 5 + .../StdSchema_PPrsStd_AISPresentation_1.cxx | 112 ++ .../StdSchema_PPrsStd_AISPresentation_1.hxx | 43 + .../StdSchema_PPrsStd_AISPresentation_1.ixx | 5 + .../TKStdSchema/StdSchema_PTopLoc_Datum3D.cxx | 78 + .../TKStdSchema/StdSchema_PTopLoc_Datum3D.hxx | 43 + .../TKStdSchema/StdSchema_PTopLoc_Datum3D.ixx | 5 + .../StdSchema_PTopLoc_ItemLocation.cxx | 91 + .../StdSchema_PTopLoc_ItemLocation.hxx | 43 + .../StdSchema_PTopLoc_ItemLocation.ixx | 8 + .../StdSchema_PTopLoc_Location.cxx | 41 + .../StdSchema_PTopLoc_Location.hxx | 25 + .../StdSchema_PTopLoc_Location.ixx | 4 + ...dSchema_PTopoDS_FieldOfHArray1OfShape1.cxx | 51 + ...dSchema_PTopoDS_FieldOfHArray1OfShape1.hxx | 29 + ...dSchema_PTopoDS_FieldOfHArray1OfShape1.ixx | 1 + .../StdSchema_PTopoDS_HArray1OfShape1.cxx | 89 + .../StdSchema_PTopoDS_HArray1OfShape1.hxx | 43 + .../StdSchema_PTopoDS_HArray1OfShape1.ixx | 5 + .../TKStdSchema/StdSchema_PTopoDS_Shape1.cxx | 52 + .../TKStdSchema/StdSchema_PTopoDS_Shape1.hxx | 25 + .../TKStdSchema/StdSchema_PTopoDS_Shape1.ixx | 7 + .../TKStdSchema/StdSchema_PTopoDS_TShape1.cxx | 88 + .../TKStdSchema/StdSchema_PTopoDS_TShape1.hxx | 43 + .../TKStdSchema/StdSchema_PTopoDS_TShape1.ixx | 5 + .../StdSchema_Standard_Persistent.cxx | 76 + .../StdSchema_Standard_Persistent.hxx | 39 + .../StdSchema_Standard_Persistent.ixx | 1 + src/FromOCCT/TKStdSchema/StdSchema_gp_Ax1.cxx | 35 + src/FromOCCT/TKStdSchema/StdSchema_gp_Ax1.hxx | 25 + src/FromOCCT/TKStdSchema/StdSchema_gp_Ax1.ixx | 7 + src/FromOCCT/TKStdSchema/StdSchema_gp_Ax2.cxx | 38 + src/FromOCCT/TKStdSchema/StdSchema_gp_Ax2.hxx | 25 + src/FromOCCT/TKStdSchema/StdSchema_gp_Ax2.ixx | 10 + .../TKStdSchema/StdSchema_gp_Ax2d.cxx | 35 + .../TKStdSchema/StdSchema_gp_Ax2d.hxx | 25 + .../TKStdSchema/StdSchema_gp_Ax2d.ixx | 7 + src/FromOCCT/TKStdSchema/StdSchema_gp_Ax3.cxx | 38 + src/FromOCCT/TKStdSchema/StdSchema_gp_Ax3.hxx | 25 + src/FromOCCT/TKStdSchema/StdSchema_gp_Ax3.ixx | 10 + src/FromOCCT/TKStdSchema/StdSchema_gp_Dir.cxx | 32 + src/FromOCCT/TKStdSchema/StdSchema_gp_Dir.hxx | 25 + src/FromOCCT/TKStdSchema/StdSchema_gp_Dir.ixx | 4 + .../TKStdSchema/StdSchema_gp_Dir2d.cxx | 32 + .../TKStdSchema/StdSchema_gp_Dir2d.hxx | 25 + .../TKStdSchema/StdSchema_gp_Dir2d.ixx | 4 + src/FromOCCT/TKStdSchema/StdSchema_gp_Mat.cxx | 48 + src/FromOCCT/TKStdSchema/StdSchema_gp_Mat.hxx | 25 + src/FromOCCT/TKStdSchema/StdSchema_gp_Mat.ixx | 0 .../TKStdSchema/StdSchema_gp_Mat2d.cxx | 48 + .../TKStdSchema/StdSchema_gp_Mat2d.hxx | 25 + .../TKStdSchema/StdSchema_gp_Mat2d.ixx | 1 + src/FromOCCT/TKStdSchema/StdSchema_gp_Pnt.cxx | 32 + src/FromOCCT/TKStdSchema/StdSchema_gp_Pnt.hxx | 25 + src/FromOCCT/TKStdSchema/StdSchema_gp_Pnt.ixx | 4 + .../TKStdSchema/StdSchema_gp_Pnt2d.cxx | 32 + .../TKStdSchema/StdSchema_gp_Pnt2d.hxx | 25 + .../TKStdSchema/StdSchema_gp_Pnt2d.ixx | 4 + .../TKStdSchema/StdSchema_gp_Trsf.cxx | 47 + .../TKStdSchema/StdSchema_gp_Trsf.hxx | 25 + .../TKStdSchema/StdSchema_gp_Trsf.ixx | 7 + .../TKStdSchema/StdSchema_gp_Trsf2d.cxx | 47 + .../TKStdSchema/StdSchema_gp_Trsf2d.hxx | 25 + .../TKStdSchema/StdSchema_gp_Trsf2d.ixx | 7 + src/FromOCCT/TKStdSchema/StdSchema_gp_Vec.cxx | 32 + src/FromOCCT/TKStdSchema/StdSchema_gp_Vec.hxx | 25 + src/FromOCCT/TKStdSchema/StdSchema_gp_Vec.ixx | 4 + .../TKStdSchema/StdSchema_gp_Vec2d.cxx | 32 + .../TKStdSchema/StdSchema_gp_Vec2d.hxx | 25 + .../TKStdSchema/StdSchema_gp_Vec2d.ixx | 4 + src/FromOCCT/TKStdSchema/StdSchema_gp_XY.cxx | 39 + src/FromOCCT/TKStdSchema/StdSchema_gp_XY.hxx | 25 + src/FromOCCT/TKStdSchema/StdSchema_gp_XY.ixx | 0 src/FromOCCT/TKStdSchema/StdSchema_gp_XYZ.cxx | 44 + src/FromOCCT/TKStdSchema/StdSchema_gp_XYZ.hxx | 25 + src/FromOCCT/TKStdSchema/StdSchema_gp_XYZ.ixx | 0 src/FromOCCT/TKXCAFSchema/CMakeLists.txt | 462 +++++ .../Handle_MXCAFDoc_AreaRetrievalDriver.hxx | 20 + .../Handle_MXCAFDoc_AreaStorageDriver.hxx | 20 + ...andle_MXCAFDoc_CentroidRetrievalDriver.hxx | 20 + .../Handle_MXCAFDoc_CentroidStorageDriver.hxx | 20 + .../Handle_MXCAFDoc_ColorRetrievalDriver.hxx | 20 + .../Handle_MXCAFDoc_ColorStorageDriver.hxx | 20 + ...ndle_MXCAFDoc_ColorToolRetrievalDriver.hxx | 20 + ...Handle_MXCAFDoc_ColorToolStorageDriver.hxx | 20 + .../Handle_MXCAFDoc_DatumRetrievalDriver.hxx | 20 + .../Handle_MXCAFDoc_DatumStorageDriver.hxx | 20 + .../Handle_MXCAFDoc_DimTolRetrievalDriver.hxx | 20 + .../Handle_MXCAFDoc_DimTolStorageDriver.hxx | 20 + ...dle_MXCAFDoc_DimTolToolRetrievalDriver.hxx | 20 + ...andle_MXCAFDoc_DimTolToolStorageDriver.hxx | 20 + ...e_MXCAFDoc_DocumentToolRetrievalDriver.hxx | 20 + ...dle_MXCAFDoc_DocumentToolStorageDriver.hxx | 20 + ...ndle_MXCAFDoc_GraphNodeRetrievalDriver.hxx | 20 + ...Handle_MXCAFDoc_GraphNodeStorageDriver.hxx | 20 + ...ndle_MXCAFDoc_LayerToolRetrievalDriver.hxx | 20 + ...Handle_MXCAFDoc_LayerToolStorageDriver.hxx | 20 + ...andle_MXCAFDoc_LocationRetrievalDriver.hxx | 20 + .../Handle_MXCAFDoc_LocationStorageDriver.hxx | 20 + ...andle_MXCAFDoc_MaterialRetrievalDriver.hxx | 20 + .../Handle_MXCAFDoc_MaterialStorageDriver.hxx | 20 + ...e_MXCAFDoc_MaterialToolRetrievalDriver.hxx | 20 + ...dle_MXCAFDoc_MaterialToolStorageDriver.hxx | 20 + ...ndle_MXCAFDoc_ShapeToolRetrievalDriver.hxx | 20 + ...Handle_MXCAFDoc_ShapeToolStorageDriver.hxx | 20 + .../Handle_MXCAFDoc_VolumeRetrievalDriver.hxx | 20 + .../Handle_MXCAFDoc_VolumeStorageDriver.hxx | 20 + .../TKXCAFSchema/Handle_PXCAFDoc_Area.hxx | 21 + .../TKXCAFSchema/Handle_PXCAFDoc_Centroid.hxx | 21 + .../TKXCAFSchema/Handle_PXCAFDoc_Color.hxx | 21 + .../Handle_PXCAFDoc_ColorTool.hxx | 21 + .../TKXCAFSchema/Handle_PXCAFDoc_Datum.hxx | 21 + .../TKXCAFSchema/Handle_PXCAFDoc_DimTol.hxx | 21 + .../Handle_PXCAFDoc_DimTolTool.hxx | 21 + .../Handle_PXCAFDoc_DocumentTool.hxx | 21 + .../Handle_PXCAFDoc_GraphNode.hxx | 21 + .../Handle_PXCAFDoc_GraphNodeSequence.hxx | 21 + .../Handle_PXCAFDoc_LayerTool.hxx | 21 + .../TKXCAFSchema/Handle_PXCAFDoc_Location.hxx | 21 + .../TKXCAFSchema/Handle_PXCAFDoc_Material.hxx | 21 + .../Handle_PXCAFDoc_MaterialTool.hxx | 21 + ...le_PXCAFDoc_SeqNodeOfGraphNodeSequence.hxx | 21 + .../Handle_PXCAFDoc_ShapeTool.hxx | 21 + .../TKXCAFSchema/Handle_PXCAFDoc_Volume.hxx | 21 + ...le_XCAFDrivers_DocumentRetrievalDriver.hxx | 20 + ...ndle_XCAFDrivers_DocumentStorageDriver.hxx | 20 + src/FromOCCT/TKXCAFSchema/MXCAFDoc.cxx | 101 ++ src/FromOCCT/TKXCAFSchema/MXCAFDoc.hxx | 118 ++ src/FromOCCT/TKXCAFSchema/MXCAFDoc.ixx | 10 + src/FromOCCT/TKXCAFSchema/MXCAFDoc.jxx | 4 + .../MXCAFDoc_AreaRetrievalDriver.cxx | 70 + .../MXCAFDoc_AreaRetrievalDriver.hxx | 70 + .../MXCAFDoc_AreaRetrievalDriver.ixx | 28 + .../MXCAFDoc_AreaRetrievalDriver.jxx | 6 + .../MXCAFDoc_AreaStorageDriver.cxx | 70 + .../MXCAFDoc_AreaStorageDriver.hxx | 70 + .../MXCAFDoc_AreaStorageDriver.ixx | 28 + .../MXCAFDoc_AreaStorageDriver.jxx | 6 + .../MXCAFDoc_CentroidRetrievalDriver.cxx | 75 + .../MXCAFDoc_CentroidRetrievalDriver.hxx | 70 + .../MXCAFDoc_CentroidRetrievalDriver.ixx | 28 + .../MXCAFDoc_CentroidRetrievalDriver.jxx | 6 + .../MXCAFDoc_CentroidStorageDriver.cxx | 73 + .../MXCAFDoc_CentroidStorageDriver.hxx | 70 + .../MXCAFDoc_CentroidStorageDriver.ixx | 28 + .../MXCAFDoc_CentroidStorageDriver.jxx | 6 + .../MXCAFDoc_ColorRetrievalDriver.cxx | 80 + .../MXCAFDoc_ColorRetrievalDriver.hxx | 70 + .../MXCAFDoc_ColorRetrievalDriver.ixx | 28 + .../MXCAFDoc_ColorRetrievalDriver.jxx | 6 + .../MXCAFDoc_ColorStorageDriver.cxx | 76 + .../MXCAFDoc_ColorStorageDriver.hxx | 70 + .../MXCAFDoc_ColorStorageDriver.ixx | 28 + .../MXCAFDoc_ColorStorageDriver.jxx | 6 + .../MXCAFDoc_ColorToolRetrievalDriver.cxx | 74 + .../MXCAFDoc_ColorToolRetrievalDriver.hxx | 70 + .../MXCAFDoc_ColorToolRetrievalDriver.ixx | 28 + .../MXCAFDoc_ColorToolRetrievalDriver.jxx | 6 + .../MXCAFDoc_ColorToolStorageDriver.cxx | 71 + .../MXCAFDoc_ColorToolStorageDriver.hxx | 70 + .../MXCAFDoc_ColorToolStorageDriver.ixx | 28 + .../MXCAFDoc_ColorToolStorageDriver.jxx | 6 + .../MXCAFDoc_DatumRetrievalDriver.cxx | 83 + .../MXCAFDoc_DatumRetrievalDriver.hxx | 71 + .../MXCAFDoc_DatumRetrievalDriver.ixx | 28 + .../MXCAFDoc_DatumRetrievalDriver.jxx | 6 + .../MXCAFDoc_DatumStorageDriver.cxx | 85 + .../MXCAFDoc_DatumStorageDriver.hxx | 71 + .../MXCAFDoc_DatumStorageDriver.ixx | 28 + .../MXCAFDoc_DatumStorageDriver.jxx | 6 + .../MXCAFDoc_DimTolRetrievalDriver.cxx | 92 + .../MXCAFDoc_DimTolRetrievalDriver.hxx | 71 + .../MXCAFDoc_DimTolRetrievalDriver.ixx | 28 + .../MXCAFDoc_DimTolRetrievalDriver.jxx | 6 + .../MXCAFDoc_DimTolStorageDriver.cxx | 93 + .../MXCAFDoc_DimTolStorageDriver.hxx | 71 + .../MXCAFDoc_DimTolStorageDriver.ixx | 28 + .../MXCAFDoc_DimTolStorageDriver.jxx | 6 + .../MXCAFDoc_DimTolToolRetrievalDriver.cxx | 73 + .../MXCAFDoc_DimTolToolRetrievalDriver.hxx | 70 + .../MXCAFDoc_DimTolToolRetrievalDriver.ixx | 28 + .../MXCAFDoc_DimTolToolRetrievalDriver.jxx | 6 + .../MXCAFDoc_DimTolToolStorageDriver.cxx | 70 + .../MXCAFDoc_DimTolToolStorageDriver.hxx | 70 + .../MXCAFDoc_DimTolToolStorageDriver.ixx | 28 + .../MXCAFDoc_DimTolToolStorageDriver.jxx | 6 + .../MXCAFDoc_DocumentToolRetrievalDriver.cxx | 85 + .../MXCAFDoc_DocumentToolRetrievalDriver.hxx | 70 + .../MXCAFDoc_DocumentToolRetrievalDriver.ixx | 28 + .../MXCAFDoc_DocumentToolRetrievalDriver.jxx | 6 + .../MXCAFDoc_DocumentToolStorageDriver.cxx | 71 + .../MXCAFDoc_DocumentToolStorageDriver.hxx | 70 + .../MXCAFDoc_DocumentToolStorageDriver.ixx | 28 + .../MXCAFDoc_DocumentToolStorageDriver.jxx | 6 + .../MXCAFDoc_GraphNodeRetrievalDriver.cxx | 100 ++ .../MXCAFDoc_GraphNodeRetrievalDriver.hxx | 69 + .../MXCAFDoc_GraphNodeRetrievalDriver.ixx | 28 + .../MXCAFDoc_GraphNodeRetrievalDriver.jxx | 6 + .../MXCAFDoc_GraphNodeStorageDriver.cxx | 96 ++ .../MXCAFDoc_GraphNodeStorageDriver.hxx | 69 + .../MXCAFDoc_GraphNodeStorageDriver.ixx | 28 + .../MXCAFDoc_GraphNodeStorageDriver.jxx | 6 + .../MXCAFDoc_LayerToolRetrievalDriver.cxx | 72 + .../MXCAFDoc_LayerToolRetrievalDriver.hxx | 70 + .../MXCAFDoc_LayerToolRetrievalDriver.ixx | 28 + .../MXCAFDoc_LayerToolRetrievalDriver.jxx | 6 + .../MXCAFDoc_LayerToolStorageDriver.cxx | 69 + .../MXCAFDoc_LayerToolStorageDriver.hxx | 70 + .../MXCAFDoc_LayerToolStorageDriver.ixx | 28 + .../MXCAFDoc_LayerToolStorageDriver.jxx | 6 + .../MXCAFDoc_LocationRetrievalDriver.cxx | 80 + .../MXCAFDoc_LocationRetrievalDriver.hxx | 70 + .../MXCAFDoc_LocationRetrievalDriver.ixx | 28 + .../MXCAFDoc_LocationRetrievalDriver.jxx | 6 + .../MXCAFDoc_LocationStorageDriver.cxx | 76 + .../MXCAFDoc_LocationStorageDriver.hxx | 70 + .../MXCAFDoc_LocationStorageDriver.ixx | 28 + .../MXCAFDoc_LocationStorageDriver.jxx | 6 + .../MXCAFDoc_MaterialRetrievalDriver.cxx | 85 + .../MXCAFDoc_MaterialRetrievalDriver.hxx | 71 + .../MXCAFDoc_MaterialRetrievalDriver.ixx | 28 + .../MXCAFDoc_MaterialRetrievalDriver.jxx | 6 + .../MXCAFDoc_MaterialStorageDriver.cxx | 90 + .../MXCAFDoc_MaterialStorageDriver.hxx | 71 + .../MXCAFDoc_MaterialStorageDriver.ixx | 28 + .../MXCAFDoc_MaterialStorageDriver.jxx | 6 + .../MXCAFDoc_MaterialToolRetrievalDriver.cxx | 73 + .../MXCAFDoc_MaterialToolRetrievalDriver.hxx | 70 + .../MXCAFDoc_MaterialToolRetrievalDriver.ixx | 28 + .../MXCAFDoc_MaterialToolRetrievalDriver.jxx | 6 + .../MXCAFDoc_MaterialToolStorageDriver.cxx | 70 + .../MXCAFDoc_MaterialToolStorageDriver.hxx | 70 + .../MXCAFDoc_MaterialToolStorageDriver.ixx | 28 + .../MXCAFDoc_MaterialToolStorageDriver.jxx | 6 + .../MXCAFDoc_ShapeToolRetrievalDriver.cxx | 74 + .../MXCAFDoc_ShapeToolRetrievalDriver.hxx | 70 + .../MXCAFDoc_ShapeToolRetrievalDriver.ixx | 28 + .../MXCAFDoc_ShapeToolRetrievalDriver.jxx | 6 + .../MXCAFDoc_ShapeToolStorageDriver.cxx | 71 + .../MXCAFDoc_ShapeToolStorageDriver.hxx | 70 + .../MXCAFDoc_ShapeToolStorageDriver.ixx | 28 + .../MXCAFDoc_ShapeToolStorageDriver.jxx | 6 + .../MXCAFDoc_VolumeRetrievalDriver.cxx | 69 + .../MXCAFDoc_VolumeRetrievalDriver.hxx | 70 + .../MXCAFDoc_VolumeRetrievalDriver.ixx | 28 + .../MXCAFDoc_VolumeRetrievalDriver.jxx | 6 + .../MXCAFDoc_VolumeStorageDriver.cxx | 70 + .../MXCAFDoc_VolumeStorageDriver.hxx | 70 + .../MXCAFDoc_VolumeStorageDriver.ixx | 28 + .../MXCAFDoc_VolumeStorageDriver.jxx | 6 + src/FromOCCT/TKXCAFSchema/PXCAFDoc_Area.cxx | 50 + src/FromOCCT/TKXCAFSchema/PXCAFDoc_Area.hxx | 62 + src/FromOCCT/TKXCAFSchema/PXCAFDoc_Area.ixx | 12 + src/FromOCCT/TKXCAFSchema/PXCAFDoc_Area.jxx | 1 + .../TKXCAFSchema/PXCAFDoc_Centroid.cxx | 55 + .../TKXCAFSchema/PXCAFDoc_Centroid.hxx | 62 + .../TKXCAFSchema/PXCAFDoc_Centroid.ixx | 12 + .../TKXCAFSchema/PXCAFDoc_Centroid.jxx | 2 + src/FromOCCT/TKXCAFSchema/PXCAFDoc_Color.cxx | 56 + src/FromOCCT/TKXCAFSchema/PXCAFDoc_Color.hxx | 62 + src/FromOCCT/TKXCAFSchema/PXCAFDoc_Color.ixx | 12 + src/FromOCCT/TKXCAFSchema/PXCAFDoc_Color.jxx | 2 + .../TKXCAFSchema/PXCAFDoc_ColorTool.cxx | 18 + .../TKXCAFSchema/PXCAFDoc_ColorTool.hxx | 52 + .../TKXCAFSchema/PXCAFDoc_ColorTool.ixx | 12 + .../TKXCAFSchema/PXCAFDoc_ColorTool.jxx | 1 + src/FromOCCT/TKXCAFSchema/PXCAFDoc_Datum.cxx | 82 + src/FromOCCT/TKXCAFSchema/PXCAFDoc_Datum.hxx | 73 + src/FromOCCT/TKXCAFSchema/PXCAFDoc_Datum.ixx | 12 + src/FromOCCT/TKXCAFSchema/PXCAFDoc_Datum.jxx | 2 + src/FromOCCT/TKXCAFSchema/PXCAFDoc_DimTol.cxx | 96 ++ src/FromOCCT/TKXCAFSchema/PXCAFDoc_DimTol.hxx | 81 + src/FromOCCT/TKXCAFSchema/PXCAFDoc_DimTol.ixx | 12 + src/FromOCCT/TKXCAFSchema/PXCAFDoc_DimTol.jxx | 3 + .../TKXCAFSchema/PXCAFDoc_DimTolTool.cxx | 25 + .../TKXCAFSchema/PXCAFDoc_DimTolTool.hxx | 52 + .../TKXCAFSchema/PXCAFDoc_DimTolTool.ixx | 12 + .../TKXCAFSchema/PXCAFDoc_DimTolTool.jxx | 1 + .../TKXCAFSchema/PXCAFDoc_DocumentTool.cxx | 18 + .../TKXCAFSchema/PXCAFDoc_DocumentTool.hxx | 52 + .../TKXCAFSchema/PXCAFDoc_DocumentTool.ixx | 12 + .../TKXCAFSchema/PXCAFDoc_DocumentTool.jxx | 1 + .../TKXCAFSchema/PXCAFDoc_GraphNode.cxx | 142 ++ .../TKXCAFSchema/PXCAFDoc_GraphNode.hxx | 86 + .../TKXCAFSchema/PXCAFDoc_GraphNode.ixx | 12 + .../TKXCAFSchema/PXCAFDoc_GraphNode.jxx | 4 + .../PXCAFDoc_GraphNodeSequence.hxx | 129 ++ .../PXCAFDoc_GraphNodeSequence_0.cxx | 34 + .../TKXCAFSchema/PXCAFDoc_LayerTool.cxx | 19 + .../TKXCAFSchema/PXCAFDoc_LayerTool.hxx | 52 + .../TKXCAFSchema/PXCAFDoc_LayerTool.ixx | 12 + .../TKXCAFSchema/PXCAFDoc_LayerTool.jxx | 1 + .../TKXCAFSchema/PXCAFDoc_Location.cxx | 56 + .../TKXCAFSchema/PXCAFDoc_Location.hxx | 62 + .../TKXCAFSchema/PXCAFDoc_Location.ixx | 12 + .../TKXCAFSchema/PXCAFDoc_Location.jxx | 2 + .../TKXCAFSchema/PXCAFDoc_Material.cxx | 111 ++ .../TKXCAFSchema/PXCAFDoc_Material.hxx | 84 + .../TKXCAFSchema/PXCAFDoc_Material.ixx | 12 + .../TKXCAFSchema/PXCAFDoc_Material.jxx | 2 + .../TKXCAFSchema/PXCAFDoc_MaterialTool.cxx | 25 + .../TKXCAFSchema/PXCAFDoc_MaterialTool.hxx | 52 + .../TKXCAFSchema/PXCAFDoc_MaterialTool.ixx | 12 + .../TKXCAFSchema/PXCAFDoc_MaterialTool.jxx | 1 + ...XCAFDoc_SeqExplorerOfGraphNodeSequence.hxx | 69 + ...AFDoc_SeqExplorerOfGraphNodeSequence_0.cxx | 28 + .../PXCAFDoc_SeqNodeOfGraphNodeSequence.hxx | 89 + .../PXCAFDoc_SeqNodeOfGraphNodeSequence_0.cxx | 33 + .../TKXCAFSchema/PXCAFDoc_ShapeTool.cxx | 19 + .../TKXCAFSchema/PXCAFDoc_ShapeTool.hxx | 52 + .../TKXCAFSchema/PXCAFDoc_ShapeTool.ixx | 12 + .../TKXCAFSchema/PXCAFDoc_ShapeTool.jxx | 1 + src/FromOCCT/TKXCAFSchema/PXCAFDoc_Volume.cxx | 50 + src/FromOCCT/TKXCAFSchema/PXCAFDoc_Volume.hxx | 62 + src/FromOCCT/TKXCAFSchema/PXCAFDoc_Volume.ixx | 12 + src/FromOCCT/TKXCAFSchema/PXCAFDoc_Volume.jxx | 1 + src/FromOCCT/TKXCAFSchema/XCAFDrivers.cxx | 84 + src/FromOCCT/TKXCAFSchema/XCAFDrivers.hxx | 68 + src/FromOCCT/TKXCAFSchema/XCAFDrivers.ixx | 10 + src/FromOCCT/TKXCAFSchema/XCAFDrivers.jxx | 3 + .../XCAFDrivers_DocumentRetrievalDriver.cxx | 47 + .../XCAFDrivers_DocumentRetrievalDriver.hxx | 54 + .../XCAFDrivers_DocumentRetrievalDriver.ixx | 29 + .../XCAFDrivers_DocumentRetrievalDriver.jxx | 3 + .../XCAFDrivers_DocumentStorageDriver.cxx | 50 + .../XCAFDrivers_DocumentStorageDriver.hxx | 54 + .../XCAFDrivers_DocumentStorageDriver.ixx | 29 + .../XCAFDrivers_DocumentStorageDriver.jxx | 3 + src/FromOCCT/TKXCAFSchema/XCAFSchema.cxx | 168 ++ src/FromOCCT/TKXCAFSchema/XCAFSchema.hxx | 98 ++ .../XCAFSchema_DBC_VArrayOfCharacter.cxx | 45 + .../XCAFSchema_DBC_VArrayOfCharacter.hxx | 26 + .../XCAFSchema_DBC_VArrayOfCharacter.ixx | 1 + .../XCAFSchema_DBC_VArrayOfExtCharacter.cxx | 45 + .../XCAFSchema_DBC_VArrayOfExtCharacter.hxx | 26 + .../XCAFSchema_DBC_VArrayOfExtCharacter.ixx | 1 + ...CAFSchema_PColStd_FieldOfHArray1OfReal.cxx | 45 + ...CAFSchema_PColStd_FieldOfHArray1OfReal.hxx | 26 + ...CAFSchema_PColStd_FieldOfHArray1OfReal.ixx | 1 + .../XCAFSchema_PColStd_HArray1OfReal.cxx | 88 + .../XCAFSchema_PColStd_HArray1OfReal.hxx | 43 + .../XCAFSchema_PColStd_HArray1OfReal.ixx | 5 + .../XCAFSchema_PCollection_HAsciiString.cxx | 78 + .../XCAFSchema_PCollection_HAsciiString.hxx | 43 + .../XCAFSchema_PCollection_HAsciiString.ixx | 5 + ...XCAFSchema_PCollection_HExtendedString.cxx | 78 + ...XCAFSchema_PCollection_HExtendedString.hxx | 43 + ...XCAFSchema_PCollection_HExtendedString.ixx | 5 + .../TKXCAFSchema/XCAFSchema_PDF_Attribute.cxx | 76 + .../TKXCAFSchema/XCAFSchema_PDF_Attribute.hxx | 43 + .../TKXCAFSchema/XCAFSchema_PDF_Attribute.ixx | 2 + .../XCAFSchema_PMMgt_PManaged.cxx | 76 + .../XCAFSchema_PMMgt_PManaged.hxx | 43 + .../XCAFSchema_PMMgt_PManaged.ixx | 2 + .../XCAFSchema_PTopLoc_Datum3D.cxx | 78 + .../XCAFSchema_PTopLoc_Datum3D.hxx | 43 + .../XCAFSchema_PTopLoc_Datum3D.ixx | 5 + .../XCAFSchema_PTopLoc_ItemLocation.cxx | 91 + .../XCAFSchema_PTopLoc_ItemLocation.hxx | 43 + .../XCAFSchema_PTopLoc_ItemLocation.ixx | 8 + .../XCAFSchema_PTopLoc_Location.cxx | 41 + .../XCAFSchema_PTopLoc_Location.hxx | 25 + .../XCAFSchema_PTopLoc_Location.ixx | 4 + .../TKXCAFSchema/XCAFSchema_PXCAFDoc_Area.cxx | 80 + .../TKXCAFSchema/XCAFSchema_PXCAFDoc_Area.hxx | 43 + .../TKXCAFSchema/XCAFSchema_PXCAFDoc_Area.ixx | 2 + .../XCAFSchema_PXCAFDoc_Centroid.cxx | 78 + .../XCAFSchema_PXCAFDoc_Centroid.hxx | 43 + .../XCAFSchema_PXCAFDoc_Centroid.ixx | 5 + .../XCAFSchema_PXCAFDoc_Color.cxx | 78 + .../XCAFSchema_PXCAFDoc_Color.hxx | 43 + .../XCAFSchema_PXCAFDoc_Color.ixx | 5 + .../XCAFSchema_PXCAFDoc_ColorTool.cxx | 75 + .../XCAFSchema_PXCAFDoc_ColorTool.hxx | 43 + .../XCAFSchema_PXCAFDoc_ColorTool.ixx | 2 + .../XCAFSchema_PXCAFDoc_Datum.cxx | 96 ++ .../XCAFSchema_PXCAFDoc_Datum.hxx | 43 + .../XCAFSchema_PXCAFDoc_Datum.ixx | 11 + .../XCAFSchema_PXCAFDoc_DimTol.cxx | 101 ++ .../XCAFSchema_PXCAFDoc_DimTol.hxx | 43 + .../XCAFSchema_PXCAFDoc_DimTol.ixx | 11 + .../XCAFSchema_PXCAFDoc_DimTolTool.cxx | 75 + .../XCAFSchema_PXCAFDoc_DimTolTool.hxx | 43 + .../XCAFSchema_PXCAFDoc_DimTolTool.ixx | 2 + .../XCAFSchema_PXCAFDoc_DocumentTool.cxx | 75 + .../XCAFSchema_PXCAFDoc_DocumentTool.hxx | 43 + .../XCAFSchema_PXCAFDoc_DocumentTool.ixx | 2 + .../XCAFSchema_PXCAFDoc_GraphNode.cxx | 92 + .../XCAFSchema_PXCAFDoc_GraphNode.hxx | 43 + .../XCAFSchema_PXCAFDoc_GraphNode.ixx | 11 + .../XCAFSchema_PXCAFDoc_GraphNodeSequence.cxx | 94 + .../XCAFSchema_PXCAFDoc_GraphNodeSequence.hxx | 43 + .../XCAFSchema_PXCAFDoc_GraphNodeSequence.ixx | 8 + .../XCAFSchema_PXCAFDoc_LayerTool.cxx | 75 + .../XCAFSchema_PXCAFDoc_LayerTool.hxx | 43 + .../XCAFSchema_PXCAFDoc_LayerTool.ixx | 2 + .../XCAFSchema_PXCAFDoc_Location.cxx | 79 + .../XCAFSchema_PXCAFDoc_Location.hxx | 43 + .../XCAFSchema_PXCAFDoc_Location.ixx | 5 + .../XCAFSchema_PXCAFDoc_Material.cxx | 108 ++ .../XCAFSchema_PXCAFDoc_Material.hxx | 43 + .../XCAFSchema_PXCAFDoc_Material.ixx | 14 + .../XCAFSchema_PXCAFDoc_MaterialTool.cxx | 75 + .../XCAFSchema_PXCAFDoc_MaterialTool.hxx | 43 + .../XCAFSchema_PXCAFDoc_MaterialTool.ixx | 2 + ...ma_PXCAFDoc_SeqNodeOfGraphNodeSequence.cxx | 96 ++ ...ma_PXCAFDoc_SeqNodeOfGraphNodeSequence.hxx | 43 + ...ma_PXCAFDoc_SeqNodeOfGraphNodeSequence.ixx | 11 + .../XCAFSchema_PXCAFDoc_ShapeTool.cxx | 75 + .../XCAFSchema_PXCAFDoc_ShapeTool.hxx | 43 + .../XCAFSchema_PXCAFDoc_ShapeTool.ixx | 2 + .../XCAFSchema_PXCAFDoc_Volume.cxx | 80 + .../XCAFSchema_PXCAFDoc_Volume.hxx | 43 + .../XCAFSchema_PXCAFDoc_Volume.ixx | 2 + .../XCAFSchema_Quantity_Color.cxx | 43 + .../XCAFSchema_Quantity_Color.hxx | 25 + .../XCAFSchema_Quantity_Color.ixx | 0 .../TKXCAFSchema/XCAFSchema_Standard_GUID.cxx | 80 + .../TKXCAFSchema/XCAFSchema_Standard_GUID.hxx | 25 + .../TKXCAFSchema/XCAFSchema_Standard_GUID.ixx | 0 .../XCAFSchema_Standard_Persistent.cxx | 76 + .../XCAFSchema_Standard_Persistent.hxx | 39 + .../XCAFSchema_Standard_Persistent.ixx | 0 .../TKXCAFSchema/XCAFSchema_gp_Ax1.cxx | 35 + .../TKXCAFSchema/XCAFSchema_gp_Ax1.hxx | 25 + .../TKXCAFSchema/XCAFSchema_gp_Ax1.ixx | 7 + .../TKXCAFSchema/XCAFSchema_gp_Ax2.cxx | 38 + .../TKXCAFSchema/XCAFSchema_gp_Ax2.hxx | 25 + .../TKXCAFSchema/XCAFSchema_gp_Ax2.ixx | 10 + .../TKXCAFSchema/XCAFSchema_gp_Ax2d.cxx | 35 + .../TKXCAFSchema/XCAFSchema_gp_Ax2d.hxx | 25 + .../TKXCAFSchema/XCAFSchema_gp_Ax2d.ixx | 7 + .../TKXCAFSchema/XCAFSchema_gp_Ax3.cxx | 38 + .../TKXCAFSchema/XCAFSchema_gp_Ax3.hxx | 25 + .../TKXCAFSchema/XCAFSchema_gp_Ax3.ixx | 10 + .../TKXCAFSchema/XCAFSchema_gp_Dir.cxx | 32 + .../TKXCAFSchema/XCAFSchema_gp_Dir.hxx | 25 + .../TKXCAFSchema/XCAFSchema_gp_Dir.ixx | 4 + .../TKXCAFSchema/XCAFSchema_gp_Dir2d.cxx | 32 + .../TKXCAFSchema/XCAFSchema_gp_Dir2d.hxx | 25 + .../TKXCAFSchema/XCAFSchema_gp_Dir2d.ixx | 4 + .../TKXCAFSchema/XCAFSchema_gp_Mat.cxx | 48 + .../TKXCAFSchema/XCAFSchema_gp_Mat.hxx | 25 + .../TKXCAFSchema/XCAFSchema_gp_Mat.ixx | 0 .../TKXCAFSchema/XCAFSchema_gp_Mat2d.cxx | 48 + .../TKXCAFSchema/XCAFSchema_gp_Mat2d.hxx | 25 + .../TKXCAFSchema/XCAFSchema_gp_Mat2d.ixx | 0 .../TKXCAFSchema/XCAFSchema_gp_Pnt.cxx | 32 + .../TKXCAFSchema/XCAFSchema_gp_Pnt.hxx | 25 + .../TKXCAFSchema/XCAFSchema_gp_Pnt.ixx | 4 + .../TKXCAFSchema/XCAFSchema_gp_Pnt2d.cxx | 32 + .../TKXCAFSchema/XCAFSchema_gp_Pnt2d.hxx | 25 + .../TKXCAFSchema/XCAFSchema_gp_Pnt2d.ixx | 4 + .../TKXCAFSchema/XCAFSchema_gp_Trsf.cxx | 47 + .../TKXCAFSchema/XCAFSchema_gp_Trsf.hxx | 25 + .../TKXCAFSchema/XCAFSchema_gp_Trsf.ixx | 7 + .../TKXCAFSchema/XCAFSchema_gp_Trsf2d.cxx | 47 + .../TKXCAFSchema/XCAFSchema_gp_Trsf2d.hxx | 25 + .../TKXCAFSchema/XCAFSchema_gp_Trsf2d.ixx | 7 + .../TKXCAFSchema/XCAFSchema_gp_Vec.cxx | 32 + .../TKXCAFSchema/XCAFSchema_gp_Vec.hxx | 25 + .../TKXCAFSchema/XCAFSchema_gp_Vec.ixx | 4 + .../TKXCAFSchema/XCAFSchema_gp_Vec2d.cxx | 32 + .../TKXCAFSchema/XCAFSchema_gp_Vec2d.hxx | 25 + .../TKXCAFSchema/XCAFSchema_gp_Vec2d.ixx | 4 + .../TKXCAFSchema/XCAFSchema_gp_XY.cxx | 39 + .../TKXCAFSchema/XCAFSchema_gp_XY.hxx | 25 + .../TKXCAFSchema/XCAFSchema_gp_XY.ixx | 0 .../TKXCAFSchema/XCAFSchema_gp_XYZ.cxx | 44 + .../TKXCAFSchema/XCAFSchema_gp_XYZ.hxx | 25 + .../TKXCAFSchema/XCAFSchema_gp_XYZ.ixx | 0 src/GEOM/GEOM_Engine.cxx | 7 + 3434 files changed, 154874 insertions(+), 4 deletions(-) create mode 100755 src/FromOCCT/CMakeLists.txt create mode 100755 src/FromOCCT/PTKernel/CMakeLists.txt create mode 100644 src/FromOCCT/PTKernel/DBC_BaseArray.cxx create mode 100644 src/FromOCCT/PTKernel/DBC_BaseArray.hxx create mode 100644 src/FromOCCT/PTKernel/DBC_BaseArray.ixx create mode 100644 src/FromOCCT/PTKernel/DBC_BaseArray.jxx create mode 100644 src/FromOCCT/PTKernel/DBC_BaseArray.lxx create mode 100644 src/FromOCCT/PTKernel/DBC_BaseArray_objs.hxx create mode 100644 src/FromOCCT/PTKernel/DBC_DBVArray.cxx create mode 100644 src/FromOCCT/PTKernel/DBC_DBVArray.hxx create mode 100644 src/FromOCCT/PTKernel/DBC_VArray.gxx create mode 100644 src/FromOCCT/PTKernel/DBC_VArrayNode.gxx create mode 100644 src/FromOCCT/PTKernel/DBC_VArrayNodeOfVArrayOfCharacter.hxx create mode 100644 src/FromOCCT/PTKernel/DBC_VArrayNodeOfVArrayOfCharacter_0.cxx create mode 100644 src/FromOCCT/PTKernel/DBC_VArrayNodeOfVArrayOfExtCharacter.hxx create mode 100644 src/FromOCCT/PTKernel/DBC_VArrayNodeOfVArrayOfExtCharacter_0.cxx create mode 100644 src/FromOCCT/PTKernel/DBC_VArrayNodeOfVArrayOfInteger.hxx create mode 100644 src/FromOCCT/PTKernel/DBC_VArrayNodeOfVArrayOfInteger_0.cxx create mode 100644 src/FromOCCT/PTKernel/DBC_VArrayNodeOfVArrayOfReal.hxx create mode 100644 src/FromOCCT/PTKernel/DBC_VArrayNodeOfVArrayOfReal_0.cxx create mode 100644 src/FromOCCT/PTKernel/DBC_VArrayOfCharacter.hxx create mode 100644 src/FromOCCT/PTKernel/DBC_VArrayOfCharacter_0.cxx create mode 100644 src/FromOCCT/PTKernel/DBC_VArrayOfExtCharacter.hxx create mode 100644 src/FromOCCT/PTKernel/DBC_VArrayOfExtCharacter_0.cxx create mode 100644 src/FromOCCT/PTKernel/DBC_VArrayOfInteger.hxx create mode 100644 src/FromOCCT/PTKernel/DBC_VArrayOfInteger_0.cxx create mode 100644 src/FromOCCT/PTKernel/DBC_VArrayOfReal.hxx create mode 100644 src/FromOCCT/PTKernel/DBC_VArrayOfReal_0.cxx create mode 100644 src/FromOCCT/PTKernel/DBC_VArrayTNode.gxx create mode 100644 src/FromOCCT/PTKernel/DBC_VArrayTNode.lxx create mode 100644 src/FromOCCT/PTKernel/DBC_VArrayTNodeOfVArrayOfCharacter.hxx create mode 100644 src/FromOCCT/PTKernel/DBC_VArrayTNodeOfVArrayOfCharacter_0.cxx create mode 100644 src/FromOCCT/PTKernel/DBC_VArrayTNodeOfVArrayOfExtCharacter.hxx create mode 100644 src/FromOCCT/PTKernel/DBC_VArrayTNodeOfVArrayOfExtCharacter_0.cxx create mode 100644 src/FromOCCT/PTKernel/DBC_VArrayTNodeOfVArrayOfInteger.hxx create mode 100644 src/FromOCCT/PTKernel/DBC_VArrayTNodeOfVArrayOfInteger_0.cxx create mode 100644 src/FromOCCT/PTKernel/DBC_VArrayTNodeOfVArrayOfReal.hxx create mode 100644 src/FromOCCT/PTKernel/DBC_VArrayTNodeOfVArrayOfReal_0.cxx create mode 100644 src/FromOCCT/PTKernel/Handle_DBC_VArrayNodeOfVArrayOfCharacter.hxx create mode 100644 src/FromOCCT/PTKernel/Handle_DBC_VArrayNodeOfVArrayOfExtCharacter.hxx create mode 100644 src/FromOCCT/PTKernel/Handle_DBC_VArrayNodeOfVArrayOfInteger.hxx create mode 100644 src/FromOCCT/PTKernel/Handle_DBC_VArrayNodeOfVArrayOfReal.hxx create mode 100644 src/FromOCCT/PTKernel/Handle_ObjMgt_ExternRef.hxx create mode 100644 src/FromOCCT/PTKernel/Handle_ObjMgt_ExternShareable.hxx create mode 100644 src/FromOCCT/PTKernel/Handle_ObjMgt_PSeqOfExtRef.hxx create mode 100644 src/FromOCCT/PTKernel/Handle_ObjMgt_SeqNodeOfPSeqOfExtRef.hxx create mode 100644 src/FromOCCT/PTKernel/Handle_PColStd_HArray1OfExtendedString.hxx create mode 100644 src/FromOCCT/PTKernel/Handle_PColStd_HArray1OfInteger.hxx create mode 100644 src/FromOCCT/PTKernel/Handle_PColStd_HArray1OfPersistent.hxx create mode 100644 src/FromOCCT/PTKernel/Handle_PColStd_HArray1OfReal.hxx create mode 100644 src/FromOCCT/PTKernel/Handle_PColStd_HArray2OfInteger.hxx create mode 100644 src/FromOCCT/PTKernel/Handle_PColStd_HArray2OfPersistent.hxx create mode 100644 src/FromOCCT/PTKernel/Handle_PColStd_HArray2OfReal.hxx create mode 100644 src/FromOCCT/PTKernel/Handle_PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString.hxx create mode 100644 src/FromOCCT/PTKernel/Handle_PColStd_VArrayNodeOfFieldOfHArray1OfInteger.hxx create mode 100644 src/FromOCCT/PTKernel/Handle_PColStd_VArrayNodeOfFieldOfHArray1OfPersistent.hxx create mode 100644 src/FromOCCT/PTKernel/Handle_PColStd_VArrayNodeOfFieldOfHArray1OfReal.hxx create mode 100644 src/FromOCCT/PTKernel/Handle_PColStd_VArrayNodeOfFieldOfHArray2OfInteger.hxx create mode 100644 src/FromOCCT/PTKernel/Handle_PColStd_VArrayNodeOfFieldOfHArray2OfPersistent.hxx create mode 100644 src/FromOCCT/PTKernel/Handle_PColStd_VArrayNodeOfFieldOfHArray2OfReal.hxx create mode 100644 src/FromOCCT/PTKernel/Handle_PCollection_HAsciiString.hxx create mode 100644 src/FromOCCT/PTKernel/Handle_PCollection_HExtendedString.hxx create mode 100644 src/FromOCCT/PTKernel/Handle_PMMgt_PManaged.hxx create mode 100644 src/FromOCCT/PTKernel/Handle_PShort_HArray1OfShortReal.hxx create mode 100644 src/FromOCCT/PTKernel/Handle_PShort_HArray2OfShortReal.hxx create mode 100644 src/FromOCCT/PTKernel/Handle_PShort_HSequenceOfShortReal.hxx create mode 100644 src/FromOCCT/PTKernel/Handle_PShort_SeqNodeOfHSequenceOfShortReal.hxx create mode 100644 src/FromOCCT/PTKernel/Handle_PShort_VArrayNodeOfFieldOfHArray1OfShortReal.hxx create mode 100644 src/FromOCCT/PTKernel/Handle_PShort_VArrayNodeOfFieldOfHArray2OfShortReal.hxx create mode 100644 src/FromOCCT/PTKernel/Handle_PStandard_ArrayNode.hxx create mode 100644 src/FromOCCT/PTKernel/Handle_PTColStd_DataMapNodeOfPersistentTransientMap.hxx create mode 100644 src/FromOCCT/PTKernel/Handle_PTColStd_DataMapNodeOfTransientPersistentMap.hxx create mode 100644 src/FromOCCT/PTKernel/Handle_PTColStd_DoubleMapNodeOfDoubleMapOfTransientPersistent.hxx create mode 100644 src/FromOCCT/PTKernel/ObjMgt_ExternRef.cxx create mode 100644 src/FromOCCT/PTKernel/ObjMgt_ExternRef.hxx create mode 100644 src/FromOCCT/PTKernel/ObjMgt_ExternRef.ixx create mode 100644 src/FromOCCT/PTKernel/ObjMgt_ExternRef.jxx create mode 100644 src/FromOCCT/PTKernel/ObjMgt_ExternShareable.cxx create mode 100644 src/FromOCCT/PTKernel/ObjMgt_ExternShareable.hxx create mode 100644 src/FromOCCT/PTKernel/ObjMgt_ExternShareable.ixx create mode 100644 src/FromOCCT/PTKernel/ObjMgt_ExternShareable.jxx create mode 100644 src/FromOCCT/PTKernel/ObjMgt_PSeqOfExtRef.hxx create mode 100644 src/FromOCCT/PTKernel/ObjMgt_PSeqOfExtRef_0.cxx create mode 100644 src/FromOCCT/PTKernel/ObjMgt_SeqExplorerOfPSeqOfExtRef.hxx create mode 100644 src/FromOCCT/PTKernel/ObjMgt_SeqExplorerOfPSeqOfExtRef_0.cxx create mode 100644 src/FromOCCT/PTKernel/ObjMgt_SeqNodeOfPSeqOfExtRef.hxx create mode 100644 src/FromOCCT/PTKernel/ObjMgt_SeqNodeOfPSeqOfExtRef_0.cxx create mode 100644 src/FromOCCT/PTKernel/PColStd_FieldOfHArray1OfExtendedString.hxx create mode 100644 src/FromOCCT/PTKernel/PColStd_FieldOfHArray1OfExtendedString_0.cxx create mode 100644 src/FromOCCT/PTKernel/PColStd_FieldOfHArray1OfInteger.hxx create mode 100644 src/FromOCCT/PTKernel/PColStd_FieldOfHArray1OfInteger_0.cxx create mode 100644 src/FromOCCT/PTKernel/PColStd_FieldOfHArray1OfPersistent.hxx create mode 100644 src/FromOCCT/PTKernel/PColStd_FieldOfHArray1OfPersistent_0.cxx create mode 100644 src/FromOCCT/PTKernel/PColStd_FieldOfHArray1OfReal.hxx create mode 100644 src/FromOCCT/PTKernel/PColStd_FieldOfHArray1OfReal_0.cxx create mode 100644 src/FromOCCT/PTKernel/PColStd_FieldOfHArray2OfInteger.hxx create mode 100644 src/FromOCCT/PTKernel/PColStd_FieldOfHArray2OfInteger_0.cxx create mode 100644 src/FromOCCT/PTKernel/PColStd_FieldOfHArray2OfPersistent.hxx create mode 100644 src/FromOCCT/PTKernel/PColStd_FieldOfHArray2OfPersistent_0.cxx create mode 100644 src/FromOCCT/PTKernel/PColStd_FieldOfHArray2OfReal.hxx create mode 100644 src/FromOCCT/PTKernel/PColStd_FieldOfHArray2OfReal_0.cxx create mode 100644 src/FromOCCT/PTKernel/PColStd_HArray1OfExtendedString.hxx create mode 100644 src/FromOCCT/PTKernel/PColStd_HArray1OfExtendedString_0.cxx create mode 100644 src/FromOCCT/PTKernel/PColStd_HArray1OfInteger.hxx create mode 100644 src/FromOCCT/PTKernel/PColStd_HArray1OfInteger_0.cxx create mode 100644 src/FromOCCT/PTKernel/PColStd_HArray1OfPersistent.hxx create mode 100644 src/FromOCCT/PTKernel/PColStd_HArray1OfPersistent_0.cxx create mode 100644 src/FromOCCT/PTKernel/PColStd_HArray1OfReal.hxx create mode 100644 src/FromOCCT/PTKernel/PColStd_HArray1OfReal_0.cxx create mode 100644 src/FromOCCT/PTKernel/PColStd_HArray2OfInteger.hxx create mode 100644 src/FromOCCT/PTKernel/PColStd_HArray2OfInteger_0.cxx create mode 100644 src/FromOCCT/PTKernel/PColStd_HArray2OfPersistent.hxx create mode 100644 src/FromOCCT/PTKernel/PColStd_HArray2OfPersistent_0.cxx create mode 100644 src/FromOCCT/PTKernel/PColStd_HArray2OfReal.hxx create mode 100644 src/FromOCCT/PTKernel/PColStd_HArray2OfReal_0.cxx create mode 100644 src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString.hxx create mode 100644 src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString_0.cxx create mode 100644 src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray1OfInteger.hxx create mode 100644 src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray1OfInteger_0.cxx create mode 100644 src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray1OfPersistent.hxx create mode 100644 src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray1OfPersistent_0.cxx create mode 100644 src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray1OfReal.hxx create mode 100644 src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray1OfReal_0.cxx create mode 100644 src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray2OfInteger.hxx create mode 100644 src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray2OfInteger_0.cxx create mode 100644 src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray2OfPersistent.hxx create mode 100644 src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray2OfPersistent_0.cxx create mode 100644 src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray2OfReal.hxx create mode 100644 src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray2OfReal_0.cxx create mode 100644 src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray1OfExtendedString.hxx create mode 100644 src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray1OfExtendedString_0.cxx create mode 100644 src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray1OfInteger.hxx create mode 100644 src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray1OfInteger_0.cxx create mode 100644 src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray1OfPersistent.hxx create mode 100644 src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray1OfPersistent_0.cxx create mode 100644 src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray1OfReal.hxx create mode 100644 src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray1OfReal_0.cxx create mode 100644 src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray2OfInteger.hxx create mode 100644 src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray2OfInteger_0.cxx create mode 100644 src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray2OfPersistent.hxx create mode 100644 src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray2OfPersistent_0.cxx create mode 100644 src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray2OfReal.hxx create mode 100644 src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray2OfReal_0.cxx create mode 100644 src/FromOCCT/PTKernel/PCollection_AccessMode.hxx create mode 100644 src/FromOCCT/PTKernel/PCollection_HArray1.gxx create mode 100644 src/FromOCCT/PTKernel/PCollection_HArray1.lxx create mode 100644 src/FromOCCT/PTKernel/PCollection_HArray2.gxx create mode 100644 src/FromOCCT/PTKernel/PCollection_HArray2.lxx create mode 100644 src/FromOCCT/PTKernel/PCollection_HAsciiString.cxx create mode 100644 src/FromOCCT/PTKernel/PCollection_HAsciiString.hxx create mode 100644 src/FromOCCT/PTKernel/PCollection_HAsciiString.ixx create mode 100644 src/FromOCCT/PTKernel/PCollection_HAsciiString.jxx create mode 100644 src/FromOCCT/PTKernel/PCollection_HExtendedString.cxx create mode 100644 src/FromOCCT/PTKernel/PCollection_HExtendedString.hxx create mode 100644 src/FromOCCT/PTKernel/PCollection_HExtendedString.ixx create mode 100644 src/FromOCCT/PTKernel/PCollection_HExtendedString.jxx create mode 100644 src/FromOCCT/PTKernel/PCollection_HSequence.gxx create mode 100644 src/FromOCCT/PTKernel/PCollection_SeqExplorer.gxx create mode 100644 src/FromOCCT/PTKernel/PCollection_SeqNode.gxx create mode 100644 src/FromOCCT/PTKernel/PMMgt_PManaged.cxx create mode 100644 src/FromOCCT/PTKernel/PMMgt_PManaged.hxx create mode 100644 src/FromOCCT/PTKernel/PMMgt_PManaged.ixx create mode 100644 src/FromOCCT/PTKernel/PMMgt_PManaged.jxx create mode 100644 src/FromOCCT/PTKernel/PShort_FieldOfHArray1OfShortReal.hxx create mode 100644 src/FromOCCT/PTKernel/PShort_FieldOfHArray1OfShortReal_0.cxx create mode 100644 src/FromOCCT/PTKernel/PShort_FieldOfHArray2OfShortReal.hxx create mode 100644 src/FromOCCT/PTKernel/PShort_FieldOfHArray2OfShortReal_0.cxx create mode 100644 src/FromOCCT/PTKernel/PShort_HArray1OfShortReal.hxx create mode 100644 src/FromOCCT/PTKernel/PShort_HArray1OfShortReal_0.cxx create mode 100644 src/FromOCCT/PTKernel/PShort_HArray2OfShortReal.hxx create mode 100644 src/FromOCCT/PTKernel/PShort_HArray2OfShortReal_0.cxx create mode 100644 src/FromOCCT/PTKernel/PShort_HSequenceOfShortReal.hxx create mode 100644 src/FromOCCT/PTKernel/PShort_HSequenceOfShortReal_0.cxx create mode 100644 src/FromOCCT/PTKernel/PShort_SeqExplorerOfHSequenceOfShortReal.hxx create mode 100644 src/FromOCCT/PTKernel/PShort_SeqExplorerOfHSequenceOfShortReal_0.cxx create mode 100644 src/FromOCCT/PTKernel/PShort_SeqNodeOfHSequenceOfShortReal.hxx create mode 100644 src/FromOCCT/PTKernel/PShort_SeqNodeOfHSequenceOfShortReal_0.cxx create mode 100644 src/FromOCCT/PTKernel/PShort_VArrayNodeOfFieldOfHArray1OfShortReal.hxx create mode 100644 src/FromOCCT/PTKernel/PShort_VArrayNodeOfFieldOfHArray1OfShortReal_0.cxx create mode 100644 src/FromOCCT/PTKernel/PShort_VArrayNodeOfFieldOfHArray2OfShortReal.hxx create mode 100644 src/FromOCCT/PTKernel/PShort_VArrayNodeOfFieldOfHArray2OfShortReal_0.cxx create mode 100644 src/FromOCCT/PTKernel/PShort_VArrayTNodeOfFieldOfHArray1OfShortReal.hxx create mode 100644 src/FromOCCT/PTKernel/PShort_VArrayTNodeOfFieldOfHArray1OfShortReal_0.cxx create mode 100644 src/FromOCCT/PTKernel/PShort_VArrayTNodeOfFieldOfHArray2OfShortReal.hxx create mode 100644 src/FromOCCT/PTKernel/PShort_VArrayTNodeOfFieldOfHArray2OfShortReal_0.cxx create mode 100644 src/FromOCCT/PTKernel/PStandard_ArrayNode.cxx create mode 100644 src/FromOCCT/PTKernel/PStandard_ArrayNode.hxx create mode 100644 src/FromOCCT/PTKernel/PStandard_ArrayNode.ixx create mode 100644 src/FromOCCT/PTKernel/PStandard_ArrayNode.jxx create mode 100644 src/FromOCCT/PTKernel/PTColStd_DataMapIteratorOfPersistentTransientMap.hxx create mode 100644 src/FromOCCT/PTKernel/PTColStd_DataMapIteratorOfPersistentTransientMap_0.cxx create mode 100644 src/FromOCCT/PTKernel/PTColStd_DataMapIteratorOfTransientPersistentMap.hxx create mode 100644 src/FromOCCT/PTKernel/PTColStd_DataMapIteratorOfTransientPersistentMap_0.cxx create mode 100644 src/FromOCCT/PTKernel/PTColStd_DataMapNodeOfPersistentTransientMap.hxx create mode 100644 src/FromOCCT/PTKernel/PTColStd_DataMapNodeOfPersistentTransientMap_0.cxx create mode 100644 src/FromOCCT/PTKernel/PTColStd_DataMapNodeOfTransientPersistentMap.hxx create mode 100644 src/FromOCCT/PTKernel/PTColStd_DataMapNodeOfTransientPersistentMap_0.cxx create mode 100644 src/FromOCCT/PTKernel/PTColStd_DoubleMapIteratorOfDoubleMapOfTransientPersistent.hxx create mode 100644 src/FromOCCT/PTKernel/PTColStd_DoubleMapIteratorOfDoubleMapOfTransientPersistent_0.cxx create mode 100644 src/FromOCCT/PTKernel/PTColStd_DoubleMapNodeOfDoubleMapOfTransientPersistent.hxx create mode 100644 src/FromOCCT/PTKernel/PTColStd_DoubleMapNodeOfDoubleMapOfTransientPersistent_0.cxx create mode 100644 src/FromOCCT/PTKernel/PTColStd_DoubleMapOfTransientPersistent.hxx create mode 100644 src/FromOCCT/PTKernel/PTColStd_DoubleMapOfTransientPersistent_0.cxx create mode 100644 src/FromOCCT/PTKernel/PTColStd_MapPersistentHasher.hxx create mode 100644 src/FromOCCT/PTKernel/PTColStd_MapPersistentHasher_0.cxx create mode 100644 src/FromOCCT/PTKernel/PTColStd_PersistentTransientMap.hxx create mode 100644 src/FromOCCT/PTKernel/PTColStd_PersistentTransientMap_0.cxx create mode 100644 src/FromOCCT/PTKernel/PTColStd_TransientPersistentMap.hxx create mode 100644 src/FromOCCT/PTKernel/PTColStd_TransientPersistentMap_0.cxx create mode 100755 src/FromOCCT/TKPCAF/CMakeLists.txt create mode 100644 src/FromOCCT/TKPCAF/Handle_MDataXtd_AxisRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPCAF/Handle_MDataXtd_AxisStorageDriver.hxx create mode 100644 src/FromOCCT/TKPCAF/Handle_MDataXtd_ConstraintRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPCAF/Handle_MDataXtd_ConstraintStorageDriver.hxx create mode 100644 src/FromOCCT/TKPCAF/Handle_MDataXtd_GeometryRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPCAF/Handle_MDataXtd_GeometryStorageDriver.hxx create mode 100644 src/FromOCCT/TKPCAF/Handle_MDataXtd_PatternStdRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPCAF/Handle_MDataXtd_PatternStdStorageDriver.hxx create mode 100644 src/FromOCCT/TKPCAF/Handle_MDataXtd_PlacementRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPCAF/Handle_MDataXtd_PlacementStorageDriver.hxx create mode 100644 src/FromOCCT/TKPCAF/Handle_MDataXtd_PlaneRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPCAF/Handle_MDataXtd_PlaneStorageDriver.hxx create mode 100644 src/FromOCCT/TKPCAF/Handle_MDataXtd_PointRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPCAF/Handle_MDataXtd_PointStorageDriver.hxx create mode 100644 src/FromOCCT/TKPCAF/Handle_MDataXtd_ShapeRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPCAF/Handle_MDataXtd_ShapeStorageDriver.hxx create mode 100644 src/FromOCCT/TKPCAF/Handle_MNaming_NamedShapeRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPCAF/Handle_MNaming_NamedShapeStorageDriver.hxx create mode 100644 src/FromOCCT/TKPCAF/Handle_MNaming_NamingRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPCAF/Handle_MNaming_NamingRetrievalDriver_1.hxx create mode 100644 src/FromOCCT/TKPCAF/Handle_MNaming_NamingRetrievalDriver_2.hxx create mode 100644 src/FromOCCT/TKPCAF/Handle_MNaming_NamingStorageDriver.hxx create mode 100644 src/FromOCCT/TKPCAF/Handle_MPrsStd_AISPresentationRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPCAF/Handle_MPrsStd_AISPresentationRetrievalDriver_1.hxx create mode 100644 src/FromOCCT/TKPCAF/Handle_MPrsStd_AISPresentationStorageDriver.hxx create mode 100644 src/FromOCCT/TKPCAF/Handle_MPrsStd_PositionRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPCAF/Handle_MPrsStd_PositionStorageDriver.hxx create mode 100644 src/FromOCCT/TKPCAF/Handle_PDataXtd_Axis.hxx create mode 100644 src/FromOCCT/TKPCAF/Handle_PDataXtd_Constraint.hxx create mode 100644 src/FromOCCT/TKPCAF/Handle_PDataXtd_Geometry.hxx create mode 100644 src/FromOCCT/TKPCAF/Handle_PDataXtd_PatternStd.hxx create mode 100644 src/FromOCCT/TKPCAF/Handle_PDataXtd_Placement.hxx create mode 100644 src/FromOCCT/TKPCAF/Handle_PDataXtd_Plane.hxx create mode 100644 src/FromOCCT/TKPCAF/Handle_PDataXtd_Point.hxx create mode 100644 src/FromOCCT/TKPCAF/Handle_PDataXtd_Position.hxx create mode 100644 src/FromOCCT/TKPCAF/Handle_PDataXtd_Shape.hxx create mode 100644 src/FromOCCT/TKPCAF/Handle_PNaming_HArray1OfNamedShape.hxx create mode 100644 src/FromOCCT/TKPCAF/Handle_PNaming_Name.hxx create mode 100644 src/FromOCCT/TKPCAF/Handle_PNaming_Name_1.hxx create mode 100644 src/FromOCCT/TKPCAF/Handle_PNaming_Name_2.hxx create mode 100644 src/FromOCCT/TKPCAF/Handle_PNaming_NamedShape.hxx create mode 100644 src/FromOCCT/TKPCAF/Handle_PNaming_Naming.hxx create mode 100644 src/FromOCCT/TKPCAF/Handle_PNaming_Naming_1.hxx create mode 100644 src/FromOCCT/TKPCAF/Handle_PNaming_Naming_2.hxx create mode 100644 src/FromOCCT/TKPCAF/Handle_PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape.hxx create mode 100644 src/FromOCCT/TKPCAF/Handle_PPrsStd_AISPresentation.hxx create mode 100644 src/FromOCCT/TKPCAF/Handle_PPrsStd_AISPresentation_1.hxx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd.cxx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd.hxx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd.ixx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd.jxx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_AxisRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_AxisRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_AxisRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_AxisRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_AxisStorageDriver.cxx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_AxisStorageDriver.hxx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_AxisStorageDriver.ixx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_AxisStorageDriver.jxx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_ConstraintRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_ConstraintRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_ConstraintRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_ConstraintRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_ConstraintStorageDriver.cxx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_ConstraintStorageDriver.hxx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_ConstraintStorageDriver.ixx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_ConstraintStorageDriver.jxx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_GeometryRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_GeometryRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_GeometryRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_GeometryRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_GeometryStorageDriver.cxx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_GeometryStorageDriver.hxx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_GeometryStorageDriver.ixx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_GeometryStorageDriver.jxx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_PatternStdRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_PatternStdRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_PatternStdRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_PatternStdRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_PatternStdStorageDriver.cxx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_PatternStdStorageDriver.hxx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_PatternStdStorageDriver.ixx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_PatternStdStorageDriver.jxx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_PlacementRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_PlacementRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_PlacementRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_PlacementRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_PlacementStorageDriver.cxx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_PlacementStorageDriver.hxx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_PlacementStorageDriver.ixx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_PlacementStorageDriver.jxx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_PlaneRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_PlaneRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_PlaneRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_PlaneRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_PlaneStorageDriver.cxx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_PlaneStorageDriver.hxx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_PlaneStorageDriver.ixx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_PlaneStorageDriver.jxx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_PointRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_PointRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_PointRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_PointRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_PointStorageDriver.cxx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_PointStorageDriver.hxx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_PointStorageDriver.ixx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_PointStorageDriver.jxx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_ShapeRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_ShapeRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_ShapeRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_ShapeRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_ShapeStorageDriver.cxx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_ShapeStorageDriver.hxx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_ShapeStorageDriver.ixx create mode 100644 src/FromOCCT/TKPCAF/MDataXtd_ShapeStorageDriver.jxx create mode 100644 src/FromOCCT/TKPCAF/MNaming.cxx create mode 100644 src/FromOCCT/TKPCAF/MNaming.hxx create mode 100644 src/FromOCCT/TKPCAF/MNaming.ixx create mode 100644 src/FromOCCT/TKPCAF/MNaming.jxx create mode 100644 src/FromOCCT/TKPCAF/MNaming_NamedShapeRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKPCAF/MNaming_NamedShapeRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPCAF/MNaming_NamedShapeRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKPCAF/MNaming_NamedShapeRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKPCAF/MNaming_NamedShapeStorageDriver.cxx create mode 100644 src/FromOCCT/TKPCAF/MNaming_NamedShapeStorageDriver.hxx create mode 100644 src/FromOCCT/TKPCAF/MNaming_NamedShapeStorageDriver.ixx create mode 100644 src/FromOCCT/TKPCAF/MNaming_NamedShapeStorageDriver.jxx create mode 100644 src/FromOCCT/TKPCAF/MNaming_NamingRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKPCAF/MNaming_NamingRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPCAF/MNaming_NamingRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKPCAF/MNaming_NamingRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKPCAF/MNaming_NamingRetrievalDriver_1.cxx create mode 100644 src/FromOCCT/TKPCAF/MNaming_NamingRetrievalDriver_1.hxx create mode 100644 src/FromOCCT/TKPCAF/MNaming_NamingRetrievalDriver_1.ixx create mode 100644 src/FromOCCT/TKPCAF/MNaming_NamingRetrievalDriver_1.jxx create mode 100644 src/FromOCCT/TKPCAF/MNaming_NamingRetrievalDriver_2.cxx create mode 100644 src/FromOCCT/TKPCAF/MNaming_NamingRetrievalDriver_2.hxx create mode 100644 src/FromOCCT/TKPCAF/MNaming_NamingRetrievalDriver_2.ixx create mode 100644 src/FromOCCT/TKPCAF/MNaming_NamingRetrievalDriver_2.jxx create mode 100644 src/FromOCCT/TKPCAF/MNaming_NamingStorageDriver.cxx create mode 100644 src/FromOCCT/TKPCAF/MNaming_NamingStorageDriver.hxx create mode 100644 src/FromOCCT/TKPCAF/MNaming_NamingStorageDriver.ixx create mode 100644 src/FromOCCT/TKPCAF/MNaming_NamingStorageDriver.jxx create mode 100644 src/FromOCCT/TKPCAF/MPrsStd.cxx create mode 100644 src/FromOCCT/TKPCAF/MPrsStd.hxx create mode 100644 src/FromOCCT/TKPCAF/MPrsStd.ixx create mode 100644 src/FromOCCT/TKPCAF/MPrsStd.jxx create mode 100644 src/FromOCCT/TKPCAF/MPrsStd_AISPresentationRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKPCAF/MPrsStd_AISPresentationRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPCAF/MPrsStd_AISPresentationRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKPCAF/MPrsStd_AISPresentationRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKPCAF/MPrsStd_AISPresentationRetrievalDriver_1.cxx create mode 100644 src/FromOCCT/TKPCAF/MPrsStd_AISPresentationRetrievalDriver_1.hxx create mode 100644 src/FromOCCT/TKPCAF/MPrsStd_AISPresentationRetrievalDriver_1.ixx create mode 100644 src/FromOCCT/TKPCAF/MPrsStd_AISPresentationRetrievalDriver_1.jxx create mode 100644 src/FromOCCT/TKPCAF/MPrsStd_AISPresentationStorageDriver.cxx create mode 100644 src/FromOCCT/TKPCAF/MPrsStd_AISPresentationStorageDriver.hxx create mode 100644 src/FromOCCT/TKPCAF/MPrsStd_AISPresentationStorageDriver.ixx create mode 100644 src/FromOCCT/TKPCAF/MPrsStd_AISPresentationStorageDriver.jxx create mode 100644 src/FromOCCT/TKPCAF/MPrsStd_PositionRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKPCAF/MPrsStd_PositionRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPCAF/MPrsStd_PositionRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKPCAF/MPrsStd_PositionRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKPCAF/MPrsStd_PositionStorageDriver.cxx create mode 100644 src/FromOCCT/TKPCAF/MPrsStd_PositionStorageDriver.hxx create mode 100644 src/FromOCCT/TKPCAF/MPrsStd_PositionStorageDriver.ixx create mode 100644 src/FromOCCT/TKPCAF/MPrsStd_PositionStorageDriver.jxx create mode 100644 src/FromOCCT/TKPCAF/PDataXtd_Axis.cxx create mode 100644 src/FromOCCT/TKPCAF/PDataXtd_Axis.hxx create mode 100644 src/FromOCCT/TKPCAF/PDataXtd_Axis.ixx create mode 100644 src/FromOCCT/TKPCAF/PDataXtd_Axis.jxx create mode 100644 src/FromOCCT/TKPCAF/PDataXtd_Constraint.cxx create mode 100644 src/FromOCCT/TKPCAF/PDataXtd_Constraint.hxx create mode 100644 src/FromOCCT/TKPCAF/PDataXtd_Constraint.ixx create mode 100644 src/FromOCCT/TKPCAF/PDataXtd_Constraint.jxx create mode 100644 src/FromOCCT/TKPCAF/PDataXtd_Geometry.cxx create mode 100644 src/FromOCCT/TKPCAF/PDataXtd_Geometry.hxx create mode 100644 src/FromOCCT/TKPCAF/PDataXtd_Geometry.ixx create mode 100644 src/FromOCCT/TKPCAF/PDataXtd_Geometry.jxx create mode 100644 src/FromOCCT/TKPCAF/PDataXtd_PatternStd.cxx create mode 100644 src/FromOCCT/TKPCAF/PDataXtd_PatternStd.hxx create mode 100644 src/FromOCCT/TKPCAF/PDataXtd_PatternStd.ixx create mode 100644 src/FromOCCT/TKPCAF/PDataXtd_PatternStd.jxx create mode 100644 src/FromOCCT/TKPCAF/PDataXtd_PatternStd.lxx create mode 100644 src/FromOCCT/TKPCAF/PDataXtd_Placement.cxx create mode 100644 src/FromOCCT/TKPCAF/PDataXtd_Placement.hxx create mode 100644 src/FromOCCT/TKPCAF/PDataXtd_Placement.ixx create mode 100644 src/FromOCCT/TKPCAF/PDataXtd_Placement.jxx create mode 100644 src/FromOCCT/TKPCAF/PDataXtd_Plane.cxx create mode 100644 src/FromOCCT/TKPCAF/PDataXtd_Plane.hxx create mode 100644 src/FromOCCT/TKPCAF/PDataXtd_Plane.ixx create mode 100644 src/FromOCCT/TKPCAF/PDataXtd_Plane.jxx create mode 100644 src/FromOCCT/TKPCAF/PDataXtd_Point.cxx create mode 100644 src/FromOCCT/TKPCAF/PDataXtd_Point.hxx create mode 100644 src/FromOCCT/TKPCAF/PDataXtd_Point.ixx create mode 100644 src/FromOCCT/TKPCAF/PDataXtd_Point.jxx create mode 100644 src/FromOCCT/TKPCAF/PDataXtd_Position.cxx create mode 100644 src/FromOCCT/TKPCAF/PDataXtd_Position.hxx create mode 100644 src/FromOCCT/TKPCAF/PDataXtd_Position.ixx create mode 100644 src/FromOCCT/TKPCAF/PDataXtd_Position.jxx create mode 100644 src/FromOCCT/TKPCAF/PDataXtd_Position.lxx create mode 100644 src/FromOCCT/TKPCAF/PDataXtd_Shape.cxx create mode 100644 src/FromOCCT/TKPCAF/PDataXtd_Shape.hxx create mode 100644 src/FromOCCT/TKPCAF/PDataXtd_Shape.ixx create mode 100644 src/FromOCCT/TKPCAF/PDataXtd_Shape.jxx create mode 100644 src/FromOCCT/TKPCAF/PNaming_FieldOfHArray1OfNamedShape.hxx create mode 100644 src/FromOCCT/TKPCAF/PNaming_FieldOfHArray1OfNamedShape_0.cxx create mode 100644 src/FromOCCT/TKPCAF/PNaming_HArray1OfNamedShape.hxx create mode 100644 src/FromOCCT/TKPCAF/PNaming_HArray1OfNamedShape_0.cxx create mode 100644 src/FromOCCT/TKPCAF/PNaming_Name.cxx create mode 100644 src/FromOCCT/TKPCAF/PNaming_Name.hxx create mode 100644 src/FromOCCT/TKPCAF/PNaming_Name.ixx create mode 100644 src/FromOCCT/TKPCAF/PNaming_Name.jxx create mode 100644 src/FromOCCT/TKPCAF/PNaming_Name.lxx create mode 100644 src/FromOCCT/TKPCAF/PNaming_Name_1.cxx create mode 100644 src/FromOCCT/TKPCAF/PNaming_Name_1.hxx create mode 100644 src/FromOCCT/TKPCAF/PNaming_Name_1.ixx create mode 100644 src/FromOCCT/TKPCAF/PNaming_Name_1.jxx create mode 100644 src/FromOCCT/TKPCAF/PNaming_Name_1.lxx create mode 100644 src/FromOCCT/TKPCAF/PNaming_Name_2.cxx create mode 100644 src/FromOCCT/TKPCAF/PNaming_Name_2.hxx create mode 100644 src/FromOCCT/TKPCAF/PNaming_Name_2.ixx create mode 100644 src/FromOCCT/TKPCAF/PNaming_Name_2.jxx create mode 100644 src/FromOCCT/TKPCAF/PNaming_Name_2.lxx create mode 100644 src/FromOCCT/TKPCAF/PNaming_NamedShape.cxx create mode 100644 src/FromOCCT/TKPCAF/PNaming_NamedShape.hxx create mode 100644 src/FromOCCT/TKPCAF/PNaming_NamedShape.ixx create mode 100644 src/FromOCCT/TKPCAF/PNaming_NamedShape.jxx create mode 100644 src/FromOCCT/TKPCAF/PNaming_Naming.cxx create mode 100644 src/FromOCCT/TKPCAF/PNaming_Naming.hxx create mode 100644 src/FromOCCT/TKPCAF/PNaming_Naming.ixx create mode 100644 src/FromOCCT/TKPCAF/PNaming_Naming.jxx create mode 100644 src/FromOCCT/TKPCAF/PNaming_Naming_1.cxx create mode 100644 src/FromOCCT/TKPCAF/PNaming_Naming_1.hxx create mode 100644 src/FromOCCT/TKPCAF/PNaming_Naming_1.ixx create mode 100644 src/FromOCCT/TKPCAF/PNaming_Naming_1.jxx create mode 100644 src/FromOCCT/TKPCAF/PNaming_Naming_2.cxx create mode 100644 src/FromOCCT/TKPCAF/PNaming_Naming_2.hxx create mode 100644 src/FromOCCT/TKPCAF/PNaming_Naming_2.ixx create mode 100644 src/FromOCCT/TKPCAF/PNaming_Naming_2.jxx create mode 100644 src/FromOCCT/TKPCAF/PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape.hxx create mode 100644 src/FromOCCT/TKPCAF/PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape_0.cxx create mode 100644 src/FromOCCT/TKPCAF/PNaming_VArrayTNodeOfFieldOfHArray1OfNamedShape.hxx create mode 100644 src/FromOCCT/TKPCAF/PNaming_VArrayTNodeOfFieldOfHArray1OfNamedShape_0.cxx create mode 100644 src/FromOCCT/TKPCAF/PPrsStd_AISPresentation.cxx create mode 100644 src/FromOCCT/TKPCAF/PPrsStd_AISPresentation.hxx create mode 100644 src/FromOCCT/TKPCAF/PPrsStd_AISPresentation.ixx create mode 100644 src/FromOCCT/TKPCAF/PPrsStd_AISPresentation.jxx create mode 100644 src/FromOCCT/TKPCAF/PPrsStd_AISPresentation_1.cxx create mode 100644 src/FromOCCT/TKPCAF/PPrsStd_AISPresentation_1.hxx create mode 100644 src/FromOCCT/TKPCAF/PPrsStd_AISPresentation_1.ixx create mode 100644 src/FromOCCT/TKPCAF/PPrsStd_AISPresentation_1.jxx create mode 100755 src/FromOCCT/TKPLCAF/CMakeLists.txt create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDF_ARDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDF_ARDriverHSequence.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDF_ARDriverTable.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDF_ASDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDF_ASDriverHSequence.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDF_ASDriverTable.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDF_DataMapNodeOfTypeARDriverMap.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDF_DataMapNodeOfTypeASDriverMap.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDF_ListNodeOfDriverListOfARDriverTable.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDF_ListNodeOfDriverListOfASDriverTable.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDF_RRelocationTable.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDF_ReferenceRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDF_ReferenceStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDF_SRelocationTable.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDF_SequenceNodeOfARDriverSequence.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDF_SequenceNodeOfASDriverSequence.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDF_TagSourceRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDF_TagSourceStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_AsciiStringRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_AsciiStringStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_BooleanArrayRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_BooleanArrayStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_BooleanListRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_BooleanListStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_ByteArrayRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_ByteArrayRetrievalDriver_1.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_ByteArrayStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_CommentRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_CommentStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_DirectoryRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_DirectoryStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_ExpressionRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_ExpressionStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_ExtStringArrayRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_ExtStringArrayRetrievalDriver_1.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_ExtStringArrayStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_ExtStringListRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_ExtStringListStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_IntPackedMapRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_IntPackedMapRetrievalDriver_1.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_IntPackedMapStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_IntegerArrayRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_IntegerArrayRetrievalDriver_1.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_IntegerArrayStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_IntegerListRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_IntegerListStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_IntegerRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_IntegerStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_NameRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_NameStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_NamedDataRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_NamedDataStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_NoteBookRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_NoteBookStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_RealArrayRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_RealArrayRetrievalDriver_1.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_RealArrayStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_RealListRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_RealListStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_RealRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_RealStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_ReferenceArrayRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_ReferenceArrayStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_ReferenceListRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_ReferenceListStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_RelationRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_RelationStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_TickRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_TickStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_TreeNodeRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_TreeNodeStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_UAttributeRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_UAttributeStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_VariableRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDataStd_VariableStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDocStd_DocumentRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDocStd_DocumentStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDocStd_XLinkRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MDocStd_XLinkStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MFunction_FunctionRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_MFunction_FunctionStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_PDF_Attribute.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_PDF_Data.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_PDF_HAttributeArray1.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_PDF_Reference.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_PDF_TagSource.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_PDF_VArrayNodeOfFieldOfHAttributeArray1.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_PDataStd_AsciiString.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_PDataStd_BooleanArray.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_PDataStd_BooleanList.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_PDataStd_ByteArray.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_PDataStd_ByteArray_1.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_PDataStd_Comment.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_PDataStd_Directory.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_PDataStd_Expression.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_PDataStd_ExtStringArray.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_PDataStd_ExtStringArray_1.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_PDataStd_ExtStringList.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_PDataStd_HArray1OfByte.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_PDataStd_HArray1OfHArray1OfInteger.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_PDataStd_HArray1OfHArray1OfReal.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_PDataStd_HArray1OfHAsciiString.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_PDataStd_IntPackedMap.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_PDataStd_IntPackedMap_1.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_PDataStd_Integer.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_PDataStd_IntegerArray.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_PDataStd_IntegerArray_1.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_PDataStd_IntegerList.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_PDataStd_Name.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_PDataStd_NamedData.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_PDataStd_NoteBook.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_PDataStd_Real.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_PDataStd_RealArray.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_PDataStd_RealArray_1.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_PDataStd_RealList.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_PDataStd_ReferenceArray.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_PDataStd_ReferenceList.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_PDataStd_Relation.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_PDataStd_Tick.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_PDataStd_TreeNode.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_PDataStd_UAttribute.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfByte.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_PDataStd_Variable.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_PDocStd_Document.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_PDocStd_XLink.hxx create mode 100644 src/FromOCCT/TKPLCAF/Handle_PFunction_Function.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDF.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDF.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDF.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDF.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_ARDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_ARDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_ARDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDF_ARDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_ARDriverHSequence.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_ARDriverHSequence_0.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_ARDriverSequence.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_ARDriverSequence_0.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_ARDriverTable.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_ARDriverTable_0.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_ASDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_ASDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_ASDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDF_ASDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_ASDriverHSequence.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_ASDriverHSequence_0.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_ASDriverSequence.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_ASDriverSequence_0.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_ASDriverTable.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_ASDriverTable_0.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_DataMapIteratorOfTypeARDriverMap.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_DataMapIteratorOfTypeARDriverMap_0.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_DataMapIteratorOfTypeASDriverMap.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_DataMapIteratorOfTypeASDriverMap_0.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_DataMapIteratorOfTypeDriverListMapOfARDriverTable.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_DataMapIteratorOfTypeDriverListMapOfARDriverTable_0.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_DataMapIteratorOfTypeDriverListMapOfASDriverTable.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_DataMapIteratorOfTypeDriverListMapOfASDriverTable_0.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_DataMapNodeOfTypeARDriverMap.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_DataMapNodeOfTypeARDriverMap_0.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_DataMapNodeOfTypeASDriverMap.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_DataMapNodeOfTypeASDriverMap_0.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable_0.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable_0.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_DriverListOfARDriverTable.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_DriverListOfARDriverTable_0.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_DriverListOfASDriverTable.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_DriverListOfASDriverTable_0.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_DriverTable.gxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_ListIteratorOfDriverListOfARDriverTable.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_ListIteratorOfDriverListOfARDriverTable_0.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_ListIteratorOfDriverListOfASDriverTable.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_ListIteratorOfDriverListOfASDriverTable_0.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_ListNodeOfDriverListOfARDriverTable.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_ListNodeOfDriverListOfARDriverTable_0.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_ListNodeOfDriverListOfASDriverTable.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_ListNodeOfDriverListOfASDriverTable_0.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_RRelocationTable.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_RRelocationTable_0.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_ReferenceRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_ReferenceRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_ReferenceRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDF_ReferenceRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_ReferenceStorageDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_ReferenceStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_ReferenceStorageDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDF_ReferenceStorageDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_RelocationTable.gxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_SRelocationTable.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_SRelocationTable_0.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_SequenceNodeOfARDriverSequence.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_SequenceNodeOfARDriverSequence_0.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_SequenceNodeOfASDriverSequence.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_SequenceNodeOfASDriverSequence_0.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_TagSourceRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_TagSourceRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_TagSourceRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDF_TagSourceRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_TagSourceStorageDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_TagSourceStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_TagSourceStorageDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDF_TagSourceStorageDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_Tool.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_Tool.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_Tool.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDF_Tool.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_TypeARDriverMap.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_TypeARDriverMap_0.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_TypeASDriverMap.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_TypeASDriverMap_0.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_TypeDriverListMapOfARDriverTable.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_TypeDriverListMapOfARDriverTable_0.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_TypeDriverListMapOfASDriverTable.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDF_TypeDriverListMapOfASDriverTable_0.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_AsciiStringRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_AsciiStringRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_AsciiStringRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_AsciiStringRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_AsciiStringStorageDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_AsciiStringStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_AsciiStringStorageDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_AsciiStringStorageDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_BooleanArrayRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_BooleanArrayRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_BooleanArrayRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_BooleanArrayRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_BooleanArrayStorageDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_BooleanArrayStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_BooleanArrayStorageDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_BooleanArrayStorageDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_BooleanListRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_BooleanListRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_BooleanListRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_BooleanListRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_BooleanListStorageDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_BooleanListStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_BooleanListStorageDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_BooleanListStorageDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ByteArrayRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ByteArrayRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ByteArrayRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ByteArrayRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ByteArrayRetrievalDriver_1.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ByteArrayRetrievalDriver_1.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ByteArrayRetrievalDriver_1.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ByteArrayRetrievalDriver_1.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ByteArrayStorageDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ByteArrayStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ByteArrayStorageDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ByteArrayStorageDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_CommentRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_CommentRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_CommentRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_CommentRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_CommentStorageDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_CommentStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_CommentStorageDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_CommentStorageDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_DirectoryRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_DirectoryRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_DirectoryRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_DirectoryRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_DirectoryStorageDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_DirectoryStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_DirectoryStorageDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_DirectoryStorageDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ExpressionRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ExpressionRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ExpressionRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ExpressionRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ExpressionStorageDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ExpressionStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ExpressionStorageDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ExpressionStorageDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ExtStringArrayRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ExtStringArrayRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ExtStringArrayRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ExtStringArrayRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ExtStringArrayRetrievalDriver_1.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ExtStringArrayRetrievalDriver_1.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ExtStringArrayRetrievalDriver_1.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ExtStringArrayRetrievalDriver_1.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ExtStringArrayStorageDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ExtStringArrayStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ExtStringArrayStorageDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ExtStringArrayStorageDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ExtStringListRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ExtStringListRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ExtStringListRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ExtStringListRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ExtStringListStorageDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ExtStringListStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ExtStringListStorageDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ExtStringListStorageDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_IntPackedMapRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_IntPackedMapRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_IntPackedMapRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_IntPackedMapRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_IntPackedMapRetrievalDriver_1.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_IntPackedMapRetrievalDriver_1.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_IntPackedMapRetrievalDriver_1.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_IntPackedMapRetrievalDriver_1.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_IntPackedMapStorageDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_IntPackedMapStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_IntPackedMapStorageDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_IntPackedMapStorageDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_IntegerArrayRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_IntegerArrayRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_IntegerArrayRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_IntegerArrayRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_IntegerArrayRetrievalDriver_1.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_IntegerArrayRetrievalDriver_1.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_IntegerArrayRetrievalDriver_1.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_IntegerArrayRetrievalDriver_1.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_IntegerArrayStorageDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_IntegerArrayStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_IntegerArrayStorageDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_IntegerArrayStorageDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_IntegerListRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_IntegerListRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_IntegerListRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_IntegerListRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_IntegerListStorageDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_IntegerListStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_IntegerListStorageDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_IntegerListStorageDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_IntegerRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_IntegerRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_IntegerRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_IntegerRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_IntegerStorageDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_IntegerStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_IntegerStorageDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_IntegerStorageDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_NameRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_NameRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_NameRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_NameRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_NameStorageDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_NameStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_NameStorageDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_NameStorageDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_NamedDataRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_NamedDataRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_NamedDataRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_NamedDataRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_NamedDataStorageDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_NamedDataStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_NamedDataStorageDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_NamedDataStorageDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_NoteBookRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_NoteBookRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_NoteBookRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_NoteBookRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_NoteBookStorageDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_NoteBookStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_NoteBookStorageDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_NoteBookStorageDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_RealArrayRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_RealArrayRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_RealArrayRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_RealArrayRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_RealArrayRetrievalDriver_1.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_RealArrayRetrievalDriver_1.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_RealArrayRetrievalDriver_1.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_RealArrayRetrievalDriver_1.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_RealArrayStorageDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_RealArrayStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_RealArrayStorageDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_RealArrayStorageDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_RealListRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_RealListRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_RealListRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_RealListRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_RealListStorageDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_RealListStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_RealListStorageDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_RealListStorageDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_RealRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_RealRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_RealRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_RealRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_RealStorageDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_RealStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_RealStorageDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_RealStorageDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ReferenceArrayRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ReferenceArrayRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ReferenceArrayRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ReferenceArrayRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ReferenceArrayStorageDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ReferenceArrayStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ReferenceArrayStorageDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ReferenceArrayStorageDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ReferenceListRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ReferenceListRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ReferenceListRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ReferenceListRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ReferenceListStorageDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ReferenceListStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ReferenceListStorageDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_ReferenceListStorageDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_RelationRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_RelationRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_RelationRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_RelationRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_RelationStorageDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_RelationStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_RelationStorageDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_RelationStorageDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_TickRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_TickRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_TickRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_TickRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_TickStorageDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_TickStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_TickStorageDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_TickStorageDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_TreeNodeRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_TreeNodeRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_TreeNodeRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_TreeNodeRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_TreeNodeStorageDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_TreeNodeStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_TreeNodeStorageDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_TreeNodeStorageDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_UAttributeRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_UAttributeRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_UAttributeRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_UAttributeRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_UAttributeStorageDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_UAttributeStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_UAttributeStorageDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_UAttributeStorageDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_VariableRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_VariableRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_VariableRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_VariableRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_VariableStorageDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_VariableStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_VariableStorageDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDataStd_VariableStorageDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDocStd.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDocStd.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDocStd.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDocStd.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDocStd_DocumentRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDocStd_DocumentRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDocStd_DocumentRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDocStd_DocumentRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDocStd_DocumentStorageDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDocStd_DocumentStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDocStd_DocumentStorageDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDocStd_DocumentStorageDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDocStd_XLinkRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDocStd_XLinkRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDocStd_XLinkRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDocStd_XLinkRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MDocStd_XLinkStorageDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MDocStd_XLinkStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MDocStd_XLinkStorageDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MDocStd_XLinkStorageDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MFunction.cxx create mode 100644 src/FromOCCT/TKPLCAF/MFunction.hxx create mode 100644 src/FromOCCT/TKPLCAF/MFunction.ixx create mode 100644 src/FromOCCT/TKPLCAF/MFunction.jxx create mode 100644 src/FromOCCT/TKPLCAF/MFunction_FunctionRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MFunction_FunctionRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MFunction_FunctionRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MFunction_FunctionRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/MFunction_FunctionStorageDriver.cxx create mode 100644 src/FromOCCT/TKPLCAF/MFunction_FunctionStorageDriver.hxx create mode 100644 src/FromOCCT/TKPLCAF/MFunction_FunctionStorageDriver.ixx create mode 100644 src/FromOCCT/TKPLCAF/MFunction_FunctionStorageDriver.jxx create mode 100644 src/FromOCCT/TKPLCAF/PDF_Attribute.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDF_Attribute.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDF_Attribute.ixx create mode 100644 src/FromOCCT/TKPLCAF/PDF_Attribute.jxx create mode 100644 src/FromOCCT/TKPLCAF/PDF_Data.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDF_Data.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDF_Data.ixx create mode 100644 src/FromOCCT/TKPLCAF/PDF_Data.jxx create mode 100644 src/FromOCCT/TKPLCAF/PDF_Data.lxx create mode 100644 src/FromOCCT/TKPLCAF/PDF_FieldOfHAttributeArray1.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDF_FieldOfHAttributeArray1_0.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDF_HAttributeArray1.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDF_HAttributeArray1_0.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDF_Reference.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDF_Reference.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDF_Reference.ixx create mode 100644 src/FromOCCT/TKPLCAF/PDF_Reference.jxx create mode 100644 src/FromOCCT/TKPLCAF/PDF_TagSource.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDF_TagSource.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDF_TagSource.ixx create mode 100644 src/FromOCCT/TKPLCAF/PDF_TagSource.jxx create mode 100644 src/FromOCCT/TKPLCAF/PDF_VArrayNodeOfFieldOfHAttributeArray1.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDF_VArrayNodeOfFieldOfHAttributeArray1_0.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDF_VArrayTNodeOfFieldOfHAttributeArray1.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDF_VArrayTNodeOfFieldOfHAttributeArray1_0.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_AsciiString.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_AsciiString.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_AsciiString.ixx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_AsciiString.jxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_BooleanArray.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_BooleanArray.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_BooleanArray.ixx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_BooleanArray.jxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_BooleanList.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_BooleanList.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_BooleanList.ixx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_BooleanList.jxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_ByteArray.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_ByteArray.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_ByteArray.ixx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_ByteArray.jxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_ByteArray_1.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_ByteArray_1.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_ByteArray_1.ixx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_ByteArray_1.jxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_Comment.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_Comment.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_Comment.ixx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_Comment.jxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_Directory.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_Directory.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_Directory.ixx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_Directory.jxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_Expression.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_Expression.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_Expression.ixx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_Expression.jxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_ExtStringArray.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_ExtStringArray.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_ExtStringArray.ixx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_ExtStringArray.jxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_ExtStringArray_1.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_ExtStringArray_1.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_ExtStringArray_1.ixx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_ExtStringArray_1.jxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_ExtStringList.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_ExtStringList.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_ExtStringList.ixx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_ExtStringList.jxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_FieldOfHArray1OfByte.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_FieldOfHArray1OfByte_0.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_FieldOfHArray1OfHArray1OfInteger.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_FieldOfHArray1OfHArray1OfInteger_0.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_FieldOfHArray1OfHArray1OfReal.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_FieldOfHArray1OfHArray1OfReal_0.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_FieldOfHArray1OfHAsciiString.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_FieldOfHArray1OfHAsciiString_0.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_HArray1OfByte.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_HArray1OfByte_0.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_HArray1OfHArray1OfInteger.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_HArray1OfHArray1OfInteger_0.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_HArray1OfHArray1OfReal.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_HArray1OfHArray1OfReal_0.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_HArray1OfHAsciiString.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_HArray1OfHAsciiString_0.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_IntPackedMap.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_IntPackedMap.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_IntPackedMap.ixx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_IntPackedMap.jxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_IntPackedMap_1.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_IntPackedMap_1.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_IntPackedMap_1.ixx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_IntPackedMap_1.jxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_Integer.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_Integer.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_Integer.ixx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_Integer.jxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_IntegerArray.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_IntegerArray.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_IntegerArray.ixx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_IntegerArray.jxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_IntegerArray_1.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_IntegerArray_1.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_IntegerArray_1.ixx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_IntegerArray_1.jxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_IntegerList.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_IntegerList.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_IntegerList.ixx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_IntegerList.jxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_Name.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_Name.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_Name.ixx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_Name.jxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_NamedData.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_NamedData.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_NamedData.ixx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_NamedData.jxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_NoteBook.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_NoteBook.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_NoteBook.ixx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_NoteBook.jxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_Real.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_Real.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_Real.ixx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_Real.jxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_RealArray.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_RealArray.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_RealArray.ixx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_RealArray.jxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_RealArray_1.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_RealArray_1.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_RealArray_1.ixx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_RealArray_1.jxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_RealList.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_RealList.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_RealList.ixx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_RealList.jxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_ReferenceArray.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_ReferenceArray.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_ReferenceArray.ixx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_ReferenceArray.jxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_ReferenceList.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_ReferenceList.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_ReferenceList.ixx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_ReferenceList.jxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_Relation.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_Relation.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_Relation.ixx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_Relation.jxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_Tick.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_Tick.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_Tick.ixx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_Tick.jxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_TreeNode.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_TreeNode.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_TreeNode.ixx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_TreeNode.jxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_UAttribute.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_UAttribute.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_UAttribute.ixx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_UAttribute.jxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_VArrayNodeOfFieldOfHArray1OfByte.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_VArrayNodeOfFieldOfHArray1OfByte_0.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger_0.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal_0.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString_0.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_VArrayTNodeOfFieldOfHArray1OfByte.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_VArrayTNodeOfFieldOfHArray1OfByte_0.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfInteger.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfInteger_0.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfReal.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfReal_0.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_VArrayTNodeOfFieldOfHArray1OfHAsciiString.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_VArrayTNodeOfFieldOfHArray1OfHAsciiString_0.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_Variable.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_Variable.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_Variable.ixx create mode 100644 src/FromOCCT/TKPLCAF/PDataStd_Variable.jxx create mode 100644 src/FromOCCT/TKPLCAF/PDocStd_Document.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDocStd_Document.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDocStd_Document.ixx create mode 100644 src/FromOCCT/TKPLCAF/PDocStd_Document.jxx create mode 100644 src/FromOCCT/TKPLCAF/PDocStd_XLink.cxx create mode 100644 src/FromOCCT/TKPLCAF/PDocStd_XLink.hxx create mode 100644 src/FromOCCT/TKPLCAF/PDocStd_XLink.ixx create mode 100644 src/FromOCCT/TKPLCAF/PDocStd_XLink.jxx create mode 100644 src/FromOCCT/TKPLCAF/PFunction_Function.cxx create mode 100644 src/FromOCCT/TKPLCAF/PFunction_Function.hxx create mode 100644 src/FromOCCT/TKPLCAF/PFunction_Function.ixx create mode 100644 src/FromOCCT/TKPLCAF/PFunction_Function.jxx create mode 100755 src/FromOCCT/TKPShape/CMakeLists.txt create mode 100644 src/FromOCCT/TKPShape/Handle_MgtBRep_TranslateTool.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_MgtBRep_TranslateTool1.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_MgtTopoDS_TranslateTool.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_MgtTopoDS_TranslateTool1.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PBRep_Curve3D.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PBRep_CurveOn2Surfaces.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PBRep_CurveOnClosedSurface.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PBRep_CurveOnSurface.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PBRep_CurveRepresentation.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PBRep_GCurve.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PBRep_PointOnCurve.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PBRep_PointOnCurveOnSurface.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PBRep_PointOnSurface.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PBRep_PointRepresentation.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PBRep_PointsOnSurface.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PBRep_Polygon3D.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PBRep_PolygonOnClosedSurface.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PBRep_PolygonOnClosedTriangulation.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PBRep_PolygonOnSurface.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PBRep_PolygonOnTriangulation.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PBRep_TEdge.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PBRep_TEdge1.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PBRep_TFace.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PBRep_TFace1.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PBRep_TVertex.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PBRep_TVertex1.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PColgp_HArray1OfCirc2d.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PColgp_HArray1OfDir.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PColgp_HArray1OfDir2d.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PColgp_HArray1OfLin2d.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PColgp_HArray1OfPnt.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PColgp_HArray1OfPnt2d.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PColgp_HArray1OfVec.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PColgp_HArray1OfVec2d.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PColgp_HArray1OfXY.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PColgp_HArray1OfXYZ.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PColgp_HArray2OfCirc2d.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PColgp_HArray2OfDir.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PColgp_HArray2OfDir2d.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PColgp_HArray2OfLin2d.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PColgp_HArray2OfPnt.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PColgp_HArray2OfPnt2d.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PColgp_HArray2OfVec.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PColgp_HArray2OfVec2d.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PColgp_HArray2OfXY.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PColgp_HArray2OfXYZ.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PColgp_HSequenceOfDir.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PColgp_HSequenceOfPnt.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PColgp_HSequenceOfVec.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PColgp_HSequenceOfXYZ.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PColgp_SeqNodeOfHSequenceOfDir.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PColgp_SeqNodeOfHSequenceOfPnt.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PColgp_SeqNodeOfHSequenceOfVec.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PColgp_SeqNodeOfHSequenceOfXYZ.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray1OfDir.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray1OfDir2d.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray1OfLin2d.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray1OfPnt.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray1OfVec.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray1OfVec2d.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray1OfXY.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray1OfXYZ.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray2OfDir.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray2OfDir2d.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray2OfLin2d.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray2OfPnt.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray2OfVec.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray2OfVec2d.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray2OfXY.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray2OfXYZ.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom2d_AxisPlacement.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom2d_BSplineCurve.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom2d_BezierCurve.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom2d_BoundedCurve.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom2d_CartesianPoint.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom2d_Circle.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom2d_Conic.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom2d_Curve.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom2d_Direction.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom2d_Ellipse.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom2d_Geometry.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom2d_Hyperbola.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom2d_Line.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom2d_OffsetCurve.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom2d_Parabola.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom2d_Point.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom2d_Transformation.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom2d_TrimmedCurve.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom2d_Vector.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom2d_VectorWithMagnitude.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom_Axis1Placement.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom_Axis2Placement.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom_AxisPlacement.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom_BSplineCurve.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom_BSplineSurface.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom_BezierCurve.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom_BezierSurface.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom_BoundedCurve.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom_BoundedSurface.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom_CartesianPoint.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom_Circle.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom_Conic.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom_ConicalSurface.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom_Curve.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom_CylindricalSurface.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom_Direction.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom_ElementarySurface.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom_Ellipse.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom_Geometry.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom_Hyperbola.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom_Line.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom_OffsetCurve.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom_OffsetSurface.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom_Parabola.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom_Plane.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom_Point.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom_RectangularTrimmedSurface.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom_SphericalSurface.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom_Surface.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom_SurfaceOfLinearExtrusion.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom_SurfaceOfRevolution.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom_SweptSurface.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom_ToroidalSurface.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom_Transformation.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom_TrimmedCurve.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom_Vector.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PGeom_VectorWithMagnitude.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PPoly_HArray1OfTriangle.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PPoly_Polygon2D.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PPoly_Polygon3D.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PPoly_PolygonOnTriangulation.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PPoly_Triangulation.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PPoly_VArrayNodeOfFieldOfHArray1OfTriangle.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PTopLoc_Datum3D.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PTopLoc_ItemLocation.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PTopoDS_CompSolid.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PTopoDS_Compound.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PTopoDS_Edge.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PTopoDS_Face.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PTopoDS_HArray1OfHShape.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PTopoDS_HArray1OfShape1.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PTopoDS_HShape.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PTopoDS_Shell.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PTopoDS_Solid.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PTopoDS_TCompSolid.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PTopoDS_TCompSolid1.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PTopoDS_TCompound.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PTopoDS_TCompound1.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PTopoDS_TEdge.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PTopoDS_TEdge1.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PTopoDS_TFace.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PTopoDS_TFace1.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PTopoDS_TShape.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PTopoDS_TShape1.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PTopoDS_TShell.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PTopoDS_TShell1.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PTopoDS_TSolid.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PTopoDS_TSolid1.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PTopoDS_TVertex.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PTopoDS_TVertex1.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PTopoDS_TWire.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PTopoDS_TWire1.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PTopoDS_Vertex.hxx create mode 100644 src/FromOCCT/TKPShape/Handle_PTopoDS_Wire.hxx create mode 100644 src/FromOCCT/TKPShape/MgtBRep.cxx create mode 100644 src/FromOCCT/TKPShape/MgtBRep.hxx create mode 100644 src/FromOCCT/TKPShape/MgtBRep.ixx create mode 100644 src/FromOCCT/TKPShape/MgtBRep.jxx create mode 100644 src/FromOCCT/TKPShape/MgtBRep_TranslateTool.cxx create mode 100644 src/FromOCCT/TKPShape/MgtBRep_TranslateTool.hxx create mode 100644 src/FromOCCT/TKPShape/MgtBRep_TranslateTool.ixx create mode 100644 src/FromOCCT/TKPShape/MgtBRep_TranslateTool.jxx create mode 100644 src/FromOCCT/TKPShape/MgtBRep_TranslateTool1.cxx create mode 100644 src/FromOCCT/TKPShape/MgtBRep_TranslateTool1.hxx create mode 100644 src/FromOCCT/TKPShape/MgtBRep_TranslateTool1.ixx create mode 100644 src/FromOCCT/TKPShape/MgtBRep_TranslateTool1.jxx create mode 100644 src/FromOCCT/TKPShape/MgtBRep_TriangleMode.hxx create mode 100644 src/FromOCCT/TKPShape/MgtGeom.cxx create mode 100644 src/FromOCCT/TKPShape/MgtGeom.hxx create mode 100644 src/FromOCCT/TKPShape/MgtGeom.ixx create mode 100644 src/FromOCCT/TKPShape/MgtGeom.jxx create mode 100644 src/FromOCCT/TKPShape/MgtGeom2d.cxx create mode 100644 src/FromOCCT/TKPShape/MgtGeom2d.hxx create mode 100644 src/FromOCCT/TKPShape/MgtGeom2d.ixx create mode 100644 src/FromOCCT/TKPShape/MgtGeom2d.jxx create mode 100644 src/FromOCCT/TKPShape/MgtPoly.cxx create mode 100644 src/FromOCCT/TKPShape/MgtPoly.hxx create mode 100644 src/FromOCCT/TKPShape/MgtPoly.ixx create mode 100644 src/FromOCCT/TKPShape/MgtPoly.jxx create mode 100644 src/FromOCCT/TKPShape/MgtTopLoc.cxx create mode 100644 src/FromOCCT/TKPShape/MgtTopLoc.hxx create mode 100644 src/FromOCCT/TKPShape/MgtTopLoc.ixx create mode 100644 src/FromOCCT/TKPShape/MgtTopLoc.jxx create mode 100644 src/FromOCCT/TKPShape/MgtTopoDS.cxx create mode 100644 src/FromOCCT/TKPShape/MgtTopoDS.hxx create mode 100644 src/FromOCCT/TKPShape/MgtTopoDS.ixx create mode 100644 src/FromOCCT/TKPShape/MgtTopoDS.jxx create mode 100644 src/FromOCCT/TKPShape/MgtTopoDS_TranslateTool.cxx create mode 100644 src/FromOCCT/TKPShape/MgtTopoDS_TranslateTool.hxx create mode 100644 src/FromOCCT/TKPShape/MgtTopoDS_TranslateTool.ixx create mode 100644 src/FromOCCT/TKPShape/MgtTopoDS_TranslateTool.jxx create mode 100644 src/FromOCCT/TKPShape/MgtTopoDS_TranslateTool1.cxx create mode 100644 src/FromOCCT/TKPShape/MgtTopoDS_TranslateTool1.hxx create mode 100644 src/FromOCCT/TKPShape/MgtTopoDS_TranslateTool1.ixx create mode 100644 src/FromOCCT/TKPShape/MgtTopoDS_TranslateTool1.jxx create mode 100644 src/FromOCCT/TKPShape/PBRep_Curve3D.cxx create mode 100644 src/FromOCCT/TKPShape/PBRep_Curve3D.hxx create mode 100644 src/FromOCCT/TKPShape/PBRep_Curve3D.ixx create mode 100644 src/FromOCCT/TKPShape/PBRep_Curve3D.jxx create mode 100644 src/FromOCCT/TKPShape/PBRep_CurveOn2Surfaces.cxx create mode 100644 src/FromOCCT/TKPShape/PBRep_CurveOn2Surfaces.hxx create mode 100644 src/FromOCCT/TKPShape/PBRep_CurveOn2Surfaces.ixx create mode 100644 src/FromOCCT/TKPShape/PBRep_CurveOn2Surfaces.jxx create mode 100644 src/FromOCCT/TKPShape/PBRep_CurveOnClosedSurface.cxx create mode 100644 src/FromOCCT/TKPShape/PBRep_CurveOnClosedSurface.hxx create mode 100644 src/FromOCCT/TKPShape/PBRep_CurveOnClosedSurface.ixx create mode 100644 src/FromOCCT/TKPShape/PBRep_CurveOnClosedSurface.jxx create mode 100644 src/FromOCCT/TKPShape/PBRep_CurveOnSurface.cxx create mode 100644 src/FromOCCT/TKPShape/PBRep_CurveOnSurface.hxx create mode 100644 src/FromOCCT/TKPShape/PBRep_CurveOnSurface.ixx create mode 100644 src/FromOCCT/TKPShape/PBRep_CurveOnSurface.jxx create mode 100644 src/FromOCCT/TKPShape/PBRep_CurveRepresentation.cxx create mode 100644 src/FromOCCT/TKPShape/PBRep_CurveRepresentation.hxx create mode 100644 src/FromOCCT/TKPShape/PBRep_CurveRepresentation.ixx create mode 100644 src/FromOCCT/TKPShape/PBRep_CurveRepresentation.jxx create mode 100644 src/FromOCCT/TKPShape/PBRep_GCurve.cxx create mode 100644 src/FromOCCT/TKPShape/PBRep_GCurve.hxx create mode 100644 src/FromOCCT/TKPShape/PBRep_GCurve.ixx create mode 100644 src/FromOCCT/TKPShape/PBRep_GCurve.jxx create mode 100644 src/FromOCCT/TKPShape/PBRep_PointOnCurve.cxx create mode 100644 src/FromOCCT/TKPShape/PBRep_PointOnCurve.hxx create mode 100644 src/FromOCCT/TKPShape/PBRep_PointOnCurve.ixx create mode 100644 src/FromOCCT/TKPShape/PBRep_PointOnCurve.jxx create mode 100644 src/FromOCCT/TKPShape/PBRep_PointOnCurveOnSurface.cxx create mode 100644 src/FromOCCT/TKPShape/PBRep_PointOnCurveOnSurface.hxx create mode 100644 src/FromOCCT/TKPShape/PBRep_PointOnCurveOnSurface.ixx create mode 100644 src/FromOCCT/TKPShape/PBRep_PointOnCurveOnSurface.jxx create mode 100644 src/FromOCCT/TKPShape/PBRep_PointOnSurface.cxx create mode 100644 src/FromOCCT/TKPShape/PBRep_PointOnSurface.hxx create mode 100644 src/FromOCCT/TKPShape/PBRep_PointOnSurface.ixx create mode 100644 src/FromOCCT/TKPShape/PBRep_PointOnSurface.jxx create mode 100644 src/FromOCCT/TKPShape/PBRep_PointRepresentation.cxx create mode 100644 src/FromOCCT/TKPShape/PBRep_PointRepresentation.hxx create mode 100644 src/FromOCCT/TKPShape/PBRep_PointRepresentation.ixx create mode 100644 src/FromOCCT/TKPShape/PBRep_PointRepresentation.jxx create mode 100644 src/FromOCCT/TKPShape/PBRep_PointsOnSurface.cxx create mode 100644 src/FromOCCT/TKPShape/PBRep_PointsOnSurface.hxx create mode 100644 src/FromOCCT/TKPShape/PBRep_PointsOnSurface.ixx create mode 100644 src/FromOCCT/TKPShape/PBRep_PointsOnSurface.jxx create mode 100644 src/FromOCCT/TKPShape/PBRep_Polygon3D.cxx create mode 100644 src/FromOCCT/TKPShape/PBRep_Polygon3D.hxx create mode 100644 src/FromOCCT/TKPShape/PBRep_Polygon3D.ixx create mode 100644 src/FromOCCT/TKPShape/PBRep_Polygon3D.jxx create mode 100644 src/FromOCCT/TKPShape/PBRep_PolygonOnClosedSurface.cxx create mode 100644 src/FromOCCT/TKPShape/PBRep_PolygonOnClosedSurface.hxx create mode 100644 src/FromOCCT/TKPShape/PBRep_PolygonOnClosedSurface.ixx create mode 100644 src/FromOCCT/TKPShape/PBRep_PolygonOnClosedSurface.jxx create mode 100644 src/FromOCCT/TKPShape/PBRep_PolygonOnClosedTriangulation.cxx create mode 100644 src/FromOCCT/TKPShape/PBRep_PolygonOnClosedTriangulation.hxx create mode 100644 src/FromOCCT/TKPShape/PBRep_PolygonOnClosedTriangulation.ixx create mode 100644 src/FromOCCT/TKPShape/PBRep_PolygonOnClosedTriangulation.jxx create mode 100644 src/FromOCCT/TKPShape/PBRep_PolygonOnSurface.cxx create mode 100644 src/FromOCCT/TKPShape/PBRep_PolygonOnSurface.hxx create mode 100644 src/FromOCCT/TKPShape/PBRep_PolygonOnSurface.ixx create mode 100644 src/FromOCCT/TKPShape/PBRep_PolygonOnSurface.jxx create mode 100644 src/FromOCCT/TKPShape/PBRep_PolygonOnTriangulation.cxx create mode 100644 src/FromOCCT/TKPShape/PBRep_PolygonOnTriangulation.hxx create mode 100644 src/FromOCCT/TKPShape/PBRep_PolygonOnTriangulation.ixx create mode 100644 src/FromOCCT/TKPShape/PBRep_PolygonOnTriangulation.jxx create mode 100644 src/FromOCCT/TKPShape/PBRep_TEdge.cxx create mode 100644 src/FromOCCT/TKPShape/PBRep_TEdge.hxx create mode 100644 src/FromOCCT/TKPShape/PBRep_TEdge.ixx create mode 100644 src/FromOCCT/TKPShape/PBRep_TEdge.jxx create mode 100644 src/FromOCCT/TKPShape/PBRep_TEdge1.cxx create mode 100644 src/FromOCCT/TKPShape/PBRep_TEdge1.hxx create mode 100644 src/FromOCCT/TKPShape/PBRep_TEdge1.ixx create mode 100644 src/FromOCCT/TKPShape/PBRep_TEdge1.jxx create mode 100644 src/FromOCCT/TKPShape/PBRep_TFace.cxx create mode 100644 src/FromOCCT/TKPShape/PBRep_TFace.hxx create mode 100644 src/FromOCCT/TKPShape/PBRep_TFace.ixx create mode 100644 src/FromOCCT/TKPShape/PBRep_TFace.jxx create mode 100644 src/FromOCCT/TKPShape/PBRep_TFace1.cxx create mode 100644 src/FromOCCT/TKPShape/PBRep_TFace1.hxx create mode 100644 src/FromOCCT/TKPShape/PBRep_TFace1.ixx create mode 100644 src/FromOCCT/TKPShape/PBRep_TFace1.jxx create mode 100644 src/FromOCCT/TKPShape/PBRep_TVertex.cxx create mode 100644 src/FromOCCT/TKPShape/PBRep_TVertex.hxx create mode 100644 src/FromOCCT/TKPShape/PBRep_TVertex.ixx create mode 100644 src/FromOCCT/TKPShape/PBRep_TVertex.jxx create mode 100644 src/FromOCCT/TKPShape/PBRep_TVertex1.cxx create mode 100644 src/FromOCCT/TKPShape/PBRep_TVertex1.hxx create mode 100644 src/FromOCCT/TKPShape/PBRep_TVertex1.ixx create mode 100644 src/FromOCCT/TKPShape/PBRep_TVertex1.jxx create mode 100644 src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfCirc2d.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfCirc2d_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfDir.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfDir2d.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfDir2d_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfDir_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfLin2d.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfLin2d_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfPnt.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfPnt2d.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfPnt2d_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfPnt_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfVec.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfVec2d.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfVec2d_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfVec_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfXY.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfXYZ.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfXYZ_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfXY_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfCirc2d.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfCirc2d_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfDir.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfDir2d.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfDir2d_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfDir_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfLin2d.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfLin2d_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfPnt.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfPnt2d.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfPnt2d_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfPnt_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfVec.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfVec2d.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfVec2d_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfVec_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfXY.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfXYZ.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfXYZ_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfXY_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_HArray1OfCirc2d.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_HArray1OfCirc2d_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_HArray1OfDir.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_HArray1OfDir2d.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_HArray1OfDir2d_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_HArray1OfDir_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_HArray1OfLin2d.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_HArray1OfLin2d_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_HArray1OfPnt.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_HArray1OfPnt2d.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_HArray1OfPnt2d_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_HArray1OfPnt_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_HArray1OfVec.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_HArray1OfVec2d.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_HArray1OfVec2d_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_HArray1OfVec_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_HArray1OfXY.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_HArray1OfXYZ.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_HArray1OfXYZ_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_HArray1OfXY_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_HArray2OfCirc2d.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_HArray2OfCirc2d_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_HArray2OfDir.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_HArray2OfDir2d.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_HArray2OfDir2d_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_HArray2OfDir_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_HArray2OfLin2d.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_HArray2OfLin2d_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_HArray2OfPnt.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_HArray2OfPnt2d.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_HArray2OfPnt2d_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_HArray2OfPnt_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_HArray2OfVec.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_HArray2OfVec2d.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_HArray2OfVec2d_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_HArray2OfVec_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_HArray2OfXY.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_HArray2OfXYZ.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_HArray2OfXYZ_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_HArray2OfXY_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_HSequenceOfDir.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_HSequenceOfDir_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_HSequenceOfPnt.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_HSequenceOfPnt_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_HSequenceOfVec.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_HSequenceOfVec_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_HSequenceOfXYZ.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_HSequenceOfXYZ_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_SeqExplorerOfHSequenceOfDir.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_SeqExplorerOfHSequenceOfDir_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_SeqExplorerOfHSequenceOfPnt.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_SeqExplorerOfHSequenceOfPnt_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_SeqExplorerOfHSequenceOfVec.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_SeqExplorerOfHSequenceOfVec_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_SeqExplorerOfHSequenceOfXYZ.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_SeqExplorerOfHSequenceOfXYZ_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_SeqNodeOfHSequenceOfDir.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_SeqNodeOfHSequenceOfDir_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_SeqNodeOfHSequenceOfPnt.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_SeqNodeOfHSequenceOfPnt_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_SeqNodeOfHSequenceOfVec.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_SeqNodeOfHSequenceOfVec_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_SeqNodeOfHSequenceOfXYZ.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_SeqNodeOfHSequenceOfXYZ_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfDir.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfDir2d.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfDir2d_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfDir_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfLin2d.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfLin2d_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfPnt.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfPnt_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfVec.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfVec2d.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfVec2d_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfVec_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfXY.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfXYZ.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfXYZ_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfXY_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfDir.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfDir2d.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfDir2d_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfDir_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfLin2d.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfLin2d_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfPnt.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfPnt_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfVec.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfVec2d.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfVec2d_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfVec_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfXY.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfXYZ.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfXYZ_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfXY_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfCirc2d.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfCirc2d_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfDir.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfDir2d.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfDir2d_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfDir_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfLin2d.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfLin2d_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfPnt.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfPnt2d.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfPnt2d_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfPnt_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfVec.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfVec2d.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfVec2d_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfVec_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfXY.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfXYZ.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfXYZ_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfXY_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfCirc2d.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfCirc2d_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfDir.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfDir2d.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfDir2d_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfDir_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfLin2d.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfLin2d_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfPnt.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfPnt2d.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfPnt2d_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfPnt_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfVec.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfVec2d.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfVec2d_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfVec_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfXY.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfXYZ.hxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfXYZ_0.cxx create mode 100644 src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfXY_0.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_AxisPlacement.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_AxisPlacement.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_AxisPlacement.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_AxisPlacement.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_BSplineCurve.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_BSplineCurve.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_BSplineCurve.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_BSplineCurve.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_BezierCurve.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_BezierCurve.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_BezierCurve.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_BezierCurve.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_BoundedCurve.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_BoundedCurve.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_BoundedCurve.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_BoundedCurve.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_CartesianPoint.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_CartesianPoint.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_CartesianPoint.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_CartesianPoint.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_Circle.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_Circle.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_Circle.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_Circle.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_Conic.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_Conic.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_Conic.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_Conic.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_Curve.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_Curve.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_Curve.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_Curve.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_Direction.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_Direction.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_Direction.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_Direction.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_Ellipse.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_Ellipse.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_Ellipse.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_Ellipse.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_Geometry.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_Geometry.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_Geometry.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_Geometry.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_Hyperbola.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_Hyperbola.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_Hyperbola.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_Hyperbola.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_Line.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_Line.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_Line.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_Line.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_OffsetCurve.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_OffsetCurve.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_OffsetCurve.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_OffsetCurve.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_Parabola.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_Parabola.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_Parabola.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_Parabola.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_Point.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_Point.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_Point.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_Point.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_Transformation.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_Transformation.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_Transformation.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_Transformation.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_TrimmedCurve.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_TrimmedCurve.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_TrimmedCurve.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_TrimmedCurve.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_Vector.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_Vector.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_Vector.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_Vector.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_VectorWithMagnitude.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_VectorWithMagnitude.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_VectorWithMagnitude.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom2d_VectorWithMagnitude.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom_Axis1Placement.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom_Axis1Placement.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom_Axis1Placement.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom_Axis1Placement.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom_Axis2Placement.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom_Axis2Placement.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom_Axis2Placement.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom_Axis2Placement.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom_AxisPlacement.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom_AxisPlacement.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom_AxisPlacement.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom_AxisPlacement.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom_BSplineCurve.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom_BSplineCurve.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom_BSplineCurve.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom_BSplineCurve.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom_BSplineSurface.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom_BSplineSurface.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom_BSplineSurface.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom_BSplineSurface.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom_BezierCurve.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom_BezierCurve.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom_BezierCurve.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom_BezierCurve.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom_BezierSurface.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom_BezierSurface.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom_BezierSurface.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom_BezierSurface.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom_BoundedCurve.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom_BoundedCurve.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom_BoundedCurve.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom_BoundedCurve.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom_BoundedSurface.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom_BoundedSurface.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom_BoundedSurface.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom_BoundedSurface.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom_CartesianPoint.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom_CartesianPoint.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom_CartesianPoint.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom_CartesianPoint.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom_Circle.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom_Circle.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom_Circle.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom_Circle.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom_Conic.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom_Conic.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom_Conic.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom_Conic.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom_ConicalSurface.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom_ConicalSurface.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom_ConicalSurface.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom_ConicalSurface.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom_Curve.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom_Curve.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom_Curve.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom_Curve.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom_CylindricalSurface.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom_CylindricalSurface.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom_CylindricalSurface.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom_CylindricalSurface.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom_Direction.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom_Direction.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom_Direction.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom_Direction.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom_ElementarySurface.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom_ElementarySurface.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom_ElementarySurface.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom_ElementarySurface.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom_Ellipse.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom_Ellipse.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom_Ellipse.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom_Ellipse.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom_Geometry.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom_Geometry.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom_Geometry.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom_Geometry.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom_Hyperbola.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom_Hyperbola.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom_Hyperbola.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom_Hyperbola.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom_Line.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom_Line.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom_Line.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom_Line.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom_OffsetCurve.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom_OffsetCurve.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom_OffsetCurve.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom_OffsetCurve.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom_OffsetSurface.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom_OffsetSurface.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom_OffsetSurface.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom_OffsetSurface.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom_Parabola.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom_Parabola.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom_Parabola.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom_Parabola.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom_Plane.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom_Plane.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom_Plane.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom_Plane.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom_Point.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom_Point.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom_Point.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom_Point.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom_RectangularTrimmedSurface.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom_RectangularTrimmedSurface.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom_RectangularTrimmedSurface.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom_RectangularTrimmedSurface.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom_SphericalSurface.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom_SphericalSurface.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom_SphericalSurface.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom_SphericalSurface.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom_Surface.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom_Surface.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom_Surface.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom_Surface.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom_SurfaceOfLinearExtrusion.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom_SurfaceOfLinearExtrusion.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom_SurfaceOfLinearExtrusion.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom_SurfaceOfLinearExtrusion.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom_SurfaceOfRevolution.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom_SurfaceOfRevolution.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom_SurfaceOfRevolution.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom_SurfaceOfRevolution.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom_SweptSurface.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom_SweptSurface.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom_SweptSurface.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom_SweptSurface.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom_ToroidalSurface.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom_ToroidalSurface.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom_ToroidalSurface.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom_ToroidalSurface.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom_Transformation.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom_Transformation.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom_Transformation.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom_Transformation.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom_TrimmedCurve.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom_TrimmedCurve.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom_TrimmedCurve.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom_TrimmedCurve.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom_Vector.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom_Vector.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom_Vector.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom_Vector.jxx create mode 100644 src/FromOCCT/TKPShape/PGeom_VectorWithMagnitude.cxx create mode 100644 src/FromOCCT/TKPShape/PGeom_VectorWithMagnitude.hxx create mode 100644 src/FromOCCT/TKPShape/PGeom_VectorWithMagnitude.ixx create mode 100644 src/FromOCCT/TKPShape/PGeom_VectorWithMagnitude.jxx create mode 100644 src/FromOCCT/TKPShape/PPoly_FieldOfHArray1OfTriangle.hxx create mode 100644 src/FromOCCT/TKPShape/PPoly_FieldOfHArray1OfTriangle_0.cxx create mode 100644 src/FromOCCT/TKPShape/PPoly_HArray1OfTriangle.hxx create mode 100644 src/FromOCCT/TKPShape/PPoly_HArray1OfTriangle_0.cxx create mode 100644 src/FromOCCT/TKPShape/PPoly_Polygon2D.cxx create mode 100644 src/FromOCCT/TKPShape/PPoly_Polygon2D.hxx create mode 100644 src/FromOCCT/TKPShape/PPoly_Polygon2D.ixx create mode 100644 src/FromOCCT/TKPShape/PPoly_Polygon2D.jxx create mode 100644 src/FromOCCT/TKPShape/PPoly_Polygon3D.cxx create mode 100644 src/FromOCCT/TKPShape/PPoly_Polygon3D.hxx create mode 100644 src/FromOCCT/TKPShape/PPoly_Polygon3D.ixx create mode 100644 src/FromOCCT/TKPShape/PPoly_Polygon3D.jxx create mode 100644 src/FromOCCT/TKPShape/PPoly_PolygonOnTriangulation.cxx create mode 100644 src/FromOCCT/TKPShape/PPoly_PolygonOnTriangulation.hxx create mode 100644 src/FromOCCT/TKPShape/PPoly_PolygonOnTriangulation.ixx create mode 100644 src/FromOCCT/TKPShape/PPoly_PolygonOnTriangulation.jxx create mode 100644 src/FromOCCT/TKPShape/PPoly_Triangle.cxx create mode 100644 src/FromOCCT/TKPShape/PPoly_Triangle.hxx create mode 100644 src/FromOCCT/TKPShape/PPoly_Triangle.ixx create mode 100644 src/FromOCCT/TKPShape/PPoly_Triangle.jxx create mode 100644 src/FromOCCT/TKPShape/PPoly_Triangulation.cxx create mode 100644 src/FromOCCT/TKPShape/PPoly_Triangulation.hxx create mode 100644 src/FromOCCT/TKPShape/PPoly_Triangulation.ixx create mode 100644 src/FromOCCT/TKPShape/PPoly_Triangulation.jxx create mode 100644 src/FromOCCT/TKPShape/PPoly_VArrayNodeOfFieldOfHArray1OfTriangle.hxx create mode 100644 src/FromOCCT/TKPShape/PPoly_VArrayNodeOfFieldOfHArray1OfTriangle_0.cxx create mode 100644 src/FromOCCT/TKPShape/PPoly_VArrayTNodeOfFieldOfHArray1OfTriangle.hxx create mode 100644 src/FromOCCT/TKPShape/PPoly_VArrayTNodeOfFieldOfHArray1OfTriangle_0.cxx create mode 100644 src/FromOCCT/TKPShape/PTopLoc_Datum3D.cxx create mode 100644 src/FromOCCT/TKPShape/PTopLoc_Datum3D.hxx create mode 100644 src/FromOCCT/TKPShape/PTopLoc_Datum3D.ixx create mode 100644 src/FromOCCT/TKPShape/PTopLoc_Datum3D.jxx create mode 100644 src/FromOCCT/TKPShape/PTopLoc_ItemLocation.cxx create mode 100644 src/FromOCCT/TKPShape/PTopLoc_ItemLocation.hxx create mode 100644 src/FromOCCT/TKPShape/PTopLoc_ItemLocation.ixx create mode 100644 src/FromOCCT/TKPShape/PTopLoc_ItemLocation.jxx create mode 100644 src/FromOCCT/TKPShape/PTopLoc_Location.cxx create mode 100644 src/FromOCCT/TKPShape/PTopLoc_Location.hxx create mode 100644 src/FromOCCT/TKPShape/PTopLoc_Location.ixx create mode 100644 src/FromOCCT/TKPShape/PTopLoc_Location.jxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_CompSolid.cxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_CompSolid.hxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_CompSolid.ixx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_CompSolid.jxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_Compound.cxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_Compound.hxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_Compound.ixx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_Compound.jxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_Edge.cxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_Edge.hxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_Edge.ixx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_Edge.jxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_Face.cxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_Face.hxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_Face.ixx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_Face.jxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_FieldOfHArray1OfHShape.hxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_FieldOfHArray1OfHShape_0.cxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_FieldOfHArray1OfShape1.hxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_FieldOfHArray1OfShape1_0.cxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_HArray1OfHShape.hxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_HArray1OfHShape_0.cxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_HArray1OfShape1.hxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_HArray1OfShape1_0.cxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_HShape.cxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_HShape.hxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_HShape.ixx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_HShape.jxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_Shape1.cxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_Shape1.hxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_Shape1.ixx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_Shape1.jxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_Shell.cxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_Shell.hxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_Shell.ixx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_Shell.jxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_Solid.cxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_Solid.hxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_Solid.ixx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_Solid.jxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TCompSolid.cxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TCompSolid.hxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TCompSolid.ixx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TCompSolid.jxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TCompSolid1.cxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TCompSolid1.hxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TCompSolid1.ixx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TCompSolid1.jxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TCompound.cxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TCompound.hxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TCompound.ixx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TCompound.jxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TCompound1.cxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TCompound1.hxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TCompound1.ixx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TCompound1.jxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TEdge.cxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TEdge.hxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TEdge.ixx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TEdge.jxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TEdge1.cxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TEdge1.hxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TEdge1.ixx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TEdge1.jxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TFace.cxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TFace.hxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TFace.ixx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TFace.jxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TFace1.cxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TFace1.hxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TFace1.ixx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TFace1.jxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TShape.cxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TShape.hxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TShape.ixx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TShape.jxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TShape1.cxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TShape1.hxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TShape1.ixx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TShape1.jxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TShell.cxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TShell.hxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TShell.ixx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TShell.jxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TShell1.cxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TShell1.hxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TShell1.ixx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TShell1.jxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TSolid.cxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TSolid.hxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TSolid.ixx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TSolid.jxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TSolid1.cxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TSolid1.hxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TSolid1.ixx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TSolid1.jxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TVertex.cxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TVertex.hxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TVertex.ixx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TVertex.jxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TVertex1.cxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TVertex1.hxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TVertex1.ixx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TVertex1.jxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TWire.cxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TWire.hxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TWire.ixx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TWire.jxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TWire1.cxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TWire1.hxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TWire1.ixx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_TWire1.jxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape.hxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape_0.cxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1.hxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1_0.cxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_VArrayTNodeOfFieldOfHArray1OfHShape.hxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_VArrayTNodeOfFieldOfHArray1OfHShape_0.cxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_VArrayTNodeOfFieldOfHArray1OfShape1.hxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_VArrayTNodeOfFieldOfHArray1OfShape1_0.cxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_Vertex.cxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_Vertex.hxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_Vertex.ixx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_Vertex.jxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_Wire.cxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_Wire.hxx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_Wire.ixx create mode 100644 src/FromOCCT/TKPShape/PTopoDS_Wire.jxx create mode 100755 src/FromOCCT/TKShapeSchema/CMakeLists.txt create mode 100644 src/FromOCCT/TKShapeSchema/Handle_PCDMShape_Document.hxx create mode 100644 src/FromOCCT/TKShapeSchema/PCDMShape_Document.cxx create mode 100644 src/FromOCCT/TKShapeSchema/PCDMShape_Document.hxx create mode 100644 src/FromOCCT/TKShapeSchema/PCDMShape_Document.ixx create mode 100644 src/FromOCCT/TKShapeSchema/PCDMShape_Document.jxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_DBC_VArrayOfCharacter.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_DBC_VArrayOfCharacter.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_DBC_VArrayOfCharacter.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_DBC_VArrayOfExtCharacter.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_DBC_VArrayOfExtCharacter.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_DBC_VArrayOfExtCharacter.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_ObjMgt_ExternRef.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_ObjMgt_ExternRef.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_ObjMgt_ExternRef.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_ObjMgt_ExternShareable.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_ObjMgt_ExternShareable.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_ObjMgt_ExternShareable.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_ObjMgt_PSeqOfExtRef.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_ObjMgt_PSeqOfExtRef.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_ObjMgt_PSeqOfExtRef.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_ObjMgt_SeqNodeOfPSeqOfExtRef.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_ObjMgt_SeqNodeOfPSeqOfExtRef.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_ObjMgt_SeqNodeOfPSeqOfExtRef.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_Curve3D.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_Curve3D.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_Curve3D.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_CurveOn2Surfaces.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_CurveOn2Surfaces.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_CurveOn2Surfaces.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_CurveOnClosedSurface.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_CurveOnClosedSurface.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_CurveOnClosedSurface.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_CurveOnSurface.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_CurveOnSurface.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_CurveOnSurface.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_CurveRepresentation.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_CurveRepresentation.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_CurveRepresentation.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_GCurve.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_GCurve.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_GCurve.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointOnCurve.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointOnCurve.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointOnCurve.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointOnCurveOnSurface.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointOnCurveOnSurface.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointOnCurveOnSurface.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointOnSurface.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointOnSurface.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointOnSurface.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointRepresentation.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointRepresentation.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointRepresentation.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointsOnSurface.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointsOnSurface.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointsOnSurface.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_Polygon3D.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_Polygon3D.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_Polygon3D.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PolygonOnClosedSurface.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PolygonOnClosedSurface.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PolygonOnClosedSurface.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PolygonOnClosedTriangulation.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PolygonOnClosedTriangulation.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PolygonOnClosedTriangulation.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PolygonOnSurface.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PolygonOnSurface.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PolygonOnSurface.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PolygonOnTriangulation.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PolygonOnTriangulation.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PolygonOnTriangulation.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TEdge.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TEdge.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TEdge.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TEdge1.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TEdge1.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TEdge1.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TFace.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TFace.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TFace.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TFace1.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TFace1.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TFace1.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TVertex.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TVertex.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TVertex.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TVertex1.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TVertex1.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TVertex1.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PCDMShape_Document.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PCDMShape_Document.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PCDMShape_Document.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PCDM_Document.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PCDM_Document.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PCDM_Document.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_FieldOfHArray1OfInteger.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_FieldOfHArray1OfInteger.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_FieldOfHArray1OfInteger.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_FieldOfHArray1OfReal.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_FieldOfHArray1OfReal.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_FieldOfHArray1OfReal.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_FieldOfHArray2OfReal.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_FieldOfHArray2OfReal.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_FieldOfHArray2OfReal.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_HArray1OfInteger.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_HArray1OfInteger.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_HArray1OfInteger.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_HArray1OfReal.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_HArray1OfReal.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_HArray1OfReal.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_HArray2OfReal.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_HArray2OfReal.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_HArray2OfReal.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfCirc2d.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfCirc2d.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfCirc2d.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfDir.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfDir.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfDir.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfDir2d.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfDir2d.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfDir2d.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfLin2d.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfLin2d.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfLin2d.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfPnt.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfPnt.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfPnt.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfPnt2d.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfPnt2d.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfPnt2d.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfVec.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfVec.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfVec.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfVec2d.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfVec2d.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfVec2d.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfXY.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfXY.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfXY.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfXYZ.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfXYZ.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfXYZ.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfCirc2d.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfCirc2d.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfCirc2d.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfDir.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfDir.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfDir.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfDir2d.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfDir2d.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfDir2d.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfLin2d.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfLin2d.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfLin2d.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfPnt.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfPnt.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfPnt.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfPnt2d.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfPnt2d.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfPnt2d.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfVec.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfVec.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfVec.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfVec2d.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfVec2d.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfVec2d.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfXY.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfXY.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfXY.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfXYZ.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfXYZ.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfXYZ.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfCirc2d.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfCirc2d.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfCirc2d.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfDir.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfDir.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfDir.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfDir2d.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfDir2d.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfDir2d.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfLin2d.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfLin2d.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfLin2d.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfPnt.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfPnt.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfPnt.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfPnt2d.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfPnt2d.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfPnt2d.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfVec.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfVec.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfVec.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfVec2d.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfVec2d.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfVec2d.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfXY.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfXY.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfXY.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfXYZ.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfXYZ.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfXYZ.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfCirc2d.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfCirc2d.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfCirc2d.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfDir.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfDir.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfDir.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfDir2d.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfDir2d.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfDir2d.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfLin2d.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfLin2d.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfLin2d.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfPnt.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfPnt.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfPnt.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfPnt2d.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfPnt2d.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfPnt2d.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfVec.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfVec.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfVec.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfVec2d.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfVec2d.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfVec2d.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfXY.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfXY.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfXY.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfXYZ.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfXYZ.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfXYZ.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HSequenceOfDir.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HSequenceOfDir.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HSequenceOfDir.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HSequenceOfPnt.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HSequenceOfPnt.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HSequenceOfPnt.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HSequenceOfVec.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HSequenceOfVec.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HSequenceOfVec.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HSequenceOfXYZ.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HSequenceOfXYZ.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HSequenceOfXYZ.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_SeqNodeOfHSequenceOfDir.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_SeqNodeOfHSequenceOfDir.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_SeqNodeOfHSequenceOfDir.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_SeqNodeOfHSequenceOfPnt.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_SeqNodeOfHSequenceOfPnt.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_SeqNodeOfHSequenceOfPnt.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_SeqNodeOfHSequenceOfVec.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_SeqNodeOfHSequenceOfVec.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_SeqNodeOfHSequenceOfVec.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_SeqNodeOfHSequenceOfXYZ.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_SeqNodeOfHSequenceOfXYZ.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_SeqNodeOfHSequenceOfXYZ.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PCollection_HAsciiString.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PCollection_HAsciiString.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PCollection_HAsciiString.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PCollection_HExtendedString.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PCollection_HExtendedString.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PCollection_HExtendedString.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_AxisPlacement.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_AxisPlacement.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_AxisPlacement.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_BSplineCurve.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_BSplineCurve.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_BSplineCurve.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_BezierCurve.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_BezierCurve.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_BezierCurve.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_BoundedCurve.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_BoundedCurve.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_BoundedCurve.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_CartesianPoint.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_CartesianPoint.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_CartesianPoint.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Circle.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Circle.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Circle.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Conic.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Conic.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Conic.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Curve.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Curve.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Curve.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Direction.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Direction.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Direction.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Ellipse.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Ellipse.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Ellipse.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Geometry.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Geometry.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Geometry.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Hyperbola.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Hyperbola.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Hyperbola.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Line.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Line.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Line.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_OffsetCurve.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_OffsetCurve.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_OffsetCurve.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Parabola.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Parabola.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Parabola.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Point.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Point.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Point.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Transformation.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Transformation.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Transformation.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_TrimmedCurve.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_TrimmedCurve.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_TrimmedCurve.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Vector.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Vector.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Vector.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_VectorWithMagnitude.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_VectorWithMagnitude.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_VectorWithMagnitude.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Axis1Placement.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Axis1Placement.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Axis1Placement.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Axis2Placement.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Axis2Placement.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Axis2Placement.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_AxisPlacement.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_AxisPlacement.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_AxisPlacement.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BSplineCurve.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BSplineCurve.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BSplineCurve.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BSplineSurface.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BSplineSurface.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BSplineSurface.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BezierCurve.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BezierCurve.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BezierCurve.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BezierSurface.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BezierSurface.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BezierSurface.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BoundedCurve.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BoundedCurve.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BoundedCurve.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BoundedSurface.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BoundedSurface.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BoundedSurface.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_CartesianPoint.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_CartesianPoint.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_CartesianPoint.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Circle.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Circle.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Circle.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Conic.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Conic.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Conic.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_ConicalSurface.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_ConicalSurface.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_ConicalSurface.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Curve.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Curve.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Curve.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_CylindricalSurface.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_CylindricalSurface.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_CylindricalSurface.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Direction.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Direction.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Direction.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_ElementarySurface.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_ElementarySurface.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_ElementarySurface.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Ellipse.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Ellipse.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Ellipse.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Geometry.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Geometry.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Geometry.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Hyperbola.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Hyperbola.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Hyperbola.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Line.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Line.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Line.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_OffsetCurve.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_OffsetCurve.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_OffsetCurve.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_OffsetSurface.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_OffsetSurface.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_OffsetSurface.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Parabola.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Parabola.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Parabola.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Plane.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Plane.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Plane.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Point.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Point.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Point.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_RectangularTrimmedSurface.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_RectangularTrimmedSurface.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_RectangularTrimmedSurface.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_SphericalSurface.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_SphericalSurface.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_SphericalSurface.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Surface.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Surface.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Surface.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_SurfaceOfLinearExtrusion.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_SurfaceOfLinearExtrusion.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_SurfaceOfLinearExtrusion.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_SurfaceOfRevolution.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_SurfaceOfRevolution.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_SurfaceOfRevolution.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_SweptSurface.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_SweptSurface.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_SweptSurface.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_ToroidalSurface.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_ToroidalSurface.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_ToroidalSurface.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Transformation.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Transformation.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Transformation.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_TrimmedCurve.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_TrimmedCurve.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_TrimmedCurve.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Vector.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Vector.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Vector.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_VectorWithMagnitude.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_VectorWithMagnitude.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_VectorWithMagnitude.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PMMgt_PManaged.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PMMgt_PManaged.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PMMgt_PManaged.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_FieldOfHArray1OfTriangle.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_FieldOfHArray1OfTriangle.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_FieldOfHArray1OfTriangle.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_HArray1OfTriangle.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_HArray1OfTriangle.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_HArray1OfTriangle.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_Polygon2D.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_Polygon2D.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_Polygon2D.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_Polygon3D.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_Polygon3D.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_Polygon3D.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_PolygonOnTriangulation.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_PolygonOnTriangulation.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_PolygonOnTriangulation.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_Triangle.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_Triangle.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_Triangle.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_Triangulation.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_Triangulation.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_Triangulation.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopLoc_Datum3D.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopLoc_Datum3D.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopLoc_Datum3D.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopLoc_ItemLocation.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopLoc_ItemLocation.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopLoc_ItemLocation.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopLoc_Location.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopLoc_Location.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopLoc_Location.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_CompSolid.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_CompSolid.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_CompSolid.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Compound.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Compound.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Compound.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Edge.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Edge.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Edge.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Face.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Face.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Face.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_FieldOfHArray1OfHShape.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_FieldOfHArray1OfHShape.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_FieldOfHArray1OfHShape.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_FieldOfHArray1OfShape1.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_FieldOfHArray1OfShape1.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_FieldOfHArray1OfShape1.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_HArray1OfHShape.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_HArray1OfHShape.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_HArray1OfHShape.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_HArray1OfShape1.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_HArray1OfShape1.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_HArray1OfShape1.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_HShape.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_HShape.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_HShape.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Shape1.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Shape1.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Shape1.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Shell.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Shell.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Shell.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Solid.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Solid.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Solid.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TCompSolid.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TCompSolid.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TCompSolid.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TCompSolid1.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TCompSolid1.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TCompSolid1.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TCompound.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TCompound.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TCompound.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TCompound1.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TCompound1.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TCompound1.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TEdge.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TEdge.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TEdge.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TEdge1.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TEdge1.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TEdge1.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TFace.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TFace.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TFace.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TFace1.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TFace1.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TFace1.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TShape.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TShape.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TShape.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TShape1.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TShape1.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TShape1.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TShell.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TShell.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TShell.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TShell1.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TShell1.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TShell1.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TSolid.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TSolid.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TSolid.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TSolid1.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TSolid1.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TSolid1.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TVertex.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TVertex.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TVertex.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TVertex1.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TVertex1.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TVertex1.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TWire.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TWire.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TWire.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TWire1.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TWire1.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TWire1.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Vertex.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Vertex.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Vertex.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Wire.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Wire.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Wire.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_Standard_Persistent.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_Standard_Persistent.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_Standard_Persistent.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax1.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax1.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax1.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax2.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax2.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax2.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax22d.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax22d.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax22d.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax2d.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax2d.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax2d.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax3.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax3.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax3.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Circ2d.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Circ2d.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Circ2d.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Dir.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Dir.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Dir.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Dir2d.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Dir2d.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Dir2d.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Lin2d.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Lin2d.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Lin2d.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Mat.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Mat.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Mat.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Mat2d.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Mat2d.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Mat2d.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Pnt.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Pnt.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Pnt.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Pnt2d.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Pnt2d.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Pnt2d.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Trsf.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Trsf.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Trsf.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Trsf2d.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Trsf2d.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Trsf2d.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Vec.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Vec.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Vec.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Vec2d.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Vec2d.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Vec2d.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_XY.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_XY.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_XY.ixx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_XYZ.cxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_XYZ.hxx create mode 100644 src/FromOCCT/TKShapeSchema/ShapeSchema_gp_XYZ.ixx create mode 100755 src/FromOCCT/TKStdLSchema/CMakeLists.txt create mode 100644 src/FromOCCT/TKStdLSchema/Handle_StdLDrivers_DocumentRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKStdLSchema/Handle_StdLDrivers_DocumentStorageDriver.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLDrivers.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLDrivers.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLDrivers.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLDrivers.jxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLDrivers_DocumentRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLDrivers_DocumentRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLDrivers_DocumentRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLDrivers_DocumentRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLDrivers_DocumentStorageDriver.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLDrivers_DocumentStorageDriver.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLDrivers_DocumentStorageDriver.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLDrivers_DocumentStorageDriver.jxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_DBC_VArrayOfCharacter.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_DBC_VArrayOfCharacter.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_DBC_VArrayOfCharacter.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_DBC_VArrayOfExtCharacter.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_DBC_VArrayOfExtCharacter.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_DBC_VArrayOfExtCharacter.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PCDM_Document.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PCDM_Document.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PCDM_Document.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_FieldOfHArray1OfExtendedString.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_FieldOfHArray1OfExtendedString.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_FieldOfHArray1OfExtendedString.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_FieldOfHArray1OfInteger.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_FieldOfHArray1OfInteger.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_FieldOfHArray1OfInteger.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_FieldOfHArray1OfReal.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_FieldOfHArray1OfReal.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_FieldOfHArray1OfReal.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_FieldOfHArray2OfInteger.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_FieldOfHArray2OfInteger.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_FieldOfHArray2OfInteger.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_HArray1OfExtendedString.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_HArray1OfExtendedString.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_HArray1OfExtendedString.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_HArray1OfInteger.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_HArray1OfInteger.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_HArray1OfInteger.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_HArray1OfReal.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_HArray1OfReal.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_HArray1OfReal.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_HArray2OfInteger.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_HArray2OfInteger.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_HArray2OfInteger.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PCollection_HAsciiString.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PCollection_HAsciiString.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PCollection_HAsciiString.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PCollection_HExtendedString.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PCollection_HExtendedString.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PCollection_HExtendedString.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDF_Attribute.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDF_Attribute.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDF_Attribute.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDF_Data.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDF_Data.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDF_Data.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDF_FieldOfHAttributeArray1.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDF_FieldOfHAttributeArray1.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDF_FieldOfHAttributeArray1.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDF_HAttributeArray1.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDF_HAttributeArray1.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDF_HAttributeArray1.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDF_Reference.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDF_Reference.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDF_Reference.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDF_TagSource.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDF_TagSource.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDF_TagSource.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_AsciiString.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_AsciiString.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_AsciiString.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_BooleanArray.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_BooleanArray.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_BooleanArray.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_BooleanList.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_BooleanList.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_BooleanList.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ByteArray.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ByteArray.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ByteArray.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ByteArray_1.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ByteArray_1.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ByteArray_1.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Comment.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Comment.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Comment.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Directory.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Directory.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Directory.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Expression.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Expression.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Expression.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ExtStringArray.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ExtStringArray.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ExtStringArray.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ExtStringArray_1.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ExtStringArray_1.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ExtStringArray_1.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ExtStringList.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ExtStringList.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ExtStringList.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_FieldOfHArray1OfByte.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_FieldOfHArray1OfByte.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_FieldOfHArray1OfByte.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_FieldOfHArray1OfHArray1OfInteger.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_FieldOfHArray1OfHArray1OfInteger.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_FieldOfHArray1OfHArray1OfInteger.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_FieldOfHArray1OfHArray1OfReal.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_FieldOfHArray1OfHArray1OfReal.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_FieldOfHArray1OfHArray1OfReal.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_FieldOfHArray1OfHAsciiString.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_FieldOfHArray1OfHAsciiString.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_FieldOfHArray1OfHAsciiString.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_HArray1OfByte.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_HArray1OfByte.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_HArray1OfByte.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_HArray1OfHArray1OfInteger.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_HArray1OfHArray1OfInteger.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_HArray1OfHArray1OfInteger.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_HArray1OfHArray1OfReal.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_HArray1OfHArray1OfReal.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_HArray1OfHArray1OfReal.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_HArray1OfHAsciiString.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_HArray1OfHAsciiString.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_HArray1OfHAsciiString.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntPackedMap.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntPackedMap.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntPackedMap.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntPackedMap_1.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntPackedMap_1.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntPackedMap_1.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Integer.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Integer.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Integer.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntegerArray.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntegerArray.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntegerArray.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntegerArray_1.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntegerArray_1.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntegerArray_1.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntegerList.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntegerList.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntegerList.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Name.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Name.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Name.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_NamedData.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_NamedData.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_NamedData.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_NoteBook.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_NoteBook.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_NoteBook.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Real.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Real.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Real.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_RealArray.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_RealArray.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_RealArray.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_RealArray_1.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_RealArray_1.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_RealArray_1.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_RealList.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_RealList.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_RealList.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ReferenceArray.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ReferenceArray.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ReferenceArray.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ReferenceList.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ReferenceList.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ReferenceList.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Relation.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Relation.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Relation.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Tick.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Tick.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Tick.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_TreeNode.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_TreeNode.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_TreeNode.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_UAttribute.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_UAttribute.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_UAttribute.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Variable.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Variable.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Variable.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDocStd_Document.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDocStd_Document.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDocStd_Document.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDocStd_XLink.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDocStd_XLink.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PDocStd_XLink.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PFunction_Function.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PFunction_Function.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_PFunction_Function.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_Standard_GUID.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_Standard_GUID.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_Standard_GUID.ixx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_Standard_Persistent.cxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_Standard_Persistent.hxx create mode 100644 src/FromOCCT/TKStdLSchema/StdLSchema_Standard_Persistent.ixx create mode 100755 src/FromOCCT/TKStdSchema/CMakeLists.txt create mode 100644 src/FromOCCT/TKStdSchema/Handle_StdDrivers_DocumentRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKStdSchema/Handle_StdDrivers_DocumentStorageDriver.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdDrivers.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdDrivers.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdDrivers.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdDrivers.jxx create mode 100644 src/FromOCCT/TKStdSchema/StdDrivers_DocumentRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdDrivers_DocumentRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdDrivers_DocumentRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdDrivers_DocumentRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKStdSchema/StdDrivers_DocumentStorageDriver.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdDrivers_DocumentStorageDriver.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdDrivers_DocumentStorageDriver.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdDrivers_DocumentStorageDriver.jxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_DBC_VArrayOfCharacter.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_DBC_VArrayOfCharacter.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_DBC_VArrayOfCharacter.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_DBC_VArrayOfExtCharacter.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_DBC_VArrayOfExtCharacter.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_DBC_VArrayOfExtCharacter.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PColStd_FieldOfHArray1OfInteger.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PColStd_FieldOfHArray1OfInteger.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PColStd_FieldOfHArray1OfInteger.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PColStd_HArray1OfInteger.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PColStd_HArray1OfInteger.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PColStd_HArray1OfInteger.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PCollection_HAsciiString.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PCollection_HAsciiString.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PCollection_HAsciiString.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PCollection_HExtendedString.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PCollection_HExtendedString.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PCollection_HExtendedString.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PDF_Attribute.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PDF_Attribute.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PDF_Attribute.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PDF_FieldOfHAttributeArray1.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PDF_FieldOfHAttributeArray1.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PDF_FieldOfHAttributeArray1.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PDF_HAttributeArray1.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PDF_HAttributeArray1.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PDF_HAttributeArray1.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PDataStd_Integer.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PDataStd_Integer.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PDataStd_Integer.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PDataStd_Real.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PDataStd_Real.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PDataStd_Real.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Axis.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Axis.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Axis.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Constraint.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Constraint.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Constraint.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Geometry.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Geometry.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Geometry.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_PatternStd.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_PatternStd.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_PatternStd.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Placement.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Placement.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Placement.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Plane.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Plane.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Plane.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Point.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Point.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Point.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Position.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Position.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Position.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Shape.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Shape.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Shape.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PNaming_FieldOfHArray1OfNamedShape.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PNaming_FieldOfHArray1OfNamedShape.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PNaming_FieldOfHArray1OfNamedShape.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PNaming_HArray1OfNamedShape.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PNaming_HArray1OfNamedShape.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PNaming_HArray1OfNamedShape.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PNaming_Name.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PNaming_Name.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PNaming_Name.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PNaming_Name_1.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PNaming_Name_1.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PNaming_Name_1.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PNaming_Name_2.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PNaming_Name_2.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PNaming_Name_2.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PNaming_NamedShape.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PNaming_NamedShape.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PNaming_NamedShape.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PNaming_Naming.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PNaming_Naming.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PNaming_Naming.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PNaming_Naming_1.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PNaming_Naming_1.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PNaming_Naming_1.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PNaming_Naming_2.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PNaming_Naming_2.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PNaming_Naming_2.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PPrsStd_AISPresentation.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PPrsStd_AISPresentation.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PPrsStd_AISPresentation.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PPrsStd_AISPresentation_1.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PPrsStd_AISPresentation_1.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PPrsStd_AISPresentation_1.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PTopLoc_Datum3D.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PTopLoc_Datum3D.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PTopLoc_Datum3D.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PTopLoc_ItemLocation.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PTopLoc_ItemLocation.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PTopLoc_ItemLocation.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PTopLoc_Location.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PTopLoc_Location.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PTopLoc_Location.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PTopoDS_FieldOfHArray1OfShape1.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PTopoDS_FieldOfHArray1OfShape1.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PTopoDS_FieldOfHArray1OfShape1.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PTopoDS_HArray1OfShape1.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PTopoDS_HArray1OfShape1.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PTopoDS_HArray1OfShape1.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PTopoDS_Shape1.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PTopoDS_Shape1.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PTopoDS_Shape1.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PTopoDS_TShape1.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PTopoDS_TShape1.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_PTopoDS_TShape1.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_Standard_Persistent.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_Standard_Persistent.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_Standard_Persistent.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_gp_Ax1.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_gp_Ax1.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_gp_Ax1.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_gp_Ax2.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_gp_Ax2.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_gp_Ax2.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_gp_Ax2d.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_gp_Ax2d.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_gp_Ax2d.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_gp_Ax3.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_gp_Ax3.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_gp_Ax3.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_gp_Dir.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_gp_Dir.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_gp_Dir.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_gp_Dir2d.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_gp_Dir2d.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_gp_Dir2d.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_gp_Mat.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_gp_Mat.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_gp_Mat.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_gp_Mat2d.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_gp_Mat2d.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_gp_Mat2d.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_gp_Pnt.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_gp_Pnt.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_gp_Pnt.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_gp_Pnt2d.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_gp_Pnt2d.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_gp_Pnt2d.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_gp_Trsf.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_gp_Trsf.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_gp_Trsf.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_gp_Trsf2d.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_gp_Trsf2d.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_gp_Trsf2d.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_gp_Vec.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_gp_Vec.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_gp_Vec.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_gp_Vec2d.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_gp_Vec2d.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_gp_Vec2d.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_gp_XY.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_gp_XY.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_gp_XY.ixx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_gp_XYZ.cxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_gp_XYZ.hxx create mode 100644 src/FromOCCT/TKStdSchema/StdSchema_gp_XYZ.ixx create mode 100755 src/FromOCCT/TKXCAFSchema/CMakeLists.txt create mode 100644 src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_AreaRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_AreaStorageDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_CentroidRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_CentroidStorageDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_ColorRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_ColorStorageDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_ColorToolRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_ColorToolStorageDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_DatumRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_DatumStorageDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_DimTolRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_DimTolStorageDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_DimTolToolRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_DimTolToolStorageDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_DocumentToolRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_DocumentToolStorageDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_GraphNodeRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_GraphNodeStorageDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_LayerToolRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_LayerToolStorageDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_LocationRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_LocationStorageDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_MaterialRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_MaterialStorageDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_MaterialToolRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_MaterialToolStorageDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_ShapeToolRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_ShapeToolStorageDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_VolumeRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_VolumeStorageDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_Area.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_Centroid.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_Color.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_ColorTool.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_Datum.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_DimTol.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_DimTolTool.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_DocumentTool.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_GraphNode.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_GraphNodeSequence.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_LayerTool.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_Location.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_Material.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_MaterialTool.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_SeqNodeOfGraphNodeSequence.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_ShapeTool.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_Volume.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/Handle_XCAFDrivers_DocumentRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/Handle_XCAFDrivers_DocumentStorageDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc.jxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_AreaRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_AreaRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_AreaRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_AreaRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_AreaStorageDriver.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_AreaStorageDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_AreaStorageDriver.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_AreaStorageDriver.jxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_CentroidRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_CentroidRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_CentroidRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_CentroidRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_CentroidStorageDriver.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_CentroidStorageDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_CentroidStorageDriver.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_CentroidStorageDriver.jxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorStorageDriver.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorStorageDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorStorageDriver.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorStorageDriver.jxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorToolRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorToolRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorToolRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorToolRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorToolStorageDriver.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorToolStorageDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorToolStorageDriver.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorToolStorageDriver.jxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_DatumRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_DatumRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_DatumRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_DatumRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_DatumStorageDriver.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_DatumStorageDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_DatumStorageDriver.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_DatumStorageDriver.jxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolStorageDriver.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolStorageDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolStorageDriver.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolStorageDriver.jxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolToolRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolToolRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolToolRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolToolRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolToolStorageDriver.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolToolStorageDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolToolStorageDriver.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolToolStorageDriver.jxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_DocumentToolRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_DocumentToolRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_DocumentToolRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_DocumentToolRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_DocumentToolStorageDriver.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_DocumentToolStorageDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_DocumentToolStorageDriver.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_DocumentToolStorageDriver.jxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_GraphNodeRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_GraphNodeRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_GraphNodeRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_GraphNodeRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_GraphNodeStorageDriver.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_GraphNodeStorageDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_GraphNodeStorageDriver.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_GraphNodeStorageDriver.jxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_LayerToolRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_LayerToolRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_LayerToolRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_LayerToolRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_LayerToolStorageDriver.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_LayerToolStorageDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_LayerToolStorageDriver.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_LayerToolStorageDriver.jxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_LocationRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_LocationRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_LocationRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_LocationRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_LocationStorageDriver.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_LocationStorageDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_LocationStorageDriver.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_LocationStorageDriver.jxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialStorageDriver.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialStorageDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialStorageDriver.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialStorageDriver.jxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialToolRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialToolRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialToolRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialToolRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialToolStorageDriver.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialToolStorageDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialToolStorageDriver.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialToolStorageDriver.jxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_ShapeToolRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_ShapeToolRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_ShapeToolRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_ShapeToolRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_ShapeToolStorageDriver.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_ShapeToolStorageDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_ShapeToolStorageDriver.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_ShapeToolStorageDriver.jxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_VolumeRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_VolumeRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_VolumeRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_VolumeRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_VolumeStorageDriver.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_VolumeStorageDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_VolumeStorageDriver.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/MXCAFDoc_VolumeStorageDriver.jxx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_Area.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_Area.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_Area.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_Area.jxx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_Centroid.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_Centroid.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_Centroid.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_Centroid.jxx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_Color.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_Color.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_Color.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_Color.jxx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_ColorTool.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_ColorTool.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_ColorTool.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_ColorTool.jxx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_Datum.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_Datum.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_Datum.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_Datum.jxx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_DimTol.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_DimTol.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_DimTol.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_DimTol.jxx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_DimTolTool.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_DimTolTool.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_DimTolTool.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_DimTolTool.jxx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_DocumentTool.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_DocumentTool.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_DocumentTool.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_DocumentTool.jxx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_GraphNode.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_GraphNode.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_GraphNode.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_GraphNode.jxx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_GraphNodeSequence.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_GraphNodeSequence_0.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_LayerTool.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_LayerTool.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_LayerTool.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_LayerTool.jxx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_Location.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_Location.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_Location.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_Location.jxx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_Material.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_Material.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_Material.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_Material.jxx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_MaterialTool.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_MaterialTool.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_MaterialTool.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_MaterialTool.jxx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_SeqExplorerOfGraphNodeSequence.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_SeqExplorerOfGraphNodeSequence_0.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_SeqNodeOfGraphNodeSequence.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_SeqNodeOfGraphNodeSequence_0.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_ShapeTool.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_ShapeTool.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_ShapeTool.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_ShapeTool.jxx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_Volume.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_Volume.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_Volume.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/PXCAFDoc_Volume.jxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFDrivers.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFDrivers.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFDrivers.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFDrivers.jxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFDrivers_DocumentRetrievalDriver.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFDrivers_DocumentRetrievalDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFDrivers_DocumentRetrievalDriver.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFDrivers_DocumentRetrievalDriver.jxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFDrivers_DocumentStorageDriver.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFDrivers_DocumentStorageDriver.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFDrivers_DocumentStorageDriver.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFDrivers_DocumentStorageDriver.jxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_DBC_VArrayOfCharacter.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_DBC_VArrayOfCharacter.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_DBC_VArrayOfCharacter.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_DBC_VArrayOfExtCharacter.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_DBC_VArrayOfExtCharacter.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_DBC_VArrayOfExtCharacter.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PColStd_FieldOfHArray1OfReal.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PColStd_FieldOfHArray1OfReal.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PColStd_FieldOfHArray1OfReal.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PColStd_HArray1OfReal.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PColStd_HArray1OfReal.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PColStd_HArray1OfReal.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PCollection_HAsciiString.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PCollection_HAsciiString.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PCollection_HAsciiString.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PCollection_HExtendedString.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PCollection_HExtendedString.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PCollection_HExtendedString.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PDF_Attribute.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PDF_Attribute.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PDF_Attribute.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PMMgt_PManaged.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PMMgt_PManaged.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PMMgt_PManaged.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PTopLoc_Datum3D.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PTopLoc_Datum3D.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PTopLoc_Datum3D.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PTopLoc_ItemLocation.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PTopLoc_ItemLocation.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PTopLoc_ItemLocation.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PTopLoc_Location.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PTopLoc_Location.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PTopLoc_Location.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Area.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Area.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Area.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Centroid.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Centroid.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Centroid.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Color.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Color.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Color.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_ColorTool.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_ColorTool.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_ColorTool.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Datum.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Datum.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Datum.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_DimTol.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_DimTol.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_DimTol.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_DimTolTool.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_DimTolTool.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_DimTolTool.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_DocumentTool.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_DocumentTool.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_DocumentTool.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_GraphNode.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_GraphNode.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_GraphNode.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_GraphNodeSequence.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_GraphNodeSequence.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_GraphNodeSequence.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_LayerTool.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_LayerTool.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_LayerTool.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Location.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Location.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Location.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Material.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Material.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Material.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_MaterialTool.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_MaterialTool.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_MaterialTool.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_SeqNodeOfGraphNodeSequence.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_SeqNodeOfGraphNodeSequence.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_SeqNodeOfGraphNodeSequence.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_ShapeTool.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_ShapeTool.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_ShapeTool.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Volume.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Volume.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Volume.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_Quantity_Color.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_Quantity_Color.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_Quantity_Color.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_Standard_GUID.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_Standard_GUID.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_Standard_GUID.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_Standard_Persistent.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_Standard_Persistent.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_Standard_Persistent.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Ax1.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Ax1.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Ax1.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Ax2.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Ax2.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Ax2.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Ax2d.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Ax2d.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Ax2d.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Ax3.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Ax3.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Ax3.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Dir.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Dir.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Dir.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Dir2d.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Dir2d.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Dir2d.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Mat.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Mat.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Mat.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Mat2d.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Mat2d.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Mat2d.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Pnt.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Pnt.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Pnt.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Pnt2d.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Pnt2d.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Pnt2d.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Trsf.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Trsf.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Trsf.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Trsf2d.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Trsf2d.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Trsf2d.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Vec.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Vec.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Vec.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Vec2d.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Vec2d.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Vec2d.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_XY.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_XY.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_XY.ixx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_XYZ.cxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_XYZ.hxx create mode 100644 src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_XYZ.ixx mode change 100644 => 100755 src/GEOM/GEOM_Engine.cxx diff --git a/resources/GEOMDS_Resources b/resources/GEOMDS_Resources index deb6655f9..e18e45382 100644 --- a/resources/GEOMDS_Resources +++ b/resources/GEOMDS_Resources @@ -4,10 +4,8 @@ formatlist:SALOME_GEOM|BinOcaf ! SALOME_GEOM.Description: GEOM Document Version 1.0 SALOME_GEOM.FileExtension: sgd -SALOME_GEOM.StoragePlugin: ad696000-5b34-11d1-b5ba-00a0c9064368 SALOME_GEOM.RetrievalPlugin: ad696001-5b34-11d1-b5ba-00a0c9064368 SALOME_GEOMSchema: ad696002-5b34-11d1-b5ba-00a0c9064368 -SALOME_GEOM.AttributeStoragePlugin: 47b0b826-d931-11d1-b5da-00a0c9064368 SALOME_GEOM.AttributeRetrievalPlugin: 47b0b827-d931-11d1-b5da-00a0c9064368 ! ! BinOcaf format diff --git a/resources/Plugin.in b/resources/Plugin.in index 2d5485bf9..34c31fb1b 100644 --- a/resources/Plugin.in +++ b/resources/Plugin.in @@ -5,7 +5,6 @@ a148e300-5740-11d1-a904-080036aaa103.Location: FWOSPlugin ! ! standard attribute drivers plugin ! -ad696000-5b34-11d1-b5ba-00a0c9064368.Location: @CAS_STDPLUGIN@ ad696001-5b34-11d1-b5ba-00a0c9064368.Location: @CAS_STDPLUGIN@ ad696002-5b34-11d1-b5ba-00a0c9064368.Location: @CAS_STDPLUGIN@ ! diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index bd7e3428d..bea385473 100755 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -21,7 +21,7 @@ # Common packages ## SET(SUBDIRS_COMMON - ARCHIMEDE BlockFix GEOMAlgo SKETCHER GEOM ShHealOper GEOMUtils XAO XAO_Swig + FromOCCT ARCHIMEDE BlockFix GEOMAlgo SKETCHER GEOM ShHealOper GEOMUtils XAO XAO_Swig GEOMImpl GEOM_I GEOMClient GEOM_I_Superv GEOM_SWIG GEOM_PY AdvancedEngine OCC2VTK STLPlugin BREPPlugin STEPPlugin IGESPlugin XAOPlugin VTKPlugin diff --git a/src/FromOCCT/CMakeLists.txt b/src/FromOCCT/CMakeLists.txt new file mode 100755 index 000000000..2274809e9 --- /dev/null +++ b/src/FromOCCT/CMakeLists.txt @@ -0,0 +1,30 @@ +# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE +# +# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, +# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# + +ADD_SUBDIRECTORY(PTKernel) +ADD_SUBDIRECTORY(TKPCAF) +ADD_SUBDIRECTORY(TKPLCAF) +ADD_SUBDIRECTORY(TKPShape) +ADD_SUBDIRECTORY(TKShapeSchema) +ADD_SUBDIRECTORY(TKStdLSchema) +ADD_SUBDIRECTORY(TKStdSchema) +ADD_SUBDIRECTORY(TKXCAFSchema) diff --git a/src/FromOCCT/PTKernel/CMakeLists.txt b/src/FromOCCT/PTKernel/CMakeLists.txt new file mode 100755 index 000000000..fa82b5644 --- /dev/null +++ b/src/FromOCCT/PTKernel/CMakeLists.txt @@ -0,0 +1,261 @@ +# Copyright (C) 2012-2015 CEA/DEN, EDF R&D, OPEN CASCADE +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# + +# --- options --- + +# additional include directories +INCLUDE_DIRECTORIES( + ${CAS_INCLUDE_DIRS} + ${CMAKE_CURRENT_SOURCE_DIR} +) + +# additional preprocessor / compiler flags +ADD_DEFINITIONS( + ${CAS_DEFINITIONS} + ) + +# libraries to link to +SET(_link_LIBRARIES + ${CAS_KERNEL} + ) + +# --- headers --- + +SET(GEOM_HEADERS + DBC_BaseArray.hxx + DBC_BaseArray.ixx + DBC_BaseArray.jxx + DBC_BaseArray.lxx + DBC_BaseArray_objs.hxx + DBC_DBVArray.hxx + DBC_VArray.gxx + DBC_VArrayNode.gxx + DBC_VArrayNodeOfVArrayOfCharacter.hxx + DBC_VArrayNodeOfVArrayOfExtCharacter.hxx + DBC_VArrayNodeOfVArrayOfInteger.hxx + DBC_VArrayNodeOfVArrayOfReal.hxx + DBC_VArrayOfCharacter.hxx + DBC_VArrayOfExtCharacter.hxx + DBC_VArrayOfInteger.hxx + DBC_VArrayOfReal.hxx + DBC_VArrayTNode.gxx + DBC_VArrayTNode.lxx + DBC_VArrayTNodeOfVArrayOfCharacter.hxx + DBC_VArrayTNodeOfVArrayOfExtCharacter.hxx + DBC_VArrayTNodeOfVArrayOfInteger.hxx + DBC_VArrayTNodeOfVArrayOfReal.hxx + Handle_DBC_VArrayNodeOfVArrayOfCharacter.hxx + Handle_DBC_VArrayNodeOfVArrayOfExtCharacter.hxx + Handle_DBC_VArrayNodeOfVArrayOfInteger.hxx + Handle_DBC_VArrayNodeOfVArrayOfReal.hxx + Handle_ObjMgt_ExternRef.hxx + Handle_ObjMgt_ExternShareable.hxx + Handle_ObjMgt_PSeqOfExtRef.hxx + Handle_ObjMgt_SeqNodeOfPSeqOfExtRef.hxx + Handle_PCollection_HAsciiString.hxx + Handle_PCollection_HExtendedString.hxx + Handle_PColStd_HArray1OfExtendedString.hxx + Handle_PColStd_HArray1OfInteger.hxx + Handle_PColStd_HArray1OfPersistent.hxx + Handle_PColStd_HArray1OfReal.hxx + Handle_PColStd_HArray2OfInteger.hxx + Handle_PColStd_HArray2OfPersistent.hxx + Handle_PColStd_HArray2OfReal.hxx + Handle_PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString.hxx + Handle_PColStd_VArrayNodeOfFieldOfHArray1OfInteger.hxx + Handle_PColStd_VArrayNodeOfFieldOfHArray1OfPersistent.hxx + Handle_PColStd_VArrayNodeOfFieldOfHArray1OfReal.hxx + Handle_PColStd_VArrayNodeOfFieldOfHArray2OfInteger.hxx + Handle_PColStd_VArrayNodeOfFieldOfHArray2OfPersistent.hxx + Handle_PColStd_VArrayNodeOfFieldOfHArray2OfReal.hxx + Handle_PMMgt_PManaged.hxx + Handle_PShort_HArray1OfShortReal.hxx + Handle_PShort_HArray2OfShortReal.hxx + Handle_PShort_HSequenceOfShortReal.hxx + Handle_PShort_SeqNodeOfHSequenceOfShortReal.hxx + Handle_PShort_VArrayNodeOfFieldOfHArray1OfShortReal.hxx + Handle_PShort_VArrayNodeOfFieldOfHArray2OfShortReal.hxx + Handle_PStandard_ArrayNode.hxx + Handle_PTColStd_DataMapNodeOfPersistentTransientMap.hxx + Handle_PTColStd_DataMapNodeOfTransientPersistentMap.hxx + Handle_PTColStd_DoubleMapNodeOfDoubleMapOfTransientPersistent.hxx + ObjMgt_ExternRef.hxx + ObjMgt_ExternRef.ixx + ObjMgt_ExternRef.jxx + ObjMgt_ExternShareable.hxx + ObjMgt_ExternShareable.ixx + ObjMgt_ExternShareable.jxx + ObjMgt_PSeqOfExtRef.hxx + ObjMgt_SeqExplorerOfPSeqOfExtRef.hxx + ObjMgt_SeqNodeOfPSeqOfExtRef.hxx + PCollection_AccessMode.hxx + PCollection_HArray1.gxx + PCollection_HArray1.lxx + PCollection_HArray2.gxx + PCollection_HArray2.lxx + PCollection_HAsciiString.hxx + PCollection_HAsciiString.ixx + PCollection_HAsciiString.jxx + PCollection_HExtendedString.hxx + PCollection_HExtendedString.ixx + PCollection_HExtendedString.jxx + PCollection_HSequence.gxx + PCollection_SeqExplorer.gxx + PCollection_SeqNode.gxx + PColStd_FieldOfHArray1OfExtendedString.hxx + PColStd_FieldOfHArray1OfInteger.hxx + PColStd_FieldOfHArray1OfPersistent.hxx + PColStd_FieldOfHArray1OfReal.hxx + PColStd_FieldOfHArray2OfInteger.hxx + PColStd_FieldOfHArray2OfPersistent.hxx + PColStd_FieldOfHArray2OfReal.hxx + PColStd_HArray1OfExtendedString.hxx + PColStd_HArray1OfInteger.hxx + PColStd_HArray1OfPersistent.hxx + PColStd_HArray1OfReal.hxx + PColStd_HArray2OfInteger.hxx + PColStd_HArray2OfPersistent.hxx + PColStd_HArray2OfReal.hxx + PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString.hxx + PColStd_VArrayNodeOfFieldOfHArray1OfInteger.hxx + PColStd_VArrayNodeOfFieldOfHArray1OfPersistent.hxx + PColStd_VArrayNodeOfFieldOfHArray1OfReal.hxx + PColStd_VArrayNodeOfFieldOfHArray2OfInteger.hxx + PColStd_VArrayNodeOfFieldOfHArray2OfPersistent.hxx + PColStd_VArrayNodeOfFieldOfHArray2OfReal.hxx + PColStd_VArrayTNodeOfFieldOfHArray1OfExtendedString.hxx + PColStd_VArrayTNodeOfFieldOfHArray1OfInteger.hxx + PColStd_VArrayTNodeOfFieldOfHArray1OfPersistent.hxx + PColStd_VArrayTNodeOfFieldOfHArray1OfReal.hxx + PColStd_VArrayTNodeOfFieldOfHArray2OfInteger.hxx + PColStd_VArrayTNodeOfFieldOfHArray2OfPersistent.hxx + PColStd_VArrayTNodeOfFieldOfHArray2OfReal.hxx + PMMgt_PManaged.hxx + PMMgt_PManaged.ixx + PMMgt_PManaged.jxx + PShort_FieldOfHArray1OfShortReal.hxx + PShort_FieldOfHArray2OfShortReal.hxx + PShort_HArray1OfShortReal.hxx + PShort_HArray2OfShortReal.hxx + PShort_HSequenceOfShortReal.hxx + PShort_SeqExplorerOfHSequenceOfShortReal.hxx + PShort_SeqNodeOfHSequenceOfShortReal.hxx + PShort_VArrayNodeOfFieldOfHArray1OfShortReal.hxx + PShort_VArrayNodeOfFieldOfHArray2OfShortReal.hxx + PShort_VArrayTNodeOfFieldOfHArray1OfShortReal.hxx + PShort_VArrayTNodeOfFieldOfHArray2OfShortReal.hxx + PStandard_ArrayNode.hxx + PStandard_ArrayNode.ixx + PStandard_ArrayNode.jxx + PTColStd_DataMapIteratorOfPersistentTransientMap.hxx + PTColStd_DataMapIteratorOfTransientPersistentMap.hxx + PTColStd_DataMapNodeOfPersistentTransientMap.hxx + PTColStd_DataMapNodeOfTransientPersistentMap.hxx + PTColStd_DoubleMapIteratorOfDoubleMapOfTransientPersistent.hxx + PTColStd_DoubleMapNodeOfDoubleMapOfTransientPersistent.hxx + PTColStd_DoubleMapOfTransientPersistent.hxx + PTColStd_MapPersistentHasher.hxx + PTColStd_PersistentTransientMap.hxx + PTColStd_TransientPersistentMap.hxx + ) + +# --- sources --- + +SET(GEOM_SOURCES + DBC_BaseArray.cxx + DBC_DBVArray.cxx + DBC_VArrayNodeOfVArrayOfCharacter_0.cxx + DBC_VArrayNodeOfVArrayOfExtCharacter_0.cxx + DBC_VArrayNodeOfVArrayOfInteger_0.cxx + DBC_VArrayNodeOfVArrayOfReal_0.cxx + DBC_VArrayOfCharacter_0.cxx + DBC_VArrayOfExtCharacter_0.cxx + DBC_VArrayOfInteger_0.cxx + DBC_VArrayOfReal_0.cxx + DBC_VArrayTNodeOfVArrayOfCharacter_0.cxx + DBC_VArrayTNodeOfVArrayOfExtCharacter_0.cxx + DBC_VArrayTNodeOfVArrayOfInteger_0.cxx + DBC_VArrayTNodeOfVArrayOfReal_0.cxx + ObjMgt_ExternRef.cxx + ObjMgt_ExternShareable.cxx + ObjMgt_PSeqOfExtRef_0.cxx + ObjMgt_SeqExplorerOfPSeqOfExtRef_0.cxx + ObjMgt_SeqNodeOfPSeqOfExtRef_0.cxx + PCollection_HAsciiString.cxx + PCollection_HExtendedString.cxx + PColStd_FieldOfHArray1OfExtendedString_0.cxx + PColStd_FieldOfHArray1OfInteger_0.cxx + PColStd_FieldOfHArray1OfPersistent_0.cxx + PColStd_FieldOfHArray1OfReal_0.cxx + PColStd_FieldOfHArray2OfInteger_0.cxx + PColStd_FieldOfHArray2OfPersistent_0.cxx + PColStd_FieldOfHArray2OfReal_0.cxx + PColStd_HArray1OfExtendedString_0.cxx + PColStd_HArray1OfInteger_0.cxx + PColStd_HArray1OfPersistent_0.cxx + PColStd_HArray1OfReal_0.cxx + PColStd_HArray2OfInteger_0.cxx + PColStd_HArray2OfPersistent_0.cxx + PColStd_HArray2OfReal_0.cxx + PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString_0.cxx + PColStd_VArrayNodeOfFieldOfHArray1OfInteger_0.cxx + PColStd_VArrayNodeOfFieldOfHArray1OfPersistent_0.cxx + PColStd_VArrayNodeOfFieldOfHArray1OfReal_0.cxx + PColStd_VArrayNodeOfFieldOfHArray2OfInteger_0.cxx + PColStd_VArrayNodeOfFieldOfHArray2OfPersistent_0.cxx + PColStd_VArrayNodeOfFieldOfHArray2OfReal_0.cxx + PColStd_VArrayTNodeOfFieldOfHArray1OfExtendedString_0.cxx + PColStd_VArrayTNodeOfFieldOfHArray1OfInteger_0.cxx + PColStd_VArrayTNodeOfFieldOfHArray1OfPersistent_0.cxx + PColStd_VArrayTNodeOfFieldOfHArray1OfReal_0.cxx + PColStd_VArrayTNodeOfFieldOfHArray2OfInteger_0.cxx + PColStd_VArrayTNodeOfFieldOfHArray2OfPersistent_0.cxx + PColStd_VArrayTNodeOfFieldOfHArray2OfReal_0.cxx + PMMgt_PManaged.cxx + PShort_FieldOfHArray1OfShortReal_0.cxx + PShort_FieldOfHArray2OfShortReal_0.cxx + PShort_HArray1OfShortReal_0.cxx + PShort_HArray2OfShortReal_0.cxx + PShort_HSequenceOfShortReal_0.cxx + PShort_SeqExplorerOfHSequenceOfShortReal_0.cxx + PShort_SeqNodeOfHSequenceOfShortReal_0.cxx + PShort_VArrayNodeOfFieldOfHArray1OfShortReal_0.cxx + PShort_VArrayNodeOfFieldOfHArray2OfShortReal_0.cxx + PShort_VArrayTNodeOfFieldOfHArray1OfShortReal_0.cxx + PShort_VArrayTNodeOfFieldOfHArray2OfShortReal_0.cxx + PStandard_ArrayNode.cxx + PTColStd_DataMapIteratorOfPersistentTransientMap_0.cxx + PTColStd_DataMapIteratorOfTransientPersistentMap_0.cxx + PTColStd_DataMapNodeOfPersistentTransientMap_0.cxx + PTColStd_DataMapNodeOfTransientPersistentMap_0.cxx + PTColStd_DoubleMapIteratorOfDoubleMapOfTransientPersistent_0.cxx + PTColStd_DoubleMapNodeOfDoubleMapOfTransientPersistent_0.cxx + PTColStd_DoubleMapOfTransientPersistent_0.cxx + PTColStd_MapPersistentHasher_0.cxx + PTColStd_PersistentTransientMap_0.cxx + PTColStd_TransientPersistentMap_0.cxx + ) + +# --- rules --- + +ADD_LIBRARY(PTKernel ${GEOM_SOURCES}) +TARGET_LINK_LIBRARIES(PTKernel ${_link_LIBRARIES}) +INSTALL(TARGETS PTKernel EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) + +INSTALL(FILES ${GEOM_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) diff --git a/src/FromOCCT/PTKernel/DBC_BaseArray.cxx b/src/FromOCCT/PTKernel/DBC_BaseArray.cxx new file mode 100644 index 000000000..11362bb70 --- /dev/null +++ b/src/FromOCCT/PTKernel/DBC_BaseArray.cxx @@ -0,0 +1,251 @@ +// 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 +#include +#include +#include +//#include +#include + +#ifdef OBJS +#include + +// taille a partir de laquelle la tableau cre son propre container +// +#define DBC_TAILLE_PLAFOND_CREATION_SEGMENT 10000 + +#include +#include + +// just use for internal generic identifiaction of Item +// +static PStandard_ArrayNode DBC_tmpItem; + +#endif + +#ifdef OO2 +#include +#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 + /* + + */ +// 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 +#include +#include + +#include +#include +#include +class Standard_NullObject; +class Standard_NegativeValue; +class Standard_DimensionMismatch; + + + +class DBC_BaseArray +{ +public: + + DEFINE_STANDARD_ALLOC + + + //! Creates an BaseArray of NULL size + Standard_EXPORT DBC_BaseArray(); + + //! Creates an BaseArray of lower bound 0 and + //! upper bound -1. + Standard_EXPORT DBC_BaseArray(const Standard_Integer Size); + + //! Creates an array which is the copy of the given + //! argument. + Standard_EXPORT DBC_BaseArray(const DBC_BaseArray& BaseArray); + Standard_EXPORT virtual ~DBC_BaseArray(); + + Standard_Integer Length() const; + + //! Returns the upper bound + Standard_Integer Upper() const; + + //! Locks the array in memory and + //! returns its virtual address + Standard_EXPORT Standard_Address Lock() const; + + //! unlocks the array from memory + Standard_EXPORT void Unlock() const; + + + + +protected: + + + + Standard_Integer mySize; + DBC_DBVArray myData; + + +private: + + + + + +}; + + +#include + + + + + +#endif // _DBC_BaseArray_HeaderFile diff --git a/src/FromOCCT/PTKernel/DBC_BaseArray.ixx b/src/FromOCCT/PTKernel/DBC_BaseArray.ixx new file mode 100644 index 000000000..fd996010c --- /dev/null +++ b/src/FromOCCT/PTKernel/DBC_BaseArray.ixx @@ -0,0 +1,10 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + + + + diff --git a/src/FromOCCT/PTKernel/DBC_BaseArray.jxx b/src/FromOCCT/PTKernel/DBC_BaseArray.jxx new file mode 100644 index 000000000..2640783ff --- /dev/null +++ b/src/FromOCCT/PTKernel/DBC_BaseArray.jxx @@ -0,0 +1,4 @@ +#include +#include +#include +#include diff --git a/src/FromOCCT/PTKernel/DBC_BaseArray.lxx b/src/FromOCCT/PTKernel/DBC_BaseArray.lxx new file mode 100644 index 000000000..5b7ff6695 --- /dev/null +++ b/src/FromOCCT/PTKernel/DBC_BaseArray.lxx @@ -0,0 +1,33 @@ +// 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/FromOCCT/PTKernel/DBC_BaseArray_objs.hxx b/src/FromOCCT/PTKernel/DBC_BaseArray_objs.hxx new file mode 100644 index 000000000..a0a6bdee7 --- /dev/null +++ b/src/FromOCCT/PTKernel/DBC_BaseArray_objs.hxx @@ -0,0 +1,82 @@ +// 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 +#include +#include + +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 + +#endif diff --git a/src/FromOCCT/PTKernel/DBC_DBVArray.cxx b/src/FromOCCT/PTKernel/DBC_DBVArray.cxx new file mode 100644 index 000000000..889758e74 --- /dev/null +++ b/src/FromOCCT/PTKernel/DBC_DBVArray.cxx @@ -0,0 +1,19 @@ +// 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 + +#ifdef OBJY +implement(ooVArray, PHandle_PStandard_ArrayNode); +#endif diff --git a/src/FromOCCT/PTKernel/DBC_DBVArray.hxx b/src/FromOCCT/PTKernel/DBC_DBVArray.hxx new file mode 100644 index 000000000..f0141dad7 --- /dev/null +++ b/src/FromOCCT/PTKernel/DBC_DBVArray.hxx @@ -0,0 +1,35 @@ +// 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 +declare(ooVArray,PHandle_PStandard_ArrayNode) +typedef ooVArray(PHandle_PStandard_ArrayNode) DBC_DBVArray; +#endif + +#ifdef CSFDB +#include +//typedef Handle(PStandard_ArrayNode)* DBC_DBVArray; +typedef void* DBC_DBVArray; +#endif + +#ifdef OBJS +#include +typedef PStandard_ArrayNode* DBC_DBVArray; +#endif + +#endif diff --git a/src/FromOCCT/PTKernel/DBC_VArray.gxx b/src/FromOCCT/PTKernel/DBC_VArray.gxx new file mode 100644 index 000000000..10a2676ec --- /dev/null +++ b/src/FromOCCT/PTKernel/DBC_VArray.gxx @@ -0,0 +1,288 @@ +// 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 +#include +#include +#include + +#ifdef OBJS +#include + +// taille a partir de laquelle la tableau cre son propre container +// +#define DBC_TAILLE_PLAFOND_CREATION_SEGMENT 10000 + +#include +#include + +// just use for internal generic identifiaction of Item +// +static PStandard_ArrayNode DBC_tmpItem; + +#endif + +#ifdef OBJS +#include +#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) { + 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/FromOCCT/PTKernel/DBC_VArrayNode.gxx b/src/FromOCCT/PTKernel/DBC_VArrayNode.gxx new file mode 100644 index 000000000..8cfce41d5 --- /dev/null +++ b/src/FromOCCT/PTKernel/DBC_VArrayNode.gxx @@ -0,0 +1,34 @@ +// 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_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/FromOCCT/PTKernel/DBC_VArrayNodeOfVArrayOfCharacter.hxx b/src/FromOCCT/PTKernel/DBC_VArrayNodeOfVArrayOfCharacter.hxx new file mode 100644 index 000000000..be448f547 --- /dev/null +++ b/src/FromOCCT/PTKernel/DBC_VArrayNodeOfVArrayOfCharacter.hxx @@ -0,0 +1,65 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _DBC_VArrayNodeOfVArrayOfCharacter_HeaderFile +#define _DBC_VArrayNodeOfVArrayOfCharacter_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class DBC_VArrayOfCharacter; +class DBC_VArrayTNodeOfVArrayOfCharacter; + + +class DBC_VArrayNodeOfVArrayOfCharacter : public PStandard_ArrayNode +{ + +public: + + + Standard_EXPORT DBC_VArrayNodeOfVArrayOfCharacter(); + + Standard_EXPORT DBC_VArrayNodeOfVArrayOfCharacter(const Standard_Character& aValue); + + Standard_EXPORT void SetValue (const Standard_Character& aValue) ; + + Standard_EXPORT Standard_Address Value() const; + +DBC_VArrayNodeOfVArrayOfCharacter(const Storage_stCONSTclCOM& a) : PStandard_ArrayNode(a) +{ + +} + Standard_Character _CSFDB_GetDBC_VArrayNodeOfVArrayOfCharactermyValue() const { return myValue; } + void _CSFDB_SetDBC_VArrayNodeOfVArrayOfCharactermyValue(const Standard_Character p) { myValue = p; } + + + + DEFINE_STANDARD_RTTI(DBC_VArrayNodeOfVArrayOfCharacter) + +protected: + + + + +private: + + + Standard_Character myValue; + + +}; + + + + + + + +#endif // _DBC_VArrayNodeOfVArrayOfCharacter_HeaderFile diff --git a/src/FromOCCT/PTKernel/DBC_VArrayNodeOfVArrayOfCharacter_0.cxx b/src/FromOCCT/PTKernel/DBC_VArrayNodeOfVArrayOfCharacter_0.cxx new file mode 100644 index 000000000..6ebd5b028 --- /dev/null +++ b/src/FromOCCT/PTKernel/DBC_VArrayNodeOfVArrayOfCharacter_0.cxx @@ -0,0 +1,29 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include + + + + +IMPLEMENT_DOWNCAST(DBC_VArrayNodeOfVArrayOfCharacter,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(DBC_VArrayNodeOfVArrayOfCharacter) + + +#define Item Standard_Character +#define Item_hxx +#define DBC_VArrayNode DBC_VArrayNodeOfVArrayOfCharacter +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode DBC_VArrayTNodeOfVArrayOfCharacter +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_DBC_VArrayNodeOfVArrayOfCharacter +#define DBC_VArrayNode_Type_() DBC_VArrayNodeOfVArrayOfCharacter_Type_() +#define DBC_VArray DBC_VArrayOfCharacter +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/PTKernel/DBC_VArrayNodeOfVArrayOfExtCharacter.hxx b/src/FromOCCT/PTKernel/DBC_VArrayNodeOfVArrayOfExtCharacter.hxx new file mode 100644 index 000000000..afabbc1bf --- /dev/null +++ b/src/FromOCCT/PTKernel/DBC_VArrayNodeOfVArrayOfExtCharacter.hxx @@ -0,0 +1,65 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _DBC_VArrayNodeOfVArrayOfExtCharacter_HeaderFile +#define _DBC_VArrayNodeOfVArrayOfExtCharacter_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class DBC_VArrayOfExtCharacter; +class DBC_VArrayTNodeOfVArrayOfExtCharacter; + + +class DBC_VArrayNodeOfVArrayOfExtCharacter : public PStandard_ArrayNode +{ + +public: + + + Standard_EXPORT DBC_VArrayNodeOfVArrayOfExtCharacter(); + + Standard_EXPORT DBC_VArrayNodeOfVArrayOfExtCharacter(const Standard_ExtCharacter& aValue); + + Standard_EXPORT void SetValue (const Standard_ExtCharacter& aValue) ; + + Standard_EXPORT Standard_Address Value() const; + +DBC_VArrayNodeOfVArrayOfExtCharacter(const Storage_stCONSTclCOM& a) : PStandard_ArrayNode(a) +{ + +} + Standard_ExtCharacter _CSFDB_GetDBC_VArrayNodeOfVArrayOfExtCharactermyValue() const { return myValue; } + void _CSFDB_SetDBC_VArrayNodeOfVArrayOfExtCharactermyValue(const Standard_ExtCharacter p) { myValue = p; } + + + + DEFINE_STANDARD_RTTI(DBC_VArrayNodeOfVArrayOfExtCharacter) + +protected: + + + + +private: + + + Standard_ExtCharacter myValue; + + +}; + + + + + + + +#endif // _DBC_VArrayNodeOfVArrayOfExtCharacter_HeaderFile diff --git a/src/FromOCCT/PTKernel/DBC_VArrayNodeOfVArrayOfExtCharacter_0.cxx b/src/FromOCCT/PTKernel/DBC_VArrayNodeOfVArrayOfExtCharacter_0.cxx new file mode 100644 index 000000000..e15ba7349 --- /dev/null +++ b/src/FromOCCT/PTKernel/DBC_VArrayNodeOfVArrayOfExtCharacter_0.cxx @@ -0,0 +1,29 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include + + + + +IMPLEMENT_DOWNCAST(DBC_VArrayNodeOfVArrayOfExtCharacter,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(DBC_VArrayNodeOfVArrayOfExtCharacter) + + +#define Item Standard_ExtCharacter +#define Item_hxx +#define DBC_VArrayNode DBC_VArrayNodeOfVArrayOfExtCharacter +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode DBC_VArrayTNodeOfVArrayOfExtCharacter +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_DBC_VArrayNodeOfVArrayOfExtCharacter +#define DBC_VArrayNode_Type_() DBC_VArrayNodeOfVArrayOfExtCharacter_Type_() +#define DBC_VArray DBC_VArrayOfExtCharacter +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/PTKernel/DBC_VArrayNodeOfVArrayOfInteger.hxx b/src/FromOCCT/PTKernel/DBC_VArrayNodeOfVArrayOfInteger.hxx new file mode 100644 index 000000000..4e0ada71a --- /dev/null +++ b/src/FromOCCT/PTKernel/DBC_VArrayNodeOfVArrayOfInteger.hxx @@ -0,0 +1,65 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _DBC_VArrayNodeOfVArrayOfInteger_HeaderFile +#define _DBC_VArrayNodeOfVArrayOfInteger_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class DBC_VArrayOfInteger; +class DBC_VArrayTNodeOfVArrayOfInteger; + + +class DBC_VArrayNodeOfVArrayOfInteger : public PStandard_ArrayNode +{ + +public: + + + Standard_EXPORT DBC_VArrayNodeOfVArrayOfInteger(); + + Standard_EXPORT DBC_VArrayNodeOfVArrayOfInteger(const Standard_Integer& aValue); + + Standard_EXPORT void SetValue (const Standard_Integer& aValue) ; + + Standard_EXPORT Standard_Address Value() const; + +DBC_VArrayNodeOfVArrayOfInteger(const Storage_stCONSTclCOM& a) : PStandard_ArrayNode(a) +{ + +} + Standard_Integer _CSFDB_GetDBC_VArrayNodeOfVArrayOfIntegermyValue() const { return myValue; } + void _CSFDB_SetDBC_VArrayNodeOfVArrayOfIntegermyValue(const Standard_Integer p) { myValue = p; } + + + + DEFINE_STANDARD_RTTI(DBC_VArrayNodeOfVArrayOfInteger) + +protected: + + + + +private: + + + Standard_Integer myValue; + + +}; + + + + + + + +#endif // _DBC_VArrayNodeOfVArrayOfInteger_HeaderFile diff --git a/src/FromOCCT/PTKernel/DBC_VArrayNodeOfVArrayOfInteger_0.cxx b/src/FromOCCT/PTKernel/DBC_VArrayNodeOfVArrayOfInteger_0.cxx new file mode 100644 index 000000000..f103a3160 --- /dev/null +++ b/src/FromOCCT/PTKernel/DBC_VArrayNodeOfVArrayOfInteger_0.cxx @@ -0,0 +1,29 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include + + + + +IMPLEMENT_DOWNCAST(DBC_VArrayNodeOfVArrayOfInteger,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(DBC_VArrayNodeOfVArrayOfInteger) + + +#define Item Standard_Integer +#define Item_hxx +#define DBC_VArrayNode DBC_VArrayNodeOfVArrayOfInteger +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode DBC_VArrayTNodeOfVArrayOfInteger +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_DBC_VArrayNodeOfVArrayOfInteger +#define DBC_VArrayNode_Type_() DBC_VArrayNodeOfVArrayOfInteger_Type_() +#define DBC_VArray DBC_VArrayOfInteger +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/PTKernel/DBC_VArrayNodeOfVArrayOfReal.hxx b/src/FromOCCT/PTKernel/DBC_VArrayNodeOfVArrayOfReal.hxx new file mode 100644 index 000000000..90000a330 --- /dev/null +++ b/src/FromOCCT/PTKernel/DBC_VArrayNodeOfVArrayOfReal.hxx @@ -0,0 +1,65 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _DBC_VArrayNodeOfVArrayOfReal_HeaderFile +#define _DBC_VArrayNodeOfVArrayOfReal_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class DBC_VArrayOfReal; +class DBC_VArrayTNodeOfVArrayOfReal; + + +class DBC_VArrayNodeOfVArrayOfReal : public PStandard_ArrayNode +{ + +public: + + + Standard_EXPORT DBC_VArrayNodeOfVArrayOfReal(); + + Standard_EXPORT DBC_VArrayNodeOfVArrayOfReal(const Standard_Real& aValue); + + Standard_EXPORT void SetValue (const Standard_Real& aValue) ; + + Standard_EXPORT Standard_Address Value() const; + +DBC_VArrayNodeOfVArrayOfReal(const Storage_stCONSTclCOM& a) : PStandard_ArrayNode(a) +{ + +} + Standard_Real _CSFDB_GetDBC_VArrayNodeOfVArrayOfRealmyValue() const { return myValue; } + void _CSFDB_SetDBC_VArrayNodeOfVArrayOfRealmyValue(const Standard_Real p) { myValue = p; } + + + + DEFINE_STANDARD_RTTI(DBC_VArrayNodeOfVArrayOfReal) + +protected: + + + + +private: + + + Standard_Real myValue; + + +}; + + + + + + + +#endif // _DBC_VArrayNodeOfVArrayOfReal_HeaderFile diff --git a/src/FromOCCT/PTKernel/DBC_VArrayNodeOfVArrayOfReal_0.cxx b/src/FromOCCT/PTKernel/DBC_VArrayNodeOfVArrayOfReal_0.cxx new file mode 100644 index 000000000..f64d83ae4 --- /dev/null +++ b/src/FromOCCT/PTKernel/DBC_VArrayNodeOfVArrayOfReal_0.cxx @@ -0,0 +1,29 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include + + + + +IMPLEMENT_DOWNCAST(DBC_VArrayNodeOfVArrayOfReal,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(DBC_VArrayNodeOfVArrayOfReal) + + +#define Item Standard_Real +#define Item_hxx +#define DBC_VArrayNode DBC_VArrayNodeOfVArrayOfReal +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode DBC_VArrayTNodeOfVArrayOfReal +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_DBC_VArrayNodeOfVArrayOfReal +#define DBC_VArrayNode_Type_() DBC_VArrayNodeOfVArrayOfReal_Type_() +#define DBC_VArray DBC_VArrayOfReal +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/PTKernel/DBC_VArrayOfCharacter.hxx b/src/FromOCCT/PTKernel/DBC_VArrayOfCharacter.hxx new file mode 100644 index 000000000..53dfa02a3 --- /dev/null +++ b/src/FromOCCT/PTKernel/DBC_VArrayOfCharacter.hxx @@ -0,0 +1,84 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _DBC_VArrayOfCharacter_HeaderFile +#define _DBC_VArrayOfCharacter_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class Standard_NegativeValue; +class Standard_OutOfRange; +class Standard_DimensionMismatch; +class Standard_NullObject; +class DBC_VArrayNodeOfVArrayOfCharacter; +class DBC_VArrayTNodeOfVArrayOfCharacter; + + + +class DBC_VArrayOfCharacter : public DBC_BaseArray +{ +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT DBC_VArrayOfCharacter(); + + Standard_EXPORT DBC_VArrayOfCharacter(const Standard_Integer Size); + + Standard_EXPORT DBC_VArrayOfCharacter(const DBC_VArrayOfCharacter& Varray); + + Standard_EXPORT void Resize (const Standard_Integer Size) ; + + Standard_EXPORT void Assign (const DBC_VArrayOfCharacter& Other) ; + void operator = (const DBC_VArrayOfCharacter& Other) +{ + Assign(Other); +} + + Standard_EXPORT void SetValue (const Standard_Integer Index, const Standard_Character& Value) ; + + Standard_EXPORT Standard_Character& Value (const Standard_Integer Index) const; + Standard_Character& operator () (const Standard_Integer Index) const +{ + return Value(Index); +} + + Standard_EXPORT void Destroy() ; +~DBC_VArrayOfCharacter() +{ + Destroy(); +} + + + + +protected: + + + + + +private: + + + + + +}; + + + + + + + +#endif // _DBC_VArrayOfCharacter_HeaderFile diff --git a/src/FromOCCT/PTKernel/DBC_VArrayOfCharacter_0.cxx b/src/FromOCCT/PTKernel/DBC_VArrayOfCharacter_0.cxx new file mode 100644 index 000000000..853915316 --- /dev/null +++ b/src/FromOCCT/PTKernel/DBC_VArrayOfCharacter_0.cxx @@ -0,0 +1,27 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + + +#define Item Standard_Character +#define Item_hxx +#define DBC_VArrayNode DBC_VArrayNodeOfVArrayOfCharacter +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode DBC_VArrayTNodeOfVArrayOfCharacter +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_DBC_VArrayNodeOfVArrayOfCharacter +#define DBC_VArrayNode_Type_() DBC_VArrayNodeOfVArrayOfCharacter_Type_() +#define DBC_VArray DBC_VArrayOfCharacter +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/PTKernel/DBC_VArrayOfExtCharacter.hxx b/src/FromOCCT/PTKernel/DBC_VArrayOfExtCharacter.hxx new file mode 100644 index 000000000..61007ba14 --- /dev/null +++ b/src/FromOCCT/PTKernel/DBC_VArrayOfExtCharacter.hxx @@ -0,0 +1,84 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _DBC_VArrayOfExtCharacter_HeaderFile +#define _DBC_VArrayOfExtCharacter_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class Standard_NegativeValue; +class Standard_OutOfRange; +class Standard_DimensionMismatch; +class Standard_NullObject; +class DBC_VArrayNodeOfVArrayOfExtCharacter; +class DBC_VArrayTNodeOfVArrayOfExtCharacter; + + + +class DBC_VArrayOfExtCharacter : public DBC_BaseArray +{ +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT DBC_VArrayOfExtCharacter(); + + Standard_EXPORT DBC_VArrayOfExtCharacter(const Standard_Integer Size); + + Standard_EXPORT DBC_VArrayOfExtCharacter(const DBC_VArrayOfExtCharacter& Varray); + + Standard_EXPORT void Resize (const Standard_Integer Size) ; + + Standard_EXPORT void Assign (const DBC_VArrayOfExtCharacter& Other) ; + void operator = (const DBC_VArrayOfExtCharacter& Other) +{ + Assign(Other); +} + + Standard_EXPORT void SetValue (const Standard_Integer Index, const Standard_ExtCharacter& Value) ; + + Standard_EXPORT Standard_ExtCharacter& Value (const Standard_Integer Index) const; + Standard_ExtCharacter& operator () (const Standard_Integer Index) const +{ + return Value(Index); +} + + Standard_EXPORT void Destroy() ; +~DBC_VArrayOfExtCharacter() +{ + Destroy(); +} + + + + +protected: + + + + + +private: + + + + + +}; + + + + + + + +#endif // _DBC_VArrayOfExtCharacter_HeaderFile diff --git a/src/FromOCCT/PTKernel/DBC_VArrayOfExtCharacter_0.cxx b/src/FromOCCT/PTKernel/DBC_VArrayOfExtCharacter_0.cxx new file mode 100644 index 000000000..c7a8a2e5a --- /dev/null +++ b/src/FromOCCT/PTKernel/DBC_VArrayOfExtCharacter_0.cxx @@ -0,0 +1,27 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + + +#define Item Standard_ExtCharacter +#define Item_hxx +#define DBC_VArrayNode DBC_VArrayNodeOfVArrayOfExtCharacter +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode DBC_VArrayTNodeOfVArrayOfExtCharacter +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_DBC_VArrayNodeOfVArrayOfExtCharacter +#define DBC_VArrayNode_Type_() DBC_VArrayNodeOfVArrayOfExtCharacter_Type_() +#define DBC_VArray DBC_VArrayOfExtCharacter +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/PTKernel/DBC_VArrayOfInteger.hxx b/src/FromOCCT/PTKernel/DBC_VArrayOfInteger.hxx new file mode 100644 index 000000000..658d303b7 --- /dev/null +++ b/src/FromOCCT/PTKernel/DBC_VArrayOfInteger.hxx @@ -0,0 +1,83 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _DBC_VArrayOfInteger_HeaderFile +#define _DBC_VArrayOfInteger_HeaderFile + +#include +#include +#include + +#include +#include +#include +class Standard_NegativeValue; +class Standard_OutOfRange; +class Standard_DimensionMismatch; +class Standard_NullObject; +class DBC_VArrayNodeOfVArrayOfInteger; +class DBC_VArrayTNodeOfVArrayOfInteger; + + + +class DBC_VArrayOfInteger : public DBC_BaseArray +{ +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT DBC_VArrayOfInteger(); + + Standard_EXPORT DBC_VArrayOfInteger(const Standard_Integer Size); + + Standard_EXPORT DBC_VArrayOfInteger(const DBC_VArrayOfInteger& Varray); + + Standard_EXPORT void Resize (const Standard_Integer Size) ; + + Standard_EXPORT void Assign (const DBC_VArrayOfInteger& Other) ; + void operator = (const DBC_VArrayOfInteger& Other) +{ + Assign(Other); +} + + Standard_EXPORT void SetValue (const Standard_Integer Index, const Standard_Integer& Value) ; + + Standard_EXPORT Standard_Integer& Value (const Standard_Integer Index) const; + Standard_Integer& operator () (const Standard_Integer Index) const +{ + return Value(Index); +} + + Standard_EXPORT void Destroy() ; +~DBC_VArrayOfInteger() +{ + Destroy(); +} + + + + +protected: + + + + + +private: + + + + + +}; + + + + + + + +#endif // _DBC_VArrayOfInteger_HeaderFile diff --git a/src/FromOCCT/PTKernel/DBC_VArrayOfInteger_0.cxx b/src/FromOCCT/PTKernel/DBC_VArrayOfInteger_0.cxx new file mode 100644 index 000000000..7c48c34aa --- /dev/null +++ b/src/FromOCCT/PTKernel/DBC_VArrayOfInteger_0.cxx @@ -0,0 +1,27 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + + +#define Item Standard_Integer +#define Item_hxx +#define DBC_VArrayNode DBC_VArrayNodeOfVArrayOfInteger +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode DBC_VArrayTNodeOfVArrayOfInteger +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_DBC_VArrayNodeOfVArrayOfInteger +#define DBC_VArrayNode_Type_() DBC_VArrayNodeOfVArrayOfInteger_Type_() +#define DBC_VArray DBC_VArrayOfInteger +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/PTKernel/DBC_VArrayOfReal.hxx b/src/FromOCCT/PTKernel/DBC_VArrayOfReal.hxx new file mode 100644 index 000000000..30e306fd9 --- /dev/null +++ b/src/FromOCCT/PTKernel/DBC_VArrayOfReal.hxx @@ -0,0 +1,84 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _DBC_VArrayOfReal_HeaderFile +#define _DBC_VArrayOfReal_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class Standard_NegativeValue; +class Standard_OutOfRange; +class Standard_DimensionMismatch; +class Standard_NullObject; +class DBC_VArrayNodeOfVArrayOfReal; +class DBC_VArrayTNodeOfVArrayOfReal; + + + +class DBC_VArrayOfReal : public DBC_BaseArray +{ +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT DBC_VArrayOfReal(); + + Standard_EXPORT DBC_VArrayOfReal(const Standard_Integer Size); + + Standard_EXPORT DBC_VArrayOfReal(const DBC_VArrayOfReal& Varray); + + Standard_EXPORT void Resize (const Standard_Integer Size) ; + + Standard_EXPORT void Assign (const DBC_VArrayOfReal& Other) ; + void operator = (const DBC_VArrayOfReal& Other) +{ + Assign(Other); +} + + Standard_EXPORT void SetValue (const Standard_Integer Index, const Standard_Real& Value) ; + + Standard_EXPORT Standard_Real& Value (const Standard_Integer Index) const; + Standard_Real& operator () (const Standard_Integer Index) const +{ + return Value(Index); +} + + Standard_EXPORT void Destroy() ; +~DBC_VArrayOfReal() +{ + Destroy(); +} + + + + +protected: + + + + + +private: + + + + + +}; + + + + + + + +#endif // _DBC_VArrayOfReal_HeaderFile diff --git a/src/FromOCCT/PTKernel/DBC_VArrayOfReal_0.cxx b/src/FromOCCT/PTKernel/DBC_VArrayOfReal_0.cxx new file mode 100644 index 000000000..2694514da --- /dev/null +++ b/src/FromOCCT/PTKernel/DBC_VArrayOfReal_0.cxx @@ -0,0 +1,27 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + + +#define Item Standard_Real +#define Item_hxx +#define DBC_VArrayNode DBC_VArrayNodeOfVArrayOfReal +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode DBC_VArrayTNodeOfVArrayOfReal +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_DBC_VArrayNodeOfVArrayOfReal +#define DBC_VArrayNode_Type_() DBC_VArrayNodeOfVArrayOfReal_Type_() +#define DBC_VArray DBC_VArrayOfReal +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/PTKernel/DBC_VArrayTNode.gxx b/src/FromOCCT/PTKernel/DBC_VArrayTNode.gxx new file mode 100644 index 000000000..30cad2bfd --- /dev/null +++ b/src/FromOCCT/PTKernel/DBC_VArrayTNode.gxx @@ -0,0 +1,16 @@ +// 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 + diff --git a/src/FromOCCT/PTKernel/DBC_VArrayTNode.lxx b/src/FromOCCT/PTKernel/DBC_VArrayTNode.lxx new file mode 100644 index 000000000..4629864bd --- /dev/null +++ b/src/FromOCCT/PTKernel/DBC_VArrayTNode.lxx @@ -0,0 +1,32 @@ +// 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/FromOCCT/PTKernel/DBC_VArrayTNodeOfVArrayOfCharacter.hxx b/src/FromOCCT/PTKernel/DBC_VArrayTNodeOfVArrayOfCharacter.hxx new file mode 100644 index 000000000..bd94ef84a --- /dev/null +++ b/src/FromOCCT/PTKernel/DBC_VArrayTNodeOfVArrayOfCharacter.hxx @@ -0,0 +1,81 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _DBC_VArrayTNodeOfVArrayOfCharacter_HeaderFile +#define _DBC_VArrayTNodeOfVArrayOfCharacter_HeaderFile + +#include +#include +#include + +#include +#include +#include +class DBC_VArrayOfCharacter; +class DBC_VArrayNodeOfVArrayOfCharacter; + + + +class DBC_VArrayTNodeOfVArrayOfCharacter +{ +public: + + DEFINE_STANDARD_ALLOC + + + DBC_VArrayTNodeOfVArrayOfCharacter(); + + DBC_VArrayTNodeOfVArrayOfCharacter(const Standard_Character& aValue); + + void SetValue (const Standard_Character& aValue) ; + + Standard_Address Value() const; + + + + +protected: + + + + + +private: + + + + Standard_Character myValue; + + +}; + +#define Item Standard_Character +#define Item_hxx +#define DBC_VArrayNode DBC_VArrayNodeOfVArrayOfCharacter +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode DBC_VArrayTNodeOfVArrayOfCharacter +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_DBC_VArrayNodeOfVArrayOfCharacter +#define DBC_VArrayNode_Type_() DBC_VArrayNodeOfVArrayOfCharacter_Type_() +#define DBC_VArray DBC_VArrayOfCharacter +#define DBC_VArray_hxx + +#include + +#undef Item +#undef Item_hxx +#undef DBC_VArrayNode +#undef DBC_VArrayNode_hxx +#undef DBC_VArrayTNode +#undef DBC_VArrayTNode_hxx +#undef Handle_DBC_VArrayNode +#undef DBC_VArrayNode_Type_ +#undef DBC_VArray +#undef DBC_VArray_hxx + + + + +#endif // _DBC_VArrayTNodeOfVArrayOfCharacter_HeaderFile diff --git a/src/FromOCCT/PTKernel/DBC_VArrayTNodeOfVArrayOfCharacter_0.cxx b/src/FromOCCT/PTKernel/DBC_VArrayTNodeOfVArrayOfCharacter_0.cxx new file mode 100644 index 000000000..fe0b82541 --- /dev/null +++ b/src/FromOCCT/PTKernel/DBC_VArrayTNodeOfVArrayOfCharacter_0.cxx @@ -0,0 +1,23 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include + + +#define Item Standard_Character +#define Item_hxx +#define DBC_VArrayNode DBC_VArrayNodeOfVArrayOfCharacter +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode DBC_VArrayTNodeOfVArrayOfCharacter +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_DBC_VArrayNodeOfVArrayOfCharacter +#define DBC_VArrayNode_Type_() DBC_VArrayNodeOfVArrayOfCharacter_Type_() +#define DBC_VArray DBC_VArrayOfCharacter +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/PTKernel/DBC_VArrayTNodeOfVArrayOfExtCharacter.hxx b/src/FromOCCT/PTKernel/DBC_VArrayTNodeOfVArrayOfExtCharacter.hxx new file mode 100644 index 000000000..7c7b78ec2 --- /dev/null +++ b/src/FromOCCT/PTKernel/DBC_VArrayTNodeOfVArrayOfExtCharacter.hxx @@ -0,0 +1,81 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _DBC_VArrayTNodeOfVArrayOfExtCharacter_HeaderFile +#define _DBC_VArrayTNodeOfVArrayOfExtCharacter_HeaderFile + +#include +#include +#include + +#include +#include +#include +class DBC_VArrayOfExtCharacter; +class DBC_VArrayNodeOfVArrayOfExtCharacter; + + + +class DBC_VArrayTNodeOfVArrayOfExtCharacter +{ +public: + + DEFINE_STANDARD_ALLOC + + + DBC_VArrayTNodeOfVArrayOfExtCharacter(); + + DBC_VArrayTNodeOfVArrayOfExtCharacter(const Standard_ExtCharacter& aValue); + + void SetValue (const Standard_ExtCharacter& aValue) ; + + Standard_Address Value() const; + + + + +protected: + + + + + +private: + + + + Standard_ExtCharacter myValue; + + +}; + +#define Item Standard_ExtCharacter +#define Item_hxx +#define DBC_VArrayNode DBC_VArrayNodeOfVArrayOfExtCharacter +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode DBC_VArrayTNodeOfVArrayOfExtCharacter +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_DBC_VArrayNodeOfVArrayOfExtCharacter +#define DBC_VArrayNode_Type_() DBC_VArrayNodeOfVArrayOfExtCharacter_Type_() +#define DBC_VArray DBC_VArrayOfExtCharacter +#define DBC_VArray_hxx + +#include + +#undef Item +#undef Item_hxx +#undef DBC_VArrayNode +#undef DBC_VArrayNode_hxx +#undef DBC_VArrayTNode +#undef DBC_VArrayTNode_hxx +#undef Handle_DBC_VArrayNode +#undef DBC_VArrayNode_Type_ +#undef DBC_VArray +#undef DBC_VArray_hxx + + + + +#endif // _DBC_VArrayTNodeOfVArrayOfExtCharacter_HeaderFile diff --git a/src/FromOCCT/PTKernel/DBC_VArrayTNodeOfVArrayOfExtCharacter_0.cxx b/src/FromOCCT/PTKernel/DBC_VArrayTNodeOfVArrayOfExtCharacter_0.cxx new file mode 100644 index 000000000..e9051b737 --- /dev/null +++ b/src/FromOCCT/PTKernel/DBC_VArrayTNodeOfVArrayOfExtCharacter_0.cxx @@ -0,0 +1,23 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include + + +#define Item Standard_ExtCharacter +#define Item_hxx +#define DBC_VArrayNode DBC_VArrayNodeOfVArrayOfExtCharacter +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode DBC_VArrayTNodeOfVArrayOfExtCharacter +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_DBC_VArrayNodeOfVArrayOfExtCharacter +#define DBC_VArrayNode_Type_() DBC_VArrayNodeOfVArrayOfExtCharacter_Type_() +#define DBC_VArray DBC_VArrayOfExtCharacter +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/PTKernel/DBC_VArrayTNodeOfVArrayOfInteger.hxx b/src/FromOCCT/PTKernel/DBC_VArrayTNodeOfVArrayOfInteger.hxx new file mode 100644 index 000000000..320c7d408 --- /dev/null +++ b/src/FromOCCT/PTKernel/DBC_VArrayTNodeOfVArrayOfInteger.hxx @@ -0,0 +1,81 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _DBC_VArrayTNodeOfVArrayOfInteger_HeaderFile +#define _DBC_VArrayTNodeOfVArrayOfInteger_HeaderFile + +#include +#include +#include + +#include +#include +#include +class DBC_VArrayOfInteger; +class DBC_VArrayNodeOfVArrayOfInteger; + + + +class DBC_VArrayTNodeOfVArrayOfInteger +{ +public: + + DEFINE_STANDARD_ALLOC + + + DBC_VArrayTNodeOfVArrayOfInteger(); + + DBC_VArrayTNodeOfVArrayOfInteger(const Standard_Integer& aValue); + + void SetValue (const Standard_Integer& aValue) ; + + Standard_Address Value() const; + + + + +protected: + + + + + +private: + + + + Standard_Integer myValue; + + +}; + +#define Item Standard_Integer +#define Item_hxx +#define DBC_VArrayNode DBC_VArrayNodeOfVArrayOfInteger +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode DBC_VArrayTNodeOfVArrayOfInteger +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_DBC_VArrayNodeOfVArrayOfInteger +#define DBC_VArrayNode_Type_() DBC_VArrayNodeOfVArrayOfInteger_Type_() +#define DBC_VArray DBC_VArrayOfInteger +#define DBC_VArray_hxx + +#include + +#undef Item +#undef Item_hxx +#undef DBC_VArrayNode +#undef DBC_VArrayNode_hxx +#undef DBC_VArrayTNode +#undef DBC_VArrayTNode_hxx +#undef Handle_DBC_VArrayNode +#undef DBC_VArrayNode_Type_ +#undef DBC_VArray +#undef DBC_VArray_hxx + + + + +#endif // _DBC_VArrayTNodeOfVArrayOfInteger_HeaderFile diff --git a/src/FromOCCT/PTKernel/DBC_VArrayTNodeOfVArrayOfInteger_0.cxx b/src/FromOCCT/PTKernel/DBC_VArrayTNodeOfVArrayOfInteger_0.cxx new file mode 100644 index 000000000..916a32551 --- /dev/null +++ b/src/FromOCCT/PTKernel/DBC_VArrayTNodeOfVArrayOfInteger_0.cxx @@ -0,0 +1,23 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include + + +#define Item Standard_Integer +#define Item_hxx +#define DBC_VArrayNode DBC_VArrayNodeOfVArrayOfInteger +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode DBC_VArrayTNodeOfVArrayOfInteger +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_DBC_VArrayNodeOfVArrayOfInteger +#define DBC_VArrayNode_Type_() DBC_VArrayNodeOfVArrayOfInteger_Type_() +#define DBC_VArray DBC_VArrayOfInteger +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/PTKernel/DBC_VArrayTNodeOfVArrayOfReal.hxx b/src/FromOCCT/PTKernel/DBC_VArrayTNodeOfVArrayOfReal.hxx new file mode 100644 index 000000000..00cbe28bf --- /dev/null +++ b/src/FromOCCT/PTKernel/DBC_VArrayTNodeOfVArrayOfReal.hxx @@ -0,0 +1,81 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _DBC_VArrayTNodeOfVArrayOfReal_HeaderFile +#define _DBC_VArrayTNodeOfVArrayOfReal_HeaderFile + +#include +#include +#include + +#include +#include +#include +class DBC_VArrayOfReal; +class DBC_VArrayNodeOfVArrayOfReal; + + + +class DBC_VArrayTNodeOfVArrayOfReal +{ +public: + + DEFINE_STANDARD_ALLOC + + + DBC_VArrayTNodeOfVArrayOfReal(); + + DBC_VArrayTNodeOfVArrayOfReal(const Standard_Real& aValue); + + void SetValue (const Standard_Real& aValue) ; + + Standard_Address Value() const; + + + + +protected: + + + + + +private: + + + + Standard_Real myValue; + + +}; + +#define Item Standard_Real +#define Item_hxx +#define DBC_VArrayNode DBC_VArrayNodeOfVArrayOfReal +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode DBC_VArrayTNodeOfVArrayOfReal +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_DBC_VArrayNodeOfVArrayOfReal +#define DBC_VArrayNode_Type_() DBC_VArrayNodeOfVArrayOfReal_Type_() +#define DBC_VArray DBC_VArrayOfReal +#define DBC_VArray_hxx + +#include + +#undef Item +#undef Item_hxx +#undef DBC_VArrayNode +#undef DBC_VArrayNode_hxx +#undef DBC_VArrayTNode +#undef DBC_VArrayTNode_hxx +#undef Handle_DBC_VArrayNode +#undef DBC_VArrayNode_Type_ +#undef DBC_VArray +#undef DBC_VArray_hxx + + + + +#endif // _DBC_VArrayTNodeOfVArrayOfReal_HeaderFile diff --git a/src/FromOCCT/PTKernel/DBC_VArrayTNodeOfVArrayOfReal_0.cxx b/src/FromOCCT/PTKernel/DBC_VArrayTNodeOfVArrayOfReal_0.cxx new file mode 100644 index 000000000..3cbf90d77 --- /dev/null +++ b/src/FromOCCT/PTKernel/DBC_VArrayTNodeOfVArrayOfReal_0.cxx @@ -0,0 +1,23 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include + + +#define Item Standard_Real +#define Item_hxx +#define DBC_VArrayNode DBC_VArrayNodeOfVArrayOfReal +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode DBC_VArrayTNodeOfVArrayOfReal +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_DBC_VArrayNodeOfVArrayOfReal +#define DBC_VArrayNode_Type_() DBC_VArrayNodeOfVArrayOfReal_Type_() +#define DBC_VArray DBC_VArrayOfReal +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/PTKernel/Handle_DBC_VArrayNodeOfVArrayOfCharacter.hxx b/src/FromOCCT/PTKernel/Handle_DBC_VArrayNodeOfVArrayOfCharacter.hxx new file mode 100644 index 000000000..9679b17c9 --- /dev/null +++ b/src/FromOCCT/PTKernel/Handle_DBC_VArrayNodeOfVArrayOfCharacter.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_DBC_VArrayNodeOfVArrayOfCharacter_HeaderFile +#define _Handle_DBC_VArrayNodeOfVArrayOfCharacter_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PStandard_ArrayNode); +class DBC_VArrayNodeOfVArrayOfCharacter; + +DEFINE_STANDARD_PHANDLE(DBC_VArrayNodeOfVArrayOfCharacter,PStandard_ArrayNode) + +#endif diff --git a/src/FromOCCT/PTKernel/Handle_DBC_VArrayNodeOfVArrayOfExtCharacter.hxx b/src/FromOCCT/PTKernel/Handle_DBC_VArrayNodeOfVArrayOfExtCharacter.hxx new file mode 100644 index 000000000..7af45f933 --- /dev/null +++ b/src/FromOCCT/PTKernel/Handle_DBC_VArrayNodeOfVArrayOfExtCharacter.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_DBC_VArrayNodeOfVArrayOfExtCharacter_HeaderFile +#define _Handle_DBC_VArrayNodeOfVArrayOfExtCharacter_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PStandard_ArrayNode); +class DBC_VArrayNodeOfVArrayOfExtCharacter; + +DEFINE_STANDARD_PHANDLE(DBC_VArrayNodeOfVArrayOfExtCharacter,PStandard_ArrayNode) + +#endif diff --git a/src/FromOCCT/PTKernel/Handle_DBC_VArrayNodeOfVArrayOfInteger.hxx b/src/FromOCCT/PTKernel/Handle_DBC_VArrayNodeOfVArrayOfInteger.hxx new file mode 100644 index 000000000..f90b6ee2b --- /dev/null +++ b/src/FromOCCT/PTKernel/Handle_DBC_VArrayNodeOfVArrayOfInteger.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_DBC_VArrayNodeOfVArrayOfInteger_HeaderFile +#define _Handle_DBC_VArrayNodeOfVArrayOfInteger_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PStandard_ArrayNode); +class DBC_VArrayNodeOfVArrayOfInteger; + +DEFINE_STANDARD_PHANDLE(DBC_VArrayNodeOfVArrayOfInteger,PStandard_ArrayNode) + +#endif diff --git a/src/FromOCCT/PTKernel/Handle_DBC_VArrayNodeOfVArrayOfReal.hxx b/src/FromOCCT/PTKernel/Handle_DBC_VArrayNodeOfVArrayOfReal.hxx new file mode 100644 index 000000000..c06fea4c3 --- /dev/null +++ b/src/FromOCCT/PTKernel/Handle_DBC_VArrayNodeOfVArrayOfReal.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_DBC_VArrayNodeOfVArrayOfReal_HeaderFile +#define _Handle_DBC_VArrayNodeOfVArrayOfReal_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PStandard_ArrayNode); +class DBC_VArrayNodeOfVArrayOfReal; + +DEFINE_STANDARD_PHANDLE(DBC_VArrayNodeOfVArrayOfReal,PStandard_ArrayNode) + +#endif diff --git a/src/FromOCCT/PTKernel/Handle_ObjMgt_ExternRef.hxx b/src/FromOCCT/PTKernel/Handle_ObjMgt_ExternRef.hxx new file mode 100644 index 000000000..7e50860d0 --- /dev/null +++ b/src/FromOCCT/PTKernel/Handle_ObjMgt_ExternRef.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_ObjMgt_ExternRef_HeaderFile +#define _Handle_ObjMgt_ExternRef_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class ObjMgt_ExternRef; + +DEFINE_STANDARD_PHANDLE(ObjMgt_ExternRef,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/PTKernel/Handle_ObjMgt_ExternShareable.hxx b/src/FromOCCT/PTKernel/Handle_ObjMgt_ExternShareable.hxx new file mode 100644 index 000000000..313f1e4c7 --- /dev/null +++ b/src/FromOCCT/PTKernel/Handle_ObjMgt_ExternShareable.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_ObjMgt_ExternShareable_HeaderFile +#define _Handle_ObjMgt_ExternShareable_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class ObjMgt_ExternShareable; + +DEFINE_STANDARD_PHANDLE(ObjMgt_ExternShareable,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/PTKernel/Handle_ObjMgt_PSeqOfExtRef.hxx b/src/FromOCCT/PTKernel/Handle_ObjMgt_PSeqOfExtRef.hxx new file mode 100644 index 000000000..1a25d5ba8 --- /dev/null +++ b/src/FromOCCT/PTKernel/Handle_ObjMgt_PSeqOfExtRef.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_ObjMgt_PSeqOfExtRef_HeaderFile +#define _Handle_ObjMgt_PSeqOfExtRef_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class ObjMgt_PSeqOfExtRef; + +DEFINE_STANDARD_PHANDLE(ObjMgt_PSeqOfExtRef,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/PTKernel/Handle_ObjMgt_SeqNodeOfPSeqOfExtRef.hxx b/src/FromOCCT/PTKernel/Handle_ObjMgt_SeqNodeOfPSeqOfExtRef.hxx new file mode 100644 index 000000000..2ef14e15f --- /dev/null +++ b/src/FromOCCT/PTKernel/Handle_ObjMgt_SeqNodeOfPSeqOfExtRef.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_ObjMgt_SeqNodeOfPSeqOfExtRef_HeaderFile +#define _Handle_ObjMgt_SeqNodeOfPSeqOfExtRef_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PMMgt_PManaged); +class ObjMgt_SeqNodeOfPSeqOfExtRef; + +DEFINE_STANDARD_PHANDLE(ObjMgt_SeqNodeOfPSeqOfExtRef,PMMgt_PManaged) + +#endif diff --git a/src/FromOCCT/PTKernel/Handle_PColStd_HArray1OfExtendedString.hxx b/src/FromOCCT/PTKernel/Handle_PColStd_HArray1OfExtendedString.hxx new file mode 100644 index 000000000..8f59990d6 --- /dev/null +++ b/src/FromOCCT/PTKernel/Handle_PColStd_HArray1OfExtendedString.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColStd_HArray1OfExtendedString_HeaderFile +#define _Handle_PColStd_HArray1OfExtendedString_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PColStd_HArray1OfExtendedString; + +DEFINE_STANDARD_PHANDLE(PColStd_HArray1OfExtendedString,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/PTKernel/Handle_PColStd_HArray1OfInteger.hxx b/src/FromOCCT/PTKernel/Handle_PColStd_HArray1OfInteger.hxx new file mode 100644 index 000000000..5574fd50e --- /dev/null +++ b/src/FromOCCT/PTKernel/Handle_PColStd_HArray1OfInteger.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColStd_HArray1OfInteger_HeaderFile +#define _Handle_PColStd_HArray1OfInteger_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PColStd_HArray1OfInteger; + +DEFINE_STANDARD_PHANDLE(PColStd_HArray1OfInteger,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/PTKernel/Handle_PColStd_HArray1OfPersistent.hxx b/src/FromOCCT/PTKernel/Handle_PColStd_HArray1OfPersistent.hxx new file mode 100644 index 000000000..5a1585435 --- /dev/null +++ b/src/FromOCCT/PTKernel/Handle_PColStd_HArray1OfPersistent.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColStd_HArray1OfPersistent_HeaderFile +#define _Handle_PColStd_HArray1OfPersistent_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PColStd_HArray1OfPersistent; + +DEFINE_STANDARD_PHANDLE(PColStd_HArray1OfPersistent,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/PTKernel/Handle_PColStd_HArray1OfReal.hxx b/src/FromOCCT/PTKernel/Handle_PColStd_HArray1OfReal.hxx new file mode 100644 index 000000000..52b0becfd --- /dev/null +++ b/src/FromOCCT/PTKernel/Handle_PColStd_HArray1OfReal.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColStd_HArray1OfReal_HeaderFile +#define _Handle_PColStd_HArray1OfReal_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PColStd_HArray1OfReal; + +DEFINE_STANDARD_PHANDLE(PColStd_HArray1OfReal,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/PTKernel/Handle_PColStd_HArray2OfInteger.hxx b/src/FromOCCT/PTKernel/Handle_PColStd_HArray2OfInteger.hxx new file mode 100644 index 000000000..7b4d90354 --- /dev/null +++ b/src/FromOCCT/PTKernel/Handle_PColStd_HArray2OfInteger.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColStd_HArray2OfInteger_HeaderFile +#define _Handle_PColStd_HArray2OfInteger_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PColStd_HArray2OfInteger; + +DEFINE_STANDARD_PHANDLE(PColStd_HArray2OfInteger,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/PTKernel/Handle_PColStd_HArray2OfPersistent.hxx b/src/FromOCCT/PTKernel/Handle_PColStd_HArray2OfPersistent.hxx new file mode 100644 index 000000000..5a3b76ddb --- /dev/null +++ b/src/FromOCCT/PTKernel/Handle_PColStd_HArray2OfPersistent.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColStd_HArray2OfPersistent_HeaderFile +#define _Handle_PColStd_HArray2OfPersistent_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PColStd_HArray2OfPersistent; + +DEFINE_STANDARD_PHANDLE(PColStd_HArray2OfPersistent,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/PTKernel/Handle_PColStd_HArray2OfReal.hxx b/src/FromOCCT/PTKernel/Handle_PColStd_HArray2OfReal.hxx new file mode 100644 index 000000000..adc82ca67 --- /dev/null +++ b/src/FromOCCT/PTKernel/Handle_PColStd_HArray2OfReal.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColStd_HArray2OfReal_HeaderFile +#define _Handle_PColStd_HArray2OfReal_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PColStd_HArray2OfReal; + +DEFINE_STANDARD_PHANDLE(PColStd_HArray2OfReal,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/PTKernel/Handle_PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString.hxx b/src/FromOCCT/PTKernel/Handle_PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString.hxx new file mode 100644 index 000000000..b3d462243 --- /dev/null +++ b/src/FromOCCT/PTKernel/Handle_PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString_HeaderFile +#define _Handle_PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PStandard_ArrayNode); +class PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString; + +DEFINE_STANDARD_PHANDLE(PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString,PStandard_ArrayNode) + +#endif diff --git a/src/FromOCCT/PTKernel/Handle_PColStd_VArrayNodeOfFieldOfHArray1OfInteger.hxx b/src/FromOCCT/PTKernel/Handle_PColStd_VArrayNodeOfFieldOfHArray1OfInteger.hxx new file mode 100644 index 000000000..6f98bcdf4 --- /dev/null +++ b/src/FromOCCT/PTKernel/Handle_PColStd_VArrayNodeOfFieldOfHArray1OfInteger.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColStd_VArrayNodeOfFieldOfHArray1OfInteger_HeaderFile +#define _Handle_PColStd_VArrayNodeOfFieldOfHArray1OfInteger_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PStandard_ArrayNode); +class PColStd_VArrayNodeOfFieldOfHArray1OfInteger; + +DEFINE_STANDARD_PHANDLE(PColStd_VArrayNodeOfFieldOfHArray1OfInteger,PStandard_ArrayNode) + +#endif diff --git a/src/FromOCCT/PTKernel/Handle_PColStd_VArrayNodeOfFieldOfHArray1OfPersistent.hxx b/src/FromOCCT/PTKernel/Handle_PColStd_VArrayNodeOfFieldOfHArray1OfPersistent.hxx new file mode 100644 index 000000000..9202b54a5 --- /dev/null +++ b/src/FromOCCT/PTKernel/Handle_PColStd_VArrayNodeOfFieldOfHArray1OfPersistent.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColStd_VArrayNodeOfFieldOfHArray1OfPersistent_HeaderFile +#define _Handle_PColStd_VArrayNodeOfFieldOfHArray1OfPersistent_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PStandard_ArrayNode); +class PColStd_VArrayNodeOfFieldOfHArray1OfPersistent; + +DEFINE_STANDARD_PHANDLE(PColStd_VArrayNodeOfFieldOfHArray1OfPersistent,PStandard_ArrayNode) + +#endif diff --git a/src/FromOCCT/PTKernel/Handle_PColStd_VArrayNodeOfFieldOfHArray1OfReal.hxx b/src/FromOCCT/PTKernel/Handle_PColStd_VArrayNodeOfFieldOfHArray1OfReal.hxx new file mode 100644 index 000000000..343e52c83 --- /dev/null +++ b/src/FromOCCT/PTKernel/Handle_PColStd_VArrayNodeOfFieldOfHArray1OfReal.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColStd_VArrayNodeOfFieldOfHArray1OfReal_HeaderFile +#define _Handle_PColStd_VArrayNodeOfFieldOfHArray1OfReal_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PStandard_ArrayNode); +class PColStd_VArrayNodeOfFieldOfHArray1OfReal; + +DEFINE_STANDARD_PHANDLE(PColStd_VArrayNodeOfFieldOfHArray1OfReal,PStandard_ArrayNode) + +#endif diff --git a/src/FromOCCT/PTKernel/Handle_PColStd_VArrayNodeOfFieldOfHArray2OfInteger.hxx b/src/FromOCCT/PTKernel/Handle_PColStd_VArrayNodeOfFieldOfHArray2OfInteger.hxx new file mode 100644 index 000000000..79e37679c --- /dev/null +++ b/src/FromOCCT/PTKernel/Handle_PColStd_VArrayNodeOfFieldOfHArray2OfInteger.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColStd_VArrayNodeOfFieldOfHArray2OfInteger_HeaderFile +#define _Handle_PColStd_VArrayNodeOfFieldOfHArray2OfInteger_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PStandard_ArrayNode); +class PColStd_VArrayNodeOfFieldOfHArray2OfInteger; + +DEFINE_STANDARD_PHANDLE(PColStd_VArrayNodeOfFieldOfHArray2OfInteger,PStandard_ArrayNode) + +#endif diff --git a/src/FromOCCT/PTKernel/Handle_PColStd_VArrayNodeOfFieldOfHArray2OfPersistent.hxx b/src/FromOCCT/PTKernel/Handle_PColStd_VArrayNodeOfFieldOfHArray2OfPersistent.hxx new file mode 100644 index 000000000..fe586f6eb --- /dev/null +++ b/src/FromOCCT/PTKernel/Handle_PColStd_VArrayNodeOfFieldOfHArray2OfPersistent.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColStd_VArrayNodeOfFieldOfHArray2OfPersistent_HeaderFile +#define _Handle_PColStd_VArrayNodeOfFieldOfHArray2OfPersistent_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PStandard_ArrayNode); +class PColStd_VArrayNodeOfFieldOfHArray2OfPersistent; + +DEFINE_STANDARD_PHANDLE(PColStd_VArrayNodeOfFieldOfHArray2OfPersistent,PStandard_ArrayNode) + +#endif diff --git a/src/FromOCCT/PTKernel/Handle_PColStd_VArrayNodeOfFieldOfHArray2OfReal.hxx b/src/FromOCCT/PTKernel/Handle_PColStd_VArrayNodeOfFieldOfHArray2OfReal.hxx new file mode 100644 index 000000000..829bd21fe --- /dev/null +++ b/src/FromOCCT/PTKernel/Handle_PColStd_VArrayNodeOfFieldOfHArray2OfReal.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColStd_VArrayNodeOfFieldOfHArray2OfReal_HeaderFile +#define _Handle_PColStd_VArrayNodeOfFieldOfHArray2OfReal_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PStandard_ArrayNode); +class PColStd_VArrayNodeOfFieldOfHArray2OfReal; + +DEFINE_STANDARD_PHANDLE(PColStd_VArrayNodeOfFieldOfHArray2OfReal,PStandard_ArrayNode) + +#endif diff --git a/src/FromOCCT/PTKernel/Handle_PCollection_HAsciiString.hxx b/src/FromOCCT/PTKernel/Handle_PCollection_HAsciiString.hxx new file mode 100644 index 000000000..9a2ed46e2 --- /dev/null +++ b/src/FromOCCT/PTKernel/Handle_PCollection_HAsciiString.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PCollection_HAsciiString_HeaderFile +#define _Handle_PCollection_HAsciiString_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PCollection_HAsciiString; + +DEFINE_STANDARD_PHANDLE(PCollection_HAsciiString,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/PTKernel/Handle_PCollection_HExtendedString.hxx b/src/FromOCCT/PTKernel/Handle_PCollection_HExtendedString.hxx new file mode 100644 index 000000000..c7d9c40a2 --- /dev/null +++ b/src/FromOCCT/PTKernel/Handle_PCollection_HExtendedString.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PCollection_HExtendedString_HeaderFile +#define _Handle_PCollection_HExtendedString_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PCollection_HExtendedString; + +DEFINE_STANDARD_PHANDLE(PCollection_HExtendedString,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/PTKernel/Handle_PMMgt_PManaged.hxx b/src/FromOCCT/PTKernel/Handle_PMMgt_PManaged.hxx new file mode 100644 index 000000000..74033c3d5 --- /dev/null +++ b/src/FromOCCT/PTKernel/Handle_PMMgt_PManaged.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PMMgt_PManaged_HeaderFile +#define _Handle_PMMgt_PManaged_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PMMgt_PManaged; + +DEFINE_STANDARD_PHANDLE(PMMgt_PManaged,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/PTKernel/Handle_PShort_HArray1OfShortReal.hxx b/src/FromOCCT/PTKernel/Handle_PShort_HArray1OfShortReal.hxx new file mode 100644 index 000000000..3f41a86d9 --- /dev/null +++ b/src/FromOCCT/PTKernel/Handle_PShort_HArray1OfShortReal.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PShort_HArray1OfShortReal_HeaderFile +#define _Handle_PShort_HArray1OfShortReal_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PShort_HArray1OfShortReal; + +DEFINE_STANDARD_PHANDLE(PShort_HArray1OfShortReal,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/PTKernel/Handle_PShort_HArray2OfShortReal.hxx b/src/FromOCCT/PTKernel/Handle_PShort_HArray2OfShortReal.hxx new file mode 100644 index 000000000..c85c6ccdb --- /dev/null +++ b/src/FromOCCT/PTKernel/Handle_PShort_HArray2OfShortReal.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PShort_HArray2OfShortReal_HeaderFile +#define _Handle_PShort_HArray2OfShortReal_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PShort_HArray2OfShortReal; + +DEFINE_STANDARD_PHANDLE(PShort_HArray2OfShortReal,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/PTKernel/Handle_PShort_HSequenceOfShortReal.hxx b/src/FromOCCT/PTKernel/Handle_PShort_HSequenceOfShortReal.hxx new file mode 100644 index 000000000..f3b001c87 --- /dev/null +++ b/src/FromOCCT/PTKernel/Handle_PShort_HSequenceOfShortReal.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PShort_HSequenceOfShortReal_HeaderFile +#define _Handle_PShort_HSequenceOfShortReal_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PShort_HSequenceOfShortReal; + +DEFINE_STANDARD_PHANDLE(PShort_HSequenceOfShortReal,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/PTKernel/Handle_PShort_SeqNodeOfHSequenceOfShortReal.hxx b/src/FromOCCT/PTKernel/Handle_PShort_SeqNodeOfHSequenceOfShortReal.hxx new file mode 100644 index 000000000..ea222eb11 --- /dev/null +++ b/src/FromOCCT/PTKernel/Handle_PShort_SeqNodeOfHSequenceOfShortReal.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PShort_SeqNodeOfHSequenceOfShortReal_HeaderFile +#define _Handle_PShort_SeqNodeOfHSequenceOfShortReal_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PMMgt_PManaged); +class PShort_SeqNodeOfHSequenceOfShortReal; + +DEFINE_STANDARD_PHANDLE(PShort_SeqNodeOfHSequenceOfShortReal,PMMgt_PManaged) + +#endif diff --git a/src/FromOCCT/PTKernel/Handle_PShort_VArrayNodeOfFieldOfHArray1OfShortReal.hxx b/src/FromOCCT/PTKernel/Handle_PShort_VArrayNodeOfFieldOfHArray1OfShortReal.hxx new file mode 100644 index 000000000..f7e83890e --- /dev/null +++ b/src/FromOCCT/PTKernel/Handle_PShort_VArrayNodeOfFieldOfHArray1OfShortReal.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PShort_VArrayNodeOfFieldOfHArray1OfShortReal_HeaderFile +#define _Handle_PShort_VArrayNodeOfFieldOfHArray1OfShortReal_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PStandard_ArrayNode); +class PShort_VArrayNodeOfFieldOfHArray1OfShortReal; + +DEFINE_STANDARD_PHANDLE(PShort_VArrayNodeOfFieldOfHArray1OfShortReal,PStandard_ArrayNode) + +#endif diff --git a/src/FromOCCT/PTKernel/Handle_PShort_VArrayNodeOfFieldOfHArray2OfShortReal.hxx b/src/FromOCCT/PTKernel/Handle_PShort_VArrayNodeOfFieldOfHArray2OfShortReal.hxx new file mode 100644 index 000000000..28f5a4b55 --- /dev/null +++ b/src/FromOCCT/PTKernel/Handle_PShort_VArrayNodeOfFieldOfHArray2OfShortReal.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PShort_VArrayNodeOfFieldOfHArray2OfShortReal_HeaderFile +#define _Handle_PShort_VArrayNodeOfFieldOfHArray2OfShortReal_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PStandard_ArrayNode); +class PShort_VArrayNodeOfFieldOfHArray2OfShortReal; + +DEFINE_STANDARD_PHANDLE(PShort_VArrayNodeOfFieldOfHArray2OfShortReal,PStandard_ArrayNode) + +#endif diff --git a/src/FromOCCT/PTKernel/Handle_PStandard_ArrayNode.hxx b/src/FromOCCT/PTKernel/Handle_PStandard_ArrayNode.hxx new file mode 100644 index 000000000..b2038ec49 --- /dev/null +++ b/src/FromOCCT/PTKernel/Handle_PStandard_ArrayNode.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PStandard_ArrayNode_HeaderFile +#define _Handle_PStandard_ArrayNode_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PStandard_ArrayNode; + +DEFINE_STANDARD_PHANDLE(PStandard_ArrayNode,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/PTKernel/Handle_PTColStd_DataMapNodeOfPersistentTransientMap.hxx b/src/FromOCCT/PTKernel/Handle_PTColStd_DataMapNodeOfPersistentTransientMap.hxx new file mode 100644 index 000000000..6f480f4cc --- /dev/null +++ b/src/FromOCCT/PTKernel/Handle_PTColStd_DataMapNodeOfPersistentTransientMap.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PTColStd_DataMapNodeOfPersistentTransientMap_HeaderFile +#define _Handle_PTColStd_DataMapNodeOfPersistentTransientMap_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(TCollection_MapNode); +class PTColStd_DataMapNodeOfPersistentTransientMap; + +DEFINE_STANDARD_HANDLE(PTColStd_DataMapNodeOfPersistentTransientMap, TCollection_MapNode) + +#endif // _Handle_PTColStd_DataMapNodeOfPersistentTransientMap_HeaderFile diff --git a/src/FromOCCT/PTKernel/Handle_PTColStd_DataMapNodeOfTransientPersistentMap.hxx b/src/FromOCCT/PTKernel/Handle_PTColStd_DataMapNodeOfTransientPersistentMap.hxx new file mode 100644 index 000000000..5e9cf9dac --- /dev/null +++ b/src/FromOCCT/PTKernel/Handle_PTColStd_DataMapNodeOfTransientPersistentMap.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PTColStd_DataMapNodeOfTransientPersistentMap_HeaderFile +#define _Handle_PTColStd_DataMapNodeOfTransientPersistentMap_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(TCollection_MapNode); +class PTColStd_DataMapNodeOfTransientPersistentMap; + +DEFINE_STANDARD_HANDLE(PTColStd_DataMapNodeOfTransientPersistentMap, TCollection_MapNode) + +#endif // _Handle_PTColStd_DataMapNodeOfTransientPersistentMap_HeaderFile diff --git a/src/FromOCCT/PTKernel/Handle_PTColStd_DoubleMapNodeOfDoubleMapOfTransientPersistent.hxx b/src/FromOCCT/PTKernel/Handle_PTColStd_DoubleMapNodeOfDoubleMapOfTransientPersistent.hxx new file mode 100644 index 000000000..718597b78 --- /dev/null +++ b/src/FromOCCT/PTKernel/Handle_PTColStd_DoubleMapNodeOfDoubleMapOfTransientPersistent.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PTColStd_DoubleMapNodeOfDoubleMapOfTransientPersistent_HeaderFile +#define _Handle_PTColStd_DoubleMapNodeOfDoubleMapOfTransientPersistent_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(TCollection_MapNode); +class PTColStd_DoubleMapNodeOfDoubleMapOfTransientPersistent; + +DEFINE_STANDARD_HANDLE(PTColStd_DoubleMapNodeOfDoubleMapOfTransientPersistent, TCollection_MapNode) + +#endif // _Handle_PTColStd_DoubleMapNodeOfDoubleMapOfTransientPersistent_HeaderFile diff --git a/src/FromOCCT/PTKernel/ObjMgt_ExternRef.cxx b/src/FromOCCT/PTKernel/ObjMgt_ExternRef.cxx new file mode 100644 index 000000000..8884d486c --- /dev/null +++ b/src/FromOCCT/PTKernel/ObjMgt_ExternRef.cxx @@ -0,0 +1,16 @@ +// Copyright (c) 1999-2014 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + +#include + + diff --git a/src/FromOCCT/PTKernel/ObjMgt_ExternRef.hxx b/src/FromOCCT/PTKernel/ObjMgt_ExternRef.hxx new file mode 100644 index 000000000..a251addd8 --- /dev/null +++ b/src/FromOCCT/PTKernel/ObjMgt_ExternRef.hxx @@ -0,0 +1,63 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ObjMgt_ExternRef_HeaderFile +#define _ObjMgt_ExternRef_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class PCollection_HAsciiString; + + +class ObjMgt_ExternRef : public Standard_Persistent +{ + +public: + + +ObjMgt_ExternRef( ) +{ + +} +ObjMgt_ExternRef(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Handle(PCollection_HAsciiString) _CSFDB_GetObjMgt_ExternRefmyEntryId() const { return myEntryId; } + void _CSFDB_SetObjMgt_ExternRefmyEntryId(const Handle(PCollection_HAsciiString)& p) { myEntryId = p; } + Standard_Integer _CSFDB_GetObjMgt_ExternRefmyBindingIndex() const { return myBindingIndex; } + void _CSFDB_SetObjMgt_ExternRefmyBindingIndex(const Standard_Integer p) { myBindingIndex = p; } + + + + DEFINE_STANDARD_RTTI(ObjMgt_ExternRef) + +protected: + + + + +private: + + + Handle(PCollection_HAsciiString) myEntryId; + Standard_Integer myBindingIndex; + + +}; + + + + + + + +#endif // _ObjMgt_ExternRef_HeaderFile diff --git a/src/FromOCCT/PTKernel/ObjMgt_ExternRef.ixx b/src/FromOCCT/PTKernel/ObjMgt_ExternRef.ixx new file mode 100644 index 000000000..a85940902 --- /dev/null +++ b/src/FromOCCT/PTKernel/ObjMgt_ExternRef.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(ObjMgt_ExternRef,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(ObjMgt_ExternRef) + + + diff --git a/src/FromOCCT/PTKernel/ObjMgt_ExternRef.jxx b/src/FromOCCT/PTKernel/ObjMgt_ExternRef.jxx new file mode 100644 index 000000000..381372284 --- /dev/null +++ b/src/FromOCCT/PTKernel/ObjMgt_ExternRef.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/PTKernel/ObjMgt_ExternShareable.cxx b/src/FromOCCT/PTKernel/ObjMgt_ExternShareable.cxx new file mode 100644 index 000000000..ce3acad15 --- /dev/null +++ b/src/FromOCCT/PTKernel/ObjMgt_ExternShareable.cxx @@ -0,0 +1,15 @@ +// Copyright (c) 1999-2014 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + +#include + diff --git a/src/FromOCCT/PTKernel/ObjMgt_ExternShareable.hxx b/src/FromOCCT/PTKernel/ObjMgt_ExternShareable.hxx new file mode 100644 index 000000000..88d1f96ff --- /dev/null +++ b/src/FromOCCT/PTKernel/ObjMgt_ExternShareable.hxx @@ -0,0 +1,59 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ObjMgt_ExternShareable_HeaderFile +#define _ObjMgt_ExternShareable_HeaderFile + +#include +#include +#include +#include + +#include +#include +class PCollection_HAsciiString; + + +class ObjMgt_ExternShareable : public Standard_Persistent +{ + +public: + + +ObjMgt_ExternShareable( ) +{ + +} +ObjMgt_ExternShareable(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Handle(PCollection_HAsciiString) _CSFDB_GetObjMgt_ExternShareablemyEntry() const { return myEntry; } + void _CSFDB_SetObjMgt_ExternShareablemyEntry(const Handle(PCollection_HAsciiString)& p) { myEntry = p; } + + + + DEFINE_STANDARD_RTTI(ObjMgt_ExternShareable) + +protected: + + + + +private: + + + Handle(PCollection_HAsciiString) myEntry; + + +}; + + + + + + + +#endif // _ObjMgt_ExternShareable_HeaderFile diff --git a/src/FromOCCT/PTKernel/ObjMgt_ExternShareable.ixx b/src/FromOCCT/PTKernel/ObjMgt_ExternShareable.ixx new file mode 100644 index 000000000..fa1436276 --- /dev/null +++ b/src/FromOCCT/PTKernel/ObjMgt_ExternShareable.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(ObjMgt_ExternShareable,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(ObjMgt_ExternShareable) + + + diff --git a/src/FromOCCT/PTKernel/ObjMgt_ExternShareable.jxx b/src/FromOCCT/PTKernel/ObjMgt_ExternShareable.jxx new file mode 100644 index 000000000..874ef373d --- /dev/null +++ b/src/FromOCCT/PTKernel/ObjMgt_ExternShareable.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/PTKernel/ObjMgt_PSeqOfExtRef.hxx b/src/FromOCCT/PTKernel/ObjMgt_PSeqOfExtRef.hxx new file mode 100644 index 000000000..30dec3742 --- /dev/null +++ b/src/FromOCCT/PTKernel/ObjMgt_PSeqOfExtRef.hxx @@ -0,0 +1,129 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ObjMgt_PSeqOfExtRef_HeaderFile +#define _ObjMgt_PSeqOfExtRef_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class ObjMgt_ExternRef; +class ObjMgt_SeqNodeOfPSeqOfExtRef; +class Standard_NoSuchObject; +class Standard_OutOfRange; +class ObjMgt_SeqExplorerOfPSeqOfExtRef; + + +class ObjMgt_PSeqOfExtRef : public Standard_Persistent +{ + +public: + + + Standard_EXPORT ObjMgt_PSeqOfExtRef(); + + Standard_EXPORT Standard_Boolean IsEmpty() const; + + Standard_EXPORT Standard_Integer Length() const; + + Standard_EXPORT Handle(ObjMgt_ExternRef) First() const; + + Standard_EXPORT Handle(ObjMgt_ExternRef) Last() const; + + Standard_EXPORT void Clear() ; + + Standard_EXPORT void Append (const Handle(ObjMgt_ExternRef)& T) ; + + Standard_EXPORT void Append (const Handle(ObjMgt_PSeqOfExtRef)& S) ; + + Standard_EXPORT void Prepend (const Handle(ObjMgt_ExternRef)& T) ; + + Standard_EXPORT void Prepend (const Handle(ObjMgt_PSeqOfExtRef)& S) ; + + Standard_EXPORT void Reverse() ; + + Standard_EXPORT void InsertBefore (const Standard_Integer Index, const Handle(ObjMgt_ExternRef)& T) ; + + Standard_EXPORT void InsertBefore (const Standard_Integer Index, const Handle(ObjMgt_PSeqOfExtRef)& S) ; + + Standard_EXPORT void InsertAfter (const Standard_Integer Index, const Handle(ObjMgt_ExternRef)& T) ; + + Standard_EXPORT void InsertAfter (const Standard_Integer Index, const Handle(ObjMgt_PSeqOfExtRef)& S) ; + + Standard_EXPORT void Exchange (const Standard_Integer I, const Standard_Integer J) ; + + Standard_EXPORT Handle(ObjMgt_PSeqOfExtRef) SubSequence (const Standard_Integer FromIndex, const Standard_Integer ToIndex) const; + + Standard_EXPORT Handle(ObjMgt_PSeqOfExtRef) Split (const Standard_Integer Index) ; + + Standard_EXPORT void SetValue (const Standard_Integer Index, const Handle(ObjMgt_ExternRef)& T) ; + + Standard_EXPORT Handle(ObjMgt_ExternRef) Value (const Standard_Integer Index) const; + + Standard_EXPORT Standard_Boolean Contains (const Handle(ObjMgt_ExternRef)& T) const; + + Standard_EXPORT Standard_Integer Location (const Standard_Integer N, const Handle(ObjMgt_ExternRef)& T, const Standard_Integer FromIndex, const Standard_Integer ToIndex) const; + + Standard_EXPORT Standard_Integer Location (const Standard_Integer N, const Handle(ObjMgt_ExternRef)& T) const; + + Standard_EXPORT void Remove (const Standard_Integer Index) ; + + Standard_EXPORT void Remove (const Standard_Integer FromIndex, const Standard_Integer ToIndex) ; + + Standard_EXPORT void Destroy() ; +~ObjMgt_PSeqOfExtRef() +{ + Destroy(); +} +ObjMgt_PSeqOfExtRef(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Handle(ObjMgt_SeqNodeOfPSeqOfExtRef) _CSFDB_GetObjMgt_PSeqOfExtRefFirstItem() const { return FirstItem; } + void _CSFDB_SetObjMgt_PSeqOfExtRefFirstItem(const Handle(ObjMgt_SeqNodeOfPSeqOfExtRef)& p) { FirstItem = p; } + Handle(ObjMgt_SeqNodeOfPSeqOfExtRef) _CSFDB_GetObjMgt_PSeqOfExtRefLastItem() const { return LastItem; } + void _CSFDB_SetObjMgt_PSeqOfExtRefLastItem(const Handle(ObjMgt_SeqNodeOfPSeqOfExtRef)& p) { LastItem = p; } + Standard_Integer _CSFDB_GetObjMgt_PSeqOfExtRefSize() const { return Size; } + void _CSFDB_SetObjMgt_PSeqOfExtRefSize(const Standard_Integer p) { Size = p; } + +friend class ObjMgt_SeqExplorerOfPSeqOfExtRef; + + + DEFINE_STANDARD_RTTI(ObjMgt_PSeqOfExtRef) + +protected: + + + + +private: + + + Standard_EXPORT Handle(ObjMgt_SeqNodeOfPSeqOfExtRef) GetFirst() const; + + Standard_EXPORT Handle(ObjMgt_SeqNodeOfPSeqOfExtRef) GetLast() const; + + Handle(ObjMgt_SeqNodeOfPSeqOfExtRef) FirstItem; + Handle(ObjMgt_SeqNodeOfPSeqOfExtRef) LastItem; + Standard_Integer Size; + + +}; + + + + + + + +#endif // _ObjMgt_PSeqOfExtRef_HeaderFile diff --git a/src/FromOCCT/PTKernel/ObjMgt_PSeqOfExtRef_0.cxx b/src/FromOCCT/PTKernel/ObjMgt_PSeqOfExtRef_0.cxx new file mode 100644 index 000000000..ec776508e --- /dev/null +++ b/src/FromOCCT/PTKernel/ObjMgt_PSeqOfExtRef_0.cxx @@ -0,0 +1,34 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + + + +IMPLEMENT_DOWNCAST(ObjMgt_PSeqOfExtRef,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(ObjMgt_PSeqOfExtRef) + + +#define Item Handle(ObjMgt_ExternRef) +#define Item_hxx +#define PCollection_SeqNode ObjMgt_SeqNodeOfPSeqOfExtRef +#define PCollection_SeqNode_hxx +#define PCollection_SeqExplorer ObjMgt_SeqExplorerOfPSeqOfExtRef +#define PCollection_SeqExplorer_hxx +#define Handle_PCollection_SeqNode Handle_ObjMgt_SeqNodeOfPSeqOfExtRef +#define PCollection_SeqNode_Type_() ObjMgt_SeqNodeOfPSeqOfExtRef_Type_() +#define PCollection_HSequence ObjMgt_PSeqOfExtRef +#define PCollection_HSequence_hxx +#define Handle_PCollection_HSequence Handle_ObjMgt_PSeqOfExtRef +#define PCollection_HSequence_Type_() ObjMgt_PSeqOfExtRef_Type_() +#include + diff --git a/src/FromOCCT/PTKernel/ObjMgt_SeqExplorerOfPSeqOfExtRef.hxx b/src/FromOCCT/PTKernel/ObjMgt_SeqExplorerOfPSeqOfExtRef.hxx new file mode 100644 index 000000000..8422cb887 --- /dev/null +++ b/src/FromOCCT/PTKernel/ObjMgt_SeqExplorerOfPSeqOfExtRef.hxx @@ -0,0 +1,69 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ObjMgt_SeqExplorerOfPSeqOfExtRef_HeaderFile +#define _ObjMgt_SeqExplorerOfPSeqOfExtRef_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +class ObjMgt_SeqNodeOfPSeqOfExtRef; +class ObjMgt_PSeqOfExtRef; +class Standard_NoSuchObject; +class Standard_OutOfRange; +class ObjMgt_ExternRef; + + + +class ObjMgt_SeqExplorerOfPSeqOfExtRef +{ +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT ObjMgt_SeqExplorerOfPSeqOfExtRef(const Handle(ObjMgt_PSeqOfExtRef)& S); + + Standard_EXPORT Handle(ObjMgt_ExternRef) Value (const Standard_Integer Index) ; + + Standard_EXPORT Standard_Boolean Contains (const Handle(ObjMgt_ExternRef)& T) ; + + Standard_EXPORT Standard_Integer Location (const Standard_Integer N, const Handle(ObjMgt_ExternRef)& T, const Standard_Integer FromIndex, const Standard_Integer ToIndex) ; + + Standard_EXPORT Standard_Integer Location (const Standard_Integer N, const Handle(ObjMgt_ExternRef)& T) ; + + + + +protected: + + + + + +private: + + + + Handle(ObjMgt_SeqNodeOfPSeqOfExtRef) CurrentItem; + Standard_Integer CurrentIndex; + Handle(ObjMgt_PSeqOfExtRef) TheSequence; + + +}; + + + + + + + +#endif // _ObjMgt_SeqExplorerOfPSeqOfExtRef_HeaderFile diff --git a/src/FromOCCT/PTKernel/ObjMgt_SeqExplorerOfPSeqOfExtRef_0.cxx b/src/FromOCCT/PTKernel/ObjMgt_SeqExplorerOfPSeqOfExtRef_0.cxx new file mode 100644 index 000000000..d5bbba7d3 --- /dev/null +++ b/src/FromOCCT/PTKernel/ObjMgt_SeqExplorerOfPSeqOfExtRef_0.cxx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include + + +#define Item Handle(ObjMgt_ExternRef) +#define Item_hxx +#define PCollection_SeqNode ObjMgt_SeqNodeOfPSeqOfExtRef +#define PCollection_SeqNode_hxx +#define PCollection_SeqExplorer ObjMgt_SeqExplorerOfPSeqOfExtRef +#define PCollection_SeqExplorer_hxx +#define Handle_PCollection_SeqNode Handle_ObjMgt_SeqNodeOfPSeqOfExtRef +#define PCollection_SeqNode_Type_() ObjMgt_SeqNodeOfPSeqOfExtRef_Type_() +#define PCollection_HSequence ObjMgt_PSeqOfExtRef +#define PCollection_HSequence_hxx +#define Handle_PCollection_HSequence Handle_ObjMgt_PSeqOfExtRef +#define PCollection_HSequence_Type_() ObjMgt_PSeqOfExtRef_Type_() +#include + diff --git a/src/FromOCCT/PTKernel/ObjMgt_SeqNodeOfPSeqOfExtRef.hxx b/src/FromOCCT/PTKernel/ObjMgt_SeqNodeOfPSeqOfExtRef.hxx new file mode 100644 index 000000000..ad6196ba9 --- /dev/null +++ b/src/FromOCCT/PTKernel/ObjMgt_SeqNodeOfPSeqOfExtRef.hxx @@ -0,0 +1,89 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ObjMgt_SeqNodeOfPSeqOfExtRef_HeaderFile +#define _ObjMgt_SeqNodeOfPSeqOfExtRef_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +class ObjMgt_ExternRef; +class ObjMgt_PSeqOfExtRef; +class ObjMgt_SeqExplorerOfPSeqOfExtRef; + + +class ObjMgt_SeqNodeOfPSeqOfExtRef : public PMMgt_PManaged +{ + +public: + + + Standard_EXPORT ObjMgt_SeqNodeOfPSeqOfExtRef(const Handle(ObjMgt_SeqNodeOfPSeqOfExtRef)& TheLast, const Handle(ObjMgt_ExternRef)& TheItem); + + Standard_EXPORT ObjMgt_SeqNodeOfPSeqOfExtRef(const Handle(ObjMgt_ExternRef)& TheItem, const Handle(ObjMgt_SeqNodeOfPSeqOfExtRef)& TheFirst); + + Standard_EXPORT ObjMgt_SeqNodeOfPSeqOfExtRef(const Handle(ObjMgt_SeqNodeOfPSeqOfExtRef)& ThePrevious, const Handle(ObjMgt_SeqNodeOfPSeqOfExtRef)& TheNext, const Handle(ObjMgt_ExternRef)& TheItem); + + Standard_EXPORT Handle(ObjMgt_ExternRef) Value() const; + + Standard_EXPORT Handle(ObjMgt_SeqNodeOfPSeqOfExtRef) Next() const; + + Standard_EXPORT Handle(ObjMgt_SeqNodeOfPSeqOfExtRef) Previous() const; + + Standard_EXPORT void SetValue (const Handle(ObjMgt_ExternRef)& AnItem) ; + + Standard_EXPORT void SetNext (const Handle(ObjMgt_SeqNodeOfPSeqOfExtRef)& ANode) ; + + Standard_EXPORT void SetPrevious (const Handle(ObjMgt_SeqNodeOfPSeqOfExtRef)& ANode) ; + +ObjMgt_SeqNodeOfPSeqOfExtRef( ) +{ + +} +ObjMgt_SeqNodeOfPSeqOfExtRef(const Storage_stCONSTclCOM& a) : PMMgt_PManaged(a) +{ + +} + Handle(ObjMgt_SeqNodeOfPSeqOfExtRef) _CSFDB_GetObjMgt_SeqNodeOfPSeqOfExtRefMyPrevious() const { return MyPrevious; } + void _CSFDB_SetObjMgt_SeqNodeOfPSeqOfExtRefMyPrevious(const Handle(ObjMgt_SeqNodeOfPSeqOfExtRef)& p) { MyPrevious = p; } + Handle(ObjMgt_ExternRef) _CSFDB_GetObjMgt_SeqNodeOfPSeqOfExtRefMyItem() const { return MyItem; } + void _CSFDB_SetObjMgt_SeqNodeOfPSeqOfExtRefMyItem(const Handle(ObjMgt_ExternRef)& p) { MyItem = p; } + Handle(ObjMgt_SeqNodeOfPSeqOfExtRef) _CSFDB_GetObjMgt_SeqNodeOfPSeqOfExtRefMyNext() const { return MyNext; } + void _CSFDB_SetObjMgt_SeqNodeOfPSeqOfExtRefMyNext(const Handle(ObjMgt_SeqNodeOfPSeqOfExtRef)& p) { MyNext = p; } + +friend class ObjMgt_PSeqOfExtRef; +friend class ObjMgt_SeqExplorerOfPSeqOfExtRef; + + + DEFINE_STANDARD_RTTI(ObjMgt_SeqNodeOfPSeqOfExtRef) + +protected: + + + + +private: + + + Handle(ObjMgt_SeqNodeOfPSeqOfExtRef) MyPrevious; + Handle(ObjMgt_ExternRef) MyItem; + Handle(ObjMgt_SeqNodeOfPSeqOfExtRef) MyNext; + + +}; + + + + + + + +#endif // _ObjMgt_SeqNodeOfPSeqOfExtRef_HeaderFile diff --git a/src/FromOCCT/PTKernel/ObjMgt_SeqNodeOfPSeqOfExtRef_0.cxx b/src/FromOCCT/PTKernel/ObjMgt_SeqNodeOfPSeqOfExtRef_0.cxx new file mode 100644 index 000000000..d4e649e23 --- /dev/null +++ b/src/FromOCCT/PTKernel/ObjMgt_SeqNodeOfPSeqOfExtRef_0.cxx @@ -0,0 +1,33 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(ObjMgt_SeqNodeOfPSeqOfExtRef,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(ObjMgt_SeqNodeOfPSeqOfExtRef) + + +#define Item Handle(ObjMgt_ExternRef) +#define Item_hxx +#define PCollection_SeqNode ObjMgt_SeqNodeOfPSeqOfExtRef +#define PCollection_SeqNode_hxx +#define PCollection_SeqExplorer ObjMgt_SeqExplorerOfPSeqOfExtRef +#define PCollection_SeqExplorer_hxx +#define Handle_PCollection_SeqNode Handle_ObjMgt_SeqNodeOfPSeqOfExtRef +#define PCollection_SeqNode_Type_() ObjMgt_SeqNodeOfPSeqOfExtRef_Type_() +#define PCollection_HSequence ObjMgt_PSeqOfExtRef +#define PCollection_HSequence_hxx +#define Handle_PCollection_HSequence Handle_ObjMgt_PSeqOfExtRef +#define PCollection_HSequence_Type_() ObjMgt_PSeqOfExtRef_Type_() +#include + diff --git a/src/FromOCCT/PTKernel/PColStd_FieldOfHArray1OfExtendedString.hxx b/src/FromOCCT/PTKernel/PColStd_FieldOfHArray1OfExtendedString.hxx new file mode 100644 index 000000000..d01cfac12 --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_FieldOfHArray1OfExtendedString.hxx @@ -0,0 +1,91 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColStd_FieldOfHArray1OfExtendedString_HeaderFile +#define _PColStd_FieldOfHArray1OfExtendedString_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +class Standard_NegativeValue; +class Standard_OutOfRange; +class Standard_DimensionMismatch; +class Standard_NullObject; +class PCollection_HExtendedString; +class PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString; +class PColStd_VArrayTNodeOfFieldOfHArray1OfExtendedString; + + + +Standard_EXPORT const Handle(Standard_Type)& STANDARD_TYPE(PColStd_FieldOfHArray1OfExtendedString); + + +class PColStd_FieldOfHArray1OfExtendedString : public DBC_BaseArray +{ + +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT PColStd_FieldOfHArray1OfExtendedString(); + + Standard_EXPORT PColStd_FieldOfHArray1OfExtendedString(const Standard_Integer Size); + + Standard_EXPORT PColStd_FieldOfHArray1OfExtendedString(const PColStd_FieldOfHArray1OfExtendedString& Varray); + + Standard_EXPORT void Resize (const Standard_Integer Size) ; + + Standard_EXPORT void Assign (const PColStd_FieldOfHArray1OfExtendedString& Other) ; + void operator = (const PColStd_FieldOfHArray1OfExtendedString& Other) +{ + Assign(Other); +} + + Standard_EXPORT void SetValue (const Standard_Integer Index, const Handle(PCollection_HExtendedString)& Value) ; + + Standard_EXPORT Handle(PCollection_HExtendedString)& Value (const Standard_Integer Index) const; + Handle(PCollection_HExtendedString)& operator () (const Standard_Integer Index) const +{ + return Value(Index); +} + + Standard_EXPORT void Destroy() ; +~PColStd_FieldOfHArray1OfExtendedString() +{ + Destroy(); +} + + + +protected: + + + + +private: + +#ifdef CSFDB +// DBC_VArray : field +// +#endif + + + +}; + + + + + + + +#endif // _PColStd_FieldOfHArray1OfExtendedString_HeaderFile diff --git a/src/FromOCCT/PTKernel/PColStd_FieldOfHArray1OfExtendedString_0.cxx b/src/FromOCCT/PTKernel/PColStd_FieldOfHArray1OfExtendedString_0.cxx new file mode 100644 index 000000000..752f965ac --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_FieldOfHArray1OfExtendedString_0.cxx @@ -0,0 +1,27 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include +#include + +#define Item Handle(PCollection_HExtendedString) +#define Item_hxx +#define DBC_VArrayNode PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColStd_VArrayTNodeOfFieldOfHArray1OfExtendedString +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString +#define DBC_VArrayNode_Type_() PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString_Type_() +#define DBC_VArray PColStd_FieldOfHArray1OfExtendedString +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/PTKernel/PColStd_FieldOfHArray1OfInteger.hxx b/src/FromOCCT/PTKernel/PColStd_FieldOfHArray1OfInteger.hxx new file mode 100644 index 000000000..3455648b3 --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_FieldOfHArray1OfInteger.hxx @@ -0,0 +1,89 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColStd_FieldOfHArray1OfInteger_HeaderFile +#define _PColStd_FieldOfHArray1OfInteger_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class Standard_NegativeValue; +class Standard_OutOfRange; +class Standard_DimensionMismatch; +class Standard_NullObject; +class PColStd_VArrayNodeOfFieldOfHArray1OfInteger; +class PColStd_VArrayTNodeOfFieldOfHArray1OfInteger; + + + +Standard_EXPORT const Handle(Standard_Type)& STANDARD_TYPE(PColStd_FieldOfHArray1OfInteger); + + +class PColStd_FieldOfHArray1OfInteger : public DBC_BaseArray +{ + +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT PColStd_FieldOfHArray1OfInteger(); + + Standard_EXPORT PColStd_FieldOfHArray1OfInteger(const Standard_Integer Size); + + Standard_EXPORT PColStd_FieldOfHArray1OfInteger(const PColStd_FieldOfHArray1OfInteger& Varray); + + Standard_EXPORT void Resize (const Standard_Integer Size) ; + + Standard_EXPORT void Assign (const PColStd_FieldOfHArray1OfInteger& Other) ; + void operator = (const PColStd_FieldOfHArray1OfInteger& Other) +{ + Assign(Other); +} + + Standard_EXPORT void SetValue (const Standard_Integer Index, const Standard_Integer& Value) ; + + Standard_EXPORT Standard_Integer& Value (const Standard_Integer Index) const; + Standard_Integer& operator () (const Standard_Integer Index) const +{ + return Value(Index); +} + + Standard_EXPORT void Destroy() ; +~PColStd_FieldOfHArray1OfInteger() +{ + Destroy(); +} + + + +protected: + + + + +private: + +#ifdef CSFDB +// DBC_VArray : field +// +#endif + + + +}; + + + + + + + +#endif // _PColStd_FieldOfHArray1OfInteger_HeaderFile diff --git a/src/FromOCCT/PTKernel/PColStd_FieldOfHArray1OfInteger_0.cxx b/src/FromOCCT/PTKernel/PColStd_FieldOfHArray1OfInteger_0.cxx new file mode 100644 index 000000000..c92439472 --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_FieldOfHArray1OfInteger_0.cxx @@ -0,0 +1,26 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + +#define Item Standard_Integer +#define Item_hxx +#define DBC_VArrayNode PColStd_VArrayNodeOfFieldOfHArray1OfInteger +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColStd_VArrayTNodeOfFieldOfHArray1OfInteger +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColStd_VArrayNodeOfFieldOfHArray1OfInteger +#define DBC_VArrayNode_Type_() PColStd_VArrayNodeOfFieldOfHArray1OfInteger_Type_() +#define DBC_VArray PColStd_FieldOfHArray1OfInteger +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/PTKernel/PColStd_FieldOfHArray1OfPersistent.hxx b/src/FromOCCT/PTKernel/PColStd_FieldOfHArray1OfPersistent.hxx new file mode 100644 index 000000000..e8306f0a9 --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_FieldOfHArray1OfPersistent.hxx @@ -0,0 +1,91 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColStd_FieldOfHArray1OfPersistent_HeaderFile +#define _PColStd_FieldOfHArray1OfPersistent_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +class Standard_NegativeValue; +class Standard_OutOfRange; +class Standard_DimensionMismatch; +class Standard_NullObject; +class Standard_Persistent; +class PColStd_VArrayNodeOfFieldOfHArray1OfPersistent; +class PColStd_VArrayTNodeOfFieldOfHArray1OfPersistent; + + + +Standard_EXPORT const Handle(Standard_Type)& STANDARD_TYPE(PColStd_FieldOfHArray1OfPersistent); + + +class PColStd_FieldOfHArray1OfPersistent : public DBC_BaseArray +{ + +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT PColStd_FieldOfHArray1OfPersistent(); + + Standard_EXPORT PColStd_FieldOfHArray1OfPersistent(const Standard_Integer Size); + + Standard_EXPORT PColStd_FieldOfHArray1OfPersistent(const PColStd_FieldOfHArray1OfPersistent& Varray); + + Standard_EXPORT void Resize (const Standard_Integer Size) ; + + Standard_EXPORT void Assign (const PColStd_FieldOfHArray1OfPersistent& Other) ; + void operator = (const PColStd_FieldOfHArray1OfPersistent& Other) +{ + Assign(Other); +} + + Standard_EXPORT void SetValue (const Standard_Integer Index, const Handle(Standard_Persistent)& Value) ; + + Standard_EXPORT Handle(Standard_Persistent)& Value (const Standard_Integer Index) const; + Handle(Standard_Persistent)& operator () (const Standard_Integer Index) const +{ + return Value(Index); +} + + Standard_EXPORT void Destroy() ; +~PColStd_FieldOfHArray1OfPersistent() +{ + Destroy(); +} + + + +protected: + + + + +private: + +#ifdef CSFDB +// DBC_VArray : field +// +#endif + + + +}; + + + + + + + +#endif // _PColStd_FieldOfHArray1OfPersistent_HeaderFile diff --git a/src/FromOCCT/PTKernel/PColStd_FieldOfHArray1OfPersistent_0.cxx b/src/FromOCCT/PTKernel/PColStd_FieldOfHArray1OfPersistent_0.cxx new file mode 100644 index 000000000..3820a9527 --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_FieldOfHArray1OfPersistent_0.cxx @@ -0,0 +1,27 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include +#include + +#define Item Handle(Standard_Persistent) +#define Item_hxx +#define DBC_VArrayNode PColStd_VArrayNodeOfFieldOfHArray1OfPersistent +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColStd_VArrayTNodeOfFieldOfHArray1OfPersistent +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColStd_VArrayNodeOfFieldOfHArray1OfPersistent +#define DBC_VArrayNode_Type_() PColStd_VArrayNodeOfFieldOfHArray1OfPersistent_Type_() +#define DBC_VArray PColStd_FieldOfHArray1OfPersistent +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/PTKernel/PColStd_FieldOfHArray1OfReal.hxx b/src/FromOCCT/PTKernel/PColStd_FieldOfHArray1OfReal.hxx new file mode 100644 index 000000000..77bdcc4c2 --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_FieldOfHArray1OfReal.hxx @@ -0,0 +1,90 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColStd_FieldOfHArray1OfReal_HeaderFile +#define _PColStd_FieldOfHArray1OfReal_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +class Standard_NegativeValue; +class Standard_OutOfRange; +class Standard_DimensionMismatch; +class Standard_NullObject; +class PColStd_VArrayNodeOfFieldOfHArray1OfReal; +class PColStd_VArrayTNodeOfFieldOfHArray1OfReal; + + + +Standard_EXPORT const Handle(Standard_Type)& STANDARD_TYPE(PColStd_FieldOfHArray1OfReal); + + +class PColStd_FieldOfHArray1OfReal : public DBC_BaseArray +{ + +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT PColStd_FieldOfHArray1OfReal(); + + Standard_EXPORT PColStd_FieldOfHArray1OfReal(const Standard_Integer Size); + + Standard_EXPORT PColStd_FieldOfHArray1OfReal(const PColStd_FieldOfHArray1OfReal& Varray); + + Standard_EXPORT void Resize (const Standard_Integer Size) ; + + Standard_EXPORT void Assign (const PColStd_FieldOfHArray1OfReal& Other) ; + void operator = (const PColStd_FieldOfHArray1OfReal& Other) +{ + Assign(Other); +} + + Standard_EXPORT void SetValue (const Standard_Integer Index, const Standard_Real& Value) ; + + Standard_EXPORT Standard_Real& Value (const Standard_Integer Index) const; + Standard_Real& operator () (const Standard_Integer Index) const +{ + return Value(Index); +} + + Standard_EXPORT void Destroy() ; +~PColStd_FieldOfHArray1OfReal() +{ + Destroy(); +} + + + +protected: + + + + +private: + +#ifdef CSFDB +// DBC_VArray : field +// +#endif + + + +}; + + + + + + + +#endif // _PColStd_FieldOfHArray1OfReal_HeaderFile diff --git a/src/FromOCCT/PTKernel/PColStd_FieldOfHArray1OfReal_0.cxx b/src/FromOCCT/PTKernel/PColStd_FieldOfHArray1OfReal_0.cxx new file mode 100644 index 000000000..668bb51ca --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_FieldOfHArray1OfReal_0.cxx @@ -0,0 +1,26 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + +#define Item Standard_Real +#define Item_hxx +#define DBC_VArrayNode PColStd_VArrayNodeOfFieldOfHArray1OfReal +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColStd_VArrayTNodeOfFieldOfHArray1OfReal +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColStd_VArrayNodeOfFieldOfHArray1OfReal +#define DBC_VArrayNode_Type_() PColStd_VArrayNodeOfFieldOfHArray1OfReal_Type_() +#define DBC_VArray PColStd_FieldOfHArray1OfReal +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/PTKernel/PColStd_FieldOfHArray2OfInteger.hxx b/src/FromOCCT/PTKernel/PColStd_FieldOfHArray2OfInteger.hxx new file mode 100644 index 000000000..05247fe28 --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_FieldOfHArray2OfInteger.hxx @@ -0,0 +1,89 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColStd_FieldOfHArray2OfInteger_HeaderFile +#define _PColStd_FieldOfHArray2OfInteger_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class Standard_NegativeValue; +class Standard_OutOfRange; +class Standard_DimensionMismatch; +class Standard_NullObject; +class PColStd_VArrayNodeOfFieldOfHArray2OfInteger; +class PColStd_VArrayTNodeOfFieldOfHArray2OfInteger; + + + +Standard_EXPORT const Handle(Standard_Type)& STANDARD_TYPE(PColStd_FieldOfHArray2OfInteger); + + +class PColStd_FieldOfHArray2OfInteger : public DBC_BaseArray +{ + +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT PColStd_FieldOfHArray2OfInteger(); + + Standard_EXPORT PColStd_FieldOfHArray2OfInteger(const Standard_Integer Size); + + Standard_EXPORT PColStd_FieldOfHArray2OfInteger(const PColStd_FieldOfHArray2OfInteger& Varray); + + Standard_EXPORT void Resize (const Standard_Integer Size) ; + + Standard_EXPORT void Assign (const PColStd_FieldOfHArray2OfInteger& Other) ; + void operator = (const PColStd_FieldOfHArray2OfInteger& Other) +{ + Assign(Other); +} + + Standard_EXPORT void SetValue (const Standard_Integer Index, const Standard_Integer& Value) ; + + Standard_EXPORT Standard_Integer& Value (const Standard_Integer Index) const; + Standard_Integer& operator () (const Standard_Integer Index) const +{ + return Value(Index); +} + + Standard_EXPORT void Destroy() ; +~PColStd_FieldOfHArray2OfInteger() +{ + Destroy(); +} + + + +protected: + + + + +private: + +#ifdef CSFDB +// DBC_VArray : field +// +#endif + + + +}; + + + + + + + +#endif // _PColStd_FieldOfHArray2OfInteger_HeaderFile diff --git a/src/FromOCCT/PTKernel/PColStd_FieldOfHArray2OfInteger_0.cxx b/src/FromOCCT/PTKernel/PColStd_FieldOfHArray2OfInteger_0.cxx new file mode 100644 index 000000000..8cd28e594 --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_FieldOfHArray2OfInteger_0.cxx @@ -0,0 +1,26 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + +#define Item Standard_Integer +#define Item_hxx +#define DBC_VArrayNode PColStd_VArrayNodeOfFieldOfHArray2OfInteger +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColStd_VArrayTNodeOfFieldOfHArray2OfInteger +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColStd_VArrayNodeOfFieldOfHArray2OfInteger +#define DBC_VArrayNode_Type_() PColStd_VArrayNodeOfFieldOfHArray2OfInteger_Type_() +#define DBC_VArray PColStd_FieldOfHArray2OfInteger +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/PTKernel/PColStd_FieldOfHArray2OfPersistent.hxx b/src/FromOCCT/PTKernel/PColStd_FieldOfHArray2OfPersistent.hxx new file mode 100644 index 000000000..8a18554c1 --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_FieldOfHArray2OfPersistent.hxx @@ -0,0 +1,91 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColStd_FieldOfHArray2OfPersistent_HeaderFile +#define _PColStd_FieldOfHArray2OfPersistent_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +class Standard_NegativeValue; +class Standard_OutOfRange; +class Standard_DimensionMismatch; +class Standard_NullObject; +class Standard_Persistent; +class PColStd_VArrayNodeOfFieldOfHArray2OfPersistent; +class PColStd_VArrayTNodeOfFieldOfHArray2OfPersistent; + + + +Standard_EXPORT const Handle(Standard_Type)& STANDARD_TYPE(PColStd_FieldOfHArray2OfPersistent); + + +class PColStd_FieldOfHArray2OfPersistent : public DBC_BaseArray +{ + +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT PColStd_FieldOfHArray2OfPersistent(); + + Standard_EXPORT PColStd_FieldOfHArray2OfPersistent(const Standard_Integer Size); + + Standard_EXPORT PColStd_FieldOfHArray2OfPersistent(const PColStd_FieldOfHArray2OfPersistent& Varray); + + Standard_EXPORT void Resize (const Standard_Integer Size) ; + + Standard_EXPORT void Assign (const PColStd_FieldOfHArray2OfPersistent& Other) ; + void operator = (const PColStd_FieldOfHArray2OfPersistent& Other) +{ + Assign(Other); +} + + Standard_EXPORT void SetValue (const Standard_Integer Index, const Handle(Standard_Persistent)& Value) ; + + Standard_EXPORT Handle(Standard_Persistent)& Value (const Standard_Integer Index) const; + Handle(Standard_Persistent)& operator () (const Standard_Integer Index) const +{ + return Value(Index); +} + + Standard_EXPORT void Destroy() ; +~PColStd_FieldOfHArray2OfPersistent() +{ + Destroy(); +} + + + +protected: + + + + +private: + +#ifdef CSFDB +// DBC_VArray : field +// +#endif + + + +}; + + + + + + + +#endif // _PColStd_FieldOfHArray2OfPersistent_HeaderFile diff --git a/src/FromOCCT/PTKernel/PColStd_FieldOfHArray2OfPersistent_0.cxx b/src/FromOCCT/PTKernel/PColStd_FieldOfHArray2OfPersistent_0.cxx new file mode 100644 index 000000000..9180b44ec --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_FieldOfHArray2OfPersistent_0.cxx @@ -0,0 +1,27 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include +#include + +#define Item Handle(Standard_Persistent) +#define Item_hxx +#define DBC_VArrayNode PColStd_VArrayNodeOfFieldOfHArray2OfPersistent +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColStd_VArrayTNodeOfFieldOfHArray2OfPersistent +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColStd_VArrayNodeOfFieldOfHArray2OfPersistent +#define DBC_VArrayNode_Type_() PColStd_VArrayNodeOfFieldOfHArray2OfPersistent_Type_() +#define DBC_VArray PColStd_FieldOfHArray2OfPersistent +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/PTKernel/PColStd_FieldOfHArray2OfReal.hxx b/src/FromOCCT/PTKernel/PColStd_FieldOfHArray2OfReal.hxx new file mode 100644 index 000000000..ed7c7f1df --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_FieldOfHArray2OfReal.hxx @@ -0,0 +1,90 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColStd_FieldOfHArray2OfReal_HeaderFile +#define _PColStd_FieldOfHArray2OfReal_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +class Standard_NegativeValue; +class Standard_OutOfRange; +class Standard_DimensionMismatch; +class Standard_NullObject; +class PColStd_VArrayNodeOfFieldOfHArray2OfReal; +class PColStd_VArrayTNodeOfFieldOfHArray2OfReal; + + + +Standard_EXPORT const Handle(Standard_Type)& STANDARD_TYPE(PColStd_FieldOfHArray2OfReal); + + +class PColStd_FieldOfHArray2OfReal : public DBC_BaseArray +{ + +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT PColStd_FieldOfHArray2OfReal(); + + Standard_EXPORT PColStd_FieldOfHArray2OfReal(const Standard_Integer Size); + + Standard_EXPORT PColStd_FieldOfHArray2OfReal(const PColStd_FieldOfHArray2OfReal& Varray); + + Standard_EXPORT void Resize (const Standard_Integer Size) ; + + Standard_EXPORT void Assign (const PColStd_FieldOfHArray2OfReal& Other) ; + void operator = (const PColStd_FieldOfHArray2OfReal& Other) +{ + Assign(Other); +} + + Standard_EXPORT void SetValue (const Standard_Integer Index, const Standard_Real& Value) ; + + Standard_EXPORT Standard_Real& Value (const Standard_Integer Index) const; + Standard_Real& operator () (const Standard_Integer Index) const +{ + return Value(Index); +} + + Standard_EXPORT void Destroy() ; +~PColStd_FieldOfHArray2OfReal() +{ + Destroy(); +} + + + +protected: + + + + +private: + +#ifdef CSFDB +// DBC_VArray : field +// +#endif + + + +}; + + + + + + + +#endif // _PColStd_FieldOfHArray2OfReal_HeaderFile diff --git a/src/FromOCCT/PTKernel/PColStd_FieldOfHArray2OfReal_0.cxx b/src/FromOCCT/PTKernel/PColStd_FieldOfHArray2OfReal_0.cxx new file mode 100644 index 000000000..ee4f446dd --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_FieldOfHArray2OfReal_0.cxx @@ -0,0 +1,26 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + +#define Item Standard_Real +#define Item_hxx +#define DBC_VArrayNode PColStd_VArrayNodeOfFieldOfHArray2OfReal +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColStd_VArrayTNodeOfFieldOfHArray2OfReal +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColStd_VArrayNodeOfFieldOfHArray2OfReal +#define DBC_VArrayNode_Type_() PColStd_VArrayNodeOfFieldOfHArray2OfReal_Type_() +#define DBC_VArray PColStd_FieldOfHArray2OfReal +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/PTKernel/PColStd_HArray1OfExtendedString.hxx b/src/FromOCCT/PTKernel/PColStd_HArray1OfExtendedString.hxx new file mode 100644 index 000000000..81a07607f --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_HArray1OfExtendedString.hxx @@ -0,0 +1,132 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColStd_HArray1OfExtendedString_HeaderFile +#define _PColStd_HArray1OfExtendedString_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class PCollection_HExtendedString; +class Standard_OutOfRange; +class Standard_RangeError; +class PColStd_FieldOfHArray1OfExtendedString; +class PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString; +class PColStd_VArrayTNodeOfFieldOfHArray1OfExtendedString; + + +class PColStd_HArray1OfExtendedString : public Standard_Persistent +{ + +public: + + + Standard_EXPORT PColStd_HArray1OfExtendedString(const Standard_Integer Low, const Standard_Integer Up); + + Standard_EXPORT PColStd_HArray1OfExtendedString(const Standard_Integer Low, const Standard_Integer Up, const Handle(PCollection_HExtendedString)& V); + + Standard_Integer Length() const; + + Standard_Integer Lower() const; + + Standard_EXPORT void SetValue (const Standard_Integer Index, const Handle(PCollection_HExtendedString)& Value) ; + + Standard_Integer Upper() const; + + Standard_EXPORT Handle(PCollection_HExtendedString) Value (const Standard_Integer Index) const; + +PColStd_HArray1OfExtendedString( ) +{ + +} +PColStd_HArray1OfExtendedString(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Standard_Integer _CSFDB_GetPColStd_HArray1OfExtendedStringLowerBound() const { return LowerBound; } + void _CSFDB_SetPColStd_HArray1OfExtendedStringLowerBound(const Standard_Integer p) { LowerBound = p; } + Standard_Integer _CSFDB_GetPColStd_HArray1OfExtendedStringUpperBound() const { return UpperBound; } + void _CSFDB_SetPColStd_HArray1OfExtendedStringUpperBound(const Standard_Integer p) { UpperBound = p; } + const PColStd_FieldOfHArray1OfExtendedString& _CSFDB_GetPColStd_HArray1OfExtendedStringData() const { return Data; } + + + + DEFINE_STANDARD_RTTI(PColStd_HArray1OfExtendedString) + +protected: + + + + +private: + + + Standard_EXPORT PColStd_FieldOfHArray1OfExtendedString Field() const; + + Standard_EXPORT Standard_Address Datas() const; + + Standard_Integer LowerBound; + Standard_Integer UpperBound; + PColStd_FieldOfHArray1OfExtendedString Data; + + +}; + +#define Item Handle(PCollection_HExtendedString) +#define Item_hxx +#define PCollection_FieldOfHArray1 PColStd_FieldOfHArray1OfExtendedString +#define PCollection_FieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColStd_VArrayTNodeOfFieldOfHArray1OfExtendedString +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColStd_VArrayTNodeOfFieldOfHArray1OfExtendedString +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString_Type_() +#define PCollection_HArray1 PColStd_HArray1OfExtendedString +#define PCollection_HArray1_hxx +#define Handle_PCollection_HArray1 Handle_PColStd_HArray1OfExtendedString +#define PCollection_HArray1_Type_() PColStd_HArray1OfExtendedString_Type_() + +#include + +#undef Item +#undef Item_hxx +#undef PCollection_FieldOfHArray1 +#undef PCollection_FieldOfHArray1_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray1 +#undef PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray1 +#undef PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_Type_ +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_Type_ +#undef PCollection_HArray1 +#undef PCollection_HArray1_hxx +#undef Handle_PCollection_HArray1 +#undef PCollection_HArray1_Type_ + + + + +#endif // _PColStd_HArray1OfExtendedString_HeaderFile diff --git a/src/FromOCCT/PTKernel/PColStd_HArray1OfExtendedString_0.cxx b/src/FromOCCT/PTKernel/PColStd_HArray1OfExtendedString_0.cxx new file mode 100644 index 000000000..82b5a1e4b --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_HArray1OfExtendedString_0.cxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColStd_HArray1OfExtendedString,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColStd_HArray1OfExtendedString) + + +#define Item Handle(PCollection_HExtendedString) +#define Item_hxx +#define PCollection_FieldOfHArray1 PColStd_FieldOfHArray1OfExtendedString +#define PCollection_FieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColStd_VArrayTNodeOfFieldOfHArray1OfExtendedString +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColStd_VArrayTNodeOfFieldOfHArray1OfExtendedString +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString_Type_() +#define PCollection_HArray1 PColStd_HArray1OfExtendedString +#define PCollection_HArray1_hxx +#define Handle_PCollection_HArray1 Handle_PColStd_HArray1OfExtendedString +#define PCollection_HArray1_Type_() PColStd_HArray1OfExtendedString_Type_() +#include + diff --git a/src/FromOCCT/PTKernel/PColStd_HArray1OfInteger.hxx b/src/FromOCCT/PTKernel/PColStd_HArray1OfInteger.hxx new file mode 100644 index 000000000..63e89915f --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_HArray1OfInteger.hxx @@ -0,0 +1,130 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColStd_HArray1OfInteger_HeaderFile +#define _PColStd_HArray1OfInteger_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +class Standard_OutOfRange; +class Standard_RangeError; +class PColStd_FieldOfHArray1OfInteger; +class PColStd_VArrayNodeOfFieldOfHArray1OfInteger; +class PColStd_VArrayTNodeOfFieldOfHArray1OfInteger; + + +class PColStd_HArray1OfInteger : public Standard_Persistent +{ + +public: + + + Standard_EXPORT PColStd_HArray1OfInteger(const Standard_Integer Low, const Standard_Integer Up); + + Standard_EXPORT PColStd_HArray1OfInteger(const Standard_Integer Low, const Standard_Integer Up, const Standard_Integer& V); + + Standard_Integer Length() const; + + Standard_Integer Lower() const; + + Standard_EXPORT void SetValue (const Standard_Integer Index, const Standard_Integer& Value) ; + + Standard_Integer Upper() const; + + Standard_EXPORT Standard_Integer Value (const Standard_Integer Index) const; + +PColStd_HArray1OfInteger( ) +{ + +} +PColStd_HArray1OfInteger(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Standard_Integer _CSFDB_GetPColStd_HArray1OfIntegerLowerBound() const { return LowerBound; } + void _CSFDB_SetPColStd_HArray1OfIntegerLowerBound(const Standard_Integer p) { LowerBound = p; } + Standard_Integer _CSFDB_GetPColStd_HArray1OfIntegerUpperBound() const { return UpperBound; } + void _CSFDB_SetPColStd_HArray1OfIntegerUpperBound(const Standard_Integer p) { UpperBound = p; } + const PColStd_FieldOfHArray1OfInteger& _CSFDB_GetPColStd_HArray1OfIntegerData() const { return Data; } + + + + DEFINE_STANDARD_RTTI(PColStd_HArray1OfInteger) + +protected: + + + + +private: + + + Standard_EXPORT PColStd_FieldOfHArray1OfInteger Field() const; + + Standard_EXPORT Standard_Address Datas() const; + + Standard_Integer LowerBound; + Standard_Integer UpperBound; + PColStd_FieldOfHArray1OfInteger Data; + + +}; + +#define Item Standard_Integer +#define Item_hxx +#define PCollection_FieldOfHArray1 PColStd_FieldOfHArray1OfInteger +#define PCollection_FieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColStd_VArrayNodeOfFieldOfHArray1OfInteger +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColStd_VArrayTNodeOfFieldOfHArray1OfInteger +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColStd_VArrayNodeOfFieldOfHArray1OfInteger +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColStd_VArrayTNodeOfFieldOfHArray1OfInteger +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColStd_VArrayNodeOfFieldOfHArray1OfInteger +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColStd_VArrayNodeOfFieldOfHArray1OfInteger_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColStd_VArrayNodeOfFieldOfHArray1OfInteger +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColStd_VArrayNodeOfFieldOfHArray1OfInteger_Type_() +#define PCollection_HArray1 PColStd_HArray1OfInteger +#define PCollection_HArray1_hxx +#define Handle_PCollection_HArray1 Handle_PColStd_HArray1OfInteger +#define PCollection_HArray1_Type_() PColStd_HArray1OfInteger_Type_() + +#include + +#undef Item +#undef Item_hxx +#undef PCollection_FieldOfHArray1 +#undef PCollection_FieldOfHArray1_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray1 +#undef PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray1 +#undef PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_Type_ +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_Type_ +#undef PCollection_HArray1 +#undef PCollection_HArray1_hxx +#undef Handle_PCollection_HArray1 +#undef PCollection_HArray1_Type_ + + + + +#endif // _PColStd_HArray1OfInteger_HeaderFile diff --git a/src/FromOCCT/PTKernel/PColStd_HArray1OfInteger_0.cxx b/src/FromOCCT/PTKernel/PColStd_HArray1OfInteger_0.cxx new file mode 100644 index 000000000..5e7d272e0 --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_HArray1OfInteger_0.cxx @@ -0,0 +1,42 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColStd_HArray1OfInteger,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColStd_HArray1OfInteger) + + +#define Item Standard_Integer +#define Item_hxx +#define PCollection_FieldOfHArray1 PColStd_FieldOfHArray1OfInteger +#define PCollection_FieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColStd_VArrayNodeOfFieldOfHArray1OfInteger +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColStd_VArrayTNodeOfFieldOfHArray1OfInteger +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColStd_VArrayNodeOfFieldOfHArray1OfInteger +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColStd_VArrayTNodeOfFieldOfHArray1OfInteger +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColStd_VArrayNodeOfFieldOfHArray1OfInteger +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColStd_VArrayNodeOfFieldOfHArray1OfInteger_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColStd_VArrayNodeOfFieldOfHArray1OfInteger +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColStd_VArrayNodeOfFieldOfHArray1OfInteger_Type_() +#define PCollection_HArray1 PColStd_HArray1OfInteger +#define PCollection_HArray1_hxx +#define Handle_PCollection_HArray1 Handle_PColStd_HArray1OfInteger +#define PCollection_HArray1_Type_() PColStd_HArray1OfInteger_Type_() +#include + diff --git a/src/FromOCCT/PTKernel/PColStd_HArray1OfPersistent.hxx b/src/FromOCCT/PTKernel/PColStd_HArray1OfPersistent.hxx new file mode 100644 index 000000000..36aee10a2 --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_HArray1OfPersistent.hxx @@ -0,0 +1,132 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColStd_HArray1OfPersistent_HeaderFile +#define _PColStd_HArray1OfPersistent_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class Standard_Persistent; +class Standard_OutOfRange; +class Standard_RangeError; +class PColStd_FieldOfHArray1OfPersistent; +class PColStd_VArrayNodeOfFieldOfHArray1OfPersistent; +class PColStd_VArrayTNodeOfFieldOfHArray1OfPersistent; + + +class PColStd_HArray1OfPersistent : public Standard_Persistent +{ + +public: + + + Standard_EXPORT PColStd_HArray1OfPersistent(const Standard_Integer Low, const Standard_Integer Up); + + Standard_EXPORT PColStd_HArray1OfPersistent(const Standard_Integer Low, const Standard_Integer Up, const Handle(Standard_Persistent)& V); + + Standard_Integer Length() const; + + Standard_Integer Lower() const; + + Standard_EXPORT void SetValue (const Standard_Integer Index, const Handle(Standard_Persistent)& Value) ; + + Standard_Integer Upper() const; + + Standard_EXPORT Handle(Standard_Persistent) Value (const Standard_Integer Index) const; + +PColStd_HArray1OfPersistent( ) +{ + +} +PColStd_HArray1OfPersistent(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Standard_Integer _CSFDB_GetPColStd_HArray1OfPersistentLowerBound() const { return LowerBound; } + void _CSFDB_SetPColStd_HArray1OfPersistentLowerBound(const Standard_Integer p) { LowerBound = p; } + Standard_Integer _CSFDB_GetPColStd_HArray1OfPersistentUpperBound() const { return UpperBound; } + void _CSFDB_SetPColStd_HArray1OfPersistentUpperBound(const Standard_Integer p) { UpperBound = p; } + const PColStd_FieldOfHArray1OfPersistent& _CSFDB_GetPColStd_HArray1OfPersistentData() const { return Data; } + + + + DEFINE_STANDARD_RTTI(PColStd_HArray1OfPersistent) + +protected: + + + + +private: + + + Standard_EXPORT PColStd_FieldOfHArray1OfPersistent Field() const; + + Standard_EXPORT Standard_Address Datas() const; + + Standard_Integer LowerBound; + Standard_Integer UpperBound; + PColStd_FieldOfHArray1OfPersistent Data; + + +}; + +#define Item Handle(Standard_Persistent) +#define Item_hxx +#define PCollection_FieldOfHArray1 PColStd_FieldOfHArray1OfPersistent +#define PCollection_FieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColStd_VArrayNodeOfFieldOfHArray1OfPersistent +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColStd_VArrayTNodeOfFieldOfHArray1OfPersistent +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColStd_VArrayNodeOfFieldOfHArray1OfPersistent +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColStd_VArrayTNodeOfFieldOfHArray1OfPersistent +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColStd_VArrayNodeOfFieldOfHArray1OfPersistent +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColStd_VArrayNodeOfFieldOfHArray1OfPersistent_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColStd_VArrayNodeOfFieldOfHArray1OfPersistent +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColStd_VArrayNodeOfFieldOfHArray1OfPersistent_Type_() +#define PCollection_HArray1 PColStd_HArray1OfPersistent +#define PCollection_HArray1_hxx +#define Handle_PCollection_HArray1 Handle_PColStd_HArray1OfPersistent +#define PCollection_HArray1_Type_() PColStd_HArray1OfPersistent_Type_() + +#include + +#undef Item +#undef Item_hxx +#undef PCollection_FieldOfHArray1 +#undef PCollection_FieldOfHArray1_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray1 +#undef PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray1 +#undef PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_Type_ +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_Type_ +#undef PCollection_HArray1 +#undef PCollection_HArray1_hxx +#undef Handle_PCollection_HArray1 +#undef PCollection_HArray1_Type_ + + + + +#endif // _PColStd_HArray1OfPersistent_HeaderFile diff --git a/src/FromOCCT/PTKernel/PColStd_HArray1OfPersistent_0.cxx b/src/FromOCCT/PTKernel/PColStd_HArray1OfPersistent_0.cxx new file mode 100644 index 000000000..044eb7871 --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_HArray1OfPersistent_0.cxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColStd_HArray1OfPersistent,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColStd_HArray1OfPersistent) + + +#define Item Handle(Standard_Persistent) +#define Item_hxx +#define PCollection_FieldOfHArray1 PColStd_FieldOfHArray1OfPersistent +#define PCollection_FieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColStd_VArrayNodeOfFieldOfHArray1OfPersistent +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColStd_VArrayTNodeOfFieldOfHArray1OfPersistent +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColStd_VArrayNodeOfFieldOfHArray1OfPersistent +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColStd_VArrayTNodeOfFieldOfHArray1OfPersistent +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColStd_VArrayNodeOfFieldOfHArray1OfPersistent +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColStd_VArrayNodeOfFieldOfHArray1OfPersistent_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColStd_VArrayNodeOfFieldOfHArray1OfPersistent +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColStd_VArrayNodeOfFieldOfHArray1OfPersistent_Type_() +#define PCollection_HArray1 PColStd_HArray1OfPersistent +#define PCollection_HArray1_hxx +#define Handle_PCollection_HArray1 Handle_PColStd_HArray1OfPersistent +#define PCollection_HArray1_Type_() PColStd_HArray1OfPersistent_Type_() +#include + diff --git a/src/FromOCCT/PTKernel/PColStd_HArray1OfReal.hxx b/src/FromOCCT/PTKernel/PColStd_HArray1OfReal.hxx new file mode 100644 index 000000000..a9974ee15 --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_HArray1OfReal.hxx @@ -0,0 +1,131 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColStd_HArray1OfReal_HeaderFile +#define _PColStd_HArray1OfReal_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class Standard_OutOfRange; +class Standard_RangeError; +class PColStd_FieldOfHArray1OfReal; +class PColStd_VArrayNodeOfFieldOfHArray1OfReal; +class PColStd_VArrayTNodeOfFieldOfHArray1OfReal; + + +class PColStd_HArray1OfReal : public Standard_Persistent +{ + +public: + + + Standard_EXPORT PColStd_HArray1OfReal(const Standard_Integer Low, const Standard_Integer Up); + + Standard_EXPORT PColStd_HArray1OfReal(const Standard_Integer Low, const Standard_Integer Up, const Standard_Real& V); + + Standard_Integer Length() const; + + Standard_Integer Lower() const; + + Standard_EXPORT void SetValue (const Standard_Integer Index, const Standard_Real& Value) ; + + Standard_Integer Upper() const; + + Standard_EXPORT Standard_Real Value (const Standard_Integer Index) const; + +PColStd_HArray1OfReal( ) +{ + +} +PColStd_HArray1OfReal(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Standard_Integer _CSFDB_GetPColStd_HArray1OfRealLowerBound() const { return LowerBound; } + void _CSFDB_SetPColStd_HArray1OfRealLowerBound(const Standard_Integer p) { LowerBound = p; } + Standard_Integer _CSFDB_GetPColStd_HArray1OfRealUpperBound() const { return UpperBound; } + void _CSFDB_SetPColStd_HArray1OfRealUpperBound(const Standard_Integer p) { UpperBound = p; } + const PColStd_FieldOfHArray1OfReal& _CSFDB_GetPColStd_HArray1OfRealData() const { return Data; } + + + + DEFINE_STANDARD_RTTI(PColStd_HArray1OfReal) + +protected: + + + + +private: + + + Standard_EXPORT PColStd_FieldOfHArray1OfReal Field() const; + + Standard_EXPORT Standard_Address Datas() const; + + Standard_Integer LowerBound; + Standard_Integer UpperBound; + PColStd_FieldOfHArray1OfReal Data; + + +}; + +#define Item Standard_Real +#define Item_hxx +#define PCollection_FieldOfHArray1 PColStd_FieldOfHArray1OfReal +#define PCollection_FieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColStd_VArrayNodeOfFieldOfHArray1OfReal +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColStd_VArrayTNodeOfFieldOfHArray1OfReal +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColStd_VArrayNodeOfFieldOfHArray1OfReal +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColStd_VArrayTNodeOfFieldOfHArray1OfReal +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColStd_VArrayNodeOfFieldOfHArray1OfReal +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColStd_VArrayNodeOfFieldOfHArray1OfReal_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColStd_VArrayNodeOfFieldOfHArray1OfReal +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColStd_VArrayNodeOfFieldOfHArray1OfReal_Type_() +#define PCollection_HArray1 PColStd_HArray1OfReal +#define PCollection_HArray1_hxx +#define Handle_PCollection_HArray1 Handle_PColStd_HArray1OfReal +#define PCollection_HArray1_Type_() PColStd_HArray1OfReal_Type_() + +#include + +#undef Item +#undef Item_hxx +#undef PCollection_FieldOfHArray1 +#undef PCollection_FieldOfHArray1_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray1 +#undef PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray1 +#undef PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_Type_ +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_Type_ +#undef PCollection_HArray1 +#undef PCollection_HArray1_hxx +#undef Handle_PCollection_HArray1 +#undef PCollection_HArray1_Type_ + + + + +#endif // _PColStd_HArray1OfReal_HeaderFile diff --git a/src/FromOCCT/PTKernel/PColStd_HArray1OfReal_0.cxx b/src/FromOCCT/PTKernel/PColStd_HArray1OfReal_0.cxx new file mode 100644 index 000000000..835182b57 --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_HArray1OfReal_0.cxx @@ -0,0 +1,42 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColStd_HArray1OfReal,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColStd_HArray1OfReal) + + +#define Item Standard_Real +#define Item_hxx +#define PCollection_FieldOfHArray1 PColStd_FieldOfHArray1OfReal +#define PCollection_FieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColStd_VArrayNodeOfFieldOfHArray1OfReal +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColStd_VArrayTNodeOfFieldOfHArray1OfReal +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColStd_VArrayNodeOfFieldOfHArray1OfReal +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColStd_VArrayTNodeOfFieldOfHArray1OfReal +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColStd_VArrayNodeOfFieldOfHArray1OfReal +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColStd_VArrayNodeOfFieldOfHArray1OfReal_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColStd_VArrayNodeOfFieldOfHArray1OfReal +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColStd_VArrayNodeOfFieldOfHArray1OfReal_Type_() +#define PCollection_HArray1 PColStd_HArray1OfReal +#define PCollection_HArray1_hxx +#define Handle_PCollection_HArray1 Handle_PColStd_HArray1OfReal +#define PCollection_HArray1_Type_() PColStd_HArray1OfReal_Type_() +#include + diff --git a/src/FromOCCT/PTKernel/PColStd_HArray2OfInteger.hxx b/src/FromOCCT/PTKernel/PColStd_HArray2OfInteger.hxx new file mode 100644 index 000000000..891ddf7d3 --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_HArray2OfInteger.hxx @@ -0,0 +1,142 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColStd_HArray2OfInteger_HeaderFile +#define _PColStd_HArray2OfInteger_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +class Standard_RangeError; +class Standard_OutOfRange; +class PColStd_FieldOfHArray2OfInteger; +class PColStd_VArrayNodeOfFieldOfHArray2OfInteger; +class PColStd_VArrayTNodeOfFieldOfHArray2OfInteger; + + +class PColStd_HArray2OfInteger : public Standard_Persistent +{ + +public: + + + Standard_EXPORT PColStd_HArray2OfInteger(const Standard_Integer R1, const Standard_Integer R2, const Standard_Integer C1, const Standard_Integer C2); + + Standard_EXPORT PColStd_HArray2OfInteger(const Standard_Integer R1, const Standard_Integer R2, const Standard_Integer C1, const Standard_Integer C2, const Standard_Integer& V); + + Standard_EXPORT Standard_Integer ColLength() const; + + Standard_Integer LowerCol() const; + + Standard_Integer LowerRow() const; + + Standard_EXPORT Standard_Integer RowLength() const; + + Standard_EXPORT void SetValue (const Standard_Integer Row, const Standard_Integer Col, const Standard_Integer& Value) ; + + Standard_Integer UpperCol() const; + + Standard_Integer UpperRow() const; + + Standard_EXPORT Standard_Integer Value (const Standard_Integer Row, const Standard_Integer Col) const; + +PColStd_HArray2OfInteger( ) +{ + +} +PColStd_HArray2OfInteger(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Standard_Integer _CSFDB_GetPColStd_HArray2OfIntegermyLowerRow() const { return myLowerRow; } + void _CSFDB_SetPColStd_HArray2OfIntegermyLowerRow(const Standard_Integer p) { myLowerRow = p; } + Standard_Integer _CSFDB_GetPColStd_HArray2OfIntegermyLowerCol() const { return myLowerCol; } + void _CSFDB_SetPColStd_HArray2OfIntegermyLowerCol(const Standard_Integer p) { myLowerCol = p; } + Standard_Integer _CSFDB_GetPColStd_HArray2OfIntegermyUpperRow() const { return myUpperRow; } + void _CSFDB_SetPColStd_HArray2OfIntegermyUpperRow(const Standard_Integer p) { myUpperRow = p; } + Standard_Integer _CSFDB_GetPColStd_HArray2OfIntegermyUpperCol() const { return myUpperCol; } + void _CSFDB_SetPColStd_HArray2OfIntegermyUpperCol(const Standard_Integer p) { myUpperCol = p; } + const PColStd_FieldOfHArray2OfInteger& _CSFDB_GetPColStd_HArray2OfIntegerData() const { return Data; } + + + + DEFINE_STANDARD_RTTI(PColStd_HArray2OfInteger) + +protected: + + + + +private: + + + Standard_EXPORT PColStd_FieldOfHArray2OfInteger Field() const; + + Standard_EXPORT Standard_Address Datas() const; + + Standard_Integer myLowerRow; + Standard_Integer myLowerCol; + Standard_Integer myUpperRow; + Standard_Integer myUpperCol; + PColStd_FieldOfHArray2OfInteger Data; + + +}; + +#define Item Standard_Integer +#define Item_hxx +#define PCollection_FieldOfHArray2 PColStd_FieldOfHArray2OfInteger +#define PCollection_FieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PColStd_VArrayNodeOfFieldOfHArray2OfInteger +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PColStd_VArrayTNodeOfFieldOfHArray2OfInteger +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PColStd_VArrayNodeOfFieldOfHArray2OfInteger +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PColStd_VArrayTNodeOfFieldOfHArray2OfInteger +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColStd_VArrayNodeOfFieldOfHArray2OfInteger +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColStd_VArrayNodeOfFieldOfHArray2OfInteger_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColStd_VArrayNodeOfFieldOfHArray2OfInteger +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColStd_VArrayNodeOfFieldOfHArray2OfInteger_Type_() +#define PCollection_HArray2 PColStd_HArray2OfInteger +#define PCollection_HArray2_hxx +#define Handle_PCollection_HArray2 Handle_PColStd_HArray2OfInteger +#define PCollection_HArray2_Type_() PColStd_HArray2OfInteger_Type_() + +#include + +#undef Item +#undef Item_hxx +#undef PCollection_FieldOfHArray2 +#undef PCollection_FieldOfHArray2_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray2 +#undef PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray2 +#undef PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_Type_ +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_Type_ +#undef PCollection_HArray2 +#undef PCollection_HArray2_hxx +#undef Handle_PCollection_HArray2 +#undef PCollection_HArray2_Type_ + + + + +#endif // _PColStd_HArray2OfInteger_HeaderFile diff --git a/src/FromOCCT/PTKernel/PColStd_HArray2OfInteger_0.cxx b/src/FromOCCT/PTKernel/PColStd_HArray2OfInteger_0.cxx new file mode 100644 index 000000000..7582751fb --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_HArray2OfInteger_0.cxx @@ -0,0 +1,42 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColStd_HArray2OfInteger,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColStd_HArray2OfInteger) + + +#define Item Standard_Integer +#define Item_hxx +#define PCollection_FieldOfHArray2 PColStd_FieldOfHArray2OfInteger +#define PCollection_FieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PColStd_VArrayNodeOfFieldOfHArray2OfInteger +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PColStd_VArrayTNodeOfFieldOfHArray2OfInteger +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PColStd_VArrayNodeOfFieldOfHArray2OfInteger +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PColStd_VArrayTNodeOfFieldOfHArray2OfInteger +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColStd_VArrayNodeOfFieldOfHArray2OfInteger +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColStd_VArrayNodeOfFieldOfHArray2OfInteger_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColStd_VArrayNodeOfFieldOfHArray2OfInteger +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColStd_VArrayNodeOfFieldOfHArray2OfInteger_Type_() +#define PCollection_HArray2 PColStd_HArray2OfInteger +#define PCollection_HArray2_hxx +#define Handle_PCollection_HArray2 Handle_PColStd_HArray2OfInteger +#define PCollection_HArray2_Type_() PColStd_HArray2OfInteger_Type_() +#include + diff --git a/src/FromOCCT/PTKernel/PColStd_HArray2OfPersistent.hxx b/src/FromOCCT/PTKernel/PColStd_HArray2OfPersistent.hxx new file mode 100644 index 000000000..d4730998b --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_HArray2OfPersistent.hxx @@ -0,0 +1,144 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColStd_HArray2OfPersistent_HeaderFile +#define _PColStd_HArray2OfPersistent_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class Standard_Persistent; +class Standard_RangeError; +class Standard_OutOfRange; +class PColStd_FieldOfHArray2OfPersistent; +class PColStd_VArrayNodeOfFieldOfHArray2OfPersistent; +class PColStd_VArrayTNodeOfFieldOfHArray2OfPersistent; + + +class PColStd_HArray2OfPersistent : public Standard_Persistent +{ + +public: + + + Standard_EXPORT PColStd_HArray2OfPersistent(const Standard_Integer R1, const Standard_Integer R2, const Standard_Integer C1, const Standard_Integer C2); + + Standard_EXPORT PColStd_HArray2OfPersistent(const Standard_Integer R1, const Standard_Integer R2, const Standard_Integer C1, const Standard_Integer C2, const Handle(Standard_Persistent)& V); + + Standard_EXPORT Standard_Integer ColLength() const; + + Standard_Integer LowerCol() const; + + Standard_Integer LowerRow() const; + + Standard_EXPORT Standard_Integer RowLength() const; + + Standard_EXPORT void SetValue (const Standard_Integer Row, const Standard_Integer Col, const Handle(Standard_Persistent)& Value) ; + + Standard_Integer UpperCol() const; + + Standard_Integer UpperRow() const; + + Standard_EXPORT Handle(Standard_Persistent) Value (const Standard_Integer Row, const Standard_Integer Col) const; + +PColStd_HArray2OfPersistent( ) +{ + +} +PColStd_HArray2OfPersistent(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Standard_Integer _CSFDB_GetPColStd_HArray2OfPersistentmyLowerRow() const { return myLowerRow; } + void _CSFDB_SetPColStd_HArray2OfPersistentmyLowerRow(const Standard_Integer p) { myLowerRow = p; } + Standard_Integer _CSFDB_GetPColStd_HArray2OfPersistentmyLowerCol() const { return myLowerCol; } + void _CSFDB_SetPColStd_HArray2OfPersistentmyLowerCol(const Standard_Integer p) { myLowerCol = p; } + Standard_Integer _CSFDB_GetPColStd_HArray2OfPersistentmyUpperRow() const { return myUpperRow; } + void _CSFDB_SetPColStd_HArray2OfPersistentmyUpperRow(const Standard_Integer p) { myUpperRow = p; } + Standard_Integer _CSFDB_GetPColStd_HArray2OfPersistentmyUpperCol() const { return myUpperCol; } + void _CSFDB_SetPColStd_HArray2OfPersistentmyUpperCol(const Standard_Integer p) { myUpperCol = p; } + const PColStd_FieldOfHArray2OfPersistent& _CSFDB_GetPColStd_HArray2OfPersistentData() const { return Data; } + + + + DEFINE_STANDARD_RTTI(PColStd_HArray2OfPersistent) + +protected: + + + + +private: + + + Standard_EXPORT PColStd_FieldOfHArray2OfPersistent Field() const; + + Standard_EXPORT Standard_Address Datas() const; + + Standard_Integer myLowerRow; + Standard_Integer myLowerCol; + Standard_Integer myUpperRow; + Standard_Integer myUpperCol; + PColStd_FieldOfHArray2OfPersistent Data; + + +}; + +#define Item Handle(Standard_Persistent) +#define Item_hxx +#define PCollection_FieldOfHArray2 PColStd_FieldOfHArray2OfPersistent +#define PCollection_FieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PColStd_VArrayNodeOfFieldOfHArray2OfPersistent +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PColStd_VArrayTNodeOfFieldOfHArray2OfPersistent +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PColStd_VArrayNodeOfFieldOfHArray2OfPersistent +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PColStd_VArrayTNodeOfFieldOfHArray2OfPersistent +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColStd_VArrayNodeOfFieldOfHArray2OfPersistent +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColStd_VArrayNodeOfFieldOfHArray2OfPersistent_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColStd_VArrayNodeOfFieldOfHArray2OfPersistent +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColStd_VArrayNodeOfFieldOfHArray2OfPersistent_Type_() +#define PCollection_HArray2 PColStd_HArray2OfPersistent +#define PCollection_HArray2_hxx +#define Handle_PCollection_HArray2 Handle_PColStd_HArray2OfPersistent +#define PCollection_HArray2_Type_() PColStd_HArray2OfPersistent_Type_() + +#include + +#undef Item +#undef Item_hxx +#undef PCollection_FieldOfHArray2 +#undef PCollection_FieldOfHArray2_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray2 +#undef PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray2 +#undef PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_Type_ +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_Type_ +#undef PCollection_HArray2 +#undef PCollection_HArray2_hxx +#undef Handle_PCollection_HArray2 +#undef PCollection_HArray2_Type_ + + + + +#endif // _PColStd_HArray2OfPersistent_HeaderFile diff --git a/src/FromOCCT/PTKernel/PColStd_HArray2OfPersistent_0.cxx b/src/FromOCCT/PTKernel/PColStd_HArray2OfPersistent_0.cxx new file mode 100644 index 000000000..59917ce3e --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_HArray2OfPersistent_0.cxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColStd_HArray2OfPersistent,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColStd_HArray2OfPersistent) + + +#define Item Handle(Standard_Persistent) +#define Item_hxx +#define PCollection_FieldOfHArray2 PColStd_FieldOfHArray2OfPersistent +#define PCollection_FieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PColStd_VArrayNodeOfFieldOfHArray2OfPersistent +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PColStd_VArrayTNodeOfFieldOfHArray2OfPersistent +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PColStd_VArrayNodeOfFieldOfHArray2OfPersistent +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PColStd_VArrayTNodeOfFieldOfHArray2OfPersistent +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColStd_VArrayNodeOfFieldOfHArray2OfPersistent +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColStd_VArrayNodeOfFieldOfHArray2OfPersistent_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColStd_VArrayNodeOfFieldOfHArray2OfPersistent +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColStd_VArrayNodeOfFieldOfHArray2OfPersistent_Type_() +#define PCollection_HArray2 PColStd_HArray2OfPersistent +#define PCollection_HArray2_hxx +#define Handle_PCollection_HArray2 Handle_PColStd_HArray2OfPersistent +#define PCollection_HArray2_Type_() PColStd_HArray2OfPersistent_Type_() +#include + diff --git a/src/FromOCCT/PTKernel/PColStd_HArray2OfReal.hxx b/src/FromOCCT/PTKernel/PColStd_HArray2OfReal.hxx new file mode 100644 index 000000000..e884870cb --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_HArray2OfReal.hxx @@ -0,0 +1,143 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColStd_HArray2OfReal_HeaderFile +#define _PColStd_HArray2OfReal_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class Standard_RangeError; +class Standard_OutOfRange; +class PColStd_FieldOfHArray2OfReal; +class PColStd_VArrayNodeOfFieldOfHArray2OfReal; +class PColStd_VArrayTNodeOfFieldOfHArray2OfReal; + + +class PColStd_HArray2OfReal : public Standard_Persistent +{ + +public: + + + Standard_EXPORT PColStd_HArray2OfReal(const Standard_Integer R1, const Standard_Integer R2, const Standard_Integer C1, const Standard_Integer C2); + + Standard_EXPORT PColStd_HArray2OfReal(const Standard_Integer R1, const Standard_Integer R2, const Standard_Integer C1, const Standard_Integer C2, const Standard_Real& V); + + Standard_EXPORT Standard_Integer ColLength() const; + + Standard_Integer LowerCol() const; + + Standard_Integer LowerRow() const; + + Standard_EXPORT Standard_Integer RowLength() const; + + Standard_EXPORT void SetValue (const Standard_Integer Row, const Standard_Integer Col, const Standard_Real& Value) ; + + Standard_Integer UpperCol() const; + + Standard_Integer UpperRow() const; + + Standard_EXPORT Standard_Real Value (const Standard_Integer Row, const Standard_Integer Col) const; + +PColStd_HArray2OfReal( ) +{ + +} +PColStd_HArray2OfReal(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Standard_Integer _CSFDB_GetPColStd_HArray2OfRealmyLowerRow() const { return myLowerRow; } + void _CSFDB_SetPColStd_HArray2OfRealmyLowerRow(const Standard_Integer p) { myLowerRow = p; } + Standard_Integer _CSFDB_GetPColStd_HArray2OfRealmyLowerCol() const { return myLowerCol; } + void _CSFDB_SetPColStd_HArray2OfRealmyLowerCol(const Standard_Integer p) { myLowerCol = p; } + Standard_Integer _CSFDB_GetPColStd_HArray2OfRealmyUpperRow() const { return myUpperRow; } + void _CSFDB_SetPColStd_HArray2OfRealmyUpperRow(const Standard_Integer p) { myUpperRow = p; } + Standard_Integer _CSFDB_GetPColStd_HArray2OfRealmyUpperCol() const { return myUpperCol; } + void _CSFDB_SetPColStd_HArray2OfRealmyUpperCol(const Standard_Integer p) { myUpperCol = p; } + const PColStd_FieldOfHArray2OfReal& _CSFDB_GetPColStd_HArray2OfRealData() const { return Data; } + + + + DEFINE_STANDARD_RTTI(PColStd_HArray2OfReal) + +protected: + + + + +private: + + + Standard_EXPORT PColStd_FieldOfHArray2OfReal Field() const; + + Standard_EXPORT Standard_Address Datas() const; + + Standard_Integer myLowerRow; + Standard_Integer myLowerCol; + Standard_Integer myUpperRow; + Standard_Integer myUpperCol; + PColStd_FieldOfHArray2OfReal Data; + + +}; + +#define Item Standard_Real +#define Item_hxx +#define PCollection_FieldOfHArray2 PColStd_FieldOfHArray2OfReal +#define PCollection_FieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PColStd_VArrayNodeOfFieldOfHArray2OfReal +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PColStd_VArrayTNodeOfFieldOfHArray2OfReal +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PColStd_VArrayNodeOfFieldOfHArray2OfReal +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PColStd_VArrayTNodeOfFieldOfHArray2OfReal +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColStd_VArrayNodeOfFieldOfHArray2OfReal +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColStd_VArrayNodeOfFieldOfHArray2OfReal_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColStd_VArrayNodeOfFieldOfHArray2OfReal +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColStd_VArrayNodeOfFieldOfHArray2OfReal_Type_() +#define PCollection_HArray2 PColStd_HArray2OfReal +#define PCollection_HArray2_hxx +#define Handle_PCollection_HArray2 Handle_PColStd_HArray2OfReal +#define PCollection_HArray2_Type_() PColStd_HArray2OfReal_Type_() + +#include + +#undef Item +#undef Item_hxx +#undef PCollection_FieldOfHArray2 +#undef PCollection_FieldOfHArray2_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray2 +#undef PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray2 +#undef PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_Type_ +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_Type_ +#undef PCollection_HArray2 +#undef PCollection_HArray2_hxx +#undef Handle_PCollection_HArray2 +#undef PCollection_HArray2_Type_ + + + + +#endif // _PColStd_HArray2OfReal_HeaderFile diff --git a/src/FromOCCT/PTKernel/PColStd_HArray2OfReal_0.cxx b/src/FromOCCT/PTKernel/PColStd_HArray2OfReal_0.cxx new file mode 100644 index 000000000..c561cb31a --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_HArray2OfReal_0.cxx @@ -0,0 +1,42 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColStd_HArray2OfReal,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColStd_HArray2OfReal) + + +#define Item Standard_Real +#define Item_hxx +#define PCollection_FieldOfHArray2 PColStd_FieldOfHArray2OfReal +#define PCollection_FieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PColStd_VArrayNodeOfFieldOfHArray2OfReal +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PColStd_VArrayTNodeOfFieldOfHArray2OfReal +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PColStd_VArrayNodeOfFieldOfHArray2OfReal +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PColStd_VArrayTNodeOfFieldOfHArray2OfReal +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColStd_VArrayNodeOfFieldOfHArray2OfReal +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColStd_VArrayNodeOfFieldOfHArray2OfReal_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColStd_VArrayNodeOfFieldOfHArray2OfReal +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColStd_VArrayNodeOfFieldOfHArray2OfReal_Type_() +#define PCollection_HArray2 PColStd_HArray2OfReal +#define PCollection_HArray2_hxx +#define Handle_PCollection_HArray2 Handle_PColStd_HArray2OfReal +#define PCollection_HArray2_Type_() PColStd_HArray2OfReal_Type_() +#include + diff --git a/src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString.hxx b/src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString.hxx new file mode 100644 index 000000000..f5908abca --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString.hxx @@ -0,0 +1,66 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString_HeaderFile +#define _PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class PCollection_HExtendedString; +class PColStd_FieldOfHArray1OfExtendedString; +class PColStd_VArrayTNodeOfFieldOfHArray1OfExtendedString; + + +class PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString : public PStandard_ArrayNode +{ + +public: + + + Standard_EXPORT PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString(); + + Standard_EXPORT PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString(const Handle(PCollection_HExtendedString)& aValue); + + Standard_EXPORT void SetValue (const Handle(PCollection_HExtendedString)& aValue) ; + + Standard_EXPORT Standard_Address Value() const; + +PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString(const Storage_stCONSTclCOM& a) : PStandard_ArrayNode(a) +{ + +} + Handle(PCollection_HExtendedString) _CSFDB_GetPColStd_VArrayNodeOfFieldOfHArray1OfExtendedStringmyValue() const { return myValue; } + void _CSFDB_SetPColStd_VArrayNodeOfFieldOfHArray1OfExtendedStringmyValue(const Handle(PCollection_HExtendedString)& p) { myValue = p; } + + + + DEFINE_STANDARD_RTTI(PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString) + +protected: + + + + +private: + + + Handle(PCollection_HExtendedString) myValue; + + +}; + + + + + + + +#endif // _PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString_HeaderFile diff --git a/src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString_0.cxx b/src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString_0.cxx new file mode 100644 index 000000000..16b62455e --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString_0.cxx @@ -0,0 +1,30 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString) + + +#define Item Handle(PCollection_HExtendedString) +#define Item_hxx +#define DBC_VArrayNode PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColStd_VArrayTNodeOfFieldOfHArray1OfExtendedString +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString +#define DBC_VArrayNode_Type_() PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString_Type_() +#define DBC_VArray PColStd_FieldOfHArray1OfExtendedString +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray1OfInteger.hxx b/src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray1OfInteger.hxx new file mode 100644 index 000000000..2ff5340ed --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray1OfInteger.hxx @@ -0,0 +1,65 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColStd_VArrayNodeOfFieldOfHArray1OfInteger_HeaderFile +#define _PColStd_VArrayNodeOfFieldOfHArray1OfInteger_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class PColStd_FieldOfHArray1OfInteger; +class PColStd_VArrayTNodeOfFieldOfHArray1OfInteger; + + +class PColStd_VArrayNodeOfFieldOfHArray1OfInteger : public PStandard_ArrayNode +{ + +public: + + + Standard_EXPORT PColStd_VArrayNodeOfFieldOfHArray1OfInteger(); + + Standard_EXPORT PColStd_VArrayNodeOfFieldOfHArray1OfInteger(const Standard_Integer& aValue); + + Standard_EXPORT void SetValue (const Standard_Integer& aValue) ; + + Standard_EXPORT Standard_Address Value() const; + +PColStd_VArrayNodeOfFieldOfHArray1OfInteger(const Storage_stCONSTclCOM& a) : PStandard_ArrayNode(a) +{ + +} + Standard_Integer _CSFDB_GetPColStd_VArrayNodeOfFieldOfHArray1OfIntegermyValue() const { return myValue; } + void _CSFDB_SetPColStd_VArrayNodeOfFieldOfHArray1OfIntegermyValue(const Standard_Integer p) { myValue = p; } + + + + DEFINE_STANDARD_RTTI(PColStd_VArrayNodeOfFieldOfHArray1OfInteger) + +protected: + + + + +private: + + + Standard_Integer myValue; + + +}; + + + + + + + +#endif // _PColStd_VArrayNodeOfFieldOfHArray1OfInteger_HeaderFile diff --git a/src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray1OfInteger_0.cxx b/src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray1OfInteger_0.cxx new file mode 100644 index 000000000..49cbeeade --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray1OfInteger_0.cxx @@ -0,0 +1,29 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColStd_VArrayNodeOfFieldOfHArray1OfInteger,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColStd_VArrayNodeOfFieldOfHArray1OfInteger) + + +#define Item Standard_Integer +#define Item_hxx +#define DBC_VArrayNode PColStd_VArrayNodeOfFieldOfHArray1OfInteger +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColStd_VArrayTNodeOfFieldOfHArray1OfInteger +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColStd_VArrayNodeOfFieldOfHArray1OfInteger +#define DBC_VArrayNode_Type_() PColStd_VArrayNodeOfFieldOfHArray1OfInteger_Type_() +#define DBC_VArray PColStd_FieldOfHArray1OfInteger +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray1OfPersistent.hxx b/src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray1OfPersistent.hxx new file mode 100644 index 000000000..d6934e740 --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray1OfPersistent.hxx @@ -0,0 +1,66 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColStd_VArrayNodeOfFieldOfHArray1OfPersistent_HeaderFile +#define _PColStd_VArrayNodeOfFieldOfHArray1OfPersistent_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class Standard_Persistent; +class PColStd_FieldOfHArray1OfPersistent; +class PColStd_VArrayTNodeOfFieldOfHArray1OfPersistent; + + +class PColStd_VArrayNodeOfFieldOfHArray1OfPersistent : public PStandard_ArrayNode +{ + +public: + + + Standard_EXPORT PColStd_VArrayNodeOfFieldOfHArray1OfPersistent(); + + Standard_EXPORT PColStd_VArrayNodeOfFieldOfHArray1OfPersistent(const Handle(Standard_Persistent)& aValue); + + Standard_EXPORT void SetValue (const Handle(Standard_Persistent)& aValue) ; + + Standard_EXPORT Standard_Address Value() const; + +PColStd_VArrayNodeOfFieldOfHArray1OfPersistent(const Storage_stCONSTclCOM& a) : PStandard_ArrayNode(a) +{ + +} + Handle(Standard_Persistent) _CSFDB_GetPColStd_VArrayNodeOfFieldOfHArray1OfPersistentmyValue() const { return myValue; } + void _CSFDB_SetPColStd_VArrayNodeOfFieldOfHArray1OfPersistentmyValue(const Handle(Standard_Persistent)& p) { myValue = p; } + + + + DEFINE_STANDARD_RTTI(PColStd_VArrayNodeOfFieldOfHArray1OfPersistent) + +protected: + + + + +private: + + + Handle(Standard_Persistent) myValue; + + +}; + + + + + + + +#endif // _PColStd_VArrayNodeOfFieldOfHArray1OfPersistent_HeaderFile diff --git a/src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray1OfPersistent_0.cxx b/src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray1OfPersistent_0.cxx new file mode 100644 index 000000000..36882ddec --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray1OfPersistent_0.cxx @@ -0,0 +1,30 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColStd_VArrayNodeOfFieldOfHArray1OfPersistent,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColStd_VArrayNodeOfFieldOfHArray1OfPersistent) + + +#define Item Handle(Standard_Persistent) +#define Item_hxx +#define DBC_VArrayNode PColStd_VArrayNodeOfFieldOfHArray1OfPersistent +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColStd_VArrayTNodeOfFieldOfHArray1OfPersistent +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColStd_VArrayNodeOfFieldOfHArray1OfPersistent +#define DBC_VArrayNode_Type_() PColStd_VArrayNodeOfFieldOfHArray1OfPersistent_Type_() +#define DBC_VArray PColStd_FieldOfHArray1OfPersistent +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray1OfReal.hxx b/src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray1OfReal.hxx new file mode 100644 index 000000000..76ecb26fd --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray1OfReal.hxx @@ -0,0 +1,65 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColStd_VArrayNodeOfFieldOfHArray1OfReal_HeaderFile +#define _PColStd_VArrayNodeOfFieldOfHArray1OfReal_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class PColStd_FieldOfHArray1OfReal; +class PColStd_VArrayTNodeOfFieldOfHArray1OfReal; + + +class PColStd_VArrayNodeOfFieldOfHArray1OfReal : public PStandard_ArrayNode +{ + +public: + + + Standard_EXPORT PColStd_VArrayNodeOfFieldOfHArray1OfReal(); + + Standard_EXPORT PColStd_VArrayNodeOfFieldOfHArray1OfReal(const Standard_Real& aValue); + + Standard_EXPORT void SetValue (const Standard_Real& aValue) ; + + Standard_EXPORT Standard_Address Value() const; + +PColStd_VArrayNodeOfFieldOfHArray1OfReal(const Storage_stCONSTclCOM& a) : PStandard_ArrayNode(a) +{ + +} + Standard_Real _CSFDB_GetPColStd_VArrayNodeOfFieldOfHArray1OfRealmyValue() const { return myValue; } + void _CSFDB_SetPColStd_VArrayNodeOfFieldOfHArray1OfRealmyValue(const Standard_Real p) { myValue = p; } + + + + DEFINE_STANDARD_RTTI(PColStd_VArrayNodeOfFieldOfHArray1OfReal) + +protected: + + + + +private: + + + Standard_Real myValue; + + +}; + + + + + + + +#endif // _PColStd_VArrayNodeOfFieldOfHArray1OfReal_HeaderFile diff --git a/src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray1OfReal_0.cxx b/src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray1OfReal_0.cxx new file mode 100644 index 000000000..b083f95fa --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray1OfReal_0.cxx @@ -0,0 +1,29 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColStd_VArrayNodeOfFieldOfHArray1OfReal,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColStd_VArrayNodeOfFieldOfHArray1OfReal) + + +#define Item Standard_Real +#define Item_hxx +#define DBC_VArrayNode PColStd_VArrayNodeOfFieldOfHArray1OfReal +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColStd_VArrayTNodeOfFieldOfHArray1OfReal +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColStd_VArrayNodeOfFieldOfHArray1OfReal +#define DBC_VArrayNode_Type_() PColStd_VArrayNodeOfFieldOfHArray1OfReal_Type_() +#define DBC_VArray PColStd_FieldOfHArray1OfReal +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray2OfInteger.hxx b/src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray2OfInteger.hxx new file mode 100644 index 000000000..f8f0cbc33 --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray2OfInteger.hxx @@ -0,0 +1,65 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColStd_VArrayNodeOfFieldOfHArray2OfInteger_HeaderFile +#define _PColStd_VArrayNodeOfFieldOfHArray2OfInteger_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class PColStd_FieldOfHArray2OfInteger; +class PColStd_VArrayTNodeOfFieldOfHArray2OfInteger; + + +class PColStd_VArrayNodeOfFieldOfHArray2OfInteger : public PStandard_ArrayNode +{ + +public: + + + Standard_EXPORT PColStd_VArrayNodeOfFieldOfHArray2OfInteger(); + + Standard_EXPORT PColStd_VArrayNodeOfFieldOfHArray2OfInteger(const Standard_Integer& aValue); + + Standard_EXPORT void SetValue (const Standard_Integer& aValue) ; + + Standard_EXPORT Standard_Address Value() const; + +PColStd_VArrayNodeOfFieldOfHArray2OfInteger(const Storage_stCONSTclCOM& a) : PStandard_ArrayNode(a) +{ + +} + Standard_Integer _CSFDB_GetPColStd_VArrayNodeOfFieldOfHArray2OfIntegermyValue() const { return myValue; } + void _CSFDB_SetPColStd_VArrayNodeOfFieldOfHArray2OfIntegermyValue(const Standard_Integer p) { myValue = p; } + + + + DEFINE_STANDARD_RTTI(PColStd_VArrayNodeOfFieldOfHArray2OfInteger) + +protected: + + + + +private: + + + Standard_Integer myValue; + + +}; + + + + + + + +#endif // _PColStd_VArrayNodeOfFieldOfHArray2OfInteger_HeaderFile diff --git a/src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray2OfInteger_0.cxx b/src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray2OfInteger_0.cxx new file mode 100644 index 000000000..6aedcf446 --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray2OfInteger_0.cxx @@ -0,0 +1,29 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColStd_VArrayNodeOfFieldOfHArray2OfInteger,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColStd_VArrayNodeOfFieldOfHArray2OfInteger) + + +#define Item Standard_Integer +#define Item_hxx +#define DBC_VArrayNode PColStd_VArrayNodeOfFieldOfHArray2OfInteger +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColStd_VArrayTNodeOfFieldOfHArray2OfInteger +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColStd_VArrayNodeOfFieldOfHArray2OfInteger +#define DBC_VArrayNode_Type_() PColStd_VArrayNodeOfFieldOfHArray2OfInteger_Type_() +#define DBC_VArray PColStd_FieldOfHArray2OfInteger +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray2OfPersistent.hxx b/src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray2OfPersistent.hxx new file mode 100644 index 000000000..f05c4d839 --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray2OfPersistent.hxx @@ -0,0 +1,66 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColStd_VArrayNodeOfFieldOfHArray2OfPersistent_HeaderFile +#define _PColStd_VArrayNodeOfFieldOfHArray2OfPersistent_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class Standard_Persistent; +class PColStd_FieldOfHArray2OfPersistent; +class PColStd_VArrayTNodeOfFieldOfHArray2OfPersistent; + + +class PColStd_VArrayNodeOfFieldOfHArray2OfPersistent : public PStandard_ArrayNode +{ + +public: + + + Standard_EXPORT PColStd_VArrayNodeOfFieldOfHArray2OfPersistent(); + + Standard_EXPORT PColStd_VArrayNodeOfFieldOfHArray2OfPersistent(const Handle(Standard_Persistent)& aValue); + + Standard_EXPORT void SetValue (const Handle(Standard_Persistent)& aValue) ; + + Standard_EXPORT Standard_Address Value() const; + +PColStd_VArrayNodeOfFieldOfHArray2OfPersistent(const Storage_stCONSTclCOM& a) : PStandard_ArrayNode(a) +{ + +} + Handle(Standard_Persistent) _CSFDB_GetPColStd_VArrayNodeOfFieldOfHArray2OfPersistentmyValue() const { return myValue; } + void _CSFDB_SetPColStd_VArrayNodeOfFieldOfHArray2OfPersistentmyValue(const Handle(Standard_Persistent)& p) { myValue = p; } + + + + DEFINE_STANDARD_RTTI(PColStd_VArrayNodeOfFieldOfHArray2OfPersistent) + +protected: + + + + +private: + + + Handle(Standard_Persistent) myValue; + + +}; + + + + + + + +#endif // _PColStd_VArrayNodeOfFieldOfHArray2OfPersistent_HeaderFile diff --git a/src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray2OfPersistent_0.cxx b/src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray2OfPersistent_0.cxx new file mode 100644 index 000000000..ed180a9a6 --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray2OfPersistent_0.cxx @@ -0,0 +1,30 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColStd_VArrayNodeOfFieldOfHArray2OfPersistent,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColStd_VArrayNodeOfFieldOfHArray2OfPersistent) + + +#define Item Handle(Standard_Persistent) +#define Item_hxx +#define DBC_VArrayNode PColStd_VArrayNodeOfFieldOfHArray2OfPersistent +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColStd_VArrayTNodeOfFieldOfHArray2OfPersistent +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColStd_VArrayNodeOfFieldOfHArray2OfPersistent +#define DBC_VArrayNode_Type_() PColStd_VArrayNodeOfFieldOfHArray2OfPersistent_Type_() +#define DBC_VArray PColStd_FieldOfHArray2OfPersistent +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray2OfReal.hxx b/src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray2OfReal.hxx new file mode 100644 index 000000000..0fcff496f --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray2OfReal.hxx @@ -0,0 +1,65 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColStd_VArrayNodeOfFieldOfHArray2OfReal_HeaderFile +#define _PColStd_VArrayNodeOfFieldOfHArray2OfReal_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class PColStd_FieldOfHArray2OfReal; +class PColStd_VArrayTNodeOfFieldOfHArray2OfReal; + + +class PColStd_VArrayNodeOfFieldOfHArray2OfReal : public PStandard_ArrayNode +{ + +public: + + + Standard_EXPORT PColStd_VArrayNodeOfFieldOfHArray2OfReal(); + + Standard_EXPORT PColStd_VArrayNodeOfFieldOfHArray2OfReal(const Standard_Real& aValue); + + Standard_EXPORT void SetValue (const Standard_Real& aValue) ; + + Standard_EXPORT Standard_Address Value() const; + +PColStd_VArrayNodeOfFieldOfHArray2OfReal(const Storage_stCONSTclCOM& a) : PStandard_ArrayNode(a) +{ + +} + Standard_Real _CSFDB_GetPColStd_VArrayNodeOfFieldOfHArray2OfRealmyValue() const { return myValue; } + void _CSFDB_SetPColStd_VArrayNodeOfFieldOfHArray2OfRealmyValue(const Standard_Real p) { myValue = p; } + + + + DEFINE_STANDARD_RTTI(PColStd_VArrayNodeOfFieldOfHArray2OfReal) + +protected: + + + + +private: + + + Standard_Real myValue; + + +}; + + + + + + + +#endif // _PColStd_VArrayNodeOfFieldOfHArray2OfReal_HeaderFile diff --git a/src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray2OfReal_0.cxx b/src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray2OfReal_0.cxx new file mode 100644 index 000000000..e994268cf --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_VArrayNodeOfFieldOfHArray2OfReal_0.cxx @@ -0,0 +1,29 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColStd_VArrayNodeOfFieldOfHArray2OfReal,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColStd_VArrayNodeOfFieldOfHArray2OfReal) + + +#define Item Standard_Real +#define Item_hxx +#define DBC_VArrayNode PColStd_VArrayNodeOfFieldOfHArray2OfReal +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColStd_VArrayTNodeOfFieldOfHArray2OfReal +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColStd_VArrayNodeOfFieldOfHArray2OfReal +#define DBC_VArrayNode_Type_() PColStd_VArrayNodeOfFieldOfHArray2OfReal_Type_() +#define DBC_VArray PColStd_FieldOfHArray2OfReal +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray1OfExtendedString.hxx b/src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray1OfExtendedString.hxx new file mode 100644 index 000000000..6a43bebec --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray1OfExtendedString.hxx @@ -0,0 +1,82 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColStd_VArrayTNodeOfFieldOfHArray1OfExtendedString_HeaderFile +#define _PColStd_VArrayTNodeOfFieldOfHArray1OfExtendedString_HeaderFile + +#include +#include +#include + +#include +#include +#include +class PCollection_HExtendedString; +class PColStd_FieldOfHArray1OfExtendedString; +class PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString; + + + +class PColStd_VArrayTNodeOfFieldOfHArray1OfExtendedString +{ +public: + + DEFINE_STANDARD_ALLOC + + + PColStd_VArrayTNodeOfFieldOfHArray1OfExtendedString(); + + PColStd_VArrayTNodeOfFieldOfHArray1OfExtendedString(const Handle(PCollection_HExtendedString)& aValue); + + void SetValue (const Handle(PCollection_HExtendedString)& aValue) ; + + Standard_Address Value() const; + + + + +protected: + + + + + +private: + + + + Handle(PCollection_HExtendedString) myValue; + + +}; + +#define Item Handle(PCollection_HExtendedString) +#define Item_hxx +#define DBC_VArrayNode PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColStd_VArrayTNodeOfFieldOfHArray1OfExtendedString +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString +#define DBC_VArrayNode_Type_() PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString_Type_() +#define DBC_VArray PColStd_FieldOfHArray1OfExtendedString +#define DBC_VArray_hxx + +#include + +#undef Item +#undef Item_hxx +#undef DBC_VArrayNode +#undef DBC_VArrayNode_hxx +#undef DBC_VArrayTNode +#undef DBC_VArrayTNode_hxx +#undef Handle_DBC_VArrayNode +#undef DBC_VArrayNode_Type_ +#undef DBC_VArray +#undef DBC_VArray_hxx + + + + +#endif // _PColStd_VArrayTNodeOfFieldOfHArray1OfExtendedString_HeaderFile diff --git a/src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray1OfExtendedString_0.cxx b/src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray1OfExtendedString_0.cxx new file mode 100644 index 000000000..56e1bc124 --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray1OfExtendedString_0.cxx @@ -0,0 +1,24 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + +#define Item Handle(PCollection_HExtendedString) +#define Item_hxx +#define DBC_VArrayNode PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColStd_VArrayTNodeOfFieldOfHArray1OfExtendedString +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString +#define DBC_VArrayNode_Type_() PColStd_VArrayNodeOfFieldOfHArray1OfExtendedString_Type_() +#define DBC_VArray PColStd_FieldOfHArray1OfExtendedString +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray1OfInteger.hxx b/src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray1OfInteger.hxx new file mode 100644 index 000000000..f50317e64 --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray1OfInteger.hxx @@ -0,0 +1,81 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColStd_VArrayTNodeOfFieldOfHArray1OfInteger_HeaderFile +#define _PColStd_VArrayTNodeOfFieldOfHArray1OfInteger_HeaderFile + +#include +#include +#include + +#include +#include +#include +class PColStd_FieldOfHArray1OfInteger; +class PColStd_VArrayNodeOfFieldOfHArray1OfInteger; + + + +class PColStd_VArrayTNodeOfFieldOfHArray1OfInteger +{ +public: + + DEFINE_STANDARD_ALLOC + + + PColStd_VArrayTNodeOfFieldOfHArray1OfInteger(); + + PColStd_VArrayTNodeOfFieldOfHArray1OfInteger(const Standard_Integer& aValue); + + void SetValue (const Standard_Integer& aValue) ; + + Standard_Address Value() const; + + + + +protected: + + + + + +private: + + + + Standard_Integer myValue; + + +}; + +#define Item Standard_Integer +#define Item_hxx +#define DBC_VArrayNode PColStd_VArrayNodeOfFieldOfHArray1OfInteger +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColStd_VArrayTNodeOfFieldOfHArray1OfInteger +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColStd_VArrayNodeOfFieldOfHArray1OfInteger +#define DBC_VArrayNode_Type_() PColStd_VArrayNodeOfFieldOfHArray1OfInteger_Type_() +#define DBC_VArray PColStd_FieldOfHArray1OfInteger +#define DBC_VArray_hxx + +#include + +#undef Item +#undef Item_hxx +#undef DBC_VArrayNode +#undef DBC_VArrayNode_hxx +#undef DBC_VArrayTNode +#undef DBC_VArrayTNode_hxx +#undef Handle_DBC_VArrayNode +#undef DBC_VArrayNode_Type_ +#undef DBC_VArray +#undef DBC_VArray_hxx + + + + +#endif // _PColStd_VArrayTNodeOfFieldOfHArray1OfInteger_HeaderFile diff --git a/src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray1OfInteger_0.cxx b/src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray1OfInteger_0.cxx new file mode 100644 index 000000000..a093a25d3 --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray1OfInteger_0.cxx @@ -0,0 +1,23 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include + + +#define Item Standard_Integer +#define Item_hxx +#define DBC_VArrayNode PColStd_VArrayNodeOfFieldOfHArray1OfInteger +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColStd_VArrayTNodeOfFieldOfHArray1OfInteger +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColStd_VArrayNodeOfFieldOfHArray1OfInteger +#define DBC_VArrayNode_Type_() PColStd_VArrayNodeOfFieldOfHArray1OfInteger_Type_() +#define DBC_VArray PColStd_FieldOfHArray1OfInteger +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray1OfPersistent.hxx b/src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray1OfPersistent.hxx new file mode 100644 index 000000000..ee18dc405 --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray1OfPersistent.hxx @@ -0,0 +1,82 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColStd_VArrayTNodeOfFieldOfHArray1OfPersistent_HeaderFile +#define _PColStd_VArrayTNodeOfFieldOfHArray1OfPersistent_HeaderFile + +#include +#include +#include + +#include +#include +#include +class Standard_Persistent; +class PColStd_FieldOfHArray1OfPersistent; +class PColStd_VArrayNodeOfFieldOfHArray1OfPersistent; + + + +class PColStd_VArrayTNodeOfFieldOfHArray1OfPersistent +{ +public: + + DEFINE_STANDARD_ALLOC + + + PColStd_VArrayTNodeOfFieldOfHArray1OfPersistent(); + + PColStd_VArrayTNodeOfFieldOfHArray1OfPersistent(const Handle(Standard_Persistent)& aValue); + + void SetValue (const Handle(Standard_Persistent)& aValue) ; + + Standard_Address Value() const; + + + + +protected: + + + + + +private: + + + + Handle(Standard_Persistent) myValue; + + +}; + +#define Item Handle(Standard_Persistent) +#define Item_hxx +#define DBC_VArrayNode PColStd_VArrayNodeOfFieldOfHArray1OfPersistent +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColStd_VArrayTNodeOfFieldOfHArray1OfPersistent +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColStd_VArrayNodeOfFieldOfHArray1OfPersistent +#define DBC_VArrayNode_Type_() PColStd_VArrayNodeOfFieldOfHArray1OfPersistent_Type_() +#define DBC_VArray PColStd_FieldOfHArray1OfPersistent +#define DBC_VArray_hxx + +#include + +#undef Item +#undef Item_hxx +#undef DBC_VArrayNode +#undef DBC_VArrayNode_hxx +#undef DBC_VArrayTNode +#undef DBC_VArrayTNode_hxx +#undef Handle_DBC_VArrayNode +#undef DBC_VArrayNode_Type_ +#undef DBC_VArray +#undef DBC_VArray_hxx + + + + +#endif // _PColStd_VArrayTNodeOfFieldOfHArray1OfPersistent_HeaderFile diff --git a/src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray1OfPersistent_0.cxx b/src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray1OfPersistent_0.cxx new file mode 100644 index 000000000..2c7826412 --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray1OfPersistent_0.cxx @@ -0,0 +1,24 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + +#define Item Handle(Standard_Persistent) +#define Item_hxx +#define DBC_VArrayNode PColStd_VArrayNodeOfFieldOfHArray1OfPersistent +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColStd_VArrayTNodeOfFieldOfHArray1OfPersistent +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColStd_VArrayNodeOfFieldOfHArray1OfPersistent +#define DBC_VArrayNode_Type_() PColStd_VArrayNodeOfFieldOfHArray1OfPersistent_Type_() +#define DBC_VArray PColStd_FieldOfHArray1OfPersistent +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray1OfReal.hxx b/src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray1OfReal.hxx new file mode 100644 index 000000000..09fec932d --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray1OfReal.hxx @@ -0,0 +1,81 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColStd_VArrayTNodeOfFieldOfHArray1OfReal_HeaderFile +#define _PColStd_VArrayTNodeOfFieldOfHArray1OfReal_HeaderFile + +#include +#include +#include + +#include +#include +#include +class PColStd_FieldOfHArray1OfReal; +class PColStd_VArrayNodeOfFieldOfHArray1OfReal; + + + +class PColStd_VArrayTNodeOfFieldOfHArray1OfReal +{ +public: + + DEFINE_STANDARD_ALLOC + + + PColStd_VArrayTNodeOfFieldOfHArray1OfReal(); + + PColStd_VArrayTNodeOfFieldOfHArray1OfReal(const Standard_Real& aValue); + + void SetValue (const Standard_Real& aValue) ; + + Standard_Address Value() const; + + + + +protected: + + + + + +private: + + + + Standard_Real myValue; + + +}; + +#define Item Standard_Real +#define Item_hxx +#define DBC_VArrayNode PColStd_VArrayNodeOfFieldOfHArray1OfReal +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColStd_VArrayTNodeOfFieldOfHArray1OfReal +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColStd_VArrayNodeOfFieldOfHArray1OfReal +#define DBC_VArrayNode_Type_() PColStd_VArrayNodeOfFieldOfHArray1OfReal_Type_() +#define DBC_VArray PColStd_FieldOfHArray1OfReal +#define DBC_VArray_hxx + +#include + +#undef Item +#undef Item_hxx +#undef DBC_VArrayNode +#undef DBC_VArrayNode_hxx +#undef DBC_VArrayTNode +#undef DBC_VArrayTNode_hxx +#undef Handle_DBC_VArrayNode +#undef DBC_VArrayNode_Type_ +#undef DBC_VArray +#undef DBC_VArray_hxx + + + + +#endif // _PColStd_VArrayTNodeOfFieldOfHArray1OfReal_HeaderFile diff --git a/src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray1OfReal_0.cxx b/src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray1OfReal_0.cxx new file mode 100644 index 000000000..2e9497266 --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray1OfReal_0.cxx @@ -0,0 +1,23 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include + + +#define Item Standard_Real +#define Item_hxx +#define DBC_VArrayNode PColStd_VArrayNodeOfFieldOfHArray1OfReal +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColStd_VArrayTNodeOfFieldOfHArray1OfReal +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColStd_VArrayNodeOfFieldOfHArray1OfReal +#define DBC_VArrayNode_Type_() PColStd_VArrayNodeOfFieldOfHArray1OfReal_Type_() +#define DBC_VArray PColStd_FieldOfHArray1OfReal +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray2OfInteger.hxx b/src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray2OfInteger.hxx new file mode 100644 index 000000000..c6f78f11c --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray2OfInteger.hxx @@ -0,0 +1,81 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColStd_VArrayTNodeOfFieldOfHArray2OfInteger_HeaderFile +#define _PColStd_VArrayTNodeOfFieldOfHArray2OfInteger_HeaderFile + +#include +#include +#include + +#include +#include +#include +class PColStd_FieldOfHArray2OfInteger; +class PColStd_VArrayNodeOfFieldOfHArray2OfInteger; + + + +class PColStd_VArrayTNodeOfFieldOfHArray2OfInteger +{ +public: + + DEFINE_STANDARD_ALLOC + + + PColStd_VArrayTNodeOfFieldOfHArray2OfInteger(); + + PColStd_VArrayTNodeOfFieldOfHArray2OfInteger(const Standard_Integer& aValue); + + void SetValue (const Standard_Integer& aValue) ; + + Standard_Address Value() const; + + + + +protected: + + + + + +private: + + + + Standard_Integer myValue; + + +}; + +#define Item Standard_Integer +#define Item_hxx +#define DBC_VArrayNode PColStd_VArrayNodeOfFieldOfHArray2OfInteger +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColStd_VArrayTNodeOfFieldOfHArray2OfInteger +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColStd_VArrayNodeOfFieldOfHArray2OfInteger +#define DBC_VArrayNode_Type_() PColStd_VArrayNodeOfFieldOfHArray2OfInteger_Type_() +#define DBC_VArray PColStd_FieldOfHArray2OfInteger +#define DBC_VArray_hxx + +#include + +#undef Item +#undef Item_hxx +#undef DBC_VArrayNode +#undef DBC_VArrayNode_hxx +#undef DBC_VArrayTNode +#undef DBC_VArrayTNode_hxx +#undef Handle_DBC_VArrayNode +#undef DBC_VArrayNode_Type_ +#undef DBC_VArray +#undef DBC_VArray_hxx + + + + +#endif // _PColStd_VArrayTNodeOfFieldOfHArray2OfInteger_HeaderFile diff --git a/src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray2OfInteger_0.cxx b/src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray2OfInteger_0.cxx new file mode 100644 index 000000000..1657b91bc --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray2OfInteger_0.cxx @@ -0,0 +1,23 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include + + +#define Item Standard_Integer +#define Item_hxx +#define DBC_VArrayNode PColStd_VArrayNodeOfFieldOfHArray2OfInteger +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColStd_VArrayTNodeOfFieldOfHArray2OfInteger +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColStd_VArrayNodeOfFieldOfHArray2OfInteger +#define DBC_VArrayNode_Type_() PColStd_VArrayNodeOfFieldOfHArray2OfInteger_Type_() +#define DBC_VArray PColStd_FieldOfHArray2OfInteger +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray2OfPersistent.hxx b/src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray2OfPersistent.hxx new file mode 100644 index 000000000..b62f74022 --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray2OfPersistent.hxx @@ -0,0 +1,82 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColStd_VArrayTNodeOfFieldOfHArray2OfPersistent_HeaderFile +#define _PColStd_VArrayTNodeOfFieldOfHArray2OfPersistent_HeaderFile + +#include +#include +#include + +#include +#include +#include +class Standard_Persistent; +class PColStd_FieldOfHArray2OfPersistent; +class PColStd_VArrayNodeOfFieldOfHArray2OfPersistent; + + + +class PColStd_VArrayTNodeOfFieldOfHArray2OfPersistent +{ +public: + + DEFINE_STANDARD_ALLOC + + + PColStd_VArrayTNodeOfFieldOfHArray2OfPersistent(); + + PColStd_VArrayTNodeOfFieldOfHArray2OfPersistent(const Handle(Standard_Persistent)& aValue); + + void SetValue (const Handle(Standard_Persistent)& aValue) ; + + Standard_Address Value() const; + + + + +protected: + + + + + +private: + + + + Handle(Standard_Persistent) myValue; + + +}; + +#define Item Handle(Standard_Persistent) +#define Item_hxx +#define DBC_VArrayNode PColStd_VArrayNodeOfFieldOfHArray2OfPersistent +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColStd_VArrayTNodeOfFieldOfHArray2OfPersistent +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColStd_VArrayNodeOfFieldOfHArray2OfPersistent +#define DBC_VArrayNode_Type_() PColStd_VArrayNodeOfFieldOfHArray2OfPersistent_Type_() +#define DBC_VArray PColStd_FieldOfHArray2OfPersistent +#define DBC_VArray_hxx + +#include + +#undef Item +#undef Item_hxx +#undef DBC_VArrayNode +#undef DBC_VArrayNode_hxx +#undef DBC_VArrayTNode +#undef DBC_VArrayTNode_hxx +#undef Handle_DBC_VArrayNode +#undef DBC_VArrayNode_Type_ +#undef DBC_VArray +#undef DBC_VArray_hxx + + + + +#endif // _PColStd_VArrayTNodeOfFieldOfHArray2OfPersistent_HeaderFile diff --git a/src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray2OfPersistent_0.cxx b/src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray2OfPersistent_0.cxx new file mode 100644 index 000000000..20190bb1c --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray2OfPersistent_0.cxx @@ -0,0 +1,24 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + +#define Item Handle(Standard_Persistent) +#define Item_hxx +#define DBC_VArrayNode PColStd_VArrayNodeOfFieldOfHArray2OfPersistent +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColStd_VArrayTNodeOfFieldOfHArray2OfPersistent +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColStd_VArrayNodeOfFieldOfHArray2OfPersistent +#define DBC_VArrayNode_Type_() PColStd_VArrayNodeOfFieldOfHArray2OfPersistent_Type_() +#define DBC_VArray PColStd_FieldOfHArray2OfPersistent +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray2OfReal.hxx b/src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray2OfReal.hxx new file mode 100644 index 000000000..e9453ce19 --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray2OfReal.hxx @@ -0,0 +1,81 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColStd_VArrayTNodeOfFieldOfHArray2OfReal_HeaderFile +#define _PColStd_VArrayTNodeOfFieldOfHArray2OfReal_HeaderFile + +#include +#include +#include + +#include +#include +#include +class PColStd_FieldOfHArray2OfReal; +class PColStd_VArrayNodeOfFieldOfHArray2OfReal; + + + +class PColStd_VArrayTNodeOfFieldOfHArray2OfReal +{ +public: + + DEFINE_STANDARD_ALLOC + + + PColStd_VArrayTNodeOfFieldOfHArray2OfReal(); + + PColStd_VArrayTNodeOfFieldOfHArray2OfReal(const Standard_Real& aValue); + + void SetValue (const Standard_Real& aValue) ; + + Standard_Address Value() const; + + + + +protected: + + + + + +private: + + + + Standard_Real myValue; + + +}; + +#define Item Standard_Real +#define Item_hxx +#define DBC_VArrayNode PColStd_VArrayNodeOfFieldOfHArray2OfReal +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColStd_VArrayTNodeOfFieldOfHArray2OfReal +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColStd_VArrayNodeOfFieldOfHArray2OfReal +#define DBC_VArrayNode_Type_() PColStd_VArrayNodeOfFieldOfHArray2OfReal_Type_() +#define DBC_VArray PColStd_FieldOfHArray2OfReal +#define DBC_VArray_hxx + +#include + +#undef Item +#undef Item_hxx +#undef DBC_VArrayNode +#undef DBC_VArrayNode_hxx +#undef DBC_VArrayTNode +#undef DBC_VArrayTNode_hxx +#undef Handle_DBC_VArrayNode +#undef DBC_VArrayNode_Type_ +#undef DBC_VArray +#undef DBC_VArray_hxx + + + + +#endif // _PColStd_VArrayTNodeOfFieldOfHArray2OfReal_HeaderFile diff --git a/src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray2OfReal_0.cxx b/src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray2OfReal_0.cxx new file mode 100644 index 000000000..0a49bcb45 --- /dev/null +++ b/src/FromOCCT/PTKernel/PColStd_VArrayTNodeOfFieldOfHArray2OfReal_0.cxx @@ -0,0 +1,23 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include + + +#define Item Standard_Real +#define Item_hxx +#define DBC_VArrayNode PColStd_VArrayNodeOfFieldOfHArray2OfReal +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColStd_VArrayTNodeOfFieldOfHArray2OfReal +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColStd_VArrayNodeOfFieldOfHArray2OfReal +#define DBC_VArrayNode_Type_() PColStd_VArrayNodeOfFieldOfHArray2OfReal_Type_() +#define DBC_VArray PColStd_FieldOfHArray2OfReal +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/PTKernel/PCollection_AccessMode.hxx b/src/FromOCCT/PTKernel/PCollection_AccessMode.hxx new file mode 100644 index 000000000..52ef4dc6e --- /dev/null +++ b/src/FromOCCT/PTKernel/PCollection_AccessMode.hxx @@ -0,0 +1,18 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PCollection_AccessMode_HeaderFile +#define _PCollection_AccessMode_HeaderFile + +#include + + +enum PCollection_AccessMode +{ +PCollection_Read, +PCollection_Update +}; + +#endif // _PCollection_AccessMode_HeaderFile diff --git a/src/FromOCCT/PTKernel/PCollection_HArray1.gxx b/src/FromOCCT/PTKernel/PCollection_HArray1.gxx new file mode 100644 index 000000000..b7b843284 --- /dev/null +++ b/src/FromOCCT/PTKernel/PCollection_HArray1.gxx @@ -0,0 +1,112 @@ +// 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 +#include +#include +#include + +// ---------------------------------------------------------------------- +// 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/FromOCCT/PTKernel/PCollection_HArray1.lxx b/src/FromOCCT/PTKernel/PCollection_HArray1.lxx new file mode 100644 index 000000000..be32fce92 --- /dev/null +++ b/src/FromOCCT/PTKernel/PCollection_HArray1.lxx @@ -0,0 +1,46 @@ +// 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 + + +// ------------------------------------------------------------------ +// ------------------------------------------------------------------ +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/FromOCCT/PTKernel/PCollection_HArray2.gxx b/src/FromOCCT/PTKernel/PCollection_HArray2.gxx new file mode 100644 index 000000000..ab3d501ec --- /dev/null +++ b/src/FromOCCT/PTKernel/PCollection_HArray2.gxx @@ -0,0 +1,133 @@ +// 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 +#include +#include + +// -------------------------------------------------------------------- +// 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 myUpperRow || + 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 myUpperRow || + 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/FromOCCT/PTKernel/PCollection_HArray2.lxx b/src/FromOCCT/PTKernel/PCollection_HArray2.lxx new file mode 100644 index 000000000..7e4346a0b --- /dev/null +++ b/src/FromOCCT/PTKernel/PCollection_HArray2.lxx @@ -0,0 +1,76 @@ +// 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/FromOCCT/PTKernel/PCollection_HAsciiString.cxx b/src/FromOCCT/PTKernel/PCollection_HAsciiString.cxx new file mode 100644 index 000000000..12bd5f7ac --- /dev/null +++ b/src/FromOCCT/PTKernel/PCollection_HAsciiString.cxx @@ -0,0 +1,735 @@ +// 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 +#include +#include +#include +#include +#include + +#include + +//------------------------------------ +// 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/FromOCCT/PTKernel/PCollection_HAsciiString.hxx b/src/FromOCCT/PTKernel/PCollection_HAsciiString.hxx new file mode 100644 index 000000000..9d3b03770 --- /dev/null +++ b/src/FromOCCT/PTKernel/PCollection_HAsciiString.hxx @@ -0,0 +1,293 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PCollection_HAsciiString_HeaderFile +#define _PCollection_HAsciiString_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +class Standard_OutOfRange; +class Standard_NegativeValue; +class Standard_NumericError; +class TCollection_AsciiString; +class PCollection_HExtendedString; +class DBC_VArrayOfCharacter; + + +class PCollection_HAsciiString : public Standard_Persistent +{ + +public: + + + //! Creation and initialization with the string S. + Standard_EXPORT PCollection_HAsciiString(const Standard_CString S); + + //! Creation and initialization with the string S from TCollection. + Standard_EXPORT PCollection_HAsciiString(const TCollection_AsciiString& S); + + //! Creation and initialization with the character C. + Standard_EXPORT PCollection_HAsciiString(const Standard_Character C); + + //! Creation of a sub-string of the string S. + //! The sub-string starts at the index FromIndex and ends + //! at the index ToIndex + Standard_EXPORT PCollection_HAsciiString(const Handle(PCollection_HAsciiString)& S, const Standard_Integer FromIndex, const Standard_Integer ToIndex); + + //! Creation by converting an extended string to a normal + //! string. Raises OutOfRange if the String is not in the "Ascii range". + Standard_EXPORT PCollection_HAsciiString(const Handle(PCollection_HExtendedString)& S); + + //! Creation and initialization by converting the real + //! value into a string. + //! F describes a format using "C" conventions. + Standard_EXPORT PCollection_HAsciiString(const Standard_Real R, const Standard_CString F = "%f"); + + //! Creation and initialization by converting the Integer + //! value into a string. + //! F describes a format using "C" conventions. + Standard_EXPORT PCollection_HAsciiString(const Standard_Integer I, const Standard_CString F = "%d"); + + //! Pushing a string at the end of the string me + Standard_EXPORT void Append (const Handle(PCollection_HAsciiString)& S) ; + + //! Converts the first character into its corresponding + //! upper-case character and the other characters into lowercase + Standard_EXPORT void Capitalize() ; + + //! 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 + Standard_EXPORT void Center (const Standard_Integer Width, const Standard_Character Filler) ; + + //! Substitutes all the characters equal to C by NewC in the + //! string .The substition can be case sensitive. + Standard_EXPORT void ChangeAll (const Standard_Character C, const Standard_Character NewC, const Standard_Boolean CaseSensitive) ; + + //! Remove all characters in the string . + //! Length is equal to zero now. + Standard_EXPORT void Clear() ; + + //! Converts a persistent HAsciiString to a non + //! persistent AsciiString. + Standard_EXPORT TCollection_AsciiString Convert() const; + + //! Returns the index of the first character of founded in . + //! 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. + Standard_EXPORT Standard_Integer FirstLocationInSet (const Handle(PCollection_HAsciiString)& Set, const Standard_Integer FromIndex, const Standard_Integer ToIndex) const; + + //! Returns the index of the first character of + //! that is not present in the set . + //! The search begins to the index FromIndex and ends to the + //! the index ToIndex in . + //! Returns zero if failure. + //! Raises an exception if FromIndex or ToIndex is out of range. + Standard_EXPORT Standard_Integer FirstLocationNotInSet (const Handle(PCollection_HAsciiString)& Set, const Standard_Integer FromIndex, const Standard_Integer ToIndex) const; + + //! Pushing a string after a specific index in the string . + //! Raises an exception if Index is out of bounds. + Standard_EXPORT void InsertAfter (const Standard_Integer Index, const Handle(PCollection_HAsciiString)& S) ; + + //! Pushing a string before a specific index in the string + //! Raises an exception if Index is out of bounds + Standard_EXPORT void InsertBefore (const Standard_Integer Index, const Handle(PCollection_HAsciiString)& S) ; + + //! Returns the integer value corresponding to the string + //! Raises an exception if the string does not correspond to + //! an integer value. + Standard_EXPORT Standard_Integer IntegerValue() const; + + //! Test if characters are different + //! between and . + Standard_EXPORT Standard_Boolean IsDifferent (const Handle(PCollection_HAsciiString)& other) const; + + //! Returns True if the string contains zero character + Standard_EXPORT Standard_Boolean IsEmpty() const; + + //! Returns TRUE if is 'ASCII' greater than . + Standard_EXPORT Standard_Boolean IsGreater (const Handle(PCollection_HAsciiString)& other) const; + + //! Returns True if the string contains an integer value. + Standard_EXPORT Standard_Boolean IsIntegerValue() const; + + //! Returns TRUE if is 'ASCII' less than . + Standard_EXPORT Standard_Boolean IsLess (const Handle(PCollection_HAsciiString)& other) const; + + //! Returns True if the string contains an Real value. + Standard_EXPORT Standard_Boolean IsRealValue() const; + + //! Returns True if two strings are equal. + //! The comparison is case sensitive. + Standard_EXPORT Standard_Boolean IsSameString (const Handle(PCollection_HAsciiString)& S) const; + + //! Returns True if two strings are equal. + //! The comparison is case sensitive if the flag is set. + Standard_EXPORT Standard_Boolean IsSameString (const Handle(PCollection_HAsciiString)& S, const Standard_Boolean CaseSensitive) const; + + //! Removes all space characters in the begining of the + //! string. + Standard_EXPORT void LeftAdjust() ; + + //! 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. + Standard_EXPORT void LeftJustify (const Standard_Integer Width, const Standard_Character Filler) ; + + //! Number of characters of the String. + Standard_EXPORT Standard_Integer Length() const; + + //! Returns the index of the nth occurence of the character C + //! in the string 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. + Standard_EXPORT Standard_Integer Location (const Standard_Integer N, const Standard_Character C, const Standard_Integer FromIndex, const Standard_Integer ToIndex) const; + + //! Returns an index in the string of the first occurence + //! of the string S in the string 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. + Standard_EXPORT Standard_Integer Location (const Handle(PCollection_HAsciiString)& S, const Standard_Integer FromIndex, const Standard_Integer ToIndex) const; + + //! Converts any upper-case character to its corresponding + //! lower-case character in the string . If there is no + //! corresponding lower-case character, the character is + //! unchanged + //! before + //! me = "aBAcd123" + //! after + //! me = "abacd123" + Standard_EXPORT void Lowercase() ; + + //! Pushing a string at the begining of the string + //! before + //! me = "cde" , S = "ab" + //! after + //! me = "abcde" , S = "ab" + Standard_EXPORT void Prepend (const Handle(PCollection_HAsciiString)& S) ; + + //! Prints the content of on the stream S. + Standard_EXPORT void Print (Standard_OStream& S) const; + + //! Returns the real value corresponding to the string . + //! Raises an exception if the string does not correspond to a real value. + Standard_EXPORT Standard_Real RealValue() const; + + //! Removes the character located at the index Index in the string. + //! Raises an exception if Index is out of bounds. + Standard_EXPORT void Remove (const Standard_Integer Index) ; + + //! Removes all the characters from the index FromIndex to the + //! index ToIndex. + //! Raises an exception if FromIndex or ToIndex is out of bounds. + Standard_EXPORT void Remove (const Standard_Integer FromIndex, const Standard_Integer ToIndex) ; + + //! Removes all the occurences of the character C in the string + Standard_EXPORT void RemoveAll (const Standard_Character C, const Standard_Boolean CaseSensitive) ; + + //! Removes all space characters at the end of the string. + Standard_EXPORT void RightAdjust() ; + + //! 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. + Standard_EXPORT void RightJustify (const Standard_Integer Width, const Standard_Character Filler) ; + + //! Substitutes the character located to the position Index + //! by the character C. + //! Raises an exception if the Index is out of bounds. + Standard_EXPORT void SetValue (const Standard_Integer Index, const Standard_Character C) ; + + //! Substitutes from the index Index to the end by the string S. + //! Raises an exception if Index is out of bounds. + Standard_EXPORT void SetValue (const Standard_Integer Index, const Handle(PCollection_HAsciiString)& S) ; + + //! Splits a string of characters into two sub-strings. + Standard_EXPORT Handle(PCollection_HAsciiString) Split (const Standard_Integer Index) ; + + //! Creation of a sub-string of the string . + //! 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. + Standard_EXPORT Handle(PCollection_HAsciiString) SubString (const Standard_Integer FromIndex, const Standard_Integer ToIndex) const; + + //! Extracts token from . + //! The token extracted is the indice number . + Standard_EXPORT Handle(PCollection_HAsciiString) Token (const Standard_CString separators = " \t", const Standard_Integer whichone = 1) const; + + //! Transforms all the characters into upper-case. + //! If there is no corresponding upper-case character, the + //! character is unchanged. + Standard_EXPORT void Uppercase() ; + + //! Length of the string ignoring all spaces (' ') and the + //! control character at the end. + Standard_EXPORT Standard_Integer UsefullLength() const; + + //! Returns the character of index Index of the string + Standard_EXPORT Standard_Character Value (const Standard_Integer Index) const; + +PCollection_HAsciiString( ) +{ + +} +PCollection_HAsciiString(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + const DBC_VArrayOfCharacter& _CSFDB_GetPCollection_HAsciiStringData() const { return Data; } + + + + DEFINE_STANDARD_RTTI(PCollection_HAsciiString) + +protected: + + + + +private: + + + //! Assigns the field of the current structure with + //! the given value.Private method. + Standard_EXPORT void Assign (const DBC_VArrayOfCharacter& TheData) ; + + DBC_VArrayOfCharacter Data; + + +}; + + + + + + + +#endif // _PCollection_HAsciiString_HeaderFile diff --git a/src/FromOCCT/PTKernel/PCollection_HAsciiString.ixx b/src/FromOCCT/PTKernel/PCollection_HAsciiString.ixx new file mode 100644 index 000000000..34590f166 --- /dev/null +++ b/src/FromOCCT/PTKernel/PCollection_HAsciiString.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PCollection_HAsciiString,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PCollection_HAsciiString) + + + diff --git a/src/FromOCCT/PTKernel/PCollection_HAsciiString.jxx b/src/FromOCCT/PTKernel/PCollection_HAsciiString.jxx new file mode 100644 index 000000000..43ad1f115 --- /dev/null +++ b/src/FromOCCT/PTKernel/PCollection_HAsciiString.jxx @@ -0,0 +1,8 @@ +#include +#include +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/PTKernel/PCollection_HExtendedString.cxx b/src/FromOCCT/PTKernel/PCollection_HExtendedString.cxx new file mode 100644 index 000000000..dda4259d6 --- /dev/null +++ b/src/FromOCCT/PTKernel/PCollection_HExtendedString.cxx @@ -0,0 +1,573 @@ +// 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 +#include +#include +#include +#include +#include + +#include + +//------------------------------------------------------------------------ +// 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/FromOCCT/PTKernel/PCollection_HExtendedString.hxx b/src/FromOCCT/PTKernel/PCollection_HExtendedString.hxx new file mode 100644 index 000000000..509ec2af7 --- /dev/null +++ b/src/FromOCCT/PTKernel/PCollection_HExtendedString.hxx @@ -0,0 +1,238 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PCollection_HExtendedString_HeaderFile +#define _PCollection_HExtendedString_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +class Standard_OutOfRange; +class Standard_NegativeValue; +class Standard_NumericError; +class TCollection_ExtendedString; +class PCollection_HAsciiString; +class DBC_VArrayOfExtCharacter; + + +class PCollection_HExtendedString : public Standard_Persistent +{ + +public: + + + //! Creation and initialization with the string S from + //! TCollection. + Standard_EXPORT PCollection_HExtendedString(const TCollection_ExtendedString& S); + + //! Creation and initialisation with the character C + Standard_EXPORT PCollection_HExtendedString(const Standard_ExtCharacter C); + + //! 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 + Standard_EXPORT PCollection_HExtendedString(const Handle(PCollection_HExtendedString)& S, const Standard_Integer FromIndex, const Standard_Integer ToIndex); + + //! Creation by converting a CString to an extended string. + Standard_EXPORT PCollection_HExtendedString(const Standard_CString astring); + + //! Creation by converting a normal Ascii string to an extended string. + Standard_EXPORT PCollection_HExtendedString(const Handle(PCollection_HAsciiString)& S); + + //! Pushing a string at the end of the string me. + Standard_EXPORT void Append (const Handle(PCollection_HExtendedString)& S) ; + + //! 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. + Standard_EXPORT void Center (const Standard_Integer Width, const Standard_ExtCharacter Filler) ; + + //! Substitutes all the characters equal to C by NewC in the + //! string . + Standard_EXPORT void ChangeAll (const Standard_ExtCharacter C, const Standard_ExtCharacter NewC) ; + + //! Removes all characters in the string . + //! Length is equal to zero now. + Standard_EXPORT void Clear() ; + + //! Converts a persistent HExtendedString to a non + //! persistent ExtendedString. + Standard_EXPORT TCollection_ExtendedString Convert() const; + + //! Returns the index of the first character of founded in . + //! 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. + Standard_EXPORT Standard_Integer FirstLocationInSet (const Handle(PCollection_HExtendedString)& Set, const Standard_Integer FromIndex, const Standard_Integer ToIndex) const; + + //! Returns the index of the first character of + //! that is not present in the set . + //! The search begins to the index FromIndex and ends to the + //! the index ToIndex in . Returns zero if failure. + //! Raises an exception if FromIndex or ToIndex is out of range. + Standard_EXPORT Standard_Integer FirstLocationNotInSet (const Handle(PCollection_HExtendedString)& Set, const Standard_Integer FromIndex, const Standard_Integer ToIndex) const; + + //! Pushing a string after a specific index in the string . + //! Raises an exception if Index is out of bounds. + Standard_EXPORT void InsertAfter (const Standard_Integer Index, const Handle(PCollection_HExtendedString)& S) ; + + //! Pushing a string before a specific index in the string . + //! Raises an exception if Index is out of bounds. + Standard_EXPORT void InsertBefore (const Standard_Integer Index, const Handle(PCollection_HExtendedString)& S) ; + + //! Returns True if the string is in the "Ascii range". + Standard_EXPORT Standard_Boolean IsAscii() const; + + //! Test if characters are different between and . + Standard_EXPORT Standard_Boolean IsDifferent (const Handle(PCollection_HExtendedString)& other) const; + + //! Returns True if the string contains zero character. + Standard_EXPORT Standard_Boolean IsEmpty() const; + + //! Returns TRUE if is greater than . + Standard_EXPORT Standard_Boolean IsGreater (const Handle(PCollection_HExtendedString)& other) const; + + //! Returns TRUE if is less than . + Standard_EXPORT Standard_Boolean IsLess (const Handle(PCollection_HExtendedString)& other) const; + + //! Returns True if two strings are equal. + //! The comparison is case sensitive if the flag is set. + Standard_EXPORT Standard_Boolean IsSameString (const Handle(PCollection_HExtendedString)& S) const; + + //! Removes all space characters in the begining of the string. + //! Raises an exception if the string is not in the "Ascii range". + Standard_EXPORT void LeftAdjust() ; + + //! 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. + Standard_EXPORT void LeftJustify (const Standard_Integer Width, const Standard_ExtCharacter Filler) ; + + //! Number of characters of the String + Standard_EXPORT Standard_Integer Length() const; + + //! Returns the index of the nth occurence of the character C + //! in the string 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 + Standard_EXPORT Standard_Integer Location (const Standard_Integer N, const Standard_ExtCharacter C, const Standard_Integer FromIndex, const Standard_Integer ToIndex) const; + + //! Returns an index in the string of the first occurence + //! of the string S in the string 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. + Standard_EXPORT Standard_Integer Location (const Handle(PCollection_HExtendedString)& S, const Standard_Integer FromIndex, const Standard_Integer ToIndex) const; + + //! Pushing a string at the begining of the string . + Standard_EXPORT void Prepend (const Handle(PCollection_HExtendedString)& S) ; + + //! Prints the content of on the stream S. + Standard_EXPORT void Print (Standard_OStream& S) const; + + //! Removes the character located at the index Index in the string. + //! Raises an exception if Index is out of bounds. + Standard_EXPORT void Remove (const Standard_Integer Index) ; + + //! Removes all the characters from the index FromIndex to the + //! index ToIndex. + //! Raises an exception if FromIndex or ToIndex is out of bounds. + Standard_EXPORT void Remove (const Standard_Integer FromIndex, const Standard_Integer ToIndex) ; + + //! Removes all the occurences of the character C in the string. + Standard_EXPORT void RemoveAll (const Standard_ExtCharacter C) ; + + //! Removes all space characters at the end of the string. + //! Raises an exception if the string is not in the Unicod "Ascii range". + Standard_EXPORT void RightAdjust() ; + + //! 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. + Standard_EXPORT void RightJustify (const Standard_Integer Width, const Standard_ExtCharacter Filler) ; + + //! Substitutes the character located to the position Index + //! by the character C. + //! Raises an exception if the Index is out of bounds + Standard_EXPORT void SetValue (const Standard_Integer Index, const Standard_ExtCharacter C) ; + + //! Substitutes from the index Index to the end by the string S. + //! Raises an exception if Index is out of bounds. + Standard_EXPORT void SetValue (const Standard_Integer Index, const Handle(PCollection_HExtendedString)& S) ; + + //! Splits a string of characters into two sub-strings. + Standard_EXPORT Handle(PCollection_HExtendedString) Split (const Standard_Integer Index) ; + + //! Creation of a sub-string of the string . + //! 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. + Standard_EXPORT Handle(PCollection_HExtendedString) SubString (const Standard_Integer FromIndex, const Standard_Integer ToIndex) const; + + //! Length of the string ignoring all spaces (' ') and the + //! control character at the end. + //! Raises an exception if the string is not in the "Ascii range". + Standard_EXPORT Standard_Integer UsefullLength() const; + + //! Returns the character of index Index of the string. + Standard_EXPORT Standard_ExtCharacter Value (const Standard_Integer Index) const; + +PCollection_HExtendedString( ) +{ + +} +PCollection_HExtendedString(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + const DBC_VArrayOfExtCharacter& _CSFDB_GetPCollection_HExtendedStringData() const { return Data; } + + + + DEFINE_STANDARD_RTTI(PCollection_HExtendedString) + +protected: + + + + +private: + + + //! Assigns the field of the current structure with + //! the given value. + Standard_EXPORT void Assign (const DBC_VArrayOfExtCharacter& TheData) ; + + DBC_VArrayOfExtCharacter Data; + + +}; + + + + + + + +#endif // _PCollection_HExtendedString_HeaderFile diff --git a/src/FromOCCT/PTKernel/PCollection_HExtendedString.ixx b/src/FromOCCT/PTKernel/PCollection_HExtendedString.ixx new file mode 100644 index 000000000..5d979e278 --- /dev/null +++ b/src/FromOCCT/PTKernel/PCollection_HExtendedString.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PCollection_HExtendedString,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PCollection_HExtendedString) + + + diff --git a/src/FromOCCT/PTKernel/PCollection_HExtendedString.jxx b/src/FromOCCT/PTKernel/PCollection_HExtendedString.jxx new file mode 100644 index 000000000..8d8f0579a --- /dev/null +++ b/src/FromOCCT/PTKernel/PCollection_HExtendedString.jxx @@ -0,0 +1,8 @@ +#include +#include +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/PTKernel/PCollection_HSequence.gxx b/src/FromOCCT/PTKernel/PCollection_HSequence.gxx new file mode 100644 index 000000000..c646fde1a --- /dev/null +++ b/src/FromOCCT/PTKernel/PCollection_HSequence.gxx @@ -0,0 +1,465 @@ +// 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 +#include +#include +#include +#include + +// ---------------------------------------------------------------------- +// ---------------------------------------------------------------------- + +// ----------- +// 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/FromOCCT/PTKernel/PCollection_SeqExplorer.gxx b/src/FromOCCT/PTKernel/PCollection_SeqExplorer.gxx new file mode 100644 index 000000000..a5fd83030 --- /dev/null +++ b/src/FromOCCT/PTKernel/PCollection_SeqExplorer.gxx @@ -0,0 +1,100 @@ +// 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 +#include +#include +#include + +// ---------------------------------------------------------------------- +// ---------------------------------------------------------------------- + +// ----------- +// 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/FromOCCT/PTKernel/PCollection_SeqNode.gxx b/src/FromOCCT/PTKernel/PCollection_SeqNode.gxx new file mode 100644 index 000000000..de005284f --- /dev/null +++ b/src/FromOCCT/PTKernel/PCollection_SeqNode.gxx @@ -0,0 +1,107 @@ +// 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 +#include +#include + +// ---------------------------------------------------------------------- +// ---------------------------------------------------------------------- + +// ----------- +// 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/FromOCCT/PTKernel/PMMgt_PManaged.cxx b/src/FromOCCT/PTKernel/PMMgt_PManaged.cxx new file mode 100644 index 000000000..c7458645a --- /dev/null +++ b/src/FromOCCT/PTKernel/PMMgt_PManaged.cxx @@ -0,0 +1,59 @@ +// 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 +#include + +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/FromOCCT/PTKernel/PMMgt_PManaged.hxx b/src/FromOCCT/PTKernel/PMMgt_PManaged.hxx new file mode 100644 index 000000000..c2fe33570 --- /dev/null +++ b/src/FromOCCT/PTKernel/PMMgt_PManaged.hxx @@ -0,0 +1,69 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PMMgt_PManaged_HeaderFile +#define _PMMgt_PManaged_HeaderFile + +#include +#include +#include +#include + +#include +class Standard_OutOfMemory; + + +class PMMgt_PManaged : public Standard_Persistent +{ + +public: + + +PMMgt_PManaged(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + + + + DEFINE_STANDARD_RTTI(PMMgt_PManaged) + +protected: + + + + //! Returns an instance. The storage of the given "size" is + //! allocated by . + //! + //! Returns the storage of the given size to the . + //! The application using "Delete" must guarantee that the + //! instance is not shared. + //! + //! -C++: alias "void operator delete (void*, size_t);" + //! + //! 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();" + Standard_EXPORT PMMgt_PManaged(); + + + +private: + + + + +}; + + + + + + + +#endif // _PMMgt_PManaged_HeaderFile diff --git a/src/FromOCCT/PTKernel/PMMgt_PManaged.ixx b/src/FromOCCT/PTKernel/PMMgt_PManaged.ixx new file mode 100644 index 000000000..b2347c835 --- /dev/null +++ b/src/FromOCCT/PTKernel/PMMgt_PManaged.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PMMgt_PManaged,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PMMgt_PManaged) + + + diff --git a/src/FromOCCT/PTKernel/PMMgt_PManaged.jxx b/src/FromOCCT/PTKernel/PMMgt_PManaged.jxx new file mode 100644 index 000000000..34c0cfb51 --- /dev/null +++ b/src/FromOCCT/PTKernel/PMMgt_PManaged.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/PTKernel/PShort_FieldOfHArray1OfShortReal.hxx b/src/FromOCCT/PTKernel/PShort_FieldOfHArray1OfShortReal.hxx new file mode 100644 index 000000000..ab5f02e18 --- /dev/null +++ b/src/FromOCCT/PTKernel/PShort_FieldOfHArray1OfShortReal.hxx @@ -0,0 +1,90 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PShort_FieldOfHArray1OfShortReal_HeaderFile +#define _PShort_FieldOfHArray1OfShortReal_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +class Standard_NegativeValue; +class Standard_OutOfRange; +class Standard_DimensionMismatch; +class Standard_NullObject; +class PShort_VArrayNodeOfFieldOfHArray1OfShortReal; +class PShort_VArrayTNodeOfFieldOfHArray1OfShortReal; + + + +Standard_EXPORT const Handle(Standard_Type)& STANDARD_TYPE(PShort_FieldOfHArray1OfShortReal); + + +class PShort_FieldOfHArray1OfShortReal : public DBC_BaseArray +{ + +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT PShort_FieldOfHArray1OfShortReal(); + + Standard_EXPORT PShort_FieldOfHArray1OfShortReal(const Standard_Integer Size); + + Standard_EXPORT PShort_FieldOfHArray1OfShortReal(const PShort_FieldOfHArray1OfShortReal& Varray); + + Standard_EXPORT void Resize (const Standard_Integer Size) ; + + Standard_EXPORT void Assign (const PShort_FieldOfHArray1OfShortReal& Other) ; + void operator = (const PShort_FieldOfHArray1OfShortReal& Other) +{ + Assign(Other); +} + + Standard_EXPORT void SetValue (const Standard_Integer Index, const Standard_ShortReal& Value) ; + + Standard_EXPORT Standard_ShortReal& Value (const Standard_Integer Index) const; + Standard_ShortReal& operator () (const Standard_Integer Index) const +{ + return Value(Index); +} + + Standard_EXPORT void Destroy() ; +~PShort_FieldOfHArray1OfShortReal() +{ + Destroy(); +} + + + +protected: + + + + +private: + +#ifdef CSFDB +// DBC_VArray : field +// +#endif + + + +}; + + + + + + + +#endif // _PShort_FieldOfHArray1OfShortReal_HeaderFile diff --git a/src/FromOCCT/PTKernel/PShort_FieldOfHArray1OfShortReal_0.cxx b/src/FromOCCT/PTKernel/PShort_FieldOfHArray1OfShortReal_0.cxx new file mode 100644 index 000000000..0868ca210 --- /dev/null +++ b/src/FromOCCT/PTKernel/PShort_FieldOfHArray1OfShortReal_0.cxx @@ -0,0 +1,26 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + +#define Item Standard_ShortReal +#define Item_hxx +#define DBC_VArrayNode PShort_VArrayNodeOfFieldOfHArray1OfShortReal +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PShort_VArrayTNodeOfFieldOfHArray1OfShortReal +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PShort_VArrayNodeOfFieldOfHArray1OfShortReal +#define DBC_VArrayNode_Type_() PShort_VArrayNodeOfFieldOfHArray1OfShortReal_Type_() +#define DBC_VArray PShort_FieldOfHArray1OfShortReal +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/PTKernel/PShort_FieldOfHArray2OfShortReal.hxx b/src/FromOCCT/PTKernel/PShort_FieldOfHArray2OfShortReal.hxx new file mode 100644 index 000000000..97d4a5603 --- /dev/null +++ b/src/FromOCCT/PTKernel/PShort_FieldOfHArray2OfShortReal.hxx @@ -0,0 +1,90 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PShort_FieldOfHArray2OfShortReal_HeaderFile +#define _PShort_FieldOfHArray2OfShortReal_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +class Standard_NegativeValue; +class Standard_OutOfRange; +class Standard_DimensionMismatch; +class Standard_NullObject; +class PShort_VArrayNodeOfFieldOfHArray2OfShortReal; +class PShort_VArrayTNodeOfFieldOfHArray2OfShortReal; + + + +Standard_EXPORT const Handle(Standard_Type)& STANDARD_TYPE(PShort_FieldOfHArray2OfShortReal); + + +class PShort_FieldOfHArray2OfShortReal : public DBC_BaseArray +{ + +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT PShort_FieldOfHArray2OfShortReal(); + + Standard_EXPORT PShort_FieldOfHArray2OfShortReal(const Standard_Integer Size); + + Standard_EXPORT PShort_FieldOfHArray2OfShortReal(const PShort_FieldOfHArray2OfShortReal& Varray); + + Standard_EXPORT void Resize (const Standard_Integer Size) ; + + Standard_EXPORT void Assign (const PShort_FieldOfHArray2OfShortReal& Other) ; + void operator = (const PShort_FieldOfHArray2OfShortReal& Other) +{ + Assign(Other); +} + + Standard_EXPORT void SetValue (const Standard_Integer Index, const Standard_ShortReal& Value) ; + + Standard_EXPORT Standard_ShortReal& Value (const Standard_Integer Index) const; + Standard_ShortReal& operator () (const Standard_Integer Index) const +{ + return Value(Index); +} + + Standard_EXPORT void Destroy() ; +~PShort_FieldOfHArray2OfShortReal() +{ + Destroy(); +} + + + +protected: + + + + +private: + +#ifdef CSFDB +// DBC_VArray : field +// +#endif + + + +}; + + + + + + + +#endif // _PShort_FieldOfHArray2OfShortReal_HeaderFile diff --git a/src/FromOCCT/PTKernel/PShort_FieldOfHArray2OfShortReal_0.cxx b/src/FromOCCT/PTKernel/PShort_FieldOfHArray2OfShortReal_0.cxx new file mode 100644 index 000000000..0f3142dee --- /dev/null +++ b/src/FromOCCT/PTKernel/PShort_FieldOfHArray2OfShortReal_0.cxx @@ -0,0 +1,26 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + +#define Item Standard_ShortReal +#define Item_hxx +#define DBC_VArrayNode PShort_VArrayNodeOfFieldOfHArray2OfShortReal +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PShort_VArrayTNodeOfFieldOfHArray2OfShortReal +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PShort_VArrayNodeOfFieldOfHArray2OfShortReal +#define DBC_VArrayNode_Type_() PShort_VArrayNodeOfFieldOfHArray2OfShortReal_Type_() +#define DBC_VArray PShort_FieldOfHArray2OfShortReal +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/PTKernel/PShort_HArray1OfShortReal.hxx b/src/FromOCCT/PTKernel/PShort_HArray1OfShortReal.hxx new file mode 100644 index 000000000..2ec4a345f --- /dev/null +++ b/src/FromOCCT/PTKernel/PShort_HArray1OfShortReal.hxx @@ -0,0 +1,131 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PShort_HArray1OfShortReal_HeaderFile +#define _PShort_HArray1OfShortReal_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class Standard_OutOfRange; +class Standard_RangeError; +class PShort_FieldOfHArray1OfShortReal; +class PShort_VArrayNodeOfFieldOfHArray1OfShortReal; +class PShort_VArrayTNodeOfFieldOfHArray1OfShortReal; + + +class PShort_HArray1OfShortReal : public Standard_Persistent +{ + +public: + + + Standard_EXPORT PShort_HArray1OfShortReal(const Standard_Integer Low, const Standard_Integer Up); + + Standard_EXPORT PShort_HArray1OfShortReal(const Standard_Integer Low, const Standard_Integer Up, const Standard_ShortReal& V); + + Standard_Integer Length() const; + + Standard_Integer Lower() const; + + Standard_EXPORT void SetValue (const Standard_Integer Index, const Standard_ShortReal& Value) ; + + Standard_Integer Upper() const; + + Standard_EXPORT Standard_ShortReal Value (const Standard_Integer Index) const; + +PShort_HArray1OfShortReal( ) +{ + +} +PShort_HArray1OfShortReal(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Standard_Integer _CSFDB_GetPShort_HArray1OfShortRealLowerBound() const { return LowerBound; } + void _CSFDB_SetPShort_HArray1OfShortRealLowerBound(const Standard_Integer p) { LowerBound = p; } + Standard_Integer _CSFDB_GetPShort_HArray1OfShortRealUpperBound() const { return UpperBound; } + void _CSFDB_SetPShort_HArray1OfShortRealUpperBound(const Standard_Integer p) { UpperBound = p; } + const PShort_FieldOfHArray1OfShortReal& _CSFDB_GetPShort_HArray1OfShortRealData() const { return Data; } + + + + DEFINE_STANDARD_RTTI(PShort_HArray1OfShortReal) + +protected: + + + + +private: + + + Standard_EXPORT PShort_FieldOfHArray1OfShortReal Field() const; + + Standard_EXPORT Standard_Address Datas() const; + + Standard_Integer LowerBound; + Standard_Integer UpperBound; + PShort_FieldOfHArray1OfShortReal Data; + + +}; + +#define Item Standard_ShortReal +#define Item_hxx +#define PCollection_FieldOfHArray1 PShort_FieldOfHArray1OfShortReal +#define PCollection_FieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PShort_VArrayNodeOfFieldOfHArray1OfShortReal +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PShort_VArrayTNodeOfFieldOfHArray1OfShortReal +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PShort_VArrayNodeOfFieldOfHArray1OfShortReal +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PShort_VArrayTNodeOfFieldOfHArray1OfShortReal +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PShort_VArrayNodeOfFieldOfHArray1OfShortReal +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PShort_VArrayNodeOfFieldOfHArray1OfShortReal_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PShort_VArrayNodeOfFieldOfHArray1OfShortReal +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PShort_VArrayNodeOfFieldOfHArray1OfShortReal_Type_() +#define PCollection_HArray1 PShort_HArray1OfShortReal +#define PCollection_HArray1_hxx +#define Handle_PCollection_HArray1 Handle_PShort_HArray1OfShortReal +#define PCollection_HArray1_Type_() PShort_HArray1OfShortReal_Type_() + +#include + +#undef Item +#undef Item_hxx +#undef PCollection_FieldOfHArray1 +#undef PCollection_FieldOfHArray1_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray1 +#undef PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray1 +#undef PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_Type_ +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_Type_ +#undef PCollection_HArray1 +#undef PCollection_HArray1_hxx +#undef Handle_PCollection_HArray1 +#undef PCollection_HArray1_Type_ + + + + +#endif // _PShort_HArray1OfShortReal_HeaderFile diff --git a/src/FromOCCT/PTKernel/PShort_HArray1OfShortReal_0.cxx b/src/FromOCCT/PTKernel/PShort_HArray1OfShortReal_0.cxx new file mode 100644 index 000000000..19afdf975 --- /dev/null +++ b/src/FromOCCT/PTKernel/PShort_HArray1OfShortReal_0.cxx @@ -0,0 +1,42 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PShort_HArray1OfShortReal,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PShort_HArray1OfShortReal) + + +#define Item Standard_ShortReal +#define Item_hxx +#define PCollection_FieldOfHArray1 PShort_FieldOfHArray1OfShortReal +#define PCollection_FieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PShort_VArrayNodeOfFieldOfHArray1OfShortReal +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PShort_VArrayTNodeOfFieldOfHArray1OfShortReal +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PShort_VArrayNodeOfFieldOfHArray1OfShortReal +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PShort_VArrayTNodeOfFieldOfHArray1OfShortReal +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PShort_VArrayNodeOfFieldOfHArray1OfShortReal +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PShort_VArrayNodeOfFieldOfHArray1OfShortReal_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PShort_VArrayNodeOfFieldOfHArray1OfShortReal +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PShort_VArrayNodeOfFieldOfHArray1OfShortReal_Type_() +#define PCollection_HArray1 PShort_HArray1OfShortReal +#define PCollection_HArray1_hxx +#define Handle_PCollection_HArray1 Handle_PShort_HArray1OfShortReal +#define PCollection_HArray1_Type_() PShort_HArray1OfShortReal_Type_() +#include + diff --git a/src/FromOCCT/PTKernel/PShort_HArray2OfShortReal.hxx b/src/FromOCCT/PTKernel/PShort_HArray2OfShortReal.hxx new file mode 100644 index 000000000..21abce3f2 --- /dev/null +++ b/src/FromOCCT/PTKernel/PShort_HArray2OfShortReal.hxx @@ -0,0 +1,143 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PShort_HArray2OfShortReal_HeaderFile +#define _PShort_HArray2OfShortReal_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class Standard_RangeError; +class Standard_OutOfRange; +class PShort_FieldOfHArray2OfShortReal; +class PShort_VArrayNodeOfFieldOfHArray2OfShortReal; +class PShort_VArrayTNodeOfFieldOfHArray2OfShortReal; + + +class PShort_HArray2OfShortReal : public Standard_Persistent +{ + +public: + + + Standard_EXPORT PShort_HArray2OfShortReal(const Standard_Integer R1, const Standard_Integer R2, const Standard_Integer C1, const Standard_Integer C2); + + Standard_EXPORT PShort_HArray2OfShortReal(const Standard_Integer R1, const Standard_Integer R2, const Standard_Integer C1, const Standard_Integer C2, const Standard_ShortReal& V); + + Standard_EXPORT Standard_Integer ColLength() const; + + Standard_Integer LowerCol() const; + + Standard_Integer LowerRow() const; + + Standard_EXPORT Standard_Integer RowLength() const; + + Standard_EXPORT void SetValue (const Standard_Integer Row, const Standard_Integer Col, const Standard_ShortReal& Value) ; + + Standard_Integer UpperCol() const; + + Standard_Integer UpperRow() const; + + Standard_EXPORT Standard_ShortReal Value (const Standard_Integer Row, const Standard_Integer Col) const; + +PShort_HArray2OfShortReal( ) +{ + +} +PShort_HArray2OfShortReal(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Standard_Integer _CSFDB_GetPShort_HArray2OfShortRealmyLowerRow() const { return myLowerRow; } + void _CSFDB_SetPShort_HArray2OfShortRealmyLowerRow(const Standard_Integer p) { myLowerRow = p; } + Standard_Integer _CSFDB_GetPShort_HArray2OfShortRealmyLowerCol() const { return myLowerCol; } + void _CSFDB_SetPShort_HArray2OfShortRealmyLowerCol(const Standard_Integer p) { myLowerCol = p; } + Standard_Integer _CSFDB_GetPShort_HArray2OfShortRealmyUpperRow() const { return myUpperRow; } + void _CSFDB_SetPShort_HArray2OfShortRealmyUpperRow(const Standard_Integer p) { myUpperRow = p; } + Standard_Integer _CSFDB_GetPShort_HArray2OfShortRealmyUpperCol() const { return myUpperCol; } + void _CSFDB_SetPShort_HArray2OfShortRealmyUpperCol(const Standard_Integer p) { myUpperCol = p; } + const PShort_FieldOfHArray2OfShortReal& _CSFDB_GetPShort_HArray2OfShortRealData() const { return Data; } + + + + DEFINE_STANDARD_RTTI(PShort_HArray2OfShortReal) + +protected: + + + + +private: + + + Standard_EXPORT PShort_FieldOfHArray2OfShortReal Field() const; + + Standard_EXPORT Standard_Address Datas() const; + + Standard_Integer myLowerRow; + Standard_Integer myLowerCol; + Standard_Integer myUpperRow; + Standard_Integer myUpperCol; + PShort_FieldOfHArray2OfShortReal Data; + + +}; + +#define Item Standard_ShortReal +#define Item_hxx +#define PCollection_FieldOfHArray2 PShort_FieldOfHArray2OfShortReal +#define PCollection_FieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PShort_VArrayNodeOfFieldOfHArray2OfShortReal +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PShort_VArrayTNodeOfFieldOfHArray2OfShortReal +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PShort_VArrayNodeOfFieldOfHArray2OfShortReal +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PShort_VArrayTNodeOfFieldOfHArray2OfShortReal +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PShort_VArrayNodeOfFieldOfHArray2OfShortReal +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PShort_VArrayNodeOfFieldOfHArray2OfShortReal_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PShort_VArrayNodeOfFieldOfHArray2OfShortReal +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PShort_VArrayNodeOfFieldOfHArray2OfShortReal_Type_() +#define PCollection_HArray2 PShort_HArray2OfShortReal +#define PCollection_HArray2_hxx +#define Handle_PCollection_HArray2 Handle_PShort_HArray2OfShortReal +#define PCollection_HArray2_Type_() PShort_HArray2OfShortReal_Type_() + +#include + +#undef Item +#undef Item_hxx +#undef PCollection_FieldOfHArray2 +#undef PCollection_FieldOfHArray2_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray2 +#undef PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray2 +#undef PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_Type_ +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_Type_ +#undef PCollection_HArray2 +#undef PCollection_HArray2_hxx +#undef Handle_PCollection_HArray2 +#undef PCollection_HArray2_Type_ + + + + +#endif // _PShort_HArray2OfShortReal_HeaderFile diff --git a/src/FromOCCT/PTKernel/PShort_HArray2OfShortReal_0.cxx b/src/FromOCCT/PTKernel/PShort_HArray2OfShortReal_0.cxx new file mode 100644 index 000000000..42b5f1711 --- /dev/null +++ b/src/FromOCCT/PTKernel/PShort_HArray2OfShortReal_0.cxx @@ -0,0 +1,42 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PShort_HArray2OfShortReal,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PShort_HArray2OfShortReal) + + +#define Item Standard_ShortReal +#define Item_hxx +#define PCollection_FieldOfHArray2 PShort_FieldOfHArray2OfShortReal +#define PCollection_FieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PShort_VArrayNodeOfFieldOfHArray2OfShortReal +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PShort_VArrayTNodeOfFieldOfHArray2OfShortReal +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PShort_VArrayNodeOfFieldOfHArray2OfShortReal +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PShort_VArrayTNodeOfFieldOfHArray2OfShortReal +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PShort_VArrayNodeOfFieldOfHArray2OfShortReal +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PShort_VArrayNodeOfFieldOfHArray2OfShortReal_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PShort_VArrayNodeOfFieldOfHArray2OfShortReal +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PShort_VArrayNodeOfFieldOfHArray2OfShortReal_Type_() +#define PCollection_HArray2 PShort_HArray2OfShortReal +#define PCollection_HArray2_hxx +#define Handle_PCollection_HArray2 Handle_PShort_HArray2OfShortReal +#define PCollection_HArray2_Type_() PShort_HArray2OfShortReal_Type_() +#include + diff --git a/src/FromOCCT/PTKernel/PShort_HSequenceOfShortReal.hxx b/src/FromOCCT/PTKernel/PShort_HSequenceOfShortReal.hxx new file mode 100644 index 000000000..1e9e0032f --- /dev/null +++ b/src/FromOCCT/PTKernel/PShort_HSequenceOfShortReal.hxx @@ -0,0 +1,128 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PShort_HSequenceOfShortReal_HeaderFile +#define _PShort_HSequenceOfShortReal_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class PShort_SeqNodeOfHSequenceOfShortReal; +class Standard_NoSuchObject; +class Standard_OutOfRange; +class PShort_SeqExplorerOfHSequenceOfShortReal; + + +class PShort_HSequenceOfShortReal : public Standard_Persistent +{ + +public: + + + Standard_EXPORT PShort_HSequenceOfShortReal(); + + Standard_EXPORT Standard_Boolean IsEmpty() const; + + Standard_EXPORT Standard_Integer Length() const; + + Standard_EXPORT Standard_ShortReal First() const; + + Standard_EXPORT Standard_ShortReal Last() const; + + Standard_EXPORT void Clear() ; + + Standard_EXPORT void Append (const Standard_ShortReal& T) ; + + Standard_EXPORT void Append (const Handle(PShort_HSequenceOfShortReal)& S) ; + + Standard_EXPORT void Prepend (const Standard_ShortReal& T) ; + + Standard_EXPORT void Prepend (const Handle(PShort_HSequenceOfShortReal)& S) ; + + Standard_EXPORT void Reverse() ; + + Standard_EXPORT void InsertBefore (const Standard_Integer Index, const Standard_ShortReal& T) ; + + Standard_EXPORT void InsertBefore (const Standard_Integer Index, const Handle(PShort_HSequenceOfShortReal)& S) ; + + Standard_EXPORT void InsertAfter (const Standard_Integer Index, const Standard_ShortReal& T) ; + + Standard_EXPORT void InsertAfter (const Standard_Integer Index, const Handle(PShort_HSequenceOfShortReal)& S) ; + + Standard_EXPORT void Exchange (const Standard_Integer I, const Standard_Integer J) ; + + Standard_EXPORT Handle(PShort_HSequenceOfShortReal) SubSequence (const Standard_Integer FromIndex, const Standard_Integer ToIndex) const; + + Standard_EXPORT Handle(PShort_HSequenceOfShortReal) Split (const Standard_Integer Index) ; + + Standard_EXPORT void SetValue (const Standard_Integer Index, const Standard_ShortReal& T) ; + + Standard_EXPORT Standard_ShortReal Value (const Standard_Integer Index) const; + + Standard_EXPORT Standard_Boolean Contains (const Standard_ShortReal& T) const; + + Standard_EXPORT Standard_Integer Location (const Standard_Integer N, const Standard_ShortReal& T, const Standard_Integer FromIndex, const Standard_Integer ToIndex) const; + + Standard_EXPORT Standard_Integer Location (const Standard_Integer N, const Standard_ShortReal& T) const; + + Standard_EXPORT void Remove (const Standard_Integer Index) ; + + Standard_EXPORT void Remove (const Standard_Integer FromIndex, const Standard_Integer ToIndex) ; + + Standard_EXPORT void Destroy() ; +~PShort_HSequenceOfShortReal() +{ + Destroy(); +} +PShort_HSequenceOfShortReal(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Handle(PShort_SeqNodeOfHSequenceOfShortReal) _CSFDB_GetPShort_HSequenceOfShortRealFirstItem() const { return FirstItem; } + void _CSFDB_SetPShort_HSequenceOfShortRealFirstItem(const Handle(PShort_SeqNodeOfHSequenceOfShortReal)& p) { FirstItem = p; } + Handle(PShort_SeqNodeOfHSequenceOfShortReal) _CSFDB_GetPShort_HSequenceOfShortRealLastItem() const { return LastItem; } + void _CSFDB_SetPShort_HSequenceOfShortRealLastItem(const Handle(PShort_SeqNodeOfHSequenceOfShortReal)& p) { LastItem = p; } + Standard_Integer _CSFDB_GetPShort_HSequenceOfShortRealSize() const { return Size; } + void _CSFDB_SetPShort_HSequenceOfShortRealSize(const Standard_Integer p) { Size = p; } + +friend class PShort_SeqExplorerOfHSequenceOfShortReal; + + + DEFINE_STANDARD_RTTI(PShort_HSequenceOfShortReal) + +protected: + + + + +private: + + + Standard_EXPORT Handle(PShort_SeqNodeOfHSequenceOfShortReal) GetFirst() const; + + Standard_EXPORT Handle(PShort_SeqNodeOfHSequenceOfShortReal) GetLast() const; + + Handle(PShort_SeqNodeOfHSequenceOfShortReal) FirstItem; + Handle(PShort_SeqNodeOfHSequenceOfShortReal) LastItem; + Standard_Integer Size; + + +}; + + + + + + + +#endif // _PShort_HSequenceOfShortReal_HeaderFile diff --git a/src/FromOCCT/PTKernel/PShort_HSequenceOfShortReal_0.cxx b/src/FromOCCT/PTKernel/PShort_HSequenceOfShortReal_0.cxx new file mode 100644 index 000000000..37820e5ad --- /dev/null +++ b/src/FromOCCT/PTKernel/PShort_HSequenceOfShortReal_0.cxx @@ -0,0 +1,33 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include + + + +IMPLEMENT_DOWNCAST(PShort_HSequenceOfShortReal,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PShort_HSequenceOfShortReal) + + +#define Item Standard_ShortReal +#define Item_hxx +#define PCollection_SeqNode PShort_SeqNodeOfHSequenceOfShortReal +#define PCollection_SeqNode_hxx +#define PCollection_SeqExplorer PShort_SeqExplorerOfHSequenceOfShortReal +#define PCollection_SeqExplorer_hxx +#define Handle_PCollection_SeqNode Handle_PShort_SeqNodeOfHSequenceOfShortReal +#define PCollection_SeqNode_Type_() PShort_SeqNodeOfHSequenceOfShortReal_Type_() +#define PCollection_HSequence PShort_HSequenceOfShortReal +#define PCollection_HSequence_hxx +#define Handle_PCollection_HSequence Handle_PShort_HSequenceOfShortReal +#define PCollection_HSequence_Type_() PShort_HSequenceOfShortReal_Type_() +#include + diff --git a/src/FromOCCT/PTKernel/PShort_SeqExplorerOfHSequenceOfShortReal.hxx b/src/FromOCCT/PTKernel/PShort_SeqExplorerOfHSequenceOfShortReal.hxx new file mode 100644 index 000000000..9eddb9e8f --- /dev/null +++ b/src/FromOCCT/PTKernel/PShort_SeqExplorerOfHSequenceOfShortReal.hxx @@ -0,0 +1,68 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PShort_SeqExplorerOfHSequenceOfShortReal_HeaderFile +#define _PShort_SeqExplorerOfHSequenceOfShortReal_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +class PShort_SeqNodeOfHSequenceOfShortReal; +class PShort_HSequenceOfShortReal; +class Standard_NoSuchObject; +class Standard_OutOfRange; + + + +class PShort_SeqExplorerOfHSequenceOfShortReal +{ +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT PShort_SeqExplorerOfHSequenceOfShortReal(const Handle(PShort_HSequenceOfShortReal)& S); + + Standard_EXPORT Standard_ShortReal Value (const Standard_Integer Index) ; + + Standard_EXPORT Standard_Boolean Contains (const Standard_ShortReal& T) ; + + Standard_EXPORT Standard_Integer Location (const Standard_Integer N, const Standard_ShortReal& T, const Standard_Integer FromIndex, const Standard_Integer ToIndex) ; + + Standard_EXPORT Standard_Integer Location (const Standard_Integer N, const Standard_ShortReal& T) ; + + + + +protected: + + + + + +private: + + + + Handle(PShort_SeqNodeOfHSequenceOfShortReal) CurrentItem; + Standard_Integer CurrentIndex; + Handle(PShort_HSequenceOfShortReal) TheSequence; + + +}; + + + + + + + +#endif // _PShort_SeqExplorerOfHSequenceOfShortReal_HeaderFile diff --git a/src/FromOCCT/PTKernel/PShort_SeqExplorerOfHSequenceOfShortReal_0.cxx b/src/FromOCCT/PTKernel/PShort_SeqExplorerOfHSequenceOfShortReal_0.cxx new file mode 100644 index 000000000..75e875f3e --- /dev/null +++ b/src/FromOCCT/PTKernel/PShort_SeqExplorerOfHSequenceOfShortReal_0.cxx @@ -0,0 +1,27 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include + + +#define Item Standard_ShortReal +#define Item_hxx +#define PCollection_SeqNode PShort_SeqNodeOfHSequenceOfShortReal +#define PCollection_SeqNode_hxx +#define PCollection_SeqExplorer PShort_SeqExplorerOfHSequenceOfShortReal +#define PCollection_SeqExplorer_hxx +#define Handle_PCollection_SeqNode Handle_PShort_SeqNodeOfHSequenceOfShortReal +#define PCollection_SeqNode_Type_() PShort_SeqNodeOfHSequenceOfShortReal_Type_() +#define PCollection_HSequence PShort_HSequenceOfShortReal +#define PCollection_HSequence_hxx +#define Handle_PCollection_HSequence Handle_PShort_HSequenceOfShortReal +#define PCollection_HSequence_Type_() PShort_HSequenceOfShortReal_Type_() +#include + diff --git a/src/FromOCCT/PTKernel/PShort_SeqNodeOfHSequenceOfShortReal.hxx b/src/FromOCCT/PTKernel/PShort_SeqNodeOfHSequenceOfShortReal.hxx new file mode 100644 index 000000000..893972d03 --- /dev/null +++ b/src/FromOCCT/PTKernel/PShort_SeqNodeOfHSequenceOfShortReal.hxx @@ -0,0 +1,88 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PShort_SeqNodeOfHSequenceOfShortReal_HeaderFile +#define _PShort_SeqNodeOfHSequenceOfShortReal_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +class PShort_HSequenceOfShortReal; +class PShort_SeqExplorerOfHSequenceOfShortReal; + + +class PShort_SeqNodeOfHSequenceOfShortReal : public PMMgt_PManaged +{ + +public: + + + Standard_EXPORT PShort_SeqNodeOfHSequenceOfShortReal(const Handle(PShort_SeqNodeOfHSequenceOfShortReal)& TheLast, const Standard_ShortReal& TheItem); + + Standard_EXPORT PShort_SeqNodeOfHSequenceOfShortReal(const Standard_ShortReal& TheItem, const Handle(PShort_SeqNodeOfHSequenceOfShortReal)& TheFirst); + + Standard_EXPORT PShort_SeqNodeOfHSequenceOfShortReal(const Handle(PShort_SeqNodeOfHSequenceOfShortReal)& ThePrevious, const Handle(PShort_SeqNodeOfHSequenceOfShortReal)& TheNext, const Standard_ShortReal& TheItem); + + Standard_EXPORT Standard_ShortReal Value() const; + + Standard_EXPORT Handle(PShort_SeqNodeOfHSequenceOfShortReal) Next() const; + + Standard_EXPORT Handle(PShort_SeqNodeOfHSequenceOfShortReal) Previous() const; + + Standard_EXPORT void SetValue (const Standard_ShortReal& AnItem) ; + + Standard_EXPORT void SetNext (const Handle(PShort_SeqNodeOfHSequenceOfShortReal)& ANode) ; + + Standard_EXPORT void SetPrevious (const Handle(PShort_SeqNodeOfHSequenceOfShortReal)& ANode) ; + +PShort_SeqNodeOfHSequenceOfShortReal( ) +{ + +} +PShort_SeqNodeOfHSequenceOfShortReal(const Storage_stCONSTclCOM& a) : PMMgt_PManaged(a) +{ + +} + Handle(PShort_SeqNodeOfHSequenceOfShortReal) _CSFDB_GetPShort_SeqNodeOfHSequenceOfShortRealMyPrevious() const { return MyPrevious; } + void _CSFDB_SetPShort_SeqNodeOfHSequenceOfShortRealMyPrevious(const Handle(PShort_SeqNodeOfHSequenceOfShortReal)& p) { MyPrevious = p; } + Standard_ShortReal _CSFDB_GetPShort_SeqNodeOfHSequenceOfShortRealMyItem() const { return MyItem; } + void _CSFDB_SetPShort_SeqNodeOfHSequenceOfShortRealMyItem(const Standard_ShortReal p) { MyItem = p; } + Handle(PShort_SeqNodeOfHSequenceOfShortReal) _CSFDB_GetPShort_SeqNodeOfHSequenceOfShortRealMyNext() const { return MyNext; } + void _CSFDB_SetPShort_SeqNodeOfHSequenceOfShortRealMyNext(const Handle(PShort_SeqNodeOfHSequenceOfShortReal)& p) { MyNext = p; } + +friend class PShort_HSequenceOfShortReal; +friend class PShort_SeqExplorerOfHSequenceOfShortReal; + + + DEFINE_STANDARD_RTTI(PShort_SeqNodeOfHSequenceOfShortReal) + +protected: + + + + +private: + + + Handle(PShort_SeqNodeOfHSequenceOfShortReal) MyPrevious; + Standard_ShortReal MyItem; + Handle(PShort_SeqNodeOfHSequenceOfShortReal) MyNext; + + +}; + + + + + + + +#endif // _PShort_SeqNodeOfHSequenceOfShortReal_HeaderFile diff --git a/src/FromOCCT/PTKernel/PShort_SeqNodeOfHSequenceOfShortReal_0.cxx b/src/FromOCCT/PTKernel/PShort_SeqNodeOfHSequenceOfShortReal_0.cxx new file mode 100644 index 000000000..38a8b1519 --- /dev/null +++ b/src/FromOCCT/PTKernel/PShort_SeqNodeOfHSequenceOfShortReal_0.cxx @@ -0,0 +1,32 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PShort_SeqNodeOfHSequenceOfShortReal,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PShort_SeqNodeOfHSequenceOfShortReal) + + +#define Item Standard_ShortReal +#define Item_hxx +#define PCollection_SeqNode PShort_SeqNodeOfHSequenceOfShortReal +#define PCollection_SeqNode_hxx +#define PCollection_SeqExplorer PShort_SeqExplorerOfHSequenceOfShortReal +#define PCollection_SeqExplorer_hxx +#define Handle_PCollection_SeqNode Handle_PShort_SeqNodeOfHSequenceOfShortReal +#define PCollection_SeqNode_Type_() PShort_SeqNodeOfHSequenceOfShortReal_Type_() +#define PCollection_HSequence PShort_HSequenceOfShortReal +#define PCollection_HSequence_hxx +#define Handle_PCollection_HSequence Handle_PShort_HSequenceOfShortReal +#define PCollection_HSequence_Type_() PShort_HSequenceOfShortReal_Type_() +#include + diff --git a/src/FromOCCT/PTKernel/PShort_VArrayNodeOfFieldOfHArray1OfShortReal.hxx b/src/FromOCCT/PTKernel/PShort_VArrayNodeOfFieldOfHArray1OfShortReal.hxx new file mode 100644 index 000000000..1c1ce8c61 --- /dev/null +++ b/src/FromOCCT/PTKernel/PShort_VArrayNodeOfFieldOfHArray1OfShortReal.hxx @@ -0,0 +1,65 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PShort_VArrayNodeOfFieldOfHArray1OfShortReal_HeaderFile +#define _PShort_VArrayNodeOfFieldOfHArray1OfShortReal_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class PShort_FieldOfHArray1OfShortReal; +class PShort_VArrayTNodeOfFieldOfHArray1OfShortReal; + + +class PShort_VArrayNodeOfFieldOfHArray1OfShortReal : public PStandard_ArrayNode +{ + +public: + + + Standard_EXPORT PShort_VArrayNodeOfFieldOfHArray1OfShortReal(); + + Standard_EXPORT PShort_VArrayNodeOfFieldOfHArray1OfShortReal(const Standard_ShortReal& aValue); + + Standard_EXPORT void SetValue (const Standard_ShortReal& aValue) ; + + Standard_EXPORT Standard_Address Value() const; + +PShort_VArrayNodeOfFieldOfHArray1OfShortReal(const Storage_stCONSTclCOM& a) : PStandard_ArrayNode(a) +{ + +} + Standard_ShortReal _CSFDB_GetPShort_VArrayNodeOfFieldOfHArray1OfShortRealmyValue() const { return myValue; } + void _CSFDB_SetPShort_VArrayNodeOfFieldOfHArray1OfShortRealmyValue(const Standard_ShortReal p) { myValue = p; } + + + + DEFINE_STANDARD_RTTI(PShort_VArrayNodeOfFieldOfHArray1OfShortReal) + +protected: + + + + +private: + + + Standard_ShortReal myValue; + + +}; + + + + + + + +#endif // _PShort_VArrayNodeOfFieldOfHArray1OfShortReal_HeaderFile diff --git a/src/FromOCCT/PTKernel/PShort_VArrayNodeOfFieldOfHArray1OfShortReal_0.cxx b/src/FromOCCT/PTKernel/PShort_VArrayNodeOfFieldOfHArray1OfShortReal_0.cxx new file mode 100644 index 000000000..5a1403f13 --- /dev/null +++ b/src/FromOCCT/PTKernel/PShort_VArrayNodeOfFieldOfHArray1OfShortReal_0.cxx @@ -0,0 +1,29 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include + + + + +IMPLEMENT_DOWNCAST(PShort_VArrayNodeOfFieldOfHArray1OfShortReal,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PShort_VArrayNodeOfFieldOfHArray1OfShortReal) + + +#define Item Standard_ShortReal +#define Item_hxx +#define DBC_VArrayNode PShort_VArrayNodeOfFieldOfHArray1OfShortReal +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PShort_VArrayTNodeOfFieldOfHArray1OfShortReal +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PShort_VArrayNodeOfFieldOfHArray1OfShortReal +#define DBC_VArrayNode_Type_() PShort_VArrayNodeOfFieldOfHArray1OfShortReal_Type_() +#define DBC_VArray PShort_FieldOfHArray1OfShortReal +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/PTKernel/PShort_VArrayNodeOfFieldOfHArray2OfShortReal.hxx b/src/FromOCCT/PTKernel/PShort_VArrayNodeOfFieldOfHArray2OfShortReal.hxx new file mode 100644 index 000000000..3c8f253e4 --- /dev/null +++ b/src/FromOCCT/PTKernel/PShort_VArrayNodeOfFieldOfHArray2OfShortReal.hxx @@ -0,0 +1,65 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PShort_VArrayNodeOfFieldOfHArray2OfShortReal_HeaderFile +#define _PShort_VArrayNodeOfFieldOfHArray2OfShortReal_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class PShort_FieldOfHArray2OfShortReal; +class PShort_VArrayTNodeOfFieldOfHArray2OfShortReal; + + +class PShort_VArrayNodeOfFieldOfHArray2OfShortReal : public PStandard_ArrayNode +{ + +public: + + + Standard_EXPORT PShort_VArrayNodeOfFieldOfHArray2OfShortReal(); + + Standard_EXPORT PShort_VArrayNodeOfFieldOfHArray2OfShortReal(const Standard_ShortReal& aValue); + + Standard_EXPORT void SetValue (const Standard_ShortReal& aValue) ; + + Standard_EXPORT Standard_Address Value() const; + +PShort_VArrayNodeOfFieldOfHArray2OfShortReal(const Storage_stCONSTclCOM& a) : PStandard_ArrayNode(a) +{ + +} + Standard_ShortReal _CSFDB_GetPShort_VArrayNodeOfFieldOfHArray2OfShortRealmyValue() const { return myValue; } + void _CSFDB_SetPShort_VArrayNodeOfFieldOfHArray2OfShortRealmyValue(const Standard_ShortReal p) { myValue = p; } + + + + DEFINE_STANDARD_RTTI(PShort_VArrayNodeOfFieldOfHArray2OfShortReal) + +protected: + + + + +private: + + + Standard_ShortReal myValue; + + +}; + + + + + + + +#endif // _PShort_VArrayNodeOfFieldOfHArray2OfShortReal_HeaderFile diff --git a/src/FromOCCT/PTKernel/PShort_VArrayNodeOfFieldOfHArray2OfShortReal_0.cxx b/src/FromOCCT/PTKernel/PShort_VArrayNodeOfFieldOfHArray2OfShortReal_0.cxx new file mode 100644 index 000000000..40848d12e --- /dev/null +++ b/src/FromOCCT/PTKernel/PShort_VArrayNodeOfFieldOfHArray2OfShortReal_0.cxx @@ -0,0 +1,29 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include + + + + +IMPLEMENT_DOWNCAST(PShort_VArrayNodeOfFieldOfHArray2OfShortReal,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PShort_VArrayNodeOfFieldOfHArray2OfShortReal) + + +#define Item Standard_ShortReal +#define Item_hxx +#define DBC_VArrayNode PShort_VArrayNodeOfFieldOfHArray2OfShortReal +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PShort_VArrayTNodeOfFieldOfHArray2OfShortReal +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PShort_VArrayNodeOfFieldOfHArray2OfShortReal +#define DBC_VArrayNode_Type_() PShort_VArrayNodeOfFieldOfHArray2OfShortReal_Type_() +#define DBC_VArray PShort_FieldOfHArray2OfShortReal +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/PTKernel/PShort_VArrayTNodeOfFieldOfHArray1OfShortReal.hxx b/src/FromOCCT/PTKernel/PShort_VArrayTNodeOfFieldOfHArray1OfShortReal.hxx new file mode 100644 index 000000000..d711d1a98 --- /dev/null +++ b/src/FromOCCT/PTKernel/PShort_VArrayTNodeOfFieldOfHArray1OfShortReal.hxx @@ -0,0 +1,81 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PShort_VArrayTNodeOfFieldOfHArray1OfShortReal_HeaderFile +#define _PShort_VArrayTNodeOfFieldOfHArray1OfShortReal_HeaderFile + +#include +#include +#include + +#include +#include +#include +class PShort_FieldOfHArray1OfShortReal; +class PShort_VArrayNodeOfFieldOfHArray1OfShortReal; + + + +class PShort_VArrayTNodeOfFieldOfHArray1OfShortReal +{ +public: + + DEFINE_STANDARD_ALLOC + + + PShort_VArrayTNodeOfFieldOfHArray1OfShortReal(); + + PShort_VArrayTNodeOfFieldOfHArray1OfShortReal(const Standard_ShortReal& aValue); + + void SetValue (const Standard_ShortReal& aValue) ; + + Standard_Address Value() const; + + + + +protected: + + + + + +private: + + + + Standard_ShortReal myValue; + + +}; + +#define Item Standard_ShortReal +#define Item_hxx +#define DBC_VArrayNode PShort_VArrayNodeOfFieldOfHArray1OfShortReal +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PShort_VArrayTNodeOfFieldOfHArray1OfShortReal +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PShort_VArrayNodeOfFieldOfHArray1OfShortReal +#define DBC_VArrayNode_Type_() PShort_VArrayNodeOfFieldOfHArray1OfShortReal_Type_() +#define DBC_VArray PShort_FieldOfHArray1OfShortReal +#define DBC_VArray_hxx + +#include + +#undef Item +#undef Item_hxx +#undef DBC_VArrayNode +#undef DBC_VArrayNode_hxx +#undef DBC_VArrayTNode +#undef DBC_VArrayTNode_hxx +#undef Handle_DBC_VArrayNode +#undef DBC_VArrayNode_Type_ +#undef DBC_VArray +#undef DBC_VArray_hxx + + + + +#endif // _PShort_VArrayTNodeOfFieldOfHArray1OfShortReal_HeaderFile diff --git a/src/FromOCCT/PTKernel/PShort_VArrayTNodeOfFieldOfHArray1OfShortReal_0.cxx b/src/FromOCCT/PTKernel/PShort_VArrayTNodeOfFieldOfHArray1OfShortReal_0.cxx new file mode 100644 index 000000000..3523ba711 --- /dev/null +++ b/src/FromOCCT/PTKernel/PShort_VArrayTNodeOfFieldOfHArray1OfShortReal_0.cxx @@ -0,0 +1,23 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include + + +#define Item Standard_ShortReal +#define Item_hxx +#define DBC_VArrayNode PShort_VArrayNodeOfFieldOfHArray1OfShortReal +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PShort_VArrayTNodeOfFieldOfHArray1OfShortReal +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PShort_VArrayNodeOfFieldOfHArray1OfShortReal +#define DBC_VArrayNode_Type_() PShort_VArrayNodeOfFieldOfHArray1OfShortReal_Type_() +#define DBC_VArray PShort_FieldOfHArray1OfShortReal +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/PTKernel/PShort_VArrayTNodeOfFieldOfHArray2OfShortReal.hxx b/src/FromOCCT/PTKernel/PShort_VArrayTNodeOfFieldOfHArray2OfShortReal.hxx new file mode 100644 index 000000000..1519e77f6 --- /dev/null +++ b/src/FromOCCT/PTKernel/PShort_VArrayTNodeOfFieldOfHArray2OfShortReal.hxx @@ -0,0 +1,81 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PShort_VArrayTNodeOfFieldOfHArray2OfShortReal_HeaderFile +#define _PShort_VArrayTNodeOfFieldOfHArray2OfShortReal_HeaderFile + +#include +#include +#include + +#include +#include +#include +class PShort_FieldOfHArray2OfShortReal; +class PShort_VArrayNodeOfFieldOfHArray2OfShortReal; + + + +class PShort_VArrayTNodeOfFieldOfHArray2OfShortReal +{ +public: + + DEFINE_STANDARD_ALLOC + + + PShort_VArrayTNodeOfFieldOfHArray2OfShortReal(); + + PShort_VArrayTNodeOfFieldOfHArray2OfShortReal(const Standard_ShortReal& aValue); + + void SetValue (const Standard_ShortReal& aValue) ; + + Standard_Address Value() const; + + + + +protected: + + + + + +private: + + + + Standard_ShortReal myValue; + + +}; + +#define Item Standard_ShortReal +#define Item_hxx +#define DBC_VArrayNode PShort_VArrayNodeOfFieldOfHArray2OfShortReal +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PShort_VArrayTNodeOfFieldOfHArray2OfShortReal +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PShort_VArrayNodeOfFieldOfHArray2OfShortReal +#define DBC_VArrayNode_Type_() PShort_VArrayNodeOfFieldOfHArray2OfShortReal_Type_() +#define DBC_VArray PShort_FieldOfHArray2OfShortReal +#define DBC_VArray_hxx + +#include + +#undef Item +#undef Item_hxx +#undef DBC_VArrayNode +#undef DBC_VArrayNode_hxx +#undef DBC_VArrayTNode +#undef DBC_VArrayTNode_hxx +#undef Handle_DBC_VArrayNode +#undef DBC_VArrayNode_Type_ +#undef DBC_VArray +#undef DBC_VArray_hxx + + + + +#endif // _PShort_VArrayTNodeOfFieldOfHArray2OfShortReal_HeaderFile diff --git a/src/FromOCCT/PTKernel/PShort_VArrayTNodeOfFieldOfHArray2OfShortReal_0.cxx b/src/FromOCCT/PTKernel/PShort_VArrayTNodeOfFieldOfHArray2OfShortReal_0.cxx new file mode 100644 index 000000000..5836938e4 --- /dev/null +++ b/src/FromOCCT/PTKernel/PShort_VArrayTNodeOfFieldOfHArray2OfShortReal_0.cxx @@ -0,0 +1,23 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include + + +#define Item Standard_ShortReal +#define Item_hxx +#define DBC_VArrayNode PShort_VArrayNodeOfFieldOfHArray2OfShortReal +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PShort_VArrayTNodeOfFieldOfHArray2OfShortReal +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PShort_VArrayNodeOfFieldOfHArray2OfShortReal +#define DBC_VArrayNode_Type_() PShort_VArrayNodeOfFieldOfHArray2OfShortReal_Type_() +#define DBC_VArray PShort_FieldOfHArray2OfShortReal +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/PTKernel/PStandard_ArrayNode.cxx b/src/FromOCCT/PTKernel/PStandard_ArrayNode.cxx new file mode 100644 index 000000000..412f47cea --- /dev/null +++ b/src/FromOCCT/PTKernel/PStandard_ArrayNode.cxx @@ -0,0 +1,20 @@ +// 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::PStandard_ArrayNode() +{ +} + diff --git a/src/FromOCCT/PTKernel/PStandard_ArrayNode.hxx b/src/FromOCCT/PTKernel/PStandard_ArrayNode.hxx new file mode 100644 index 000000000..427c50af8 --- /dev/null +++ b/src/FromOCCT/PTKernel/PStandard_ArrayNode.hxx @@ -0,0 +1,53 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PStandard_ArrayNode_HeaderFile +#define _PStandard_ArrayNode_HeaderFile + +#include +#include +#include +#include + +#include + + +class PStandard_ArrayNode : public Standard_Persistent +{ + +public: + + + //! Creates an empty ArrayNode. + Standard_EXPORT PStandard_ArrayNode(); + +PStandard_ArrayNode(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + + + + DEFINE_STANDARD_RTTI(PStandard_ArrayNode) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PStandard_ArrayNode_HeaderFile diff --git a/src/FromOCCT/PTKernel/PStandard_ArrayNode.ixx b/src/FromOCCT/PTKernel/PStandard_ArrayNode.ixx new file mode 100644 index 000000000..73eb718ea --- /dev/null +++ b/src/FromOCCT/PTKernel/PStandard_ArrayNode.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PStandard_ArrayNode,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PStandard_ArrayNode) + + + diff --git a/src/FromOCCT/PTKernel/PStandard_ArrayNode.jxx b/src/FromOCCT/PTKernel/PStandard_ArrayNode.jxx new file mode 100644 index 000000000..34176ad50 --- /dev/null +++ b/src/FromOCCT/PTKernel/PStandard_ArrayNode.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/PTKernel/PTColStd_DataMapIteratorOfPersistentTransientMap.hxx b/src/FromOCCT/PTKernel/PTColStd_DataMapIteratorOfPersistentTransientMap.hxx new file mode 100644 index 000000000..4d27271d7 --- /dev/null +++ b/src/FromOCCT/PTKernel/PTColStd_DataMapIteratorOfPersistentTransientMap.hxx @@ -0,0 +1,66 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PTColStd_DataMapIteratorOfPersistentTransientMap_HeaderFile +#define _PTColStd_DataMapIteratorOfPersistentTransientMap_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class Standard_NoSuchObject; +class Standard_Persistent; +class Standard_Transient; +class PTColStd_MapPersistentHasher; +class PTColStd_PersistentTransientMap; +class PTColStd_DataMapNodeOfPersistentTransientMap; + + + +class PTColStd_DataMapIteratorOfPersistentTransientMap : public TCollection_BasicMapIterator +{ +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT PTColStd_DataMapIteratorOfPersistentTransientMap(); + + Standard_EXPORT PTColStd_DataMapIteratorOfPersistentTransientMap(const PTColStd_PersistentTransientMap& aMap); + + Standard_EXPORT void Initialize (const PTColStd_PersistentTransientMap& aMap) ; + + Standard_EXPORT const Handle(Standard_Persistent)& Key() const; + + Standard_EXPORT const Handle(Standard_Transient)& Value() const; + + + + +protected: + + + + + +private: + + + + + +}; + + + + + + + +#endif // _PTColStd_DataMapIteratorOfPersistentTransientMap_HeaderFile diff --git a/src/FromOCCT/PTKernel/PTColStd_DataMapIteratorOfPersistentTransientMap_0.cxx b/src/FromOCCT/PTKernel/PTColStd_DataMapIteratorOfPersistentTransientMap_0.cxx new file mode 100644 index 000000000..505b7de7f --- /dev/null +++ b/src/FromOCCT/PTKernel/PTColStd_DataMapIteratorOfPersistentTransientMap_0.cxx @@ -0,0 +1,31 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + + +#define TheKey Handle(Standard_Persistent) +#define TheKey_hxx +#define TheItem Handle(Standard_Transient) +#define TheItem_hxx +#define Hasher PTColStd_MapPersistentHasher +#define Hasher_hxx +#define TCollection_DataMapNode PTColStd_DataMapNodeOfPersistentTransientMap +#define TCollection_DataMapNode_hxx +#define TCollection_DataMapIterator PTColStd_DataMapIteratorOfPersistentTransientMap +#define TCollection_DataMapIterator_hxx +#define Handle_TCollection_DataMapNode Handle_PTColStd_DataMapNodeOfPersistentTransientMap +#define TCollection_DataMapNode_Type_() PTColStd_DataMapNodeOfPersistentTransientMap_Type_() +#define TCollection_DataMap PTColStd_PersistentTransientMap +#define TCollection_DataMap_hxx +#include + diff --git a/src/FromOCCT/PTKernel/PTColStd_DataMapIteratorOfTransientPersistentMap.hxx b/src/FromOCCT/PTKernel/PTColStd_DataMapIteratorOfTransientPersistentMap.hxx new file mode 100644 index 000000000..f167bb49b --- /dev/null +++ b/src/FromOCCT/PTKernel/PTColStd_DataMapIteratorOfTransientPersistentMap.hxx @@ -0,0 +1,66 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PTColStd_DataMapIteratorOfTransientPersistentMap_HeaderFile +#define _PTColStd_DataMapIteratorOfTransientPersistentMap_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class Standard_NoSuchObject; +class Standard_Transient; +class Standard_Persistent; +class TColStd_MapTransientHasher; +class PTColStd_TransientPersistentMap; +class PTColStd_DataMapNodeOfTransientPersistentMap; + + + +class PTColStd_DataMapIteratorOfTransientPersistentMap : public TCollection_BasicMapIterator +{ +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT PTColStd_DataMapIteratorOfTransientPersistentMap(); + + Standard_EXPORT PTColStd_DataMapIteratorOfTransientPersistentMap(const PTColStd_TransientPersistentMap& aMap); + + Standard_EXPORT void Initialize (const PTColStd_TransientPersistentMap& aMap) ; + + Standard_EXPORT const Handle(Standard_Transient)& Key() const; + + Standard_EXPORT const Handle(Standard_Persistent)& Value() const; + + + + +protected: + + + + + +private: + + + + + +}; + + + + + + + +#endif // _PTColStd_DataMapIteratorOfTransientPersistentMap_HeaderFile diff --git a/src/FromOCCT/PTKernel/PTColStd_DataMapIteratorOfTransientPersistentMap_0.cxx b/src/FromOCCT/PTKernel/PTColStd_DataMapIteratorOfTransientPersistentMap_0.cxx new file mode 100644 index 000000000..8c7a1cd7d --- /dev/null +++ b/src/FromOCCT/PTKernel/PTColStd_DataMapIteratorOfTransientPersistentMap_0.cxx @@ -0,0 +1,31 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + + +#define TheKey Handle(Standard_Transient) +#define TheKey_hxx +#define TheItem Handle(Standard_Persistent) +#define TheItem_hxx +#define Hasher TColStd_MapTransientHasher +#define Hasher_hxx +#define TCollection_DataMapNode PTColStd_DataMapNodeOfTransientPersistentMap +#define TCollection_DataMapNode_hxx +#define TCollection_DataMapIterator PTColStd_DataMapIteratorOfTransientPersistentMap +#define TCollection_DataMapIterator_hxx +#define Handle_TCollection_DataMapNode Handle_PTColStd_DataMapNodeOfTransientPersistentMap +#define TCollection_DataMapNode_Type_() PTColStd_DataMapNodeOfTransientPersistentMap_Type_() +#define TCollection_DataMap PTColStd_TransientPersistentMap +#define TCollection_DataMap_hxx +#include + diff --git a/src/FromOCCT/PTKernel/PTColStd_DataMapNodeOfPersistentTransientMap.hxx b/src/FromOCCT/PTKernel/PTColStd_DataMapNodeOfPersistentTransientMap.hxx new file mode 100644 index 000000000..ebb3abdf5 --- /dev/null +++ b/src/FromOCCT/PTKernel/PTColStd_DataMapNodeOfPersistentTransientMap.hxx @@ -0,0 +1,91 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PTColStd_DataMapNodeOfPersistentTransientMap_HeaderFile +#define _PTColStd_DataMapNodeOfPersistentTransientMap_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class Standard_Persistent; +class Standard_Transient; +class PTColStd_MapPersistentHasher; +class PTColStd_PersistentTransientMap; +class PTColStd_DataMapIteratorOfPersistentTransientMap; + + + +class PTColStd_DataMapNodeOfPersistentTransientMap : public TCollection_MapNode +{ + +public: + + + PTColStd_DataMapNodeOfPersistentTransientMap(const Handle(Standard_Persistent)& K, const Handle(Standard_Transient)& I, const TCollection_MapNodePtr& n); + + Handle(Standard_Persistent)& Key() const; + + Handle(Standard_Transient)& Value() const; + + + + + DEFINE_STANDARD_RTTI(PTColStd_DataMapNodeOfPersistentTransientMap) + +protected: + + + + +private: + + + Handle(Standard_Persistent) myKey; + Handle(Standard_Transient) myValue; + + +}; + +#define TheKey Handle(Standard_Persistent) +#define TheKey_hxx +#define TheItem Handle(Standard_Transient) +#define TheItem_hxx +#define Hasher PTColStd_MapPersistentHasher +#define Hasher_hxx +#define TCollection_DataMapNode PTColStd_DataMapNodeOfPersistentTransientMap +#define TCollection_DataMapNode_hxx +#define TCollection_DataMapIterator PTColStd_DataMapIteratorOfPersistentTransientMap +#define TCollection_DataMapIterator_hxx +#define Handle_TCollection_DataMapNode Handle_PTColStd_DataMapNodeOfPersistentTransientMap +#define TCollection_DataMapNode_Type_() PTColStd_DataMapNodeOfPersistentTransientMap_Type_() +#define TCollection_DataMap PTColStd_PersistentTransientMap +#define TCollection_DataMap_hxx + +#include + +#undef TheKey +#undef TheKey_hxx +#undef TheItem +#undef TheItem_hxx +#undef Hasher +#undef Hasher_hxx +#undef TCollection_DataMapNode +#undef TCollection_DataMapNode_hxx +#undef TCollection_DataMapIterator +#undef TCollection_DataMapIterator_hxx +#undef Handle_TCollection_DataMapNode +#undef TCollection_DataMapNode_Type_ +#undef TCollection_DataMap +#undef TCollection_DataMap_hxx + + + + +#endif // _PTColStd_DataMapNodeOfPersistentTransientMap_HeaderFile diff --git a/src/FromOCCT/PTKernel/PTColStd_DataMapNodeOfPersistentTransientMap_0.cxx b/src/FromOCCT/PTKernel/PTColStd_DataMapNodeOfPersistentTransientMap_0.cxx new file mode 100644 index 000000000..182b0b0cb --- /dev/null +++ b/src/FromOCCT/PTKernel/PTColStd_DataMapNodeOfPersistentTransientMap_0.cxx @@ -0,0 +1,48 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + +#include +#include +#include +#include +#include + + + + +IMPLEMENT_STANDARD_TYPE(PTColStd_DataMapNodeOfPersistentTransientMap) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(TCollection_MapNode), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(PTColStd_DataMapNodeOfPersistentTransientMap) + + +IMPLEMENT_DOWNCAST(PTColStd_DataMapNodeOfPersistentTransientMap,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(PTColStd_DataMapNodeOfPersistentTransientMap) + + +#define TheKey Handle(Standard_Persistent) +#define TheKey_hxx +#define TheItem Handle(Standard_Transient) +#define TheItem_hxx +#define Hasher PTColStd_MapPersistentHasher +#define Hasher_hxx +#define TCollection_DataMapNode PTColStd_DataMapNodeOfPersistentTransientMap +#define TCollection_DataMapNode_hxx +#define TCollection_DataMapIterator PTColStd_DataMapIteratorOfPersistentTransientMap +#define TCollection_DataMapIterator_hxx +#define Handle_TCollection_DataMapNode Handle_PTColStd_DataMapNodeOfPersistentTransientMap +#define TCollection_DataMapNode_Type_() PTColStd_DataMapNodeOfPersistentTransientMap_Type_() +#define TCollection_DataMap PTColStd_PersistentTransientMap +#define TCollection_DataMap_hxx +#include + diff --git a/src/FromOCCT/PTKernel/PTColStd_DataMapNodeOfTransientPersistentMap.hxx b/src/FromOCCT/PTKernel/PTColStd_DataMapNodeOfTransientPersistentMap.hxx new file mode 100644 index 000000000..6089e1d53 --- /dev/null +++ b/src/FromOCCT/PTKernel/PTColStd_DataMapNodeOfTransientPersistentMap.hxx @@ -0,0 +1,91 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PTColStd_DataMapNodeOfTransientPersistentMap_HeaderFile +#define _PTColStd_DataMapNodeOfTransientPersistentMap_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class Standard_Transient; +class Standard_Persistent; +class TColStd_MapTransientHasher; +class PTColStd_TransientPersistentMap; +class PTColStd_DataMapIteratorOfTransientPersistentMap; + + + +class PTColStd_DataMapNodeOfTransientPersistentMap : public TCollection_MapNode +{ + +public: + + + PTColStd_DataMapNodeOfTransientPersistentMap(const Handle(Standard_Transient)& K, const Handle(Standard_Persistent)& I, const TCollection_MapNodePtr& n); + + Handle(Standard_Transient)& Key() const; + + Handle(Standard_Persistent)& Value() const; + + + + + DEFINE_STANDARD_RTTI(PTColStd_DataMapNodeOfTransientPersistentMap) + +protected: + + + + +private: + + + Handle(Standard_Transient) myKey; + Handle(Standard_Persistent) myValue; + + +}; + +#define TheKey Handle(Standard_Transient) +#define TheKey_hxx +#define TheItem Handle(Standard_Persistent) +#define TheItem_hxx +#define Hasher TColStd_MapTransientHasher +#define Hasher_hxx +#define TCollection_DataMapNode PTColStd_DataMapNodeOfTransientPersistentMap +#define TCollection_DataMapNode_hxx +#define TCollection_DataMapIterator PTColStd_DataMapIteratorOfTransientPersistentMap +#define TCollection_DataMapIterator_hxx +#define Handle_TCollection_DataMapNode Handle_PTColStd_DataMapNodeOfTransientPersistentMap +#define TCollection_DataMapNode_Type_() PTColStd_DataMapNodeOfTransientPersistentMap_Type_() +#define TCollection_DataMap PTColStd_TransientPersistentMap +#define TCollection_DataMap_hxx + +#include + +#undef TheKey +#undef TheKey_hxx +#undef TheItem +#undef TheItem_hxx +#undef Hasher +#undef Hasher_hxx +#undef TCollection_DataMapNode +#undef TCollection_DataMapNode_hxx +#undef TCollection_DataMapIterator +#undef TCollection_DataMapIterator_hxx +#undef Handle_TCollection_DataMapNode +#undef TCollection_DataMapNode_Type_ +#undef TCollection_DataMap +#undef TCollection_DataMap_hxx + + + + +#endif // _PTColStd_DataMapNodeOfTransientPersistentMap_HeaderFile diff --git a/src/FromOCCT/PTKernel/PTColStd_DataMapNodeOfTransientPersistentMap_0.cxx b/src/FromOCCT/PTKernel/PTColStd_DataMapNodeOfTransientPersistentMap_0.cxx new file mode 100644 index 000000000..20d067113 --- /dev/null +++ b/src/FromOCCT/PTKernel/PTColStd_DataMapNodeOfTransientPersistentMap_0.cxx @@ -0,0 +1,48 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + +#include +#include +#include +#include +#include + + + + +IMPLEMENT_STANDARD_TYPE(PTColStd_DataMapNodeOfTransientPersistentMap) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(TCollection_MapNode), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(PTColStd_DataMapNodeOfTransientPersistentMap) + + +IMPLEMENT_DOWNCAST(PTColStd_DataMapNodeOfTransientPersistentMap,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(PTColStd_DataMapNodeOfTransientPersistentMap) + + +#define TheKey Handle(Standard_Transient) +#define TheKey_hxx +#define TheItem Handle(Standard_Persistent) +#define TheItem_hxx +#define Hasher TColStd_MapTransientHasher +#define Hasher_hxx +#define TCollection_DataMapNode PTColStd_DataMapNodeOfTransientPersistentMap +#define TCollection_DataMapNode_hxx +#define TCollection_DataMapIterator PTColStd_DataMapIteratorOfTransientPersistentMap +#define TCollection_DataMapIterator_hxx +#define Handle_TCollection_DataMapNode Handle_PTColStd_DataMapNodeOfTransientPersistentMap +#define TCollection_DataMapNode_Type_() PTColStd_DataMapNodeOfTransientPersistentMap_Type_() +#define TCollection_DataMap PTColStd_TransientPersistentMap +#define TCollection_DataMap_hxx +#include + diff --git a/src/FromOCCT/PTKernel/PTColStd_DoubleMapIteratorOfDoubleMapOfTransientPersistent.hxx b/src/FromOCCT/PTKernel/PTColStd_DoubleMapIteratorOfDoubleMapOfTransientPersistent.hxx new file mode 100644 index 000000000..44274790f --- /dev/null +++ b/src/FromOCCT/PTKernel/PTColStd_DoubleMapIteratorOfDoubleMapOfTransientPersistent.hxx @@ -0,0 +1,67 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PTColStd_DoubleMapIteratorOfDoubleMapOfTransientPersistent_HeaderFile +#define _PTColStd_DoubleMapIteratorOfDoubleMapOfTransientPersistent_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class Standard_NoSuchObject; +class Standard_Transient; +class Standard_Persistent; +class TColStd_MapTransientHasher; +class PTColStd_MapPersistentHasher; +class PTColStd_DoubleMapOfTransientPersistent; +class PTColStd_DoubleMapNodeOfDoubleMapOfTransientPersistent; + + + +class PTColStd_DoubleMapIteratorOfDoubleMapOfTransientPersistent : public TCollection_BasicMapIterator +{ +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT PTColStd_DoubleMapIteratorOfDoubleMapOfTransientPersistent(); + + Standard_EXPORT PTColStd_DoubleMapIteratorOfDoubleMapOfTransientPersistent(const PTColStd_DoubleMapOfTransientPersistent& aMap); + + Standard_EXPORT void Initialize (const PTColStd_DoubleMapOfTransientPersistent& aMap) ; + + Standard_EXPORT const Handle(Standard_Transient)& Key1() const; + + Standard_EXPORT const Handle(Standard_Persistent)& Key2() const; + + + + +protected: + + + + + +private: + + + + + +}; + + + + + + + +#endif // _PTColStd_DoubleMapIteratorOfDoubleMapOfTransientPersistent_HeaderFile diff --git a/src/FromOCCT/PTKernel/PTColStd_DoubleMapIteratorOfDoubleMapOfTransientPersistent_0.cxx b/src/FromOCCT/PTKernel/PTColStd_DoubleMapIteratorOfDoubleMapOfTransientPersistent_0.cxx new file mode 100644 index 000000000..e232f719a --- /dev/null +++ b/src/FromOCCT/PTKernel/PTColStd_DoubleMapIteratorOfDoubleMapOfTransientPersistent_0.cxx @@ -0,0 +1,34 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include +#include + + +#define TheKey1 Handle(Standard_Transient) +#define TheKey1_hxx +#define TheKey2 Handle(Standard_Persistent) +#define TheKey2_hxx +#define Hasher1 TColStd_MapTransientHasher +#define Hasher1_hxx +#define Hasher2 PTColStd_MapPersistentHasher +#define Hasher2_hxx +#define TCollection_DoubleMapNode PTColStd_DoubleMapNodeOfDoubleMapOfTransientPersistent +#define TCollection_DoubleMapNode_hxx +#define TCollection_DoubleMapIterator PTColStd_DoubleMapIteratorOfDoubleMapOfTransientPersistent +#define TCollection_DoubleMapIterator_hxx +#define Handle_TCollection_DoubleMapNode Handle_PTColStd_DoubleMapNodeOfDoubleMapOfTransientPersistent +#define TCollection_DoubleMapNode_Type_() PTColStd_DoubleMapNodeOfDoubleMapOfTransientPersistent_Type_() +#define TCollection_DoubleMap PTColStd_DoubleMapOfTransientPersistent +#define TCollection_DoubleMap_hxx +#include + diff --git a/src/FromOCCT/PTKernel/PTColStd_DoubleMapNodeOfDoubleMapOfTransientPersistent.hxx b/src/FromOCCT/PTKernel/PTColStd_DoubleMapNodeOfDoubleMapOfTransientPersistent.hxx new file mode 100644 index 000000000..bca0de3e1 --- /dev/null +++ b/src/FromOCCT/PTKernel/PTColStd_DoubleMapNodeOfDoubleMapOfTransientPersistent.hxx @@ -0,0 +1,99 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PTColStd_DoubleMapNodeOfDoubleMapOfTransientPersistent_HeaderFile +#define _PTColStd_DoubleMapNodeOfDoubleMapOfTransientPersistent_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class Standard_Transient; +class Standard_Persistent; +class TColStd_MapTransientHasher; +class PTColStd_MapPersistentHasher; +class PTColStd_DoubleMapOfTransientPersistent; +class PTColStd_DoubleMapIteratorOfDoubleMapOfTransientPersistent; + + + +class PTColStd_DoubleMapNodeOfDoubleMapOfTransientPersistent : public TCollection_MapNode +{ + +public: + + + PTColStd_DoubleMapNodeOfDoubleMapOfTransientPersistent(const Handle(Standard_Transient)& K1, const Handle(Standard_Persistent)& K2, const TCollection_MapNodePtr& n1, const TCollection_MapNodePtr& n2); + + Handle(Standard_Transient)& Key1() const; + + Handle(Standard_Persistent)& Key2() const; + + TCollection_MapNodePtr& Next2() const; + + + + + DEFINE_STANDARD_RTTI(PTColStd_DoubleMapNodeOfDoubleMapOfTransientPersistent) + +protected: + + + + +private: + + + Handle(Standard_Transient) myKey1; + Handle(Standard_Persistent) myKey2; + TCollection_MapNodePtr myNext2; + + +}; + +#define TheKey1 Handle(Standard_Transient) +#define TheKey1_hxx +#define TheKey2 Handle(Standard_Persistent) +#define TheKey2_hxx +#define Hasher1 TColStd_MapTransientHasher +#define Hasher1_hxx +#define Hasher2 PTColStd_MapPersistentHasher +#define Hasher2_hxx +#define TCollection_DoubleMapNode PTColStd_DoubleMapNodeOfDoubleMapOfTransientPersistent +#define TCollection_DoubleMapNode_hxx +#define TCollection_DoubleMapIterator PTColStd_DoubleMapIteratorOfDoubleMapOfTransientPersistent +#define TCollection_DoubleMapIterator_hxx +#define Handle_TCollection_DoubleMapNode Handle_PTColStd_DoubleMapNodeOfDoubleMapOfTransientPersistent +#define TCollection_DoubleMapNode_Type_() PTColStd_DoubleMapNodeOfDoubleMapOfTransientPersistent_Type_() +#define TCollection_DoubleMap PTColStd_DoubleMapOfTransientPersistent +#define TCollection_DoubleMap_hxx + +#include + +#undef TheKey1 +#undef TheKey1_hxx +#undef TheKey2 +#undef TheKey2_hxx +#undef Hasher1 +#undef Hasher1_hxx +#undef Hasher2 +#undef Hasher2_hxx +#undef TCollection_DoubleMapNode +#undef TCollection_DoubleMapNode_hxx +#undef TCollection_DoubleMapIterator +#undef TCollection_DoubleMapIterator_hxx +#undef Handle_TCollection_DoubleMapNode +#undef TCollection_DoubleMapNode_Type_ +#undef TCollection_DoubleMap +#undef TCollection_DoubleMap_hxx + + + + +#endif // _PTColStd_DoubleMapNodeOfDoubleMapOfTransientPersistent_HeaderFile diff --git a/src/FromOCCT/PTKernel/PTColStd_DoubleMapNodeOfDoubleMapOfTransientPersistent_0.cxx b/src/FromOCCT/PTKernel/PTColStd_DoubleMapNodeOfDoubleMapOfTransientPersistent_0.cxx new file mode 100644 index 000000000..271df9322 --- /dev/null +++ b/src/FromOCCT/PTKernel/PTColStd_DoubleMapNodeOfDoubleMapOfTransientPersistent_0.cxx @@ -0,0 +1,51 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + +#include +#include +#include +#include +#include +#include + + + + +IMPLEMENT_STANDARD_TYPE(PTColStd_DoubleMapNodeOfDoubleMapOfTransientPersistent) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(TCollection_MapNode), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(PTColStd_DoubleMapNodeOfDoubleMapOfTransientPersistent) + + +IMPLEMENT_DOWNCAST(PTColStd_DoubleMapNodeOfDoubleMapOfTransientPersistent,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(PTColStd_DoubleMapNodeOfDoubleMapOfTransientPersistent) + + +#define TheKey1 Handle(Standard_Transient) +#define TheKey1_hxx +#define TheKey2 Handle(Standard_Persistent) +#define TheKey2_hxx +#define Hasher1 TColStd_MapTransientHasher +#define Hasher1_hxx +#define Hasher2 PTColStd_MapPersistentHasher +#define Hasher2_hxx +#define TCollection_DoubleMapNode PTColStd_DoubleMapNodeOfDoubleMapOfTransientPersistent +#define TCollection_DoubleMapNode_hxx +#define TCollection_DoubleMapIterator PTColStd_DoubleMapIteratorOfDoubleMapOfTransientPersistent +#define TCollection_DoubleMapIterator_hxx +#define Handle_TCollection_DoubleMapNode Handle_PTColStd_DoubleMapNodeOfDoubleMapOfTransientPersistent +#define TCollection_DoubleMapNode_Type_() PTColStd_DoubleMapNodeOfDoubleMapOfTransientPersistent_Type_() +#define TCollection_DoubleMap PTColStd_DoubleMapOfTransientPersistent +#define TCollection_DoubleMap_hxx +#include + diff --git a/src/FromOCCT/PTKernel/PTColStd_DoubleMapOfTransientPersistent.hxx b/src/FromOCCT/PTKernel/PTColStd_DoubleMapOfTransientPersistent.hxx new file mode 100644 index 000000000..08ccc3d14 --- /dev/null +++ b/src/FromOCCT/PTKernel/PTColStd_DoubleMapOfTransientPersistent.hxx @@ -0,0 +1,95 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PTColStd_DoubleMapOfTransientPersistent_HeaderFile +#define _PTColStd_DoubleMapOfTransientPersistent_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class Standard_DomainError; +class Standard_MultiplyDefined; +class Standard_NoSuchObject; +class Standard_Transient; +class Standard_Persistent; +class TColStd_MapTransientHasher; +class PTColStd_MapPersistentHasher; +class PTColStd_DoubleMapNodeOfDoubleMapOfTransientPersistent; +class PTColStd_DoubleMapIteratorOfDoubleMapOfTransientPersistent; + + + +class PTColStd_DoubleMapOfTransientPersistent : public TCollection_BasicMap +{ +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT PTColStd_DoubleMapOfTransientPersistent(const Standard_Integer NbBuckets = 1); + + Standard_EXPORT PTColStd_DoubleMapOfTransientPersistent& Assign (const PTColStd_DoubleMapOfTransientPersistent& Other) ; + PTColStd_DoubleMapOfTransientPersistent& operator = (const PTColStd_DoubleMapOfTransientPersistent& Other) +{ + return Assign(Other); +} + + Standard_EXPORT void ReSize (const Standard_Integer NbBuckets) ; + + Standard_EXPORT void Clear() ; +~PTColStd_DoubleMapOfTransientPersistent() +{ + Clear(); +} + + Standard_EXPORT void Bind (const Handle(Standard_Transient)& K1, const Handle(Standard_Persistent)& K2) ; + + Standard_EXPORT Standard_Boolean AreBound (const Handle(Standard_Transient)& K1, const Handle(Standard_Persistent)& K2) const; + + Standard_EXPORT Standard_Boolean IsBound1 (const Handle(Standard_Transient)& K) const; + + Standard_EXPORT Standard_Boolean IsBound2 (const Handle(Standard_Persistent)& K) const; + + Standard_EXPORT const Handle(Standard_Persistent)& Find1 (const Handle(Standard_Transient)& K) const; + + Standard_EXPORT const Handle(Standard_Transient)& Find2 (const Handle(Standard_Persistent)& K) const; + + Standard_EXPORT Standard_Boolean UnBind1 (const Handle(Standard_Transient)& K) ; + + Standard_EXPORT Standard_Boolean UnBind2 (const Handle(Standard_Persistent)& K) ; + + + + +protected: + + + + + +private: + + + Standard_EXPORT PTColStd_DoubleMapOfTransientPersistent(const PTColStd_DoubleMapOfTransientPersistent& Other); + + + + +}; + + + + + + + +#endif // _PTColStd_DoubleMapOfTransientPersistent_HeaderFile diff --git a/src/FromOCCT/PTKernel/PTColStd_DoubleMapOfTransientPersistent_0.cxx b/src/FromOCCT/PTKernel/PTColStd_DoubleMapOfTransientPersistent_0.cxx new file mode 100644 index 000000000..2142e3499 --- /dev/null +++ b/src/FromOCCT/PTKernel/PTColStd_DoubleMapOfTransientPersistent_0.cxx @@ -0,0 +1,36 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include + + +#define TheKey1 Handle(Standard_Transient) +#define TheKey1_hxx +#define TheKey2 Handle(Standard_Persistent) +#define TheKey2_hxx +#define Hasher1 TColStd_MapTransientHasher +#define Hasher1_hxx +#define Hasher2 PTColStd_MapPersistentHasher +#define Hasher2_hxx +#define TCollection_DoubleMapNode PTColStd_DoubleMapNodeOfDoubleMapOfTransientPersistent +#define TCollection_DoubleMapNode_hxx +#define TCollection_DoubleMapIterator PTColStd_DoubleMapIteratorOfDoubleMapOfTransientPersistent +#define TCollection_DoubleMapIterator_hxx +#define Handle_TCollection_DoubleMapNode Handle_PTColStd_DoubleMapNodeOfDoubleMapOfTransientPersistent +#define TCollection_DoubleMapNode_Type_() PTColStd_DoubleMapNodeOfDoubleMapOfTransientPersistent_Type_() +#define TCollection_DoubleMap PTColStd_DoubleMapOfTransientPersistent +#define TCollection_DoubleMap_hxx +#include + diff --git a/src/FromOCCT/PTKernel/PTColStd_MapPersistentHasher.hxx b/src/FromOCCT/PTKernel/PTColStd_MapPersistentHasher.hxx new file mode 100644 index 000000000..5e305118d --- /dev/null +++ b/src/FromOCCT/PTKernel/PTColStd_MapPersistentHasher.hxx @@ -0,0 +1,54 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PTColStd_MapPersistentHasher_HeaderFile +#define _PTColStd_MapPersistentHasher_HeaderFile + +#include +#include +#include + +#include +#include +#include +class Standard_Persistent; + + + +class PTColStd_MapPersistentHasher +{ +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT static Standard_Integer HashCode (const Handle(Standard_Persistent)& K, const Standard_Integer Upper) ; + + Standard_EXPORT static Standard_Boolean IsEqual (const Handle(Standard_Persistent)& K1, const Handle(Standard_Persistent)& K2) ; + + + + +protected: + + + + + +private: + + + + + +}; + + + + + + + +#endif // _PTColStd_MapPersistentHasher_HeaderFile diff --git a/src/FromOCCT/PTKernel/PTColStd_MapPersistentHasher_0.cxx b/src/FromOCCT/PTKernel/PTColStd_MapPersistentHasher_0.cxx new file mode 100644 index 000000000..c1d5460a8 --- /dev/null +++ b/src/FromOCCT/PTKernel/PTColStd_MapPersistentHasher_0.cxx @@ -0,0 +1,16 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + +#define Key Handle(Standard_Persistent) +#define Key_hxx +#define TCollection_MapHasher PTColStd_MapPersistentHasher +#define TCollection_MapHasher_hxx +#include + diff --git a/src/FromOCCT/PTKernel/PTColStd_PersistentTransientMap.hxx b/src/FromOCCT/PTKernel/PTColStd_PersistentTransientMap.hxx new file mode 100644 index 000000000..391330ea7 --- /dev/null +++ b/src/FromOCCT/PTKernel/PTColStd_PersistentTransientMap.hxx @@ -0,0 +1,100 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PTColStd_PersistentTransientMap_HeaderFile +#define _PTColStd_PersistentTransientMap_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class Standard_DomainError; +class Standard_NoSuchObject; +class Standard_Persistent; +class Standard_Transient; +class PTColStd_MapPersistentHasher; +class PTColStd_DataMapNodeOfPersistentTransientMap; +class PTColStd_DataMapIteratorOfPersistentTransientMap; + + + +class PTColStd_PersistentTransientMap : public TCollection_BasicMap +{ +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT PTColStd_PersistentTransientMap(const Standard_Integer NbBuckets = 1); + + Standard_EXPORT PTColStd_PersistentTransientMap& Assign (const PTColStd_PersistentTransientMap& Other) ; + PTColStd_PersistentTransientMap& operator = (const PTColStd_PersistentTransientMap& Other) +{ + return Assign(Other); +} + + Standard_EXPORT void ReSize (const Standard_Integer NbBuckets) ; + + Standard_EXPORT void Clear() ; +~PTColStd_PersistentTransientMap() +{ + Clear(); +} + + Standard_EXPORT Standard_Boolean Bind (const Handle(Standard_Persistent)& K, const Handle(Standard_Transient)& I) ; + + Standard_EXPORT Standard_Boolean IsBound (const Handle(Standard_Persistent)& K) const; + + Standard_EXPORT Standard_Boolean UnBind (const Handle(Standard_Persistent)& K) ; + + Standard_EXPORT const Handle(Standard_Transient)& Find (const Handle(Standard_Persistent)& K) const; + const Handle(Standard_Transient)& operator() (const Handle(Standard_Persistent)& K) const +{ + return Find(K); +} + + Standard_EXPORT Handle(Standard_Transient)& ChangeFind (const Handle(Standard_Persistent)& K) ; + Handle(Standard_Transient)& operator() (const Handle(Standard_Persistent)& K) +{ + return ChangeFind(K); +} + + Standard_EXPORT Standard_Address Find1 (const Handle(Standard_Persistent)& K) const; + + Standard_EXPORT Standard_Address ChangeFind1 (const Handle(Standard_Persistent)& K) ; + + + + +protected: + + + + + +private: + + + Standard_EXPORT PTColStd_PersistentTransientMap(const PTColStd_PersistentTransientMap& Other); + + + + +}; + + + + + + + +#endif // _PTColStd_PersistentTransientMap_HeaderFile diff --git a/src/FromOCCT/PTKernel/PTColStd_PersistentTransientMap_0.cxx b/src/FromOCCT/PTKernel/PTColStd_PersistentTransientMap_0.cxx new file mode 100644 index 000000000..71ea01309 --- /dev/null +++ b/src/FromOCCT/PTKernel/PTColStd_PersistentTransientMap_0.cxx @@ -0,0 +1,32 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include +#include + + +#define TheKey Handle(Standard_Persistent) +#define TheKey_hxx +#define TheItem Handle(Standard_Transient) +#define TheItem_hxx +#define Hasher PTColStd_MapPersistentHasher +#define Hasher_hxx +#define TCollection_DataMapNode PTColStd_DataMapNodeOfPersistentTransientMap +#define TCollection_DataMapNode_hxx +#define TCollection_DataMapIterator PTColStd_DataMapIteratorOfPersistentTransientMap +#define TCollection_DataMapIterator_hxx +#define Handle_TCollection_DataMapNode Handle_PTColStd_DataMapNodeOfPersistentTransientMap +#define TCollection_DataMapNode_Type_() PTColStd_DataMapNodeOfPersistentTransientMap_Type_() +#define TCollection_DataMap PTColStd_PersistentTransientMap +#define TCollection_DataMap_hxx +#include + diff --git a/src/FromOCCT/PTKernel/PTColStd_TransientPersistentMap.hxx b/src/FromOCCT/PTKernel/PTColStd_TransientPersistentMap.hxx new file mode 100644 index 000000000..b56575f56 --- /dev/null +++ b/src/FromOCCT/PTKernel/PTColStd_TransientPersistentMap.hxx @@ -0,0 +1,100 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PTColStd_TransientPersistentMap_HeaderFile +#define _PTColStd_TransientPersistentMap_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class Standard_DomainError; +class Standard_NoSuchObject; +class Standard_Transient; +class Standard_Persistent; +class TColStd_MapTransientHasher; +class PTColStd_DataMapNodeOfTransientPersistentMap; +class PTColStd_DataMapIteratorOfTransientPersistentMap; + + + +class PTColStd_TransientPersistentMap : public TCollection_BasicMap +{ +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT PTColStd_TransientPersistentMap(const Standard_Integer NbBuckets = 1); + + Standard_EXPORT PTColStd_TransientPersistentMap& Assign (const PTColStd_TransientPersistentMap& Other) ; + PTColStd_TransientPersistentMap& operator = (const PTColStd_TransientPersistentMap& Other) +{ + return Assign(Other); +} + + Standard_EXPORT void ReSize (const Standard_Integer NbBuckets) ; + + Standard_EXPORT void Clear() ; +~PTColStd_TransientPersistentMap() +{ + Clear(); +} + + Standard_EXPORT Standard_Boolean Bind (const Handle(Standard_Transient)& K, const Handle(Standard_Persistent)& I) ; + + Standard_EXPORT Standard_Boolean IsBound (const Handle(Standard_Transient)& K) const; + + Standard_EXPORT Standard_Boolean UnBind (const Handle(Standard_Transient)& K) ; + + Standard_EXPORT const Handle(Standard_Persistent)& Find (const Handle(Standard_Transient)& K) const; + const Handle(Standard_Persistent)& operator() (const Handle(Standard_Transient)& K) const +{ + return Find(K); +} + + Standard_EXPORT Handle(Standard_Persistent)& ChangeFind (const Handle(Standard_Transient)& K) ; + Handle(Standard_Persistent)& operator() (const Handle(Standard_Transient)& K) +{ + return ChangeFind(K); +} + + Standard_EXPORT Standard_Address Find1 (const Handle(Standard_Transient)& K) const; + + Standard_EXPORT Standard_Address ChangeFind1 (const Handle(Standard_Transient)& K) ; + + + + +protected: + + + + + +private: + + + Standard_EXPORT PTColStd_TransientPersistentMap(const PTColStd_TransientPersistentMap& Other); + + + + +}; + + + + + + + +#endif // _PTColStd_TransientPersistentMap_HeaderFile diff --git a/src/FromOCCT/PTKernel/PTColStd_TransientPersistentMap_0.cxx b/src/FromOCCT/PTKernel/PTColStd_TransientPersistentMap_0.cxx new file mode 100644 index 000000000..08bc2fd2b --- /dev/null +++ b/src/FromOCCT/PTKernel/PTColStd_TransientPersistentMap_0.cxx @@ -0,0 +1,32 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include +#include + + +#define TheKey Handle(Standard_Transient) +#define TheKey_hxx +#define TheItem Handle(Standard_Persistent) +#define TheItem_hxx +#define Hasher TColStd_MapTransientHasher +#define Hasher_hxx +#define TCollection_DataMapNode PTColStd_DataMapNodeOfTransientPersistentMap +#define TCollection_DataMapNode_hxx +#define TCollection_DataMapIterator PTColStd_DataMapIteratorOfTransientPersistentMap +#define TCollection_DataMapIterator_hxx +#define Handle_TCollection_DataMapNode Handle_PTColStd_DataMapNodeOfTransientPersistentMap +#define TCollection_DataMapNode_Type_() PTColStd_DataMapNodeOfTransientPersistentMap_Type_() +#define TCollection_DataMap PTColStd_TransientPersistentMap +#define TCollection_DataMap_hxx +#include + diff --git a/src/FromOCCT/TKPCAF/CMakeLists.txt b/src/FromOCCT/TKPCAF/CMakeLists.txt new file mode 100755 index 000000000..72c32f4ef --- /dev/null +++ b/src/FromOCCT/TKPCAF/CMakeLists.txt @@ -0,0 +1,319 @@ +# Copyright (C) 2012-2015 CEA/DEN, EDF R&D, OPEN CASCADE +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# + +# --- options --- + +# additional include directories +INCLUDE_DIRECTORIES( + ${CAS_INCLUDE_DIRS} + ${PROJECT_SOURCE_DIR}/src/FromOCCT/PTKernel + ${PROJECT_SOURCE_DIR}/src/FromOCCT/TKPShape + ${PROJECT_SOURCE_DIR}/src/FromOCCT/TKPLCAF + ${CMAKE_CURRENT_SOURCE_DIR} +) + +# additional preprocessor / compiler flags +ADD_DEFINITIONS( + ${CAS_DEFINITIONS} + ) + +# libraries to link to +SET(_link_LIBRARIES + ${CAS_KERNEL} + ${CAS_TKBRep} ${CAS_TKMath} ${CAS_TKCDF} + ${CAS_TKG2d} ${CAS_TKV3d} ${CAS_TKService} + ${CAS_TKG3d} ${CAS_TKCAF} ${CAS_TKLCAF} + PTKernel + TKPShape + TKPLCAF + ) + +# --- headers --- + +SET(GEOM_HEADERS + Handle_MDataXtd_AxisRetrievalDriver.hxx + Handle_MDataXtd_AxisStorageDriver.hxx + Handle_MDataXtd_ConstraintRetrievalDriver.hxx + Handle_MDataXtd_ConstraintStorageDriver.hxx + Handle_MDataXtd_GeometryRetrievalDriver.hxx + Handle_MDataXtd_GeometryStorageDriver.hxx + Handle_MDataXtd_PatternStdRetrievalDriver.hxx + Handle_MDataXtd_PatternStdStorageDriver.hxx + Handle_MDataXtd_PlacementRetrievalDriver.hxx + Handle_MDataXtd_PlacementStorageDriver.hxx + Handle_MDataXtd_PlaneRetrievalDriver.hxx + Handle_MDataXtd_PlaneStorageDriver.hxx + Handle_MDataXtd_PointRetrievalDriver.hxx + Handle_MDataXtd_PointStorageDriver.hxx + Handle_MDataXtd_ShapeRetrievalDriver.hxx + Handle_MDataXtd_ShapeStorageDriver.hxx + Handle_MNaming_NamedShapeRetrievalDriver.hxx + Handle_MNaming_NamedShapeStorageDriver.hxx + Handle_MNaming_NamingRetrievalDriver_1.hxx + Handle_MNaming_NamingRetrievalDriver_2.hxx + Handle_MNaming_NamingRetrievalDriver.hxx + Handle_MNaming_NamingStorageDriver.hxx + Handle_MPrsStd_AISPresentationRetrievalDriver_1.hxx + Handle_MPrsStd_AISPresentationRetrievalDriver.hxx + Handle_MPrsStd_AISPresentationStorageDriver.hxx + Handle_MPrsStd_PositionRetrievalDriver.hxx + Handle_MPrsStd_PositionStorageDriver.hxx + Handle_PDataXtd_Axis.hxx + Handle_PDataXtd_Constraint.hxx + Handle_PDataXtd_Geometry.hxx + Handle_PDataXtd_PatternStd.hxx + Handle_PDataXtd_Placement.hxx + Handle_PDataXtd_Plane.hxx + Handle_PDataXtd_Point.hxx + Handle_PDataXtd_Position.hxx + Handle_PDataXtd_Shape.hxx + Handle_PNaming_HArray1OfNamedShape.hxx + Handle_PNaming_Name_1.hxx + Handle_PNaming_Name_2.hxx + Handle_PNaming_NamedShape.hxx + Handle_PNaming_Name.hxx + Handle_PNaming_Naming_1.hxx + Handle_PNaming_Naming_2.hxx + Handle_PNaming_Naming.hxx + Handle_PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape.hxx + Handle_PPrsStd_AISPresentation_1.hxx + Handle_PPrsStd_AISPresentation.hxx MDataXtd_AxisRetrievalDriver.hxx + MDataXtd_AxisRetrievalDriver.ixx + MDataXtd_AxisRetrievalDriver.jxx + MDataXtd_AxisStorageDriver.hxx + MDataXtd_AxisStorageDriver.ixx + MDataXtd_AxisStorageDriver.jxx + MDataXtd_ConstraintRetrievalDriver.hxx + MDataXtd_ConstraintRetrievalDriver.ixx + MDataXtd_ConstraintRetrievalDriver.jxx + MDataXtd_ConstraintStorageDriver.hxx + MDataXtd_ConstraintStorageDriver.ixx + MDataXtd_ConstraintStorageDriver.jxx + MDataXtd_GeometryRetrievalDriver.hxx + MDataXtd_GeometryRetrievalDriver.ixx + MDataXtd_GeometryRetrievalDriver.jxx + MDataXtd_GeometryStorageDriver.hxx + MDataXtd_GeometryStorageDriver.ixx + MDataXtd_GeometryStorageDriver.jxx + MDataXtd.hxx + MDataXtd.ixx + MDataXtd.jxx + MDataXtd_PatternStdRetrievalDriver.hxx + MDataXtd_PatternStdRetrievalDriver.ixx + MDataXtd_PatternStdRetrievalDriver.jxx + MDataXtd_PatternStdStorageDriver.hxx + MDataXtd_PatternStdStorageDriver.ixx + MDataXtd_PatternStdStorageDriver.jxx + MDataXtd_PlacementRetrievalDriver.hxx + MDataXtd_PlacementRetrievalDriver.ixx + MDataXtd_PlacementRetrievalDriver.jxx + MDataXtd_PlacementStorageDriver.hxx + MDataXtd_PlacementStorageDriver.ixx + MDataXtd_PlacementStorageDriver.jxx + MDataXtd_PlaneRetrievalDriver.hxx + MDataXtd_PlaneRetrievalDriver.ixx + MDataXtd_PlaneRetrievalDriver.jxx + MDataXtd_PlaneStorageDriver.hxx + MDataXtd_PlaneStorageDriver.ixx + MDataXtd_PlaneStorageDriver.jxx + MDataXtd_PointRetrievalDriver.hxx + MDataXtd_PointRetrievalDriver.ixx + MDataXtd_PointRetrievalDriver.jxx + MDataXtd_PointStorageDriver.hxx + MDataXtd_PointStorageDriver.ixx + MDataXtd_PointStorageDriver.jxx + MDataXtd_ShapeRetrievalDriver.hxx + MDataXtd_ShapeRetrievalDriver.ixx + MDataXtd_ShapeRetrievalDriver.jxx + MDataXtd_ShapeStorageDriver.hxx + MDataXtd_ShapeStorageDriver.ixx + MDataXtd_ShapeStorageDriver.jxx + MNaming.hxx + MNaming.ixx + MNaming.jxx + MNaming_NamedShapeRetrievalDriver.hxx + MNaming_NamedShapeRetrievalDriver.ixx + MNaming_NamedShapeRetrievalDriver.jxx + MNaming_NamedShapeStorageDriver.hxx + MNaming_NamedShapeStorageDriver.ixx + MNaming_NamedShapeStorageDriver.jxx + MNaming_NamingRetrievalDriver_1.hxx + MNaming_NamingRetrievalDriver_1.ixx + MNaming_NamingRetrievalDriver_1.jxx + MNaming_NamingRetrievalDriver_2.hxx + MNaming_NamingRetrievalDriver_2.ixx + MNaming_NamingRetrievalDriver_2.jxx + MNaming_NamingRetrievalDriver.hxx + MNaming_NamingRetrievalDriver.ixx + MNaming_NamingRetrievalDriver.jxx + MNaming_NamingStorageDriver.hxx + MNaming_NamingStorageDriver.ixx + MNaming_NamingStorageDriver.jxx + MPrsStd_AISPresentationRetrievalDriver_1.hxx + MPrsStd_AISPresentationRetrievalDriver_1.ixx + MPrsStd_AISPresentationRetrievalDriver_1.jxx + MPrsStd_AISPresentationRetrievalDriver.hxx + MPrsStd_AISPresentationRetrievalDriver.ixx + MPrsStd_AISPresentationRetrievalDriver.jxx + MPrsStd_AISPresentationStorageDriver.hxx + MPrsStd_AISPresentationStorageDriver.ixx + MPrsStd_AISPresentationStorageDriver.jxx + MPrsStd.hxx + MPrsStd.ixx + MPrsStd.jxx + MPrsStd_PositionRetrievalDriver.hxx + MPrsStd_PositionRetrievalDriver.ixx + MPrsStd_PositionRetrievalDriver.jxx + MPrsStd_PositionStorageDriver.hxx + MPrsStd_PositionStorageDriver.ixx + MPrsStd_PositionStorageDriver.jxx + PDataXtd_Axis.hxx + PDataXtd_Axis.ixx + PDataXtd_Axis.jxx + PDataXtd_Constraint.hxx + PDataXtd_Constraint.ixx + PDataXtd_Constraint.jxx + PDataXtd_Geometry.hxx + PDataXtd_Geometry.ixx + PDataXtd_Geometry.jxx + PDataXtd_PatternStd.hxx + PDataXtd_PatternStd.ixx + PDataXtd_PatternStd.jxx + PDataXtd_PatternStd.lxx + PDataXtd_Placement.hxx + PDataXtd_Placement.ixx + PDataXtd_Placement.jxx + PDataXtd_Plane.hxx + PDataXtd_Plane.ixx + PDataXtd_Plane.jxx + PDataXtd_Point.hxx + PDataXtd_Point.ixx + PDataXtd_Point.jxx + PDataXtd_Position.hxx + PDataXtd_Position.ixx + PDataXtd_Position.jxx + PDataXtd_Position.lxx + PDataXtd_Shape.hxx + PDataXtd_Shape.ixx + PDataXtd_Shape.jxx + PNaming_FieldOfHArray1OfNamedShape.hxx + PNaming_HArray1OfNamedShape.hxx + PNaming_Name_1.hxx + PNaming_Name_1.ixx + PNaming_Name_1.jxx + PNaming_Name_1.lxx + PNaming_Name_2.hxx + PNaming_Name_2.ixx + PNaming_Name_2.jxx + PNaming_Name_2.lxx + PNaming_NamedShape.hxx + PNaming_NamedShape.ixx + PNaming_NamedShape.jxx + PNaming_Name.hxx + PNaming_Name.ixx + PNaming_Name.jxx + PNaming_Name.lxx + PNaming_Naming_1.hxx + PNaming_Naming_1.ixx + PNaming_Naming_1.jxx + PNaming_Naming_2.hxx + PNaming_Naming_2.ixx + PNaming_Naming_2.jxx + PNaming_Naming.hxx + PNaming_Naming.ixx + PNaming_Naming.jxx + PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape.hxx + PNaming_VArrayTNodeOfFieldOfHArray1OfNamedShape.hxx + PPrsStd_AISPresentation_1.hxx + PPrsStd_AISPresentation_1.ixx + PPrsStd_AISPresentation_1.jxx + PPrsStd_AISPresentation.hxx + PPrsStd_AISPresentation.ixx + PPrsStd_AISPresentation.jxx + ) + +# --- sources --- + +SET(GEOM_SOURCES + MDataXtd_AxisRetrievalDriver.cxx + MDataXtd_AxisStorageDriver.cxx + MDataXtd_ConstraintRetrievalDriver.cxx + MDataXtd_ConstraintStorageDriver.cxx + MDataXtd.cxx + MDataXtd_GeometryRetrievalDriver.cxx + MDataXtd_GeometryStorageDriver.cxx + MDataXtd_PatternStdRetrievalDriver.cxx + MDataXtd_PatternStdStorageDriver.cxx + MDataXtd_PlacementRetrievalDriver.cxx + MDataXtd_PlacementStorageDriver.cxx + MDataXtd_PlaneRetrievalDriver.cxx + MDataXtd_PlaneStorageDriver.cxx + MDataXtd_PointRetrievalDriver.cxx + MDataXtd_PointStorageDriver.cxx + MDataXtd_ShapeRetrievalDriver.cxx + MDataXtd_ShapeStorageDriver.cxx + MNaming.cxx + MNaming_NamedShapeRetrievalDriver.cxx + MNaming_NamedShapeStorageDriver.cxx + MNaming_NamingRetrievalDriver_1.cxx + MNaming_NamingRetrievalDriver_2.cxx + MNaming_NamingRetrievalDriver.cxx + MNaming_NamingStorageDriver.cxx + MPrsStd_AISPresentationRetrievalDriver_1.cxx + MPrsStd_AISPresentationRetrievalDriver.cxx + MPrsStd_AISPresentationStorageDriver.cxx + MPrsStd.cxx + MPrsStd_PositionRetrievalDriver.cxx + MPrsStd_PositionStorageDriver.cxx + PDataXtd_Axis.cxx + PDataXtd_Constraint.cxx + PDataXtd_Geometry.cxx + PDataXtd_PatternStd.cxx + PDataXtd_PatternStd.lxx + PDataXtd_Placement.cxx + PDataXtd_Plane.cxx + PDataXtd_Point.cxx + PDataXtd_Position.cxx + PDataXtd_Position.lxx + PDataXtd_Shape.cxx + PNaming_FieldOfHArray1OfNamedShape_0.cxx + PNaming_HArray1OfNamedShape_0.cxx + PNaming_Name_1.cxx + PNaming_Name_1.lxx + PNaming_Name_2.cxx + PNaming_Name_2.lxx + PNaming_Name.cxx + PNaming_NamedShape.cxx + PNaming_Name.lxx + PNaming_Naming_1.cxx + PNaming_Naming_2.cxx + PNaming_Naming.cxx + PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape_0.cxx + PNaming_VArrayTNodeOfFieldOfHArray1OfNamedShape_0.cxx + PPrsStd_AISPresentation_1.cxx + PPrsStd_AISPresentation.cxx + ) + +# --- rules --- + +ADD_LIBRARY(TKPCAF ${GEOM_SOURCES}) +TARGET_LINK_LIBRARIES(TKPCAF ${_link_LIBRARIES}) +INSTALL(TARGETS TKPCAF EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) + +INSTALL(FILES ${GEOM_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) diff --git a/src/FromOCCT/TKPCAF/Handle_MDataXtd_AxisRetrievalDriver.hxx b/src/FromOCCT/TKPCAF/Handle_MDataXtd_AxisRetrievalDriver.hxx new file mode 100644 index 000000000..018017b47 --- /dev/null +++ b/src/FromOCCT/TKPCAF/Handle_MDataXtd_AxisRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataXtd_AxisRetrievalDriver_HeaderFile +#define _Handle_MDataXtd_AxisRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MDataXtd_AxisRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MDataXtd_AxisRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MDataXtd_AxisRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPCAF/Handle_MDataXtd_AxisStorageDriver.hxx b/src/FromOCCT/TKPCAF/Handle_MDataXtd_AxisStorageDriver.hxx new file mode 100644 index 000000000..973dd7e6e --- /dev/null +++ b/src/FromOCCT/TKPCAF/Handle_MDataXtd_AxisStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataXtd_AxisStorageDriver_HeaderFile +#define _Handle_MDataXtd_AxisStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MDataXtd_AxisStorageDriver; + +DEFINE_STANDARD_HANDLE(MDataXtd_AxisStorageDriver, MDF_ASDriver) + +#endif // _Handle_MDataXtd_AxisStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPCAF/Handle_MDataXtd_ConstraintRetrievalDriver.hxx b/src/FromOCCT/TKPCAF/Handle_MDataXtd_ConstraintRetrievalDriver.hxx new file mode 100644 index 000000000..f1f632cb3 --- /dev/null +++ b/src/FromOCCT/TKPCAF/Handle_MDataXtd_ConstraintRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataXtd_ConstraintRetrievalDriver_HeaderFile +#define _Handle_MDataXtd_ConstraintRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MDataXtd_ConstraintRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MDataXtd_ConstraintRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MDataXtd_ConstraintRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPCAF/Handle_MDataXtd_ConstraintStorageDriver.hxx b/src/FromOCCT/TKPCAF/Handle_MDataXtd_ConstraintStorageDriver.hxx new file mode 100644 index 000000000..a4150280d --- /dev/null +++ b/src/FromOCCT/TKPCAF/Handle_MDataXtd_ConstraintStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataXtd_ConstraintStorageDriver_HeaderFile +#define _Handle_MDataXtd_ConstraintStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MDataXtd_ConstraintStorageDriver; + +DEFINE_STANDARD_HANDLE(MDataXtd_ConstraintStorageDriver, MDF_ASDriver) + +#endif // _Handle_MDataXtd_ConstraintStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPCAF/Handle_MDataXtd_GeometryRetrievalDriver.hxx b/src/FromOCCT/TKPCAF/Handle_MDataXtd_GeometryRetrievalDriver.hxx new file mode 100644 index 000000000..0d85d9b2b --- /dev/null +++ b/src/FromOCCT/TKPCAF/Handle_MDataXtd_GeometryRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataXtd_GeometryRetrievalDriver_HeaderFile +#define _Handle_MDataXtd_GeometryRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MDataXtd_GeometryRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MDataXtd_GeometryRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MDataXtd_GeometryRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPCAF/Handle_MDataXtd_GeometryStorageDriver.hxx b/src/FromOCCT/TKPCAF/Handle_MDataXtd_GeometryStorageDriver.hxx new file mode 100644 index 000000000..768b589ea --- /dev/null +++ b/src/FromOCCT/TKPCAF/Handle_MDataXtd_GeometryStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataXtd_GeometryStorageDriver_HeaderFile +#define _Handle_MDataXtd_GeometryStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MDataXtd_GeometryStorageDriver; + +DEFINE_STANDARD_HANDLE(MDataXtd_GeometryStorageDriver, MDF_ASDriver) + +#endif // _Handle_MDataXtd_GeometryStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPCAF/Handle_MDataXtd_PatternStdRetrievalDriver.hxx b/src/FromOCCT/TKPCAF/Handle_MDataXtd_PatternStdRetrievalDriver.hxx new file mode 100644 index 000000000..1236f2710 --- /dev/null +++ b/src/FromOCCT/TKPCAF/Handle_MDataXtd_PatternStdRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataXtd_PatternStdRetrievalDriver_HeaderFile +#define _Handle_MDataXtd_PatternStdRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MDataXtd_PatternStdRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MDataXtd_PatternStdRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MDataXtd_PatternStdRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPCAF/Handle_MDataXtd_PatternStdStorageDriver.hxx b/src/FromOCCT/TKPCAF/Handle_MDataXtd_PatternStdStorageDriver.hxx new file mode 100644 index 000000000..9811d943b --- /dev/null +++ b/src/FromOCCT/TKPCAF/Handle_MDataXtd_PatternStdStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataXtd_PatternStdStorageDriver_HeaderFile +#define _Handle_MDataXtd_PatternStdStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MDataXtd_PatternStdStorageDriver; + +DEFINE_STANDARD_HANDLE(MDataXtd_PatternStdStorageDriver, MDF_ASDriver) + +#endif // _Handle_MDataXtd_PatternStdStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPCAF/Handle_MDataXtd_PlacementRetrievalDriver.hxx b/src/FromOCCT/TKPCAF/Handle_MDataXtd_PlacementRetrievalDriver.hxx new file mode 100644 index 000000000..7512bf0c7 --- /dev/null +++ b/src/FromOCCT/TKPCAF/Handle_MDataXtd_PlacementRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataXtd_PlacementRetrievalDriver_HeaderFile +#define _Handle_MDataXtd_PlacementRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MDataXtd_PlacementRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MDataXtd_PlacementRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MDataXtd_PlacementRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPCAF/Handle_MDataXtd_PlacementStorageDriver.hxx b/src/FromOCCT/TKPCAF/Handle_MDataXtd_PlacementStorageDriver.hxx new file mode 100644 index 000000000..4b0009f7a --- /dev/null +++ b/src/FromOCCT/TKPCAF/Handle_MDataXtd_PlacementStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataXtd_PlacementStorageDriver_HeaderFile +#define _Handle_MDataXtd_PlacementStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MDataXtd_PlacementStorageDriver; + +DEFINE_STANDARD_HANDLE(MDataXtd_PlacementStorageDriver, MDF_ASDriver) + +#endif // _Handle_MDataXtd_PlacementStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPCAF/Handle_MDataXtd_PlaneRetrievalDriver.hxx b/src/FromOCCT/TKPCAF/Handle_MDataXtd_PlaneRetrievalDriver.hxx new file mode 100644 index 000000000..07ad9360c --- /dev/null +++ b/src/FromOCCT/TKPCAF/Handle_MDataXtd_PlaneRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataXtd_PlaneRetrievalDriver_HeaderFile +#define _Handle_MDataXtd_PlaneRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MDataXtd_PlaneRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MDataXtd_PlaneRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MDataXtd_PlaneRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPCAF/Handle_MDataXtd_PlaneStorageDriver.hxx b/src/FromOCCT/TKPCAF/Handle_MDataXtd_PlaneStorageDriver.hxx new file mode 100644 index 000000000..3511a3cb0 --- /dev/null +++ b/src/FromOCCT/TKPCAF/Handle_MDataXtd_PlaneStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataXtd_PlaneStorageDriver_HeaderFile +#define _Handle_MDataXtd_PlaneStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MDataXtd_PlaneStorageDriver; + +DEFINE_STANDARD_HANDLE(MDataXtd_PlaneStorageDriver, MDF_ASDriver) + +#endif // _Handle_MDataXtd_PlaneStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPCAF/Handle_MDataXtd_PointRetrievalDriver.hxx b/src/FromOCCT/TKPCAF/Handle_MDataXtd_PointRetrievalDriver.hxx new file mode 100644 index 000000000..bb04a9c61 --- /dev/null +++ b/src/FromOCCT/TKPCAF/Handle_MDataXtd_PointRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataXtd_PointRetrievalDriver_HeaderFile +#define _Handle_MDataXtd_PointRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MDataXtd_PointRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MDataXtd_PointRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MDataXtd_PointRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPCAF/Handle_MDataXtd_PointStorageDriver.hxx b/src/FromOCCT/TKPCAF/Handle_MDataXtd_PointStorageDriver.hxx new file mode 100644 index 000000000..68bbb2776 --- /dev/null +++ b/src/FromOCCT/TKPCAF/Handle_MDataXtd_PointStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataXtd_PointStorageDriver_HeaderFile +#define _Handle_MDataXtd_PointStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MDataXtd_PointStorageDriver; + +DEFINE_STANDARD_HANDLE(MDataXtd_PointStorageDriver, MDF_ASDriver) + +#endif // _Handle_MDataXtd_PointStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPCAF/Handle_MDataXtd_ShapeRetrievalDriver.hxx b/src/FromOCCT/TKPCAF/Handle_MDataXtd_ShapeRetrievalDriver.hxx new file mode 100644 index 000000000..12e947237 --- /dev/null +++ b/src/FromOCCT/TKPCAF/Handle_MDataXtd_ShapeRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataXtd_ShapeRetrievalDriver_HeaderFile +#define _Handle_MDataXtd_ShapeRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MDataXtd_ShapeRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MDataXtd_ShapeRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MDataXtd_ShapeRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPCAF/Handle_MDataXtd_ShapeStorageDriver.hxx b/src/FromOCCT/TKPCAF/Handle_MDataXtd_ShapeStorageDriver.hxx new file mode 100644 index 000000000..4b84d3ed8 --- /dev/null +++ b/src/FromOCCT/TKPCAF/Handle_MDataXtd_ShapeStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataXtd_ShapeStorageDriver_HeaderFile +#define _Handle_MDataXtd_ShapeStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MDataXtd_ShapeStorageDriver; + +DEFINE_STANDARD_HANDLE(MDataXtd_ShapeStorageDriver, MDF_ASDriver) + +#endif // _Handle_MDataXtd_ShapeStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPCAF/Handle_MNaming_NamedShapeRetrievalDriver.hxx b/src/FromOCCT/TKPCAF/Handle_MNaming_NamedShapeRetrievalDriver.hxx new file mode 100644 index 000000000..c5ddbac79 --- /dev/null +++ b/src/FromOCCT/TKPCAF/Handle_MNaming_NamedShapeRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MNaming_NamedShapeRetrievalDriver_HeaderFile +#define _Handle_MNaming_NamedShapeRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MNaming_NamedShapeRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MNaming_NamedShapeRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MNaming_NamedShapeRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPCAF/Handle_MNaming_NamedShapeStorageDriver.hxx b/src/FromOCCT/TKPCAF/Handle_MNaming_NamedShapeStorageDriver.hxx new file mode 100644 index 000000000..f5555f74d --- /dev/null +++ b/src/FromOCCT/TKPCAF/Handle_MNaming_NamedShapeStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MNaming_NamedShapeStorageDriver_HeaderFile +#define _Handle_MNaming_NamedShapeStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MNaming_NamedShapeStorageDriver; + +DEFINE_STANDARD_HANDLE(MNaming_NamedShapeStorageDriver, MDF_ASDriver) + +#endif // _Handle_MNaming_NamedShapeStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPCAF/Handle_MNaming_NamingRetrievalDriver.hxx b/src/FromOCCT/TKPCAF/Handle_MNaming_NamingRetrievalDriver.hxx new file mode 100644 index 000000000..aee77f660 --- /dev/null +++ b/src/FromOCCT/TKPCAF/Handle_MNaming_NamingRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MNaming_NamingRetrievalDriver_HeaderFile +#define _Handle_MNaming_NamingRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MNaming_NamingRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MNaming_NamingRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MNaming_NamingRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPCAF/Handle_MNaming_NamingRetrievalDriver_1.hxx b/src/FromOCCT/TKPCAF/Handle_MNaming_NamingRetrievalDriver_1.hxx new file mode 100644 index 000000000..19a209fa7 --- /dev/null +++ b/src/FromOCCT/TKPCAF/Handle_MNaming_NamingRetrievalDriver_1.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MNaming_NamingRetrievalDriver_1_HeaderFile +#define _Handle_MNaming_NamingRetrievalDriver_1_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MNaming_NamingRetrievalDriver_1; + +DEFINE_STANDARD_HANDLE(MNaming_NamingRetrievalDriver_1, MDF_ARDriver) + +#endif // _Handle_MNaming_NamingRetrievalDriver_1_HeaderFile diff --git a/src/FromOCCT/TKPCAF/Handle_MNaming_NamingRetrievalDriver_2.hxx b/src/FromOCCT/TKPCAF/Handle_MNaming_NamingRetrievalDriver_2.hxx new file mode 100644 index 000000000..bbbe3557f --- /dev/null +++ b/src/FromOCCT/TKPCAF/Handle_MNaming_NamingRetrievalDriver_2.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MNaming_NamingRetrievalDriver_2_HeaderFile +#define _Handle_MNaming_NamingRetrievalDriver_2_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MNaming_NamingRetrievalDriver_2; + +DEFINE_STANDARD_HANDLE(MNaming_NamingRetrievalDriver_2, MDF_ARDriver) + +#endif // _Handle_MNaming_NamingRetrievalDriver_2_HeaderFile diff --git a/src/FromOCCT/TKPCAF/Handle_MNaming_NamingStorageDriver.hxx b/src/FromOCCT/TKPCAF/Handle_MNaming_NamingStorageDriver.hxx new file mode 100644 index 000000000..e2e3f9ebf --- /dev/null +++ b/src/FromOCCT/TKPCAF/Handle_MNaming_NamingStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MNaming_NamingStorageDriver_HeaderFile +#define _Handle_MNaming_NamingStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MNaming_NamingStorageDriver; + +DEFINE_STANDARD_HANDLE(MNaming_NamingStorageDriver, MDF_ASDriver) + +#endif // _Handle_MNaming_NamingStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPCAF/Handle_MPrsStd_AISPresentationRetrievalDriver.hxx b/src/FromOCCT/TKPCAF/Handle_MPrsStd_AISPresentationRetrievalDriver.hxx new file mode 100644 index 000000000..91e45a442 --- /dev/null +++ b/src/FromOCCT/TKPCAF/Handle_MPrsStd_AISPresentationRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MPrsStd_AISPresentationRetrievalDriver_HeaderFile +#define _Handle_MPrsStd_AISPresentationRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MPrsStd_AISPresentationRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MPrsStd_AISPresentationRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MPrsStd_AISPresentationRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPCAF/Handle_MPrsStd_AISPresentationRetrievalDriver_1.hxx b/src/FromOCCT/TKPCAF/Handle_MPrsStd_AISPresentationRetrievalDriver_1.hxx new file mode 100644 index 000000000..a47f1cb87 --- /dev/null +++ b/src/FromOCCT/TKPCAF/Handle_MPrsStd_AISPresentationRetrievalDriver_1.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MPrsStd_AISPresentationRetrievalDriver_1_HeaderFile +#define _Handle_MPrsStd_AISPresentationRetrievalDriver_1_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MPrsStd_AISPresentationRetrievalDriver_1; + +DEFINE_STANDARD_HANDLE(MPrsStd_AISPresentationRetrievalDriver_1, MDF_ARDriver) + +#endif // _Handle_MPrsStd_AISPresentationRetrievalDriver_1_HeaderFile diff --git a/src/FromOCCT/TKPCAF/Handle_MPrsStd_AISPresentationStorageDriver.hxx b/src/FromOCCT/TKPCAF/Handle_MPrsStd_AISPresentationStorageDriver.hxx new file mode 100644 index 000000000..a0261a2ef --- /dev/null +++ b/src/FromOCCT/TKPCAF/Handle_MPrsStd_AISPresentationStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MPrsStd_AISPresentationStorageDriver_HeaderFile +#define _Handle_MPrsStd_AISPresentationStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MPrsStd_AISPresentationStorageDriver; + +DEFINE_STANDARD_HANDLE(MPrsStd_AISPresentationStorageDriver, MDF_ASDriver) + +#endif // _Handle_MPrsStd_AISPresentationStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPCAF/Handle_MPrsStd_PositionRetrievalDriver.hxx b/src/FromOCCT/TKPCAF/Handle_MPrsStd_PositionRetrievalDriver.hxx new file mode 100644 index 000000000..cc2248eb0 --- /dev/null +++ b/src/FromOCCT/TKPCAF/Handle_MPrsStd_PositionRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MPrsStd_PositionRetrievalDriver_HeaderFile +#define _Handle_MPrsStd_PositionRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MPrsStd_PositionRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MPrsStd_PositionRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MPrsStd_PositionRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPCAF/Handle_MPrsStd_PositionStorageDriver.hxx b/src/FromOCCT/TKPCAF/Handle_MPrsStd_PositionStorageDriver.hxx new file mode 100644 index 000000000..059394842 --- /dev/null +++ b/src/FromOCCT/TKPCAF/Handle_MPrsStd_PositionStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MPrsStd_PositionStorageDriver_HeaderFile +#define _Handle_MPrsStd_PositionStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MPrsStd_PositionStorageDriver; + +DEFINE_STANDARD_HANDLE(MPrsStd_PositionStorageDriver, MDF_ASDriver) + +#endif // _Handle_MPrsStd_PositionStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPCAF/Handle_PDataXtd_Axis.hxx b/src/FromOCCT/TKPCAF/Handle_PDataXtd_Axis.hxx new file mode 100644 index 000000000..fb76f73c9 --- /dev/null +++ b/src/FromOCCT/TKPCAF/Handle_PDataXtd_Axis.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDataXtd_Axis_HeaderFile +#define _Handle_PDataXtd_Axis_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PDataXtd_Axis; + +DEFINE_STANDARD_PHANDLE(PDataXtd_Axis,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKPCAF/Handle_PDataXtd_Constraint.hxx b/src/FromOCCT/TKPCAF/Handle_PDataXtd_Constraint.hxx new file mode 100644 index 000000000..90131c422 --- /dev/null +++ b/src/FromOCCT/TKPCAF/Handle_PDataXtd_Constraint.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDataXtd_Constraint_HeaderFile +#define _Handle_PDataXtd_Constraint_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PDataXtd_Constraint; + +DEFINE_STANDARD_PHANDLE(PDataXtd_Constraint,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKPCAF/Handle_PDataXtd_Geometry.hxx b/src/FromOCCT/TKPCAF/Handle_PDataXtd_Geometry.hxx new file mode 100644 index 000000000..a8bdaeb14 --- /dev/null +++ b/src/FromOCCT/TKPCAF/Handle_PDataXtd_Geometry.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDataXtd_Geometry_HeaderFile +#define _Handle_PDataXtd_Geometry_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PDataXtd_Geometry; + +DEFINE_STANDARD_PHANDLE(PDataXtd_Geometry,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKPCAF/Handle_PDataXtd_PatternStd.hxx b/src/FromOCCT/TKPCAF/Handle_PDataXtd_PatternStd.hxx new file mode 100644 index 000000000..2eab5c713 --- /dev/null +++ b/src/FromOCCT/TKPCAF/Handle_PDataXtd_PatternStd.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDataXtd_PatternStd_HeaderFile +#define _Handle_PDataXtd_PatternStd_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PDataXtd_PatternStd; + +DEFINE_STANDARD_PHANDLE(PDataXtd_PatternStd,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKPCAF/Handle_PDataXtd_Placement.hxx b/src/FromOCCT/TKPCAF/Handle_PDataXtd_Placement.hxx new file mode 100644 index 000000000..e5298039f --- /dev/null +++ b/src/FromOCCT/TKPCAF/Handle_PDataXtd_Placement.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDataXtd_Placement_HeaderFile +#define _Handle_PDataXtd_Placement_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PDataXtd_Placement; + +DEFINE_STANDARD_PHANDLE(PDataXtd_Placement,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKPCAF/Handle_PDataXtd_Plane.hxx b/src/FromOCCT/TKPCAF/Handle_PDataXtd_Plane.hxx new file mode 100644 index 000000000..cd8cb59d6 --- /dev/null +++ b/src/FromOCCT/TKPCAF/Handle_PDataXtd_Plane.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDataXtd_Plane_HeaderFile +#define _Handle_PDataXtd_Plane_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PDataXtd_Plane; + +DEFINE_STANDARD_PHANDLE(PDataXtd_Plane,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKPCAF/Handle_PDataXtd_Point.hxx b/src/FromOCCT/TKPCAF/Handle_PDataXtd_Point.hxx new file mode 100644 index 000000000..556959d67 --- /dev/null +++ b/src/FromOCCT/TKPCAF/Handle_PDataXtd_Point.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDataXtd_Point_HeaderFile +#define _Handle_PDataXtd_Point_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PDataXtd_Point; + +DEFINE_STANDARD_PHANDLE(PDataXtd_Point,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKPCAF/Handle_PDataXtd_Position.hxx b/src/FromOCCT/TKPCAF/Handle_PDataXtd_Position.hxx new file mode 100644 index 000000000..d63c164be --- /dev/null +++ b/src/FromOCCT/TKPCAF/Handle_PDataXtd_Position.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDataXtd_Position_HeaderFile +#define _Handle_PDataXtd_Position_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PDataXtd_Position; + +DEFINE_STANDARD_PHANDLE(PDataXtd_Position,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKPCAF/Handle_PDataXtd_Shape.hxx b/src/FromOCCT/TKPCAF/Handle_PDataXtd_Shape.hxx new file mode 100644 index 000000000..fe4367c1b --- /dev/null +++ b/src/FromOCCT/TKPCAF/Handle_PDataXtd_Shape.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDataXtd_Shape_HeaderFile +#define _Handle_PDataXtd_Shape_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PDataXtd_Shape; + +DEFINE_STANDARD_PHANDLE(PDataXtd_Shape,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKPCAF/Handle_PNaming_HArray1OfNamedShape.hxx b/src/FromOCCT/TKPCAF/Handle_PNaming_HArray1OfNamedShape.hxx new file mode 100644 index 000000000..de0aa7f64 --- /dev/null +++ b/src/FromOCCT/TKPCAF/Handle_PNaming_HArray1OfNamedShape.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PNaming_HArray1OfNamedShape_HeaderFile +#define _Handle_PNaming_HArray1OfNamedShape_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PNaming_HArray1OfNamedShape; + +DEFINE_STANDARD_PHANDLE(PNaming_HArray1OfNamedShape,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKPCAF/Handle_PNaming_Name.hxx b/src/FromOCCT/TKPCAF/Handle_PNaming_Name.hxx new file mode 100644 index 000000000..e329ac358 --- /dev/null +++ b/src/FromOCCT/TKPCAF/Handle_PNaming_Name.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PNaming_Name_HeaderFile +#define _Handle_PNaming_Name_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PNaming_Name; + +DEFINE_STANDARD_PHANDLE(PNaming_Name,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKPCAF/Handle_PNaming_Name_1.hxx b/src/FromOCCT/TKPCAF/Handle_PNaming_Name_1.hxx new file mode 100644 index 000000000..ce7486c05 --- /dev/null +++ b/src/FromOCCT/TKPCAF/Handle_PNaming_Name_1.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PNaming_Name_1_HeaderFile +#define _Handle_PNaming_Name_1_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PNaming_Name_1; + +DEFINE_STANDARD_PHANDLE(PNaming_Name_1,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKPCAF/Handle_PNaming_Name_2.hxx b/src/FromOCCT/TKPCAF/Handle_PNaming_Name_2.hxx new file mode 100644 index 000000000..c69441f1f --- /dev/null +++ b/src/FromOCCT/TKPCAF/Handle_PNaming_Name_2.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PNaming_Name_2_HeaderFile +#define _Handle_PNaming_Name_2_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PNaming_Name_2; + +DEFINE_STANDARD_PHANDLE(PNaming_Name_2,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKPCAF/Handle_PNaming_NamedShape.hxx b/src/FromOCCT/TKPCAF/Handle_PNaming_NamedShape.hxx new file mode 100644 index 000000000..a780ccec7 --- /dev/null +++ b/src/FromOCCT/TKPCAF/Handle_PNaming_NamedShape.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PNaming_NamedShape_HeaderFile +#define _Handle_PNaming_NamedShape_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PNaming_NamedShape; + +DEFINE_STANDARD_PHANDLE(PNaming_NamedShape,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKPCAF/Handle_PNaming_Naming.hxx b/src/FromOCCT/TKPCAF/Handle_PNaming_Naming.hxx new file mode 100644 index 000000000..7571d9702 --- /dev/null +++ b/src/FromOCCT/TKPCAF/Handle_PNaming_Naming.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PNaming_Naming_HeaderFile +#define _Handle_PNaming_Naming_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PNaming_Naming; + +DEFINE_STANDARD_PHANDLE(PNaming_Naming,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKPCAF/Handle_PNaming_Naming_1.hxx b/src/FromOCCT/TKPCAF/Handle_PNaming_Naming_1.hxx new file mode 100644 index 000000000..cdb48a384 --- /dev/null +++ b/src/FromOCCT/TKPCAF/Handle_PNaming_Naming_1.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PNaming_Naming_1_HeaderFile +#define _Handle_PNaming_Naming_1_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PNaming_Naming_1; + +DEFINE_STANDARD_PHANDLE(PNaming_Naming_1,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKPCAF/Handle_PNaming_Naming_2.hxx b/src/FromOCCT/TKPCAF/Handle_PNaming_Naming_2.hxx new file mode 100644 index 000000000..f63d36b9d --- /dev/null +++ b/src/FromOCCT/TKPCAF/Handle_PNaming_Naming_2.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PNaming_Naming_2_HeaderFile +#define _Handle_PNaming_Naming_2_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PNaming_Naming_2; + +DEFINE_STANDARD_PHANDLE(PNaming_Naming_2,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKPCAF/Handle_PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape.hxx b/src/FromOCCT/TKPCAF/Handle_PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape.hxx new file mode 100644 index 000000000..29d4f5f58 --- /dev/null +++ b/src/FromOCCT/TKPCAF/Handle_PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape_HeaderFile +#define _Handle_PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PStandard_ArrayNode); +class PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape; + +DEFINE_STANDARD_PHANDLE(PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape,PStandard_ArrayNode) + +#endif diff --git a/src/FromOCCT/TKPCAF/Handle_PPrsStd_AISPresentation.hxx b/src/FromOCCT/TKPCAF/Handle_PPrsStd_AISPresentation.hxx new file mode 100644 index 000000000..54a4aaae5 --- /dev/null +++ b/src/FromOCCT/TKPCAF/Handle_PPrsStd_AISPresentation.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PPrsStd_AISPresentation_HeaderFile +#define _Handle_PPrsStd_AISPresentation_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PPrsStd_AISPresentation; + +DEFINE_STANDARD_PHANDLE(PPrsStd_AISPresentation,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKPCAF/Handle_PPrsStd_AISPresentation_1.hxx b/src/FromOCCT/TKPCAF/Handle_PPrsStd_AISPresentation_1.hxx new file mode 100644 index 000000000..d7302b931 --- /dev/null +++ b/src/FromOCCT/TKPCAF/Handle_PPrsStd_AISPresentation_1.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PPrsStd_AISPresentation_1_HeaderFile +#define _Handle_PPrsStd_AISPresentation_1_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PPrsStd_AISPresentation_1; + +DEFINE_STANDARD_PHANDLE(PPrsStd_AISPresentation_1,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKPCAF/MDataXtd.cxx b/src/FromOCCT/TKPCAF/MDataXtd.cxx new file mode 100644 index 000000000..b42ac20b2 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd.cxx @@ -0,0 +1,315 @@ +// 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 +#include +#include +#include +// Storage +#include +#include +#include +#include +#include +#include +#include +#include + +// Retrieval +#include +#include +#include +#include +#include +#include +#include +#include + +// enums +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKPCAF/MDataXtd.hxx b/src/FromOCCT/TKPCAF/MDataXtd.hxx new file mode 100644 index 000000000..7bf56b976 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd.hxx @@ -0,0 +1,120 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataXtd_HeaderFile +#define _MDataXtd_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +class MDF_ASDriverHSequence; +class CDM_MessageDriver; +class MDF_ARDriverHSequence; +class PGeom_Geometry; +class Geom_Geometry; +class MDataXtd_ShapeStorageDriver; +class MDataXtd_PointStorageDriver; +class MDataXtd_AxisStorageDriver; +class MDataXtd_PlaneStorageDriver; +class MDataXtd_GeometryStorageDriver; +class MDataXtd_ConstraintStorageDriver; +class MDataXtd_PlacementStorageDriver; +class MDataXtd_PatternStdStorageDriver; +class MDataXtd_ShapeRetrievalDriver; +class MDataXtd_PointRetrievalDriver; +class MDataXtd_AxisRetrievalDriver; +class MDataXtd_PlaneRetrievalDriver; +class MDataXtd_GeometryRetrievalDriver; +class MDataXtd_ConstraintRetrievalDriver; +class MDataXtd_PlacementRetrievalDriver; +class MDataXtd_PatternStdRetrievalDriver; + + +//! Storage and Retrieval drivers for modelling +//! attributes. Transient attributes are defined in +//! package TDataStd and persistent one are defined in +//! package PDataStd +class MDataXtd +{ +public: + + DEFINE_STANDARD_ALLOC + + + //! Adds the attribute storage drivers to . + Standard_EXPORT static void AddStorageDrivers (const Handle(MDF_ASDriverHSequence)& aDriverSeq, const Handle(CDM_MessageDriver)& theMessageDriver) ; + + //! Adds the attribute retrieval drivers to . + Standard_EXPORT static void AddRetrievalDrivers (const Handle(MDF_ARDriverHSequence)& aDriverSeq, const Handle(CDM_MessageDriver)& theMessageDriver) ; + + //! Method to launch in MgtGeom + //! Delete MDataStd_1.cxx + //! Modify MDataStd_GeometryStorageDriver::Paste + Standard_EXPORT static Handle(PGeom_Geometry) Translate (const Handle(Geom_Geometry)& Geometry) ; + + //! Method to lasunch in MgtGeom + //! Delete MDataStd_1.cxx + //! Modify MDataStd_GeometryRetrievalDriver::Paste + //! Translation of TDataXtd enumerations to integer + //! =============================================== + Standard_EXPORT static Handle(Geom_Geometry) Translate (const Handle(PGeom_Geometry)& Geometry) ; + + Standard_EXPORT static Standard_Integer ConstraintTypeToInteger (const TDataXtd_ConstraintEnum e) ; + + Standard_EXPORT static TDataXtd_ConstraintEnum IntegerToConstraintType (const Standard_Integer i) ; + + Standard_EXPORT static Standard_Integer GeometryTypeToInteger (const TDataXtd_GeometryEnum e) ; + + Standard_EXPORT static TDataXtd_GeometryEnum IntegerToGeometryType (const Standard_Integer i) ; + + + + +protected: + + + + + +private: + + + + +friend class MDataXtd_ShapeStorageDriver; +friend class MDataXtd_PointStorageDriver; +friend class MDataXtd_AxisStorageDriver; +friend class MDataXtd_PlaneStorageDriver; +friend class MDataXtd_GeometryStorageDriver; +friend class MDataXtd_ConstraintStorageDriver; +friend class MDataXtd_PlacementStorageDriver; +friend class MDataXtd_PatternStdStorageDriver; +friend class MDataXtd_ShapeRetrievalDriver; +friend class MDataXtd_PointRetrievalDriver; +friend class MDataXtd_AxisRetrievalDriver; +friend class MDataXtd_PlaneRetrievalDriver; +friend class MDataXtd_GeometryRetrievalDriver; +friend class MDataXtd_ConstraintRetrievalDriver; +friend class MDataXtd_PlacementRetrievalDriver; +friend class MDataXtd_PatternStdRetrievalDriver; + +}; + + + + + + + +#endif // _MDataXtd_HeaderFile diff --git a/src/FromOCCT/TKPCAF/MDataXtd.ixx b/src/FromOCCT/TKPCAF/MDataXtd.ixx new file mode 100644 index 000000000..afb693e70 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd.ixx @@ -0,0 +1,10 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + + + + diff --git a/src/FromOCCT/TKPCAF/MDataXtd.jxx b/src/FromOCCT/TKPCAF/MDataXtd.jxx new file mode 100644 index 000000000..cfb1fedac --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPCAF/MDataXtd_AxisRetrievalDriver.cxx b/src/FromOCCT/TKPCAF/MDataXtd_AxisRetrievalDriver.cxx new file mode 100644 index 000000000..53ac04cd2 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_AxisRetrievalDriver.cxx @@ -0,0 +1,36 @@ +// Copyright (c) 1999-2014 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + +#include +#include +#include +#include + +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/FromOCCT/TKPCAF/MDataXtd_AxisRetrievalDriver.hxx b/src/FromOCCT/TKPCAF/MDataXtd_AxisRetrievalDriver.hxx new file mode 100644 index 000000000..982864929 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_AxisRetrievalDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataXtd_AxisRetrievalDriver_HeaderFile +#define _MDataXtd_AxisRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MDataXtd_AxisRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MDataXtd_AxisRetrievalDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: Axis from PDataXtd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataXtd_AxisRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataXtd_AxisRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPCAF/MDataXtd_AxisRetrievalDriver.ixx b/src/FromOCCT/TKPCAF/MDataXtd_AxisRetrievalDriver.ixx new file mode 100644 index 000000000..6a01f0064 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_AxisRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataXtd_AxisRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataXtd_AxisRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MDataXtd_AxisRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataXtd_AxisRetrievalDriver) + + + diff --git a/src/FromOCCT/TKPCAF/MDataXtd_AxisRetrievalDriver.jxx b/src/FromOCCT/TKPCAF/MDataXtd_AxisRetrievalDriver.jxx new file mode 100644 index 000000000..ac0b74492 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_AxisRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPCAF/MDataXtd_AxisStorageDriver.cxx b/src/FromOCCT/TKPCAF/MDataXtd_AxisStorageDriver.cxx new file mode 100644 index 000000000..e27fcb13d --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_AxisStorageDriver.cxx @@ -0,0 +1,35 @@ +// Copyright (c) 1999-2014 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + +#include +#include +#include +#include + +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/FromOCCT/TKPCAF/MDataXtd_AxisStorageDriver.hxx b/src/FromOCCT/TKPCAF/MDataXtd_AxisStorageDriver.hxx new file mode 100644 index 000000000..a931ae7c9 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_AxisStorageDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataXtd_AxisStorageDriver_HeaderFile +#define _MDataXtd_AxisStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + + +class MDataXtd_AxisStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MDataXtd_AxisStorageDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: Integer from TDataStd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataXtd_AxisStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataXtd_AxisStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPCAF/MDataXtd_AxisStorageDriver.ixx b/src/FromOCCT/TKPCAF/MDataXtd_AxisStorageDriver.ixx new file mode 100644 index 000000000..357c2e31d --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_AxisStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataXtd_AxisStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataXtd_AxisStorageDriver) + + +IMPLEMENT_DOWNCAST(MDataXtd_AxisStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataXtd_AxisStorageDriver) + + + diff --git a/src/FromOCCT/TKPCAF/MDataXtd_AxisStorageDriver.jxx b/src/FromOCCT/TKPCAF/MDataXtd_AxisStorageDriver.jxx new file mode 100644 index 000000000..4b1b5773e --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_AxisStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPCAF/MDataXtd_ConstraintRetrievalDriver.cxx b/src/FromOCCT/TKPCAF/MDataXtd_ConstraintRetrievalDriver.cxx new file mode 100644 index 000000000..b7990e016 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_ConstraintRetrievalDriver.cxx @@ -0,0 +1,120 @@ +// Copyright (c) 1999-2014 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + +//======================================================================= +//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/FromOCCT/TKPCAF/MDataXtd_ConstraintRetrievalDriver.hxx b/src/FromOCCT/TKPCAF/MDataXtd_ConstraintRetrievalDriver.hxx new file mode 100644 index 000000000..1f2504ebc --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_ConstraintRetrievalDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataXtd_ConstraintRetrievalDriver_HeaderFile +#define _MDataXtd_ConstraintRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MDataXtd_ConstraintRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MDataXtd_ConstraintRetrievalDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: Constraint from PDataXtd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataXtd_ConstraintRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataXtd_ConstraintRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPCAF/MDataXtd_ConstraintRetrievalDriver.ixx b/src/FromOCCT/TKPCAF/MDataXtd_ConstraintRetrievalDriver.ixx new file mode 100644 index 000000000..bae1caaf4 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_ConstraintRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataXtd_ConstraintRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataXtd_ConstraintRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MDataXtd_ConstraintRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataXtd_ConstraintRetrievalDriver) + + + diff --git a/src/FromOCCT/TKPCAF/MDataXtd_ConstraintRetrievalDriver.jxx b/src/FromOCCT/TKPCAF/MDataXtd_ConstraintRetrievalDriver.jxx new file mode 100644 index 000000000..f020e465e --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_ConstraintRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPCAF/MDataXtd_ConstraintStorageDriver.cxx b/src/FromOCCT/TKPCAF/MDataXtd_ConstraintStorageDriver.cxx new file mode 100644 index 000000000..56bdd75d3 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_ConstraintStorageDriver.cxx @@ -0,0 +1,123 @@ +// Copyright (c) 1999-2014 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +//======================================================================= +//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/FromOCCT/TKPCAF/MDataXtd_ConstraintStorageDriver.hxx b/src/FromOCCT/TKPCAF/MDataXtd_ConstraintStorageDriver.hxx new file mode 100644 index 000000000..3dcf02b55 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_ConstraintStorageDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataXtd_ConstraintStorageDriver_HeaderFile +#define _MDataXtd_ConstraintStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + + +class MDataXtd_ConstraintStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MDataXtd_ConstraintStorageDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: Integer from TDataStd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataXtd_ConstraintStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataXtd_ConstraintStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPCAF/MDataXtd_ConstraintStorageDriver.ixx b/src/FromOCCT/TKPCAF/MDataXtd_ConstraintStorageDriver.ixx new file mode 100644 index 000000000..2d7921ae3 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_ConstraintStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataXtd_ConstraintStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataXtd_ConstraintStorageDriver) + + +IMPLEMENT_DOWNCAST(MDataXtd_ConstraintStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataXtd_ConstraintStorageDriver) + + + diff --git a/src/FromOCCT/TKPCAF/MDataXtd_ConstraintStorageDriver.jxx b/src/FromOCCT/TKPCAF/MDataXtd_ConstraintStorageDriver.jxx new file mode 100644 index 000000000..da947eeb0 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_ConstraintStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPCAF/MDataXtd_GeometryRetrievalDriver.cxx b/src/FromOCCT/TKPCAF/MDataXtd_GeometryRetrievalDriver.cxx new file mode 100644 index 000000000..f2e5ae437 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_GeometryRetrievalDriver.cxx @@ -0,0 +1,85 @@ +// 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 +#include +#include +#include +#include +#include + + + +//======================================================================= +//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/FromOCCT/TKPCAF/MDataXtd_GeometryRetrievalDriver.hxx b/src/FromOCCT/TKPCAF/MDataXtd_GeometryRetrievalDriver.hxx new file mode 100644 index 000000000..5dee54c63 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_GeometryRetrievalDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataXtd_GeometryRetrievalDriver_HeaderFile +#define _MDataXtd_GeometryRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MDataXtd_GeometryRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MDataXtd_GeometryRetrievalDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: Geometry from PDataXtd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataXtd_GeometryRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataXtd_GeometryRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPCAF/MDataXtd_GeometryRetrievalDriver.ixx b/src/FromOCCT/TKPCAF/MDataXtd_GeometryRetrievalDriver.ixx new file mode 100644 index 000000000..bdf6d6351 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_GeometryRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataXtd_GeometryRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataXtd_GeometryRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MDataXtd_GeometryRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataXtd_GeometryRetrievalDriver) + + + diff --git a/src/FromOCCT/TKPCAF/MDataXtd_GeometryRetrievalDriver.jxx b/src/FromOCCT/TKPCAF/MDataXtd_GeometryRetrievalDriver.jxx new file mode 100644 index 000000000..5488545dd --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_GeometryRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPCAF/MDataXtd_GeometryStorageDriver.cxx b/src/FromOCCT/TKPCAF/MDataXtd_GeometryStorageDriver.cxx new file mode 100644 index 000000000..a0dfced20 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_GeometryStorageDriver.cxx @@ -0,0 +1,85 @@ +// 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 +#include +#include +#include +#include +#include + + +//======================================================================= +//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/FromOCCT/TKPCAF/MDataXtd_GeometryStorageDriver.hxx b/src/FromOCCT/TKPCAF/MDataXtd_GeometryStorageDriver.hxx new file mode 100644 index 000000000..ff261d602 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_GeometryStorageDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataXtd_GeometryStorageDriver_HeaderFile +#define _MDataXtd_GeometryStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + + +class MDataXtd_GeometryStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MDataXtd_GeometryStorageDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: Integer from TDataStd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataXtd_GeometryStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataXtd_GeometryStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPCAF/MDataXtd_GeometryStorageDriver.ixx b/src/FromOCCT/TKPCAF/MDataXtd_GeometryStorageDriver.ixx new file mode 100644 index 000000000..b8aa02a97 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_GeometryStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataXtd_GeometryStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataXtd_GeometryStorageDriver) + + +IMPLEMENT_DOWNCAST(MDataXtd_GeometryStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataXtd_GeometryStorageDriver) + + + diff --git a/src/FromOCCT/TKPCAF/MDataXtd_GeometryStorageDriver.jxx b/src/FromOCCT/TKPCAF/MDataXtd_GeometryStorageDriver.jxx new file mode 100644 index 000000000..2a35f6dba --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_GeometryStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPCAF/MDataXtd_PatternStdRetrievalDriver.cxx b/src/FromOCCT/TKPCAF/MDataXtd_PatternStdRetrievalDriver.cxx new file mode 100644 index 000000000..711045e8e --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_PatternStdRetrievalDriver.cxx @@ -0,0 +1,116 @@ +// 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 +#include +#include +#include + + +//======================================================================= +//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/FromOCCT/TKPCAF/MDataXtd_PatternStdRetrievalDriver.hxx b/src/FromOCCT/TKPCAF/MDataXtd_PatternStdRetrievalDriver.hxx new file mode 100644 index 000000000..c39c31e99 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_PatternStdRetrievalDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataXtd_PatternStdRetrievalDriver_HeaderFile +#define _MDataXtd_PatternStdRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MDataXtd_PatternStdRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MDataXtd_PatternStdRetrievalDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: PatternStd from PDataXtd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataXtd_PatternStdRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataXtd_PatternStdRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPCAF/MDataXtd_PatternStdRetrievalDriver.ixx b/src/FromOCCT/TKPCAF/MDataXtd_PatternStdRetrievalDriver.ixx new file mode 100644 index 000000000..88dc14b53 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_PatternStdRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataXtd_PatternStdRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataXtd_PatternStdRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MDataXtd_PatternStdRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataXtd_PatternStdRetrievalDriver) + + + diff --git a/src/FromOCCT/TKPCAF/MDataXtd_PatternStdRetrievalDriver.jxx b/src/FromOCCT/TKPCAF/MDataXtd_PatternStdRetrievalDriver.jxx new file mode 100644 index 000000000..112f80419 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_PatternStdRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPCAF/MDataXtd_PatternStdStorageDriver.cxx b/src/FromOCCT/TKPCAF/MDataXtd_PatternStdStorageDriver.cxx new file mode 100644 index 000000000..ea89069d9 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_PatternStdStorageDriver.cxx @@ -0,0 +1,119 @@ +// 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 +#include +#include +#include + + +//======================================================================= +//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/FromOCCT/TKPCAF/MDataXtd_PatternStdStorageDriver.hxx b/src/FromOCCT/TKPCAF/MDataXtd_PatternStdStorageDriver.hxx new file mode 100644 index 000000000..67ff05fdf --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_PatternStdStorageDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataXtd_PatternStdStorageDriver_HeaderFile +#define _MDataXtd_PatternStdStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + + +class MDataXtd_PatternStdStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MDataXtd_PatternStdStorageDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: Integer from TDataStd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataXtd_PatternStdStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataXtd_PatternStdStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPCAF/MDataXtd_PatternStdStorageDriver.ixx b/src/FromOCCT/TKPCAF/MDataXtd_PatternStdStorageDriver.ixx new file mode 100644 index 000000000..8e4bdbe55 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_PatternStdStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataXtd_PatternStdStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataXtd_PatternStdStorageDriver) + + +IMPLEMENT_DOWNCAST(MDataXtd_PatternStdStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataXtd_PatternStdStorageDriver) + + + diff --git a/src/FromOCCT/TKPCAF/MDataXtd_PatternStdStorageDriver.jxx b/src/FromOCCT/TKPCAF/MDataXtd_PatternStdStorageDriver.jxx new file mode 100644 index 000000000..a9087721e --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_PatternStdStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPCAF/MDataXtd_PlacementRetrievalDriver.cxx b/src/FromOCCT/TKPCAF/MDataXtd_PlacementRetrievalDriver.cxx new file mode 100644 index 000000000..cec7c19ef --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_PlacementRetrievalDriver.cxx @@ -0,0 +1,74 @@ +// Copyright (c) 1999-2014 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + +#include +#include +#include +#include + + +//======================================================================= +//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/FromOCCT/TKPCAF/MDataXtd_PlacementRetrievalDriver.hxx b/src/FromOCCT/TKPCAF/MDataXtd_PlacementRetrievalDriver.hxx new file mode 100644 index 000000000..710960148 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_PlacementRetrievalDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataXtd_PlacementRetrievalDriver_HeaderFile +#define _MDataXtd_PlacementRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MDataXtd_PlacementRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MDataXtd_PlacementRetrievalDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: Placement from PDataXtd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataXtd_PlacementRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataXtd_PlacementRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPCAF/MDataXtd_PlacementRetrievalDriver.ixx b/src/FromOCCT/TKPCAF/MDataXtd_PlacementRetrievalDriver.ixx new file mode 100644 index 000000000..7165020cc --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_PlacementRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataXtd_PlacementRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataXtd_PlacementRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MDataXtd_PlacementRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataXtd_PlacementRetrievalDriver) + + + diff --git a/src/FromOCCT/TKPCAF/MDataXtd_PlacementRetrievalDriver.jxx b/src/FromOCCT/TKPCAF/MDataXtd_PlacementRetrievalDriver.jxx new file mode 100644 index 000000000..a792a6770 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_PlacementRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPCAF/MDataXtd_PlacementStorageDriver.cxx b/src/FromOCCT/TKPCAF/MDataXtd_PlacementStorageDriver.cxx new file mode 100644 index 000000000..ea378dd61 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_PlacementStorageDriver.cxx @@ -0,0 +1,74 @@ +// Copyright (c) 1999-2014 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + +#include +#include +#include +#include + + +//======================================================================= +//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/FromOCCT/TKPCAF/MDataXtd_PlacementStorageDriver.hxx b/src/FromOCCT/TKPCAF/MDataXtd_PlacementStorageDriver.hxx new file mode 100644 index 000000000..08034ff2f --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_PlacementStorageDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataXtd_PlacementStorageDriver_HeaderFile +#define _MDataXtd_PlacementStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + + +class MDataXtd_PlacementStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MDataXtd_PlacementStorageDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: Integer from TDataStd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataXtd_PlacementStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataXtd_PlacementStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPCAF/MDataXtd_PlacementStorageDriver.ixx b/src/FromOCCT/TKPCAF/MDataXtd_PlacementStorageDriver.ixx new file mode 100644 index 000000000..d84fb0e81 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_PlacementStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataXtd_PlacementStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataXtd_PlacementStorageDriver) + + +IMPLEMENT_DOWNCAST(MDataXtd_PlacementStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataXtd_PlacementStorageDriver) + + + diff --git a/src/FromOCCT/TKPCAF/MDataXtd_PlacementStorageDriver.jxx b/src/FromOCCT/TKPCAF/MDataXtd_PlacementStorageDriver.jxx new file mode 100644 index 000000000..ad691a15f --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_PlacementStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPCAF/MDataXtd_PlaneRetrievalDriver.cxx b/src/FromOCCT/TKPCAF/MDataXtd_PlaneRetrievalDriver.cxx new file mode 100644 index 000000000..c543e6040 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_PlaneRetrievalDriver.cxx @@ -0,0 +1,36 @@ +// Copyright (c) 1999-2014 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + +#include +#include +#include +#include + +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/FromOCCT/TKPCAF/MDataXtd_PlaneRetrievalDriver.hxx b/src/FromOCCT/TKPCAF/MDataXtd_PlaneRetrievalDriver.hxx new file mode 100644 index 000000000..6b99bb4d3 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_PlaneRetrievalDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataXtd_PlaneRetrievalDriver_HeaderFile +#define _MDataXtd_PlaneRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MDataXtd_PlaneRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MDataXtd_PlaneRetrievalDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: Plane from PDataXtd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataXtd_PlaneRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataXtd_PlaneRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPCAF/MDataXtd_PlaneRetrievalDriver.ixx b/src/FromOCCT/TKPCAF/MDataXtd_PlaneRetrievalDriver.ixx new file mode 100644 index 000000000..b81352dbd --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_PlaneRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataXtd_PlaneRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataXtd_PlaneRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MDataXtd_PlaneRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataXtd_PlaneRetrievalDriver) + + + diff --git a/src/FromOCCT/TKPCAF/MDataXtd_PlaneRetrievalDriver.jxx b/src/FromOCCT/TKPCAF/MDataXtd_PlaneRetrievalDriver.jxx new file mode 100644 index 000000000..2bc1976a4 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_PlaneRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPCAF/MDataXtd_PlaneStorageDriver.cxx b/src/FromOCCT/TKPCAF/MDataXtd_PlaneStorageDriver.cxx new file mode 100644 index 000000000..dcf90ee73 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_PlaneStorageDriver.cxx @@ -0,0 +1,36 @@ +// Copyright (c) 1999-2014 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + +#include +#include +#include +#include + +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/FromOCCT/TKPCAF/MDataXtd_PlaneStorageDriver.hxx b/src/FromOCCT/TKPCAF/MDataXtd_PlaneStorageDriver.hxx new file mode 100644 index 000000000..f73145edd --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_PlaneStorageDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataXtd_PlaneStorageDriver_HeaderFile +#define _MDataXtd_PlaneStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + + +class MDataXtd_PlaneStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MDataXtd_PlaneStorageDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: Integer from TDataStd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataXtd_PlaneStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataXtd_PlaneStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPCAF/MDataXtd_PlaneStorageDriver.ixx b/src/FromOCCT/TKPCAF/MDataXtd_PlaneStorageDriver.ixx new file mode 100644 index 000000000..02f09bd49 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_PlaneStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataXtd_PlaneStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataXtd_PlaneStorageDriver) + + +IMPLEMENT_DOWNCAST(MDataXtd_PlaneStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataXtd_PlaneStorageDriver) + + + diff --git a/src/FromOCCT/TKPCAF/MDataXtd_PlaneStorageDriver.jxx b/src/FromOCCT/TKPCAF/MDataXtd_PlaneStorageDriver.jxx new file mode 100644 index 000000000..6e61441a3 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_PlaneStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPCAF/MDataXtd_PointRetrievalDriver.cxx b/src/FromOCCT/TKPCAF/MDataXtd_PointRetrievalDriver.cxx new file mode 100644 index 000000000..cad965d86 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_PointRetrievalDriver.cxx @@ -0,0 +1,36 @@ +// Copyright (c) 1999-2014 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + +#include +#include +#include +#include + +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/FromOCCT/TKPCAF/MDataXtd_PointRetrievalDriver.hxx b/src/FromOCCT/TKPCAF/MDataXtd_PointRetrievalDriver.hxx new file mode 100644 index 000000000..33cd9977d --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_PointRetrievalDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataXtd_PointRetrievalDriver_HeaderFile +#define _MDataXtd_PointRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MDataXtd_PointRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MDataXtd_PointRetrievalDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: Point from PDataXtd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataXtd_PointRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataXtd_PointRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPCAF/MDataXtd_PointRetrievalDriver.ixx b/src/FromOCCT/TKPCAF/MDataXtd_PointRetrievalDriver.ixx new file mode 100644 index 000000000..2e9b76c29 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_PointRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataXtd_PointRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataXtd_PointRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MDataXtd_PointRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataXtd_PointRetrievalDriver) + + + diff --git a/src/FromOCCT/TKPCAF/MDataXtd_PointRetrievalDriver.jxx b/src/FromOCCT/TKPCAF/MDataXtd_PointRetrievalDriver.jxx new file mode 100644 index 000000000..b7a31f486 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_PointRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPCAF/MDataXtd_PointStorageDriver.cxx b/src/FromOCCT/TKPCAF/MDataXtd_PointStorageDriver.cxx new file mode 100644 index 000000000..dfdf51a72 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_PointStorageDriver.cxx @@ -0,0 +1,35 @@ +// Copyright (c) 1999-2014 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + +#include +#include +#include +#include + +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/FromOCCT/TKPCAF/MDataXtd_PointStorageDriver.hxx b/src/FromOCCT/TKPCAF/MDataXtd_PointStorageDriver.hxx new file mode 100644 index 000000000..70a901103 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_PointStorageDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataXtd_PointStorageDriver_HeaderFile +#define _MDataXtd_PointStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + + +class MDataXtd_PointStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MDataXtd_PointStorageDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: Integer from TDataStd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataXtd_PointStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataXtd_PointStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPCAF/MDataXtd_PointStorageDriver.ixx b/src/FromOCCT/TKPCAF/MDataXtd_PointStorageDriver.ixx new file mode 100644 index 000000000..fb8add3fb --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_PointStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataXtd_PointStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataXtd_PointStorageDriver) + + +IMPLEMENT_DOWNCAST(MDataXtd_PointStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataXtd_PointStorageDriver) + + + diff --git a/src/FromOCCT/TKPCAF/MDataXtd_PointStorageDriver.jxx b/src/FromOCCT/TKPCAF/MDataXtd_PointStorageDriver.jxx new file mode 100644 index 000000000..645057165 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_PointStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPCAF/MDataXtd_ShapeRetrievalDriver.cxx b/src/FromOCCT/TKPCAF/MDataXtd_ShapeRetrievalDriver.cxx new file mode 100644 index 000000000..78e53ec94 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_ShapeRetrievalDriver.cxx @@ -0,0 +1,36 @@ +// Copyright (c) 1999-2014 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + +#include +#include +#include +#include + +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/FromOCCT/TKPCAF/MDataXtd_ShapeRetrievalDriver.hxx b/src/FromOCCT/TKPCAF/MDataXtd_ShapeRetrievalDriver.hxx new file mode 100644 index 000000000..8f7ea1c82 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_ShapeRetrievalDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataXtd_ShapeRetrievalDriver_HeaderFile +#define _MDataXtd_ShapeRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MDataXtd_ShapeRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MDataXtd_ShapeRetrievalDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: Shape from PDataXtd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataXtd_ShapeRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataXtd_ShapeRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPCAF/MDataXtd_ShapeRetrievalDriver.ixx b/src/FromOCCT/TKPCAF/MDataXtd_ShapeRetrievalDriver.ixx new file mode 100644 index 000000000..ee2cafb20 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_ShapeRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataXtd_ShapeRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataXtd_ShapeRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MDataXtd_ShapeRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataXtd_ShapeRetrievalDriver) + + + diff --git a/src/FromOCCT/TKPCAF/MDataXtd_ShapeRetrievalDriver.jxx b/src/FromOCCT/TKPCAF/MDataXtd_ShapeRetrievalDriver.jxx new file mode 100644 index 000000000..aa46a4502 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_ShapeRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPCAF/MDataXtd_ShapeStorageDriver.cxx b/src/FromOCCT/TKPCAF/MDataXtd_ShapeStorageDriver.cxx new file mode 100644 index 000000000..b2daee0f7 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_ShapeStorageDriver.cxx @@ -0,0 +1,36 @@ +// Copyright (c) 1999-2014 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + +#include +#include +#include +#include + +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/FromOCCT/TKPCAF/MDataXtd_ShapeStorageDriver.hxx b/src/FromOCCT/TKPCAF/MDataXtd_ShapeStorageDriver.hxx new file mode 100644 index 000000000..0e3fcda5f --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_ShapeStorageDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataXtd_ShapeStorageDriver_HeaderFile +#define _MDataXtd_ShapeStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + + +class MDataXtd_ShapeStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MDataXtd_ShapeStorageDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: Integer from TDataStd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataXtd_ShapeStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataXtd_ShapeStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPCAF/MDataXtd_ShapeStorageDriver.ixx b/src/FromOCCT/TKPCAF/MDataXtd_ShapeStorageDriver.ixx new file mode 100644 index 000000000..bfb72695b --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_ShapeStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataXtd_ShapeStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataXtd_ShapeStorageDriver) + + +IMPLEMENT_DOWNCAST(MDataXtd_ShapeStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataXtd_ShapeStorageDriver) + + + diff --git a/src/FromOCCT/TKPCAF/MDataXtd_ShapeStorageDriver.jxx b/src/FromOCCT/TKPCAF/MDataXtd_ShapeStorageDriver.jxx new file mode 100644 index 000000000..1fbc48c1c --- /dev/null +++ b/src/FromOCCT/TKPCAF/MDataXtd_ShapeStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPCAF/MNaming.cxx b/src/FromOCCT/TKPCAF/MNaming.cxx new file mode 100644 index 000000000..9e575a244 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MNaming.cxx @@ -0,0 +1,59 @@ +// 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 + +#include +#include +#include +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKPCAF/MNaming.hxx b/src/FromOCCT/TKPCAF/MNaming.hxx new file mode 100644 index 000000000..30a40e858 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MNaming.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MNaming_HeaderFile +#define _MNaming_HeaderFile + +#include +#include +#include + +#include +#include +#include +class MDF_ASDriverHSequence; +class CDM_MessageDriver; +class MDF_ARDriverHSequence; +class MNaming_NamedShapeRetrievalDriver; +class MNaming_NamingRetrievalDriver; +class MNaming_NamingRetrievalDriver_1; +class MNaming_NamingRetrievalDriver_2; +class MNaming_NamedShapeStorageDriver; +class MNaming_NamingStorageDriver; + + + +class MNaming +{ +public: + + DEFINE_STANDARD_ALLOC + + + //! Adds the attribute storage drivers to . + Standard_EXPORT static void AddStorageDrivers (const Handle(MDF_ASDriverHSequence)& aDriverSeq, const Handle(CDM_MessageDriver)& theMessageDriver) ; + + //! Adds the attribute retrieval drivers to . + Standard_EXPORT static void AddRetrievalDrivers (const Handle(MDF_ARDriverHSequence)& aDriverSeq, const Handle(CDM_MessageDriver)& theMessageDriver) ; + + + + +protected: + + + + + +private: + + + + +friend class MNaming_NamedShapeRetrievalDriver; +friend class MNaming_NamingRetrievalDriver; +friend class MNaming_NamingRetrievalDriver_1; +friend class MNaming_NamingRetrievalDriver_2; +friend class MNaming_NamedShapeStorageDriver; +friend class MNaming_NamingStorageDriver; + +}; + + + + + + + +#endif // _MNaming_HeaderFile diff --git a/src/FromOCCT/TKPCAF/MNaming.ixx b/src/FromOCCT/TKPCAF/MNaming.ixx new file mode 100644 index 000000000..ee052014c --- /dev/null +++ b/src/FromOCCT/TKPCAF/MNaming.ixx @@ -0,0 +1,10 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + + + + diff --git a/src/FromOCCT/TKPCAF/MNaming.jxx b/src/FromOCCT/TKPCAF/MNaming.jxx new file mode 100644 index 000000000..8d40908a9 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MNaming.jxx @@ -0,0 +1,4 @@ +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPCAF/MNaming_NamedShapeRetrievalDriver.cxx b/src/FromOCCT/TKPCAF/MNaming_NamedShapeRetrievalDriver.cxx new file mode 100644 index 000000000..88285fe85 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MNaming_NamedShapeRetrievalDriver.cxx @@ -0,0 +1,176 @@ +// 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 + +#include + +#include + +#include + +#include + +#include +#include + +#include +#include + +#include +#include +#include +#include +#include + +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< +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MNaming_NamedShapeRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MNaming_NamedShapeRetrievalDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type NamedShape from PNaming. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MNaming_NamedShapeRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MNaming_NamedShapeRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPCAF/MNaming_NamedShapeRetrievalDriver.ixx b/src/FromOCCT/TKPCAF/MNaming_NamedShapeRetrievalDriver.ixx new file mode 100644 index 000000000..a5395cd15 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MNaming_NamedShapeRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MNaming_NamedShapeRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MNaming_NamedShapeRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MNaming_NamedShapeRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MNaming_NamedShapeRetrievalDriver) + + + diff --git a/src/FromOCCT/TKPCAF/MNaming_NamedShapeRetrievalDriver.jxx b/src/FromOCCT/TKPCAF/MNaming_NamedShapeRetrievalDriver.jxx new file mode 100644 index 000000000..42676bd1f --- /dev/null +++ b/src/FromOCCT/TKPCAF/MNaming_NamedShapeRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPCAF/MNaming_NamedShapeStorageDriver.cxx b/src/FromOCCT/TKPCAF/MNaming_NamedShapeStorageDriver.cxx new file mode 100644 index 000000000..6c08ab169 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MNaming_NamedShapeStorageDriver.cxx @@ -0,0 +1,161 @@ +// 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 + +#include + +#include + +#include +#include + +#include + +#include + +#include +#include +#include +#include +#include + +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/FromOCCT/TKPCAF/MNaming_NamedShapeStorageDriver.hxx b/src/FromOCCT/TKPCAF/MNaming_NamedShapeStorageDriver.hxx new file mode 100644 index 000000000..a3d7bd127 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MNaming_NamedShapeStorageDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MNaming_NamedShapeStorageDriver_HeaderFile +#define _MNaming_NamedShapeStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + + +class MNaming_NamedShapeStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MNaming_NamedShapeStorageDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: NamedShape from PNaming. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MNaming_NamedShapeStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MNaming_NamedShapeStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPCAF/MNaming_NamedShapeStorageDriver.ixx b/src/FromOCCT/TKPCAF/MNaming_NamedShapeStorageDriver.ixx new file mode 100644 index 000000000..6ab825043 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MNaming_NamedShapeStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MNaming_NamedShapeStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MNaming_NamedShapeStorageDriver) + + +IMPLEMENT_DOWNCAST(MNaming_NamedShapeStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MNaming_NamedShapeStorageDriver) + + + diff --git a/src/FromOCCT/TKPCAF/MNaming_NamedShapeStorageDriver.jxx b/src/FromOCCT/TKPCAF/MNaming_NamedShapeStorageDriver.jxx new file mode 100644 index 000000000..317acef52 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MNaming_NamedShapeStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPCAF/MNaming_NamingRetrievalDriver.cxx b/src/FromOCCT/TKPCAF/MNaming_NamingRetrievalDriver.cxx new file mode 100644 index 000000000..56aea64f0 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MNaming_NamingRetrievalDriver.cxx @@ -0,0 +1,158 @@ +// 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 +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKPCAF/MNaming_NamingRetrievalDriver.hxx b/src/FromOCCT/TKPCAF/MNaming_NamingRetrievalDriver.hxx new file mode 100644 index 000000000..4d845d100 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MNaming_NamingRetrievalDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MNaming_NamingRetrievalDriver_HeaderFile +#define _MNaming_NamingRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MNaming_NamingRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MNaming_NamingRetrievalDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: Constraint from PDataStd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MNaming_NamingRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MNaming_NamingRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPCAF/MNaming_NamingRetrievalDriver.ixx b/src/FromOCCT/TKPCAF/MNaming_NamingRetrievalDriver.ixx new file mode 100644 index 000000000..c1e6cb012 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MNaming_NamingRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MNaming_NamingRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MNaming_NamingRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MNaming_NamingRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MNaming_NamingRetrievalDriver) + + + diff --git a/src/FromOCCT/TKPCAF/MNaming_NamingRetrievalDriver.jxx b/src/FromOCCT/TKPCAF/MNaming_NamingRetrievalDriver.jxx new file mode 100644 index 000000000..4ba4f152f --- /dev/null +++ b/src/FromOCCT/TKPCAF/MNaming_NamingRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPCAF/MNaming_NamingRetrievalDriver_1.cxx b/src/FromOCCT/TKPCAF/MNaming_NamingRetrievalDriver_1.cxx new file mode 100644 index 000000000..ba95fb85b --- /dev/null +++ b/src/FromOCCT/TKPCAF/MNaming_NamingRetrievalDriver_1.cxx @@ -0,0 +1,196 @@ +// 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 +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +//======================================================================= +//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 = " <Evolution() << " IsEmpty = " << aNS->IsEmpty() <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 <ChangeName().Orientation(OrientationToApply); + } + } + } + } + } + // +} + diff --git a/src/FromOCCT/TKPCAF/MNaming_NamingRetrievalDriver_1.hxx b/src/FromOCCT/TKPCAF/MNaming_NamingRetrievalDriver_1.hxx new file mode 100644 index 000000000..8e8d5806e --- /dev/null +++ b/src/FromOCCT/TKPCAF/MNaming_NamingRetrievalDriver_1.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MNaming_NamingRetrievalDriver_1_HeaderFile +#define _MNaming_NamingRetrievalDriver_1_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MNaming_NamingRetrievalDriver_1 : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MNaming_NamingRetrievalDriver_1(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: Naming from PNaming. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MNaming_NamingRetrievalDriver_1) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MNaming_NamingRetrievalDriver_1_HeaderFile diff --git a/src/FromOCCT/TKPCAF/MNaming_NamingRetrievalDriver_1.ixx b/src/FromOCCT/TKPCAF/MNaming_NamingRetrievalDriver_1.ixx new file mode 100644 index 000000000..9dc1a7d94 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MNaming_NamingRetrievalDriver_1.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MNaming_NamingRetrievalDriver_1) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MNaming_NamingRetrievalDriver_1) + + +IMPLEMENT_DOWNCAST(MNaming_NamingRetrievalDriver_1,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MNaming_NamingRetrievalDriver_1) + + + diff --git a/src/FromOCCT/TKPCAF/MNaming_NamingRetrievalDriver_1.jxx b/src/FromOCCT/TKPCAF/MNaming_NamingRetrievalDriver_1.jxx new file mode 100644 index 000000000..6605d45fa --- /dev/null +++ b/src/FromOCCT/TKPCAF/MNaming_NamingRetrievalDriver_1.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPCAF/MNaming_NamingRetrievalDriver_2.cxx b/src/FromOCCT/TKPCAF/MNaming_NamingRetrievalDriver_2.cxx new file mode 100644 index 000000000..2b525ba55 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MNaming_NamingRetrievalDriver_2.cxx @@ -0,0 +1,184 @@ +// 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 +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKPCAF/MNaming_NamingRetrievalDriver_2.hxx b/src/FromOCCT/TKPCAF/MNaming_NamingRetrievalDriver_2.hxx new file mode 100644 index 000000000..4f9270477 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MNaming_NamingRetrievalDriver_2.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MNaming_NamingRetrievalDriver_2_HeaderFile +#define _MNaming_NamingRetrievalDriver_2_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MNaming_NamingRetrievalDriver_2 : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MNaming_NamingRetrievalDriver_2(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: Naming from PNaming. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MNaming_NamingRetrievalDriver_2) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MNaming_NamingRetrievalDriver_2_HeaderFile diff --git a/src/FromOCCT/TKPCAF/MNaming_NamingRetrievalDriver_2.ixx b/src/FromOCCT/TKPCAF/MNaming_NamingRetrievalDriver_2.ixx new file mode 100644 index 000000000..01cc0d5c1 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MNaming_NamingRetrievalDriver_2.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MNaming_NamingRetrievalDriver_2) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MNaming_NamingRetrievalDriver_2) + + +IMPLEMENT_DOWNCAST(MNaming_NamingRetrievalDriver_2,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MNaming_NamingRetrievalDriver_2) + + + diff --git a/src/FromOCCT/TKPCAF/MNaming_NamingRetrievalDriver_2.jxx b/src/FromOCCT/TKPCAF/MNaming_NamingRetrievalDriver_2.jxx new file mode 100644 index 000000000..4ea2466bf --- /dev/null +++ b/src/FromOCCT/TKPCAF/MNaming_NamingRetrievalDriver_2.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPCAF/MNaming_NamingStorageDriver.cxx b/src/FromOCCT/TKPCAF/MNaming_NamingStorageDriver.cxx new file mode 100644 index 000000000..7f5fae9c7 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MNaming_NamingStorageDriver.cxx @@ -0,0 +1,196 @@ +// 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 +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKPCAF/MNaming_NamingStorageDriver.hxx b/src/FromOCCT/TKPCAF/MNaming_NamingStorageDriver.hxx new file mode 100644 index 000000000..8b9fdf3ed --- /dev/null +++ b/src/FromOCCT/TKPCAF/MNaming_NamingStorageDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MNaming_NamingStorageDriver_HeaderFile +#define _MNaming_NamingStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + + +class MNaming_NamingStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MNaming_NamingStorageDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: Integer from TDataStd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MNaming_NamingStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MNaming_NamingStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPCAF/MNaming_NamingStorageDriver.ixx b/src/FromOCCT/TKPCAF/MNaming_NamingStorageDriver.ixx new file mode 100644 index 000000000..608d18772 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MNaming_NamingStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MNaming_NamingStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MNaming_NamingStorageDriver) + + +IMPLEMENT_DOWNCAST(MNaming_NamingStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MNaming_NamingStorageDriver) + + + diff --git a/src/FromOCCT/TKPCAF/MNaming_NamingStorageDriver.jxx b/src/FromOCCT/TKPCAF/MNaming_NamingStorageDriver.jxx new file mode 100644 index 000000000..5b767ae1a --- /dev/null +++ b/src/FromOCCT/TKPCAF/MNaming_NamingStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPCAF/MPrsStd.cxx b/src/FromOCCT/TKPCAF/MPrsStd.cxx new file mode 100644 index 000000000..4fe10b5d4 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MPrsStd.cxx @@ -0,0 +1,56 @@ +// 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 +#include +#include +#include +#include +#include +//#include +//#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKPCAF/MPrsStd.hxx b/src/FromOCCT/TKPCAF/MPrsStd.hxx new file mode 100644 index 000000000..a936e4a16 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MPrsStd.hxx @@ -0,0 +1,71 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MPrsStd_HeaderFile +#define _MPrsStd_HeaderFile + +#include +#include +#include + +#include +#include +#include +class MDF_ASDriverHSequence; +class CDM_MessageDriver; +class MDF_ARDriverHSequence; +class MPrsStd_AISPresentationStorageDriver; +class MPrsStd_PositionStorageDriver; +class MPrsStd_AISPresentationRetrievalDriver; +class MPrsStd_AISPresentationRetrievalDriver_1; +class MPrsStd_PositionRetrievalDriver; + + +//! Storage and Retrieval drivers for graphic +//! attributes. Transient attributes are defined in +//! package TPrsStd and persistent one are defined in +//! package PPrsStd +class MPrsStd +{ +public: + + DEFINE_STANDARD_ALLOC + + + //! Adds the attribute storage drivers to . + Standard_EXPORT static void AddStorageDrivers (const Handle(MDF_ASDriverHSequence)& aDriverTable, const Handle(CDM_MessageDriver)& theMessageDriver) ; + + //! Adds the attribute retrieval drivers to . + Standard_EXPORT static void AddRetrievalDrivers (const Handle(MDF_ARDriverHSequence)& aDriverTable, const Handle(CDM_MessageDriver)& theMessageDriver) ; + + + + +protected: + + + + + +private: + + + + +friend class MPrsStd_AISPresentationStorageDriver; +friend class MPrsStd_PositionStorageDriver; +friend class MPrsStd_AISPresentationRetrievalDriver; +friend class MPrsStd_AISPresentationRetrievalDriver_1; +friend class MPrsStd_PositionRetrievalDriver; + +}; + + + + + + + +#endif // _MPrsStd_HeaderFile diff --git a/src/FromOCCT/TKPCAF/MPrsStd.ixx b/src/FromOCCT/TKPCAF/MPrsStd.ixx new file mode 100644 index 000000000..4ab238649 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MPrsStd.ixx @@ -0,0 +1,10 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + + + + diff --git a/src/FromOCCT/TKPCAF/MPrsStd.jxx b/src/FromOCCT/TKPCAF/MPrsStd.jxx new file mode 100644 index 000000000..61251a492 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MPrsStd.jxx @@ -0,0 +1,4 @@ +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPCAF/MPrsStd_AISPresentationRetrievalDriver.cxx b/src/FromOCCT/TKPCAF/MPrsStd_AISPresentationRetrievalDriver.cxx new file mode 100644 index 000000000..00312ad88 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MPrsStd_AISPresentationRetrievalDriver.cxx @@ -0,0 +1,76 @@ +// 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 + +#include +#include +#include +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKPCAF/MPrsStd_AISPresentationRetrievalDriver.hxx b/src/FromOCCT/TKPCAF/MPrsStd_AISPresentationRetrievalDriver.hxx new file mode 100644 index 000000000..9ffacf91f --- /dev/null +++ b/src/FromOCCT/TKPCAF/MPrsStd_AISPresentationRetrievalDriver.hxx @@ -0,0 +1,71 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MPrsStd_AISPresentationRetrievalDriver_HeaderFile +#define _MPrsStd_AISPresentationRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + +//! Retrieval drivers for graphic attributes from +//! PPrsStd +class MPrsStd_AISPresentationRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MPrsStd_AISPresentationRetrievalDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: AISPresentation from PPrsStd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MPrsStd_AISPresentationRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MPrsStd_AISPresentationRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPCAF/MPrsStd_AISPresentationRetrievalDriver.ixx b/src/FromOCCT/TKPCAF/MPrsStd_AISPresentationRetrievalDriver.ixx new file mode 100644 index 000000000..1d8b5a46c --- /dev/null +++ b/src/FromOCCT/TKPCAF/MPrsStd_AISPresentationRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MPrsStd_AISPresentationRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MPrsStd_AISPresentationRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MPrsStd_AISPresentationRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MPrsStd_AISPresentationRetrievalDriver) + + + diff --git a/src/FromOCCT/TKPCAF/MPrsStd_AISPresentationRetrievalDriver.jxx b/src/FromOCCT/TKPCAF/MPrsStd_AISPresentationRetrievalDriver.jxx new file mode 100644 index 000000000..70765867a --- /dev/null +++ b/src/FromOCCT/TKPCAF/MPrsStd_AISPresentationRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPCAF/MPrsStd_AISPresentationRetrievalDriver_1.cxx b/src/FromOCCT/TKPCAF/MPrsStd_AISPresentationRetrievalDriver_1.cxx new file mode 100644 index 000000000..606792fd1 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MPrsStd_AISPresentationRetrievalDriver_1.cxx @@ -0,0 +1,79 @@ +// 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 + +#include +#include +#include +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKPCAF/MPrsStd_AISPresentationRetrievalDriver_1.hxx b/src/FromOCCT/TKPCAF/MPrsStd_AISPresentationRetrievalDriver_1.hxx new file mode 100644 index 000000000..1e6cf414b --- /dev/null +++ b/src/FromOCCT/TKPCAF/MPrsStd_AISPresentationRetrievalDriver_1.hxx @@ -0,0 +1,71 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MPrsStd_AISPresentationRetrievalDriver_1_HeaderFile +#define _MPrsStd_AISPresentationRetrievalDriver_1_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + +//! Retrieval drivers for graphic attributes from +//! PPrsStd +class MPrsStd_AISPresentationRetrievalDriver_1 : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MPrsStd_AISPresentationRetrievalDriver_1(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 1. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: AISPresentation from PPrsStd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MPrsStd_AISPresentationRetrievalDriver_1) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MPrsStd_AISPresentationRetrievalDriver_1_HeaderFile diff --git a/src/FromOCCT/TKPCAF/MPrsStd_AISPresentationRetrievalDriver_1.ixx b/src/FromOCCT/TKPCAF/MPrsStd_AISPresentationRetrievalDriver_1.ixx new file mode 100644 index 000000000..9bf208f6e --- /dev/null +++ b/src/FromOCCT/TKPCAF/MPrsStd_AISPresentationRetrievalDriver_1.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MPrsStd_AISPresentationRetrievalDriver_1) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MPrsStd_AISPresentationRetrievalDriver_1) + + +IMPLEMENT_DOWNCAST(MPrsStd_AISPresentationRetrievalDriver_1,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MPrsStd_AISPresentationRetrievalDriver_1) + + + diff --git a/src/FromOCCT/TKPCAF/MPrsStd_AISPresentationRetrievalDriver_1.jxx b/src/FromOCCT/TKPCAF/MPrsStd_AISPresentationRetrievalDriver_1.jxx new file mode 100644 index 000000000..5590f1e32 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MPrsStd_AISPresentationRetrievalDriver_1.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPCAF/MPrsStd_AISPresentationStorageDriver.cxx b/src/FromOCCT/TKPCAF/MPrsStd_AISPresentationStorageDriver.cxx new file mode 100644 index 000000000..9c04c74eb --- /dev/null +++ b/src/FromOCCT/TKPCAF/MPrsStd_AISPresentationStorageDriver.cxx @@ -0,0 +1,90 @@ +// 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 + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKPCAF/MPrsStd_AISPresentationStorageDriver.hxx b/src/FromOCCT/TKPCAF/MPrsStd_AISPresentationStorageDriver.hxx new file mode 100644 index 000000000..ba36d7ba3 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MPrsStd_AISPresentationStorageDriver.hxx @@ -0,0 +1,71 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MPrsStd_AISPresentationStorageDriver_HeaderFile +#define _MPrsStd_AISPresentationStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + +//! Storage driver for graphic attributes from +//! TPrsStd +class MPrsStd_AISPresentationStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MPrsStd_AISPresentationStorageDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: AISPresentation from TPrsStd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MPrsStd_AISPresentationStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MPrsStd_AISPresentationStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPCAF/MPrsStd_AISPresentationStorageDriver.ixx b/src/FromOCCT/TKPCAF/MPrsStd_AISPresentationStorageDriver.ixx new file mode 100644 index 000000000..9891cdb0e --- /dev/null +++ b/src/FromOCCT/TKPCAF/MPrsStd_AISPresentationStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MPrsStd_AISPresentationStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MPrsStd_AISPresentationStorageDriver) + + +IMPLEMENT_DOWNCAST(MPrsStd_AISPresentationStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MPrsStd_AISPresentationStorageDriver) + + + diff --git a/src/FromOCCT/TKPCAF/MPrsStd_AISPresentationStorageDriver.jxx b/src/FromOCCT/TKPCAF/MPrsStd_AISPresentationStorageDriver.jxx new file mode 100644 index 000000000..2f69da27d --- /dev/null +++ b/src/FromOCCT/TKPCAF/MPrsStd_AISPresentationStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPCAF/MPrsStd_PositionRetrievalDriver.cxx b/src/FromOCCT/TKPCAF/MPrsStd_PositionRetrievalDriver.cxx new file mode 100644 index 000000000..f4fc72d66 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MPrsStd_PositionRetrievalDriver.cxx @@ -0,0 +1,63 @@ +// 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 + +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKPCAF/MPrsStd_PositionRetrievalDriver.hxx b/src/FromOCCT/TKPCAF/MPrsStd_PositionRetrievalDriver.hxx new file mode 100644 index 000000000..392882804 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MPrsStd_PositionRetrievalDriver.hxx @@ -0,0 +1,71 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MPrsStd_PositionRetrievalDriver_HeaderFile +#define _MPrsStd_PositionRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + +//! Retrieval drivers for graphic attributes from +//! PPrsStd +class MPrsStd_PositionRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MPrsStd_PositionRetrievalDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: ColorAttribute from PGraphicAttribute. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MPrsStd_PositionRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MPrsStd_PositionRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPCAF/MPrsStd_PositionRetrievalDriver.ixx b/src/FromOCCT/TKPCAF/MPrsStd_PositionRetrievalDriver.ixx new file mode 100644 index 000000000..504d1efad --- /dev/null +++ b/src/FromOCCT/TKPCAF/MPrsStd_PositionRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MPrsStd_PositionRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MPrsStd_PositionRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MPrsStd_PositionRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MPrsStd_PositionRetrievalDriver) + + + diff --git a/src/FromOCCT/TKPCAF/MPrsStd_PositionRetrievalDriver.jxx b/src/FromOCCT/TKPCAF/MPrsStd_PositionRetrievalDriver.jxx new file mode 100644 index 000000000..2c5cb5f11 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MPrsStd_PositionRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPCAF/MPrsStd_PositionStorageDriver.cxx b/src/FromOCCT/TKPCAF/MPrsStd_PositionStorageDriver.cxx new file mode 100644 index 000000000..081223713 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MPrsStd_PositionStorageDriver.cxx @@ -0,0 +1,65 @@ +// 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 + +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKPCAF/MPrsStd_PositionStorageDriver.hxx b/src/FromOCCT/TKPCAF/MPrsStd_PositionStorageDriver.hxx new file mode 100644 index 000000000..6860c1f71 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MPrsStd_PositionStorageDriver.hxx @@ -0,0 +1,71 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MPrsStd_PositionStorageDriver_HeaderFile +#define _MPrsStd_PositionStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + +//! Storage driver for graphic attributes from +//! TPrsStd +class MPrsStd_PositionStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MPrsStd_PositionStorageDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: ColorAttribute from TGraphicAttribute. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MPrsStd_PositionStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MPrsStd_PositionStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPCAF/MPrsStd_PositionStorageDriver.ixx b/src/FromOCCT/TKPCAF/MPrsStd_PositionStorageDriver.ixx new file mode 100644 index 000000000..47a2f6b4b --- /dev/null +++ b/src/FromOCCT/TKPCAF/MPrsStd_PositionStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MPrsStd_PositionStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MPrsStd_PositionStorageDriver) + + +IMPLEMENT_DOWNCAST(MPrsStd_PositionStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MPrsStd_PositionStorageDriver) + + + diff --git a/src/FromOCCT/TKPCAF/MPrsStd_PositionStorageDriver.jxx b/src/FromOCCT/TKPCAF/MPrsStd_PositionStorageDriver.jxx new file mode 100644 index 000000000..412b1ecc5 --- /dev/null +++ b/src/FromOCCT/TKPCAF/MPrsStd_PositionStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPCAF/PDataXtd_Axis.cxx b/src/FromOCCT/TKPCAF/PDataXtd_Axis.cxx new file mode 100644 index 000000000..c194c012b --- /dev/null +++ b/src/FromOCCT/TKPCAF/PDataXtd_Axis.cxx @@ -0,0 +1,16 @@ +// Copyright (c) 1999-2014 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the 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::PDataXtd_Axis() {} diff --git a/src/FromOCCT/TKPCAF/PDataXtd_Axis.hxx b/src/FromOCCT/TKPCAF/PDataXtd_Axis.hxx new file mode 100644 index 000000000..076be58f0 --- /dev/null +++ b/src/FromOCCT/TKPCAF/PDataXtd_Axis.hxx @@ -0,0 +1,52 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataXtd_Axis_HeaderFile +#define _PDataXtd_Axis_HeaderFile + +#include +#include +#include +#include + +#include + + +class PDataXtd_Axis : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PDataXtd_Axis(); + +PDataXtd_Axis(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + + + + DEFINE_STANDARD_RTTI(PDataXtd_Axis) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PDataXtd_Axis_HeaderFile diff --git a/src/FromOCCT/TKPCAF/PDataXtd_Axis.ixx b/src/FromOCCT/TKPCAF/PDataXtd_Axis.ixx new file mode 100644 index 000000000..b114dd910 --- /dev/null +++ b/src/FromOCCT/TKPCAF/PDataXtd_Axis.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PDataXtd_Axis,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDataXtd_Axis) + + + diff --git a/src/FromOCCT/TKPCAF/PDataXtd_Axis.jxx b/src/FromOCCT/TKPCAF/PDataXtd_Axis.jxx new file mode 100644 index 000000000..bb6883e25 --- /dev/null +++ b/src/FromOCCT/TKPCAF/PDataXtd_Axis.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKPCAF/PDataXtd_Constraint.cxx b/src/FromOCCT/TKPCAF/PDataXtd_Constraint.cxx new file mode 100644 index 000000000..8b99da5cc --- /dev/null +++ b/src/FromOCCT/TKPCAF/PDataXtd_Constraint.cxx @@ -0,0 +1,112 @@ +// Copyright (c) 1999-2014 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the 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::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/FromOCCT/TKPCAF/PDataXtd_Constraint.hxx b/src/FromOCCT/TKPCAF/PDataXtd_Constraint.hxx new file mode 100644 index 000000000..43f8d443a --- /dev/null +++ b/src/FromOCCT/TKPCAF/PDataXtd_Constraint.hxx @@ -0,0 +1,111 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataXtd_Constraint_HeaderFile +#define _PDataXtd_Constraint_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class PDataStd_Real; +class PDF_HAttributeArray1; +class PNaming_NamedShape; + + +class PDataXtd_Constraint : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PDataXtd_Constraint(); + + Standard_EXPORT PDataXtd_Constraint(const Standard_Integer Type, const Handle(PDF_HAttributeArray1)& Geometries, const Handle(PDataStd_Real)& Value, const Handle(PNaming_NamedShape)& Plane); + + Standard_EXPORT Handle(PDataStd_Real) GetValue() const; + + Standard_EXPORT Standard_Integer GetType() const; + + Standard_EXPORT Handle(PDF_HAttributeArray1) GetGeometries() const; + + Standard_EXPORT void Set (const Handle(PDataStd_Real)& V) ; + + Standard_EXPORT void SetType (const Standard_Integer Type) ; + + Standard_EXPORT void SetGeometries (const Handle(PDF_HAttributeArray1)& Geometries) ; + + Standard_EXPORT void SetPlane (const Handle(PNaming_NamedShape)& plane) ; + + Standard_EXPORT Handle(PNaming_NamedShape) GetPlane() const; + + Standard_EXPORT void Verified (const Standard_Boolean status) ; + + Standard_EXPORT Standard_Boolean Verified() const; + + Standard_EXPORT void Inverted (const Standard_Boolean status) ; + + Standard_EXPORT Standard_Boolean Inverted() const; + + Standard_EXPORT void Reversed (const Standard_Boolean status) ; + + Standard_EXPORT Standard_Boolean Reversed() const; + +PDataXtd_Constraint(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + Standard_Integer _CSFDB_GetPDataXtd_ConstraintmyType() const { return myType; } + void _CSFDB_SetPDataXtd_ConstraintmyType(const Standard_Integer p) { myType = p; } + Handle(PDF_HAttributeArray1) _CSFDB_GetPDataXtd_ConstraintmyGeometries() const { return myGeometries; } + void _CSFDB_SetPDataXtd_ConstraintmyGeometries(const Handle(PDF_HAttributeArray1)& p) { myGeometries = p; } + Handle(PDataStd_Real) _CSFDB_GetPDataXtd_ConstraintmyValue() const { return myValue; } + void _CSFDB_SetPDataXtd_ConstraintmyValue(const Handle(PDataStd_Real)& p) { myValue = p; } + Standard_Boolean _CSFDB_GetPDataXtd_ConstraintmyIsReversed() const { return myIsReversed; } + void _CSFDB_SetPDataXtd_ConstraintmyIsReversed(const Standard_Boolean p) { myIsReversed = p; } + Standard_Boolean _CSFDB_GetPDataXtd_ConstraintmyIsInverted() const { return myIsInverted; } + void _CSFDB_SetPDataXtd_ConstraintmyIsInverted(const Standard_Boolean p) { myIsInverted = p; } + Standard_Boolean _CSFDB_GetPDataXtd_ConstraintmyIsVerified() const { return myIsVerified; } + void _CSFDB_SetPDataXtd_ConstraintmyIsVerified(const Standard_Boolean p) { myIsVerified = p; } + Handle(PNaming_NamedShape) _CSFDB_GetPDataXtd_ConstraintmyPlane() const { return myPlane; } + void _CSFDB_SetPDataXtd_ConstraintmyPlane(const Handle(PNaming_NamedShape)& p) { myPlane = p; } + + + + DEFINE_STANDARD_RTTI(PDataXtd_Constraint) + +protected: + + + + +private: + + + Standard_Integer myType; + Handle(PDF_HAttributeArray1) myGeometries; + Handle(PDataStd_Real) myValue; + Standard_Boolean myIsReversed; + Standard_Boolean myIsInverted; + Standard_Boolean myIsVerified; + Handle(PNaming_NamedShape) myPlane; + + +}; + + + + + + + +#endif // _PDataXtd_Constraint_HeaderFile diff --git a/src/FromOCCT/TKPCAF/PDataXtd_Constraint.ixx b/src/FromOCCT/TKPCAF/PDataXtd_Constraint.ixx new file mode 100644 index 000000000..0b9870df9 --- /dev/null +++ b/src/FromOCCT/TKPCAF/PDataXtd_Constraint.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PDataXtd_Constraint,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDataXtd_Constraint) + + + diff --git a/src/FromOCCT/TKPCAF/PDataXtd_Constraint.jxx b/src/FromOCCT/TKPCAF/PDataXtd_Constraint.jxx new file mode 100644 index 000000000..566c11851 --- /dev/null +++ b/src/FromOCCT/TKPCAF/PDataXtd_Constraint.jxx @@ -0,0 +1,4 @@ +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPCAF/PDataXtd_Geometry.cxx b/src/FromOCCT/TKPCAF/PDataXtd_Geometry.cxx new file mode 100644 index 000000000..5725679af --- /dev/null +++ b/src/FromOCCT/TKPCAF/PDataXtd_Geometry.cxx @@ -0,0 +1,27 @@ +// 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::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/FromOCCT/TKPCAF/PDataXtd_Geometry.hxx b/src/FromOCCT/TKPCAF/PDataXtd_Geometry.hxx new file mode 100644 index 000000000..f0666d0df --- /dev/null +++ b/src/FromOCCT/TKPCAF/PDataXtd_Geometry.hxx @@ -0,0 +1,62 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataXtd_Geometry_HeaderFile +#define _PDataXtd_Geometry_HeaderFile + +#include +#include +#include +#include + +#include +#include + + +class PDataXtd_Geometry : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PDataXtd_Geometry(); + + Standard_EXPORT PDataXtd_Geometry(const Standard_Integer Type); + + Standard_EXPORT Standard_Integer GetType() const; + + Standard_EXPORT void SetType (const Standard_Integer Type) ; + +PDataXtd_Geometry(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + Standard_Integer _CSFDB_GetPDataXtd_GeometrymyType() const { return myType; } + void _CSFDB_SetPDataXtd_GeometrymyType(const Standard_Integer p) { myType = p; } + + + + DEFINE_STANDARD_RTTI(PDataXtd_Geometry) + +protected: + + + + +private: + + + Standard_Integer myType; + + +}; + + + + + + + +#endif // _PDataXtd_Geometry_HeaderFile diff --git a/src/FromOCCT/TKPCAF/PDataXtd_Geometry.ixx b/src/FromOCCT/TKPCAF/PDataXtd_Geometry.ixx new file mode 100644 index 000000000..6887ccc8e --- /dev/null +++ b/src/FromOCCT/TKPCAF/PDataXtd_Geometry.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PDataXtd_Geometry,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDataXtd_Geometry) + + + diff --git a/src/FromOCCT/TKPCAF/PDataXtd_Geometry.jxx b/src/FromOCCT/TKPCAF/PDataXtd_Geometry.jxx new file mode 100644 index 000000000..91c769410 --- /dev/null +++ b/src/FromOCCT/TKPCAF/PDataXtd_Geometry.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKPCAF/PDataXtd_PatternStd.cxx b/src/FromOCCT/TKPCAF/PDataXtd_PatternStd.cxx new file mode 100644 index 000000000..5488026b9 --- /dev/null +++ b/src/FromOCCT/TKPCAF/PDataXtd_PatternStd.cxx @@ -0,0 +1,24 @@ +// 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::PDataXtd_PatternStd() : + mySignature(0), + myAxis1Reversed(Standard_False), + myAxis2Reversed(Standard_False) +{ +} diff --git a/src/FromOCCT/TKPCAF/PDataXtd_PatternStd.hxx b/src/FromOCCT/TKPCAF/PDataXtd_PatternStd.hxx new file mode 100644 index 000000000..9ee9136ea --- /dev/null +++ b/src/FromOCCT/TKPCAF/PDataXtd_PatternStd.hxx @@ -0,0 +1,131 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataXtd_PatternStd_HeaderFile +#define _PDataXtd_PatternStd_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class PNaming_NamedShape; +class PDataStd_Real; +class PDataStd_Integer; + + +class PDataXtd_PatternStd : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PDataXtd_PatternStd(); + + void Signature (const Standard_Integer signature) ; + + void Axis1Reversed (const Standard_Boolean Axis1Reversed) ; + + void Axis2Reversed (const Standard_Boolean Axis2Reversed) ; + + void Axis1 (const Handle(PNaming_NamedShape)& Axis1) ; + + void Axis2 (const Handle(PNaming_NamedShape)& Axis2) ; + + void Value1 (const Handle(PDataStd_Real)& Value1) ; + + void Value2 (const Handle(PDataStd_Real)& Value2) ; + + void NbInstances1 (const Handle(PDataStd_Integer)& NbInstances1) ; + + void NbInstances2 (const Handle(PDataStd_Integer)& NbInstances2) ; + + void Mirror (const Handle(PNaming_NamedShape)& plane) ; + + Standard_Integer Signature() const; + + Standard_Boolean Axis1Reversed() const; + + Standard_Boolean Axis2Reversed() const; + + Handle(PNaming_NamedShape) Axis1() const; + + Handle(PNaming_NamedShape) Axis2() const; + + Handle(PDataStd_Real) Value1() const; + + Handle(PDataStd_Real) Value2() const; + + Handle(PDataStd_Integer) NbInstances1() const; + + Handle(PDataStd_Integer) NbInstances2() const; + + Handle(PNaming_NamedShape) Mirror() const; + +PDataXtd_PatternStd(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + Standard_Integer _CSFDB_GetPDataXtd_PatternStdmySignature() const { return mySignature; } + void _CSFDB_SetPDataXtd_PatternStdmySignature(const Standard_Integer p) { mySignature = p; } + Standard_Boolean _CSFDB_GetPDataXtd_PatternStdmyAxis1Reversed() const { return myAxis1Reversed; } + void _CSFDB_SetPDataXtd_PatternStdmyAxis1Reversed(const Standard_Boolean p) { myAxis1Reversed = p; } + Standard_Boolean _CSFDB_GetPDataXtd_PatternStdmyAxis2Reversed() const { return myAxis2Reversed; } + void _CSFDB_SetPDataXtd_PatternStdmyAxis2Reversed(const Standard_Boolean p) { myAxis2Reversed = p; } + Handle(PNaming_NamedShape) _CSFDB_GetPDataXtd_PatternStdmyAxis1() const { return myAxis1; } + void _CSFDB_SetPDataXtd_PatternStdmyAxis1(const Handle(PNaming_NamedShape)& p) { myAxis1 = p; } + Handle(PNaming_NamedShape) _CSFDB_GetPDataXtd_PatternStdmyAxis2() const { return myAxis2; } + void _CSFDB_SetPDataXtd_PatternStdmyAxis2(const Handle(PNaming_NamedShape)& p) { myAxis2 = p; } + Handle(PDataStd_Real) _CSFDB_GetPDataXtd_PatternStdmyValue1() const { return myValue1; } + void _CSFDB_SetPDataXtd_PatternStdmyValue1(const Handle(PDataStd_Real)& p) { myValue1 = p; } + Handle(PDataStd_Real) _CSFDB_GetPDataXtd_PatternStdmyValue2() const { return myValue2; } + void _CSFDB_SetPDataXtd_PatternStdmyValue2(const Handle(PDataStd_Real)& p) { myValue2 = p; } + Handle(PDataStd_Integer) _CSFDB_GetPDataXtd_PatternStdmyNb1() const { return myNb1; } + void _CSFDB_SetPDataXtd_PatternStdmyNb1(const Handle(PDataStd_Integer)& p) { myNb1 = p; } + Handle(PDataStd_Integer) _CSFDB_GetPDataXtd_PatternStdmyNb2() const { return myNb2; } + void _CSFDB_SetPDataXtd_PatternStdmyNb2(const Handle(PDataStd_Integer)& p) { myNb2 = p; } + Handle(PNaming_NamedShape) _CSFDB_GetPDataXtd_PatternStdmyMirror() const { return myMirror; } + void _CSFDB_SetPDataXtd_PatternStdmyMirror(const Handle(PNaming_NamedShape)& p) { myMirror = p; } + + + + DEFINE_STANDARD_RTTI(PDataXtd_PatternStd) + +protected: + + + + +private: + + + Standard_Integer mySignature; + Standard_Boolean myAxis1Reversed; + Standard_Boolean myAxis2Reversed; + Handle(PNaming_NamedShape) myAxis1; + Handle(PNaming_NamedShape) myAxis2; + Handle(PDataStd_Real) myValue1; + Handle(PDataStd_Real) myValue2; + Handle(PDataStd_Integer) myNb1; + Handle(PDataStd_Integer) myNb2; + Handle(PNaming_NamedShape) myMirror; + + +}; + + +#include + + + + + +#endif // _PDataXtd_PatternStd_HeaderFile diff --git a/src/FromOCCT/TKPCAF/PDataXtd_PatternStd.ixx b/src/FromOCCT/TKPCAF/PDataXtd_PatternStd.ixx new file mode 100644 index 000000000..ab4fd9f79 --- /dev/null +++ b/src/FromOCCT/TKPCAF/PDataXtd_PatternStd.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PDataXtd_PatternStd,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDataXtd_PatternStd) + + + diff --git a/src/FromOCCT/TKPCAF/PDataXtd_PatternStd.jxx b/src/FromOCCT/TKPCAF/PDataXtd_PatternStd.jxx new file mode 100644 index 000000000..61d4ec6cf --- /dev/null +++ b/src/FromOCCT/TKPCAF/PDataXtd_PatternStd.jxx @@ -0,0 +1,4 @@ +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPCAF/PDataXtd_PatternStd.lxx b/src/FromOCCT/TKPCAF/PDataXtd_PatternStd.lxx new file mode 100644 index 000000000..59a40fb8e --- /dev/null +++ b/src/FromOCCT/TKPCAF/PDataXtd_PatternStd.lxx @@ -0,0 +1,218 @@ +// 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/FromOCCT/TKPCAF/PDataXtd_Placement.cxx b/src/FromOCCT/TKPCAF/PDataXtd_Placement.cxx new file mode 100644 index 000000000..2c3590018 --- /dev/null +++ b/src/FromOCCT/TKPCAF/PDataXtd_Placement.cxx @@ -0,0 +1,17 @@ +// Copyright (c) 1999-2014 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the 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::PDataXtd_Placement() {} + diff --git a/src/FromOCCT/TKPCAF/PDataXtd_Placement.hxx b/src/FromOCCT/TKPCAF/PDataXtd_Placement.hxx new file mode 100644 index 000000000..dcb489c0f --- /dev/null +++ b/src/FromOCCT/TKPCAF/PDataXtd_Placement.hxx @@ -0,0 +1,52 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataXtd_Placement_HeaderFile +#define _PDataXtd_Placement_HeaderFile + +#include +#include +#include +#include + +#include + + +class PDataXtd_Placement : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PDataXtd_Placement(); + +PDataXtd_Placement(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + + + + DEFINE_STANDARD_RTTI(PDataXtd_Placement) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PDataXtd_Placement_HeaderFile diff --git a/src/FromOCCT/TKPCAF/PDataXtd_Placement.ixx b/src/FromOCCT/TKPCAF/PDataXtd_Placement.ixx new file mode 100644 index 000000000..0e4fc8b41 --- /dev/null +++ b/src/FromOCCT/TKPCAF/PDataXtd_Placement.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PDataXtd_Placement,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDataXtd_Placement) + + + diff --git a/src/FromOCCT/TKPCAF/PDataXtd_Placement.jxx b/src/FromOCCT/TKPCAF/PDataXtd_Placement.jxx new file mode 100644 index 000000000..7322233bd --- /dev/null +++ b/src/FromOCCT/TKPCAF/PDataXtd_Placement.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKPCAF/PDataXtd_Plane.cxx b/src/FromOCCT/TKPCAF/PDataXtd_Plane.cxx new file mode 100644 index 000000000..97015ddc0 --- /dev/null +++ b/src/FromOCCT/TKPCAF/PDataXtd_Plane.cxx @@ -0,0 +1,17 @@ +// Copyright (c) 1999-2014 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the 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::PDataXtd_Plane() { } + diff --git a/src/FromOCCT/TKPCAF/PDataXtd_Plane.hxx b/src/FromOCCT/TKPCAF/PDataXtd_Plane.hxx new file mode 100644 index 000000000..feffbe98e --- /dev/null +++ b/src/FromOCCT/TKPCAF/PDataXtd_Plane.hxx @@ -0,0 +1,52 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataXtd_Plane_HeaderFile +#define _PDataXtd_Plane_HeaderFile + +#include +#include +#include +#include + +#include + + +class PDataXtd_Plane : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PDataXtd_Plane(); + +PDataXtd_Plane(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + + + + DEFINE_STANDARD_RTTI(PDataXtd_Plane) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PDataXtd_Plane_HeaderFile diff --git a/src/FromOCCT/TKPCAF/PDataXtd_Plane.ixx b/src/FromOCCT/TKPCAF/PDataXtd_Plane.ixx new file mode 100644 index 000000000..2f0e66578 --- /dev/null +++ b/src/FromOCCT/TKPCAF/PDataXtd_Plane.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PDataXtd_Plane,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDataXtd_Plane) + + + diff --git a/src/FromOCCT/TKPCAF/PDataXtd_Plane.jxx b/src/FromOCCT/TKPCAF/PDataXtd_Plane.jxx new file mode 100644 index 000000000..623e7039c --- /dev/null +++ b/src/FromOCCT/TKPCAF/PDataXtd_Plane.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKPCAF/PDataXtd_Point.cxx b/src/FromOCCT/TKPCAF/PDataXtd_Point.cxx new file mode 100644 index 000000000..53104b607 --- /dev/null +++ b/src/FromOCCT/TKPCAF/PDataXtd_Point.cxx @@ -0,0 +1,17 @@ +// Copyright (c) 1999-2014 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the 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::PDataXtd_Point() { } diff --git a/src/FromOCCT/TKPCAF/PDataXtd_Point.hxx b/src/FromOCCT/TKPCAF/PDataXtd_Point.hxx new file mode 100644 index 000000000..50cffdf0c --- /dev/null +++ b/src/FromOCCT/TKPCAF/PDataXtd_Point.hxx @@ -0,0 +1,52 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataXtd_Point_HeaderFile +#define _PDataXtd_Point_HeaderFile + +#include +#include +#include +#include + +#include + + +class PDataXtd_Point : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PDataXtd_Point(); + +PDataXtd_Point(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + + + + DEFINE_STANDARD_RTTI(PDataXtd_Point) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PDataXtd_Point_HeaderFile diff --git a/src/FromOCCT/TKPCAF/PDataXtd_Point.ixx b/src/FromOCCT/TKPCAF/PDataXtd_Point.ixx new file mode 100644 index 000000000..d4f5dc16c --- /dev/null +++ b/src/FromOCCT/TKPCAF/PDataXtd_Point.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PDataXtd_Point,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDataXtd_Point) + + + diff --git a/src/FromOCCT/TKPCAF/PDataXtd_Point.jxx b/src/FromOCCT/TKPCAF/PDataXtd_Point.jxx new file mode 100644 index 000000000..719280c34 --- /dev/null +++ b/src/FromOCCT/TKPCAF/PDataXtd_Point.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKPCAF/PDataXtd_Position.cxx b/src/FromOCCT/TKPCAF/PDataXtd_Position.cxx new file mode 100644 index 000000000..7cc34b640 --- /dev/null +++ b/src/FromOCCT/TKPCAF/PDataXtd_Position.cxx @@ -0,0 +1,29 @@ +// 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 + +//======================================================================= +//function : PDataXtd_Position +//purpose : +//======================================================================= +PDataXtd_Position::PDataXtd_Position() +:myPosition(0.,0.,0.) +{ +} + diff --git a/src/FromOCCT/TKPCAF/PDataXtd_Position.hxx b/src/FromOCCT/TKPCAF/PDataXtd_Position.hxx new file mode 100644 index 000000000..748ea4e2e --- /dev/null +++ b/src/FromOCCT/TKPCAF/PDataXtd_Position.hxx @@ -0,0 +1,61 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataXtd_Position_HeaderFile +#define _PDataXtd_Position_HeaderFile + +#include +#include +#include +#include + +#include +#include +class gp_Pnt; + + +class PDataXtd_Position : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PDataXtd_Position(); + + gp_Pnt GetPosition() const; + + void SetPosition (const gp_Pnt& aPosition) ; + +PDataXtd_Position(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + const gp_Pnt& _CSFDB_GetPDataXtd_PositionmyPosition() const { return myPosition; } + + + + DEFINE_STANDARD_RTTI(PDataXtd_Position) + +protected: + + + + +private: + + + gp_Pnt myPosition; + + +}; + + +#include + + + + + +#endif // _PDataXtd_Position_HeaderFile diff --git a/src/FromOCCT/TKPCAF/PDataXtd_Position.ixx b/src/FromOCCT/TKPCAF/PDataXtd_Position.ixx new file mode 100644 index 000000000..e47c75f99 --- /dev/null +++ b/src/FromOCCT/TKPCAF/PDataXtd_Position.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PDataXtd_Position,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDataXtd_Position) + + + diff --git a/src/FromOCCT/TKPCAF/PDataXtd_Position.jxx b/src/FromOCCT/TKPCAF/PDataXtd_Position.jxx new file mode 100644 index 000000000..bb84e8002 --- /dev/null +++ b/src/FromOCCT/TKPCAF/PDataXtd_Position.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPCAF/PDataXtd_Position.lxx b/src/FromOCCT/TKPCAF/PDataXtd_Position.lxx new file mode 100644 index 000000000..8e7ead1d7 --- /dev/null +++ b/src/FromOCCT/TKPCAF/PDataXtd_Position.lxx @@ -0,0 +1,36 @@ +// 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/FromOCCT/TKPCAF/PDataXtd_Shape.cxx b/src/FromOCCT/TKPCAF/PDataXtd_Shape.cxx new file mode 100644 index 000000000..e5c9f3aa0 --- /dev/null +++ b/src/FromOCCT/TKPCAF/PDataXtd_Shape.cxx @@ -0,0 +1,18 @@ +// Copyright (c) 1999-2014 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of 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::PDataXtd_Shape() {} + diff --git a/src/FromOCCT/TKPCAF/PDataXtd_Shape.hxx b/src/FromOCCT/TKPCAF/PDataXtd_Shape.hxx new file mode 100644 index 000000000..fa91a60db --- /dev/null +++ b/src/FromOCCT/TKPCAF/PDataXtd_Shape.hxx @@ -0,0 +1,52 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataXtd_Shape_HeaderFile +#define _PDataXtd_Shape_HeaderFile + +#include +#include +#include +#include + +#include + + +class PDataXtd_Shape : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PDataXtd_Shape(); + +PDataXtd_Shape(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + + + + DEFINE_STANDARD_RTTI(PDataXtd_Shape) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PDataXtd_Shape_HeaderFile diff --git a/src/FromOCCT/TKPCAF/PDataXtd_Shape.ixx b/src/FromOCCT/TKPCAF/PDataXtd_Shape.ixx new file mode 100644 index 000000000..a01a6c129 --- /dev/null +++ b/src/FromOCCT/TKPCAF/PDataXtd_Shape.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PDataXtd_Shape,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDataXtd_Shape) + + + diff --git a/src/FromOCCT/TKPCAF/PDataXtd_Shape.jxx b/src/FromOCCT/TKPCAF/PDataXtd_Shape.jxx new file mode 100644 index 000000000..c8aa2096e --- /dev/null +++ b/src/FromOCCT/TKPCAF/PDataXtd_Shape.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKPCAF/PNaming_FieldOfHArray1OfNamedShape.hxx b/src/FromOCCT/TKPCAF/PNaming_FieldOfHArray1OfNamedShape.hxx new file mode 100644 index 000000000..53d857f09 --- /dev/null +++ b/src/FromOCCT/TKPCAF/PNaming_FieldOfHArray1OfNamedShape.hxx @@ -0,0 +1,91 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PNaming_FieldOfHArray1OfNamedShape_HeaderFile +#define _PNaming_FieldOfHArray1OfNamedShape_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +class Standard_NegativeValue; +class Standard_OutOfRange; +class Standard_DimensionMismatch; +class Standard_NullObject; +class PNaming_NamedShape; +class PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape; +class PNaming_VArrayTNodeOfFieldOfHArray1OfNamedShape; + + + +Standard_EXPORT const Handle(Standard_Type)& STANDARD_TYPE(PNaming_FieldOfHArray1OfNamedShape); + + +class PNaming_FieldOfHArray1OfNamedShape : public DBC_BaseArray +{ + +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT PNaming_FieldOfHArray1OfNamedShape(); + + Standard_EXPORT PNaming_FieldOfHArray1OfNamedShape(const Standard_Integer Size); + + Standard_EXPORT PNaming_FieldOfHArray1OfNamedShape(const PNaming_FieldOfHArray1OfNamedShape& Varray); + + Standard_EXPORT void Resize (const Standard_Integer Size) ; + + Standard_EXPORT void Assign (const PNaming_FieldOfHArray1OfNamedShape& Other) ; + void operator = (const PNaming_FieldOfHArray1OfNamedShape& Other) +{ + Assign(Other); +} + + Standard_EXPORT void SetValue (const Standard_Integer Index, const Handle(PNaming_NamedShape)& Value) ; + + Standard_EXPORT Handle(PNaming_NamedShape)& Value (const Standard_Integer Index) const; + Handle(PNaming_NamedShape)& operator () (const Standard_Integer Index) const +{ + return Value(Index); +} + + Standard_EXPORT void Destroy() ; +~PNaming_FieldOfHArray1OfNamedShape() +{ + Destroy(); +} + + + +protected: + + + + +private: + +#ifdef CSFDB +// DBC_VArray : field +// +#endif + + + +}; + + + + + + + +#endif // _PNaming_FieldOfHArray1OfNamedShape_HeaderFile diff --git a/src/FromOCCT/TKPCAF/PNaming_FieldOfHArray1OfNamedShape_0.cxx b/src/FromOCCT/TKPCAF/PNaming_FieldOfHArray1OfNamedShape_0.cxx new file mode 100644 index 000000000..0f5fedd33 --- /dev/null +++ b/src/FromOCCT/TKPCAF/PNaming_FieldOfHArray1OfNamedShape_0.cxx @@ -0,0 +1,27 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include +#include + +#define Item Handle(PNaming_NamedShape) +#define Item_hxx +#define DBC_VArrayNode PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PNaming_VArrayTNodeOfFieldOfHArray1OfNamedShape +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape +#define DBC_VArrayNode_Type_() PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape_Type_() +#define DBC_VArray PNaming_FieldOfHArray1OfNamedShape +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPCAF/PNaming_HArray1OfNamedShape.hxx b/src/FromOCCT/TKPCAF/PNaming_HArray1OfNamedShape.hxx new file mode 100644 index 000000000..757131b9b --- /dev/null +++ b/src/FromOCCT/TKPCAF/PNaming_HArray1OfNamedShape.hxx @@ -0,0 +1,132 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PNaming_HArray1OfNamedShape_HeaderFile +#define _PNaming_HArray1OfNamedShape_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class PNaming_NamedShape; +class Standard_OutOfRange; +class Standard_RangeError; +class PNaming_FieldOfHArray1OfNamedShape; +class PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape; +class PNaming_VArrayTNodeOfFieldOfHArray1OfNamedShape; + + +class PNaming_HArray1OfNamedShape : public Standard_Persistent +{ + +public: + + + Standard_EXPORT PNaming_HArray1OfNamedShape(const Standard_Integer Low, const Standard_Integer Up); + + Standard_EXPORT PNaming_HArray1OfNamedShape(const Standard_Integer Low, const Standard_Integer Up, const Handle(PNaming_NamedShape)& V); + + Standard_Integer Length() const; + + Standard_Integer Lower() const; + + Standard_EXPORT void SetValue (const Standard_Integer Index, const Handle(PNaming_NamedShape)& Value) ; + + Standard_Integer Upper() const; + + Standard_EXPORT Handle(PNaming_NamedShape) Value (const Standard_Integer Index) const; + +PNaming_HArray1OfNamedShape( ) +{ + +} +PNaming_HArray1OfNamedShape(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Standard_Integer _CSFDB_GetPNaming_HArray1OfNamedShapeLowerBound() const { return LowerBound; } + void _CSFDB_SetPNaming_HArray1OfNamedShapeLowerBound(const Standard_Integer p) { LowerBound = p; } + Standard_Integer _CSFDB_GetPNaming_HArray1OfNamedShapeUpperBound() const { return UpperBound; } + void _CSFDB_SetPNaming_HArray1OfNamedShapeUpperBound(const Standard_Integer p) { UpperBound = p; } + const PNaming_FieldOfHArray1OfNamedShape& _CSFDB_GetPNaming_HArray1OfNamedShapeData() const { return Data; } + + + + DEFINE_STANDARD_RTTI(PNaming_HArray1OfNamedShape) + +protected: + + + + +private: + + + Standard_EXPORT PNaming_FieldOfHArray1OfNamedShape Field() const; + + Standard_EXPORT Standard_Address Datas() const; + + Standard_Integer LowerBound; + Standard_Integer UpperBound; + PNaming_FieldOfHArray1OfNamedShape Data; + + +}; + +#define Item Handle(PNaming_NamedShape) +#define Item_hxx +#define PCollection_FieldOfHArray1 PNaming_FieldOfHArray1OfNamedShape +#define PCollection_FieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PNaming_VArrayTNodeOfFieldOfHArray1OfNamedShape +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PNaming_VArrayTNodeOfFieldOfHArray1OfNamedShape +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape_Type_() +#define PCollection_HArray1 PNaming_HArray1OfNamedShape +#define PCollection_HArray1_hxx +#define Handle_PCollection_HArray1 Handle_PNaming_HArray1OfNamedShape +#define PCollection_HArray1_Type_() PNaming_HArray1OfNamedShape_Type_() + +#include + +#undef Item +#undef Item_hxx +#undef PCollection_FieldOfHArray1 +#undef PCollection_FieldOfHArray1_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray1 +#undef PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray1 +#undef PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_Type_ +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_Type_ +#undef PCollection_HArray1 +#undef PCollection_HArray1_hxx +#undef Handle_PCollection_HArray1 +#undef PCollection_HArray1_Type_ + + + + +#endif // _PNaming_HArray1OfNamedShape_HeaderFile diff --git a/src/FromOCCT/TKPCAF/PNaming_HArray1OfNamedShape_0.cxx b/src/FromOCCT/TKPCAF/PNaming_HArray1OfNamedShape_0.cxx new file mode 100644 index 000000000..c48f57b2c --- /dev/null +++ b/src/FromOCCT/TKPCAF/PNaming_HArray1OfNamedShape_0.cxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PNaming_HArray1OfNamedShape,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PNaming_HArray1OfNamedShape) + + +#define Item Handle(PNaming_NamedShape) +#define Item_hxx +#define PCollection_FieldOfHArray1 PNaming_FieldOfHArray1OfNamedShape +#define PCollection_FieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PNaming_VArrayTNodeOfFieldOfHArray1OfNamedShape +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PNaming_VArrayTNodeOfFieldOfHArray1OfNamedShape +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape_Type_() +#define PCollection_HArray1 PNaming_HArray1OfNamedShape +#define PCollection_HArray1_hxx +#define Handle_PCollection_HArray1 Handle_PNaming_HArray1OfNamedShape +#define PCollection_HArray1_Type_() PNaming_HArray1OfNamedShape_Type_() +#include + diff --git a/src/FromOCCT/TKPCAF/PNaming_Name.cxx b/src/FromOCCT/TKPCAF/PNaming_Name.cxx new file mode 100644 index 000000000..fbe24cdee --- /dev/null +++ b/src/FromOCCT/TKPCAF/PNaming_Name.cxx @@ -0,0 +1,27 @@ +// 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 + + +//======================================================================= +//function : PNaming_Name +//purpose : +//======================================================================= + +PNaming_Name::PNaming_Name() : myType(0), myShapeType(0), myIndex(0) +{ +} diff --git a/src/FromOCCT/TKPCAF/PNaming_Name.hxx b/src/FromOCCT/TKPCAF/PNaming_Name.hxx new file mode 100644 index 000000000..95b87bc20 --- /dev/null +++ b/src/FromOCCT/TKPCAF/PNaming_Name.hxx @@ -0,0 +1,93 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PNaming_Name_HeaderFile +#define _PNaming_Name_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +class PNaming_HArray1OfNamedShape; +class PNaming_NamedShape; + + +class PNaming_Name : public Standard_Persistent +{ + +public: + + + Standard_EXPORT PNaming_Name(); + + void Type (const Standard_Integer T) ; + + void ShapeType (const Standard_Integer T) ; + + void Arguments (const Handle(PNaming_HArray1OfNamedShape)& Args) ; + + void StopNamedShape (const Handle(PNaming_NamedShape)& arg) ; + + Standard_Integer Type() const; + + Standard_Integer ShapeType() const; + + Handle(PNaming_HArray1OfNamedShape) Arguments() const; + + Handle(PNaming_NamedShape) StopNamedShape() const; + + void Index (const Standard_Integer I) ; + + Standard_Integer Index() const; + +PNaming_Name(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Standard_Integer _CSFDB_GetPNaming_NamemyType() const { return myType; } + void _CSFDB_SetPNaming_NamemyType(const Standard_Integer p) { myType = p; } + Standard_Integer _CSFDB_GetPNaming_NamemyShapeType() const { return myShapeType; } + void _CSFDB_SetPNaming_NamemyShapeType(const Standard_Integer p) { myShapeType = p; } + Handle(PNaming_HArray1OfNamedShape) _CSFDB_GetPNaming_NamemyArgs() const { return myArgs; } + void _CSFDB_SetPNaming_NamemyArgs(const Handle(PNaming_HArray1OfNamedShape)& p) { myArgs = p; } + Handle(PNaming_NamedShape) _CSFDB_GetPNaming_NamemyStop() const { return myStop; } + void _CSFDB_SetPNaming_NamemyStop(const Handle(PNaming_NamedShape)& p) { myStop = p; } + Standard_Integer _CSFDB_GetPNaming_NamemyIndex() const { return myIndex; } + void _CSFDB_SetPNaming_NamemyIndex(const Standard_Integer p) { myIndex = p; } + + + + DEFINE_STANDARD_RTTI(PNaming_Name) + +protected: + + + + +private: + + + Standard_Integer myType; + Standard_Integer myShapeType; + Handle(PNaming_HArray1OfNamedShape) myArgs; + Handle(PNaming_NamedShape) myStop; + Standard_Integer myIndex; + + +}; + + +#include + + + + + +#endif // _PNaming_Name_HeaderFile diff --git a/src/FromOCCT/TKPCAF/PNaming_Name.ixx b/src/FromOCCT/TKPCAF/PNaming_Name.ixx new file mode 100644 index 000000000..0a3a4e0ec --- /dev/null +++ b/src/FromOCCT/TKPCAF/PNaming_Name.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PNaming_Name,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PNaming_Name) + + + diff --git a/src/FromOCCT/TKPCAF/PNaming_Name.jxx b/src/FromOCCT/TKPCAF/PNaming_Name.jxx new file mode 100644 index 000000000..fc281b7a6 --- /dev/null +++ b/src/FromOCCT/TKPCAF/PNaming_Name.jxx @@ -0,0 +1,3 @@ +#include +#include +#include diff --git a/src/FromOCCT/TKPCAF/PNaming_Name.lxx b/src/FromOCCT/TKPCAF/PNaming_Name.lxx new file mode 100644 index 000000000..8660c651b --- /dev/null +++ b/src/FromOCCT/TKPCAF/PNaming_Name.lxx @@ -0,0 +1,46 @@ +// 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/FromOCCT/TKPCAF/PNaming_Name_1.cxx b/src/FromOCCT/TKPCAF/PNaming_Name_1.cxx new file mode 100644 index 000000000..85b648332 --- /dev/null +++ b/src/FromOCCT/TKPCAF/PNaming_Name_1.cxx @@ -0,0 +1,25 @@ +// Created on: 2008-08-15 +// Created by: Sergey ZARITCHNY + +//======================================================================= +//function : PNaming_Name_1 +//purpose : +//======================================================================= + +PNaming_Name_1::PNaming_Name_1() : myType(0), myShapeType(0), myIndex(0) +{ +} diff --git a/src/FromOCCT/TKPCAF/PNaming_Name_1.hxx b/src/FromOCCT/TKPCAF/PNaming_Name_1.hxx new file mode 100644 index 000000000..6c4448bf2 --- /dev/null +++ b/src/FromOCCT/TKPCAF/PNaming_Name_1.hxx @@ -0,0 +1,102 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PNaming_Name_1_HeaderFile +#define _PNaming_Name_1_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +class PNaming_HArray1OfNamedShape; +class PNaming_NamedShape; +class PCollection_HAsciiString; + + +class PNaming_Name_1 : public Standard_Persistent +{ + +public: + + + Standard_EXPORT PNaming_Name_1(); + + void Type (const Standard_Integer T) ; + + void ShapeType (const Standard_Integer T) ; + + void Arguments (const Handle(PNaming_HArray1OfNamedShape)& Args) ; + + void StopNamedShape (const Handle(PNaming_NamedShape)& arg) ; + + Standard_Integer Type() const; + + Standard_Integer ShapeType() const; + + Handle(PNaming_HArray1OfNamedShape) Arguments() const; + + Handle(PNaming_NamedShape) StopNamedShape() const; + + void Index (const Standard_Integer I) ; + + Standard_Integer Index() const; + + const Handle(PCollection_HAsciiString)& ContextLabel() const; + + void ContextLabel (const Handle(PCollection_HAsciiString)& theLab) ; + +PNaming_Name_1(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Standard_Integer _CSFDB_GetPNaming_Name_1myType() const { return myType; } + void _CSFDB_SetPNaming_Name_1myType(const Standard_Integer p) { myType = p; } + Standard_Integer _CSFDB_GetPNaming_Name_1myShapeType() const { return myShapeType; } + void _CSFDB_SetPNaming_Name_1myShapeType(const Standard_Integer p) { myShapeType = p; } + Handle(PNaming_HArray1OfNamedShape) _CSFDB_GetPNaming_Name_1myArgs() const { return myArgs; } + void _CSFDB_SetPNaming_Name_1myArgs(const Handle(PNaming_HArray1OfNamedShape)& p) { myArgs = p; } + Handle(PNaming_NamedShape) _CSFDB_GetPNaming_Name_1myStop() const { return myStop; } + void _CSFDB_SetPNaming_Name_1myStop(const Handle(PNaming_NamedShape)& p) { myStop = p; } + Standard_Integer _CSFDB_GetPNaming_Name_1myIndex() const { return myIndex; } + void _CSFDB_SetPNaming_Name_1myIndex(const Standard_Integer p) { myIndex = p; } + Handle(PCollection_HAsciiString) _CSFDB_GetPNaming_Name_1myContextLabel() const { return myContextLabel; } + void _CSFDB_SetPNaming_Name_1myContextLabel(const Handle(PCollection_HAsciiString)& p) { myContextLabel = p; } + + + + DEFINE_STANDARD_RTTI(PNaming_Name_1) + +protected: + + + + +private: + + + Standard_Integer myType; + Standard_Integer myShapeType; + Handle(PNaming_HArray1OfNamedShape) myArgs; + Handle(PNaming_NamedShape) myStop; + Standard_Integer myIndex; + Handle(PCollection_HAsciiString) myContextLabel; + + +}; + + +#include + + + + + +#endif // _PNaming_Name_1_HeaderFile diff --git a/src/FromOCCT/TKPCAF/PNaming_Name_1.ixx b/src/FromOCCT/TKPCAF/PNaming_Name_1.ixx new file mode 100644 index 000000000..3edad7637 --- /dev/null +++ b/src/FromOCCT/TKPCAF/PNaming_Name_1.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PNaming_Name_1,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PNaming_Name_1) + + + diff --git a/src/FromOCCT/TKPCAF/PNaming_Name_1.jxx b/src/FromOCCT/TKPCAF/PNaming_Name_1.jxx new file mode 100644 index 000000000..a05b61cbd --- /dev/null +++ b/src/FromOCCT/TKPCAF/PNaming_Name_1.jxx @@ -0,0 +1,4 @@ +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPCAF/PNaming_Name_1.lxx b/src/FromOCCT/TKPCAF/PNaming_Name_1.lxx new file mode 100644 index 000000000..a8cc09b84 --- /dev/null +++ b/src/FromOCCT/TKPCAF/PNaming_Name_1.lxx @@ -0,0 +1,51 @@ +// Created on: 2008-08-15 +// Created by: Sergey ZARITCHNY + +//======================================================================= +//function : PNaming_Name_2 +//purpose : +//======================================================================= + +PNaming_Name_2::PNaming_Name_2() : myType(0), myShapeType(0), myIndex(0), myOrientation(0) +{ +} diff --git a/src/FromOCCT/TKPCAF/PNaming_Name_2.hxx b/src/FromOCCT/TKPCAF/PNaming_Name_2.hxx new file mode 100644 index 000000000..4c3d69c9a --- /dev/null +++ b/src/FromOCCT/TKPCAF/PNaming_Name_2.hxx @@ -0,0 +1,109 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PNaming_Name_2_HeaderFile +#define _PNaming_Name_2_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +class PNaming_HArray1OfNamedShape; +class PNaming_NamedShape; +class PCollection_HAsciiString; + + +class PNaming_Name_2 : public Standard_Persistent +{ + +public: + + + Standard_EXPORT PNaming_Name_2(); + + void Type (const Standard_Integer T) ; + + void ShapeType (const Standard_Integer T) ; + + void Arguments (const Handle(PNaming_HArray1OfNamedShape)& Args) ; + + void StopNamedShape (const Handle(PNaming_NamedShape)& arg) ; + + void Orientation (const Standard_Integer Or) ; + + Standard_Integer Type() const; + + Standard_Integer ShapeType() const; + + Handle(PNaming_HArray1OfNamedShape) Arguments() const; + + Handle(PNaming_NamedShape) StopNamedShape() const; + + void Index (const Standard_Integer I) ; + + Standard_Integer Index() const; + + const Handle(PCollection_HAsciiString)& ContextLabel() const; + + void ContextLabel (const Handle(PCollection_HAsciiString)& theLab) ; + + Standard_Integer Orientation() const; + +PNaming_Name_2(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Standard_Integer _CSFDB_GetPNaming_Name_2myType() const { return myType; } + void _CSFDB_SetPNaming_Name_2myType(const Standard_Integer p) { myType = p; } + Standard_Integer _CSFDB_GetPNaming_Name_2myShapeType() const { return myShapeType; } + void _CSFDB_SetPNaming_Name_2myShapeType(const Standard_Integer p) { myShapeType = p; } + Handle(PNaming_HArray1OfNamedShape) _CSFDB_GetPNaming_Name_2myArgs() const { return myArgs; } + void _CSFDB_SetPNaming_Name_2myArgs(const Handle(PNaming_HArray1OfNamedShape)& p) { myArgs = p; } + Handle(PNaming_NamedShape) _CSFDB_GetPNaming_Name_2myStop() const { return myStop; } + void _CSFDB_SetPNaming_Name_2myStop(const Handle(PNaming_NamedShape)& p) { myStop = p; } + Standard_Integer _CSFDB_GetPNaming_Name_2myIndex() const { return myIndex; } + void _CSFDB_SetPNaming_Name_2myIndex(const Standard_Integer p) { myIndex = p; } + Handle(PCollection_HAsciiString) _CSFDB_GetPNaming_Name_2myContextLabel() const { return myContextLabel; } + void _CSFDB_SetPNaming_Name_2myContextLabel(const Handle(PCollection_HAsciiString)& p) { myContextLabel = p; } + Standard_Integer _CSFDB_GetPNaming_Name_2myOrientation() const { return myOrientation; } + void _CSFDB_SetPNaming_Name_2myOrientation(const Standard_Integer p) { myOrientation = p; } + + + + DEFINE_STANDARD_RTTI(PNaming_Name_2) + +protected: + + + + +private: + + + Standard_Integer myType; + Standard_Integer myShapeType; + Handle(PNaming_HArray1OfNamedShape) myArgs; + Handle(PNaming_NamedShape) myStop; + Standard_Integer myIndex; + Handle(PCollection_HAsciiString) myContextLabel; + Standard_Integer myOrientation; + + +}; + + +#include + + + + + +#endif // _PNaming_Name_2_HeaderFile diff --git a/src/FromOCCT/TKPCAF/PNaming_Name_2.ixx b/src/FromOCCT/TKPCAF/PNaming_Name_2.ixx new file mode 100644 index 000000000..e7f866351 --- /dev/null +++ b/src/FromOCCT/TKPCAF/PNaming_Name_2.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PNaming_Name_2,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PNaming_Name_2) + + + diff --git a/src/FromOCCT/TKPCAF/PNaming_Name_2.jxx b/src/FromOCCT/TKPCAF/PNaming_Name_2.jxx new file mode 100644 index 000000000..8a0e8365a --- /dev/null +++ b/src/FromOCCT/TKPCAF/PNaming_Name_2.jxx @@ -0,0 +1,4 @@ +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPCAF/PNaming_Name_2.lxx b/src/FromOCCT/TKPCAF/PNaming_Name_2.lxx new file mode 100644 index 000000000..e9037fa32 --- /dev/null +++ b/src/FromOCCT/TKPCAF/PNaming_Name_2.lxx @@ -0,0 +1,56 @@ +// Created on: 2008-08-15 +// Created by: Sergey ZARITCHNY + +//======================================================================= +//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/FromOCCT/TKPCAF/PNaming_NamedShape.hxx b/src/FromOCCT/TKPCAF/PNaming_NamedShape.hxx new file mode 100644 index 000000000..f1290b498 --- /dev/null +++ b/src/FromOCCT/TKPCAF/PNaming_NamedShape.hxx @@ -0,0 +1,95 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PNaming_NamedShape_HeaderFile +#define _PNaming_NamedShape_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class PTopoDS_HArray1OfShape1; + + +class PNaming_NamedShape : public PDF_Attribute +{ + +public: + + + //! Creates a mutable NamedShape from PNaming. + Standard_EXPORT PNaming_NamedShape(); + + //! Returns the number of shapes. + Standard_EXPORT Standard_Integer NbShapes() const; + + //! Sets the field . + Standard_EXPORT void OldShapes (const Handle(PTopoDS_HArray1OfShape1)& theShapes) ; + + //! Returns the field . + Standard_EXPORT Handle(PTopoDS_HArray1OfShape1) OldShapes() const; + + //! Sets the field . + Standard_EXPORT void NewShapes (const Handle(PTopoDS_HArray1OfShape1)& theShapes) ; + + //! Returns the field . + Standard_EXPORT Handle(PTopoDS_HArray1OfShape1) NewShapes() const; + + //! Sets the field . + Standard_EXPORT void ShapeStatus (const Standard_Integer theShapeStatus) ; + + //! Returns the field . + Standard_EXPORT Standard_Integer ShapeStatus() const; + + //! Sets the field . + Standard_EXPORT void Version (const Standard_Integer theVersion) ; + + //! Returns the field . + Standard_EXPORT Standard_Integer Version() const; + +PNaming_NamedShape(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + Handle(PTopoDS_HArray1OfShape1) _CSFDB_GetPNaming_NamedShapemyOldShapes() const { return myOldShapes; } + void _CSFDB_SetPNaming_NamedShapemyOldShapes(const Handle(PTopoDS_HArray1OfShape1)& p) { myOldShapes = p; } + Handle(PTopoDS_HArray1OfShape1) _CSFDB_GetPNaming_NamedShapemyNewShapes() const { return myNewShapes; } + void _CSFDB_SetPNaming_NamedShapemyNewShapes(const Handle(PTopoDS_HArray1OfShape1)& p) { myNewShapes = p; } + Standard_Integer _CSFDB_GetPNaming_NamedShapemyShapeStatus() const { return myShapeStatus; } + void _CSFDB_SetPNaming_NamedShapemyShapeStatus(const Standard_Integer p) { myShapeStatus = p; } + Standard_Integer _CSFDB_GetPNaming_NamedShapemyVersion() const { return myVersion; } + void _CSFDB_SetPNaming_NamedShapemyVersion(const Standard_Integer p) { myVersion = p; } + + + + DEFINE_STANDARD_RTTI(PNaming_NamedShape) + +protected: + + + + +private: + + + Handle(PTopoDS_HArray1OfShape1) myOldShapes; + Handle(PTopoDS_HArray1OfShape1) myNewShapes; + Standard_Integer myShapeStatus; + Standard_Integer myVersion; + + +}; + + + + + + + +#endif // _PNaming_NamedShape_HeaderFile diff --git a/src/FromOCCT/TKPCAF/PNaming_NamedShape.ixx b/src/FromOCCT/TKPCAF/PNaming_NamedShape.ixx new file mode 100644 index 000000000..856a689a3 --- /dev/null +++ b/src/FromOCCT/TKPCAF/PNaming_NamedShape.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PNaming_NamedShape,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PNaming_NamedShape) + + + diff --git a/src/FromOCCT/TKPCAF/PNaming_NamedShape.jxx b/src/FromOCCT/TKPCAF/PNaming_NamedShape.jxx new file mode 100644 index 000000000..2a0f0dfe2 --- /dev/null +++ b/src/FromOCCT/TKPCAF/PNaming_NamedShape.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPCAF/PNaming_Naming.cxx b/src/FromOCCT/TKPCAF/PNaming_Naming.cxx new file mode 100644 index 000000000..5cc1d9676 --- /dev/null +++ b/src/FromOCCT/TKPCAF/PNaming_Naming.cxx @@ -0,0 +1,44 @@ +// 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 + + +//======================================================================= +//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/FromOCCT/TKPCAF/PNaming_Naming.hxx b/src/FromOCCT/TKPCAF/PNaming_Naming.hxx new file mode 100644 index 000000000..b938b68ad --- /dev/null +++ b/src/FromOCCT/TKPCAF/PNaming_Naming.hxx @@ -0,0 +1,61 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PNaming_Naming_HeaderFile +#define _PNaming_Naming_HeaderFile + +#include +#include +#include +#include + +#include +#include +class PNaming_Name; + + +class PNaming_Naming : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PNaming_Naming(); + + Standard_EXPORT void SetName (const Handle(PNaming_Name)& aName) ; + + Standard_EXPORT Handle(PNaming_Name) GetName() const; + +PNaming_Naming(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + Handle(PNaming_Name) _CSFDB_GetPNaming_NamingmyName() const { return myName; } + void _CSFDB_SetPNaming_NamingmyName(const Handle(PNaming_Name)& p) { myName = p; } + + + + DEFINE_STANDARD_RTTI(PNaming_Naming) + +protected: + + + + +private: + + + Handle(PNaming_Name) myName; + + +}; + + + + + + + +#endif // _PNaming_Naming_HeaderFile diff --git a/src/FromOCCT/TKPCAF/PNaming_Naming.ixx b/src/FromOCCT/TKPCAF/PNaming_Naming.ixx new file mode 100644 index 000000000..e40e0fc9c --- /dev/null +++ b/src/FromOCCT/TKPCAF/PNaming_Naming.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PNaming_Naming,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PNaming_Naming) + + + diff --git a/src/FromOCCT/TKPCAF/PNaming_Naming.jxx b/src/FromOCCT/TKPCAF/PNaming_Naming.jxx new file mode 100644 index 000000000..be15daf27 --- /dev/null +++ b/src/FromOCCT/TKPCAF/PNaming_Naming.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPCAF/PNaming_Naming_1.cxx b/src/FromOCCT/TKPCAF/PNaming_Naming_1.cxx new file mode 100644 index 000000000..a40492e9c --- /dev/null +++ b/src/FromOCCT/TKPCAF/PNaming_Naming_1.cxx @@ -0,0 +1,42 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPCAF/PNaming_Naming_1.hxx b/src/FromOCCT/TKPCAF/PNaming_Naming_1.hxx new file mode 100644 index 000000000..1e5dbf302 --- /dev/null +++ b/src/FromOCCT/TKPCAF/PNaming_Naming_1.hxx @@ -0,0 +1,61 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PNaming_Naming_1_HeaderFile +#define _PNaming_Naming_1_HeaderFile + +#include +#include +#include +#include + +#include +#include +class PNaming_Name_1; + + +class PNaming_Naming_1 : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PNaming_Naming_1(); + + Standard_EXPORT void SetName (const Handle(PNaming_Name_1)& aName) ; + + Standard_EXPORT Handle(PNaming_Name_1) GetName() const; + +PNaming_Naming_1(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + Handle(PNaming_Name_1) _CSFDB_GetPNaming_Naming_1myName() const { return myName; } + void _CSFDB_SetPNaming_Naming_1myName(const Handle(PNaming_Name_1)& p) { myName = p; } + + + + DEFINE_STANDARD_RTTI(PNaming_Naming_1) + +protected: + + + + +private: + + + Handle(PNaming_Name_1) myName; + + +}; + + + + + + + +#endif // _PNaming_Naming_1_HeaderFile diff --git a/src/FromOCCT/TKPCAF/PNaming_Naming_1.ixx b/src/FromOCCT/TKPCAF/PNaming_Naming_1.ixx new file mode 100644 index 000000000..c0ffa2b00 --- /dev/null +++ b/src/FromOCCT/TKPCAF/PNaming_Naming_1.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PNaming_Naming_1,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PNaming_Naming_1) + + + diff --git a/src/FromOCCT/TKPCAF/PNaming_Naming_1.jxx b/src/FromOCCT/TKPCAF/PNaming_Naming_1.jxx new file mode 100644 index 000000000..a59a29417 --- /dev/null +++ b/src/FromOCCT/TKPCAF/PNaming_Naming_1.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPCAF/PNaming_Naming_2.cxx b/src/FromOCCT/TKPCAF/PNaming_Naming_2.cxx new file mode 100644 index 000000000..4a4da11bd --- /dev/null +++ b/src/FromOCCT/TKPCAF/PNaming_Naming_2.cxx @@ -0,0 +1,42 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPCAF/PNaming_Naming_2.hxx b/src/FromOCCT/TKPCAF/PNaming_Naming_2.hxx new file mode 100644 index 000000000..e433d6cb9 --- /dev/null +++ b/src/FromOCCT/TKPCAF/PNaming_Naming_2.hxx @@ -0,0 +1,61 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PNaming_Naming_2_HeaderFile +#define _PNaming_Naming_2_HeaderFile + +#include +#include +#include +#include + +#include +#include +class PNaming_Name_2; + + +class PNaming_Naming_2 : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PNaming_Naming_2(); + + Standard_EXPORT void SetName (const Handle(PNaming_Name_2)& aName) ; + + Standard_EXPORT Handle(PNaming_Name_2) GetName() const; + +PNaming_Naming_2(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + Handle(PNaming_Name_2) _CSFDB_GetPNaming_Naming_2myName() const { return myName; } + void _CSFDB_SetPNaming_Naming_2myName(const Handle(PNaming_Name_2)& p) { myName = p; } + + + + DEFINE_STANDARD_RTTI(PNaming_Naming_2) + +protected: + + + + +private: + + + Handle(PNaming_Name_2) myName; + + +}; + + + + + + + +#endif // _PNaming_Naming_2_HeaderFile diff --git a/src/FromOCCT/TKPCAF/PNaming_Naming_2.ixx b/src/FromOCCT/TKPCAF/PNaming_Naming_2.ixx new file mode 100644 index 000000000..1f3b47813 --- /dev/null +++ b/src/FromOCCT/TKPCAF/PNaming_Naming_2.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PNaming_Naming_2,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PNaming_Naming_2) + + + diff --git a/src/FromOCCT/TKPCAF/PNaming_Naming_2.jxx b/src/FromOCCT/TKPCAF/PNaming_Naming_2.jxx new file mode 100644 index 000000000..d4d0b4abd --- /dev/null +++ b/src/FromOCCT/TKPCAF/PNaming_Naming_2.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPCAF/PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape.hxx b/src/FromOCCT/TKPCAF/PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape.hxx new file mode 100644 index 000000000..04d38a73c --- /dev/null +++ b/src/FromOCCT/TKPCAF/PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape.hxx @@ -0,0 +1,66 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape_HeaderFile +#define _PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class PNaming_NamedShape; +class PNaming_FieldOfHArray1OfNamedShape; +class PNaming_VArrayTNodeOfFieldOfHArray1OfNamedShape; + + +class PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape : public PStandard_ArrayNode +{ + +public: + + + Standard_EXPORT PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape(); + + Standard_EXPORT PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape(const Handle(PNaming_NamedShape)& aValue); + + Standard_EXPORT void SetValue (const Handle(PNaming_NamedShape)& aValue) ; + + Standard_EXPORT Standard_Address Value() const; + +PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape(const Storage_stCONSTclCOM& a) : PStandard_ArrayNode(a) +{ + +} + Handle(PNaming_NamedShape) _CSFDB_GetPNaming_VArrayNodeOfFieldOfHArray1OfNamedShapemyValue() const { return myValue; } + void _CSFDB_SetPNaming_VArrayNodeOfFieldOfHArray1OfNamedShapemyValue(const Handle(PNaming_NamedShape)& p) { myValue = p; } + + + + DEFINE_STANDARD_RTTI(PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape) + +protected: + + + + +private: + + + Handle(PNaming_NamedShape) myValue; + + +}; + + + + + + + +#endif // _PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape_HeaderFile diff --git a/src/FromOCCT/TKPCAF/PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape_0.cxx b/src/FromOCCT/TKPCAF/PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape_0.cxx new file mode 100644 index 000000000..838e2510c --- /dev/null +++ b/src/FromOCCT/TKPCAF/PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape_0.cxx @@ -0,0 +1,30 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape) + + +#define Item Handle(PNaming_NamedShape) +#define Item_hxx +#define DBC_VArrayNode PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PNaming_VArrayTNodeOfFieldOfHArray1OfNamedShape +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape +#define DBC_VArrayNode_Type_() PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape_Type_() +#define DBC_VArray PNaming_FieldOfHArray1OfNamedShape +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPCAF/PNaming_VArrayTNodeOfFieldOfHArray1OfNamedShape.hxx b/src/FromOCCT/TKPCAF/PNaming_VArrayTNodeOfFieldOfHArray1OfNamedShape.hxx new file mode 100644 index 000000000..59ad5624e --- /dev/null +++ b/src/FromOCCT/TKPCAF/PNaming_VArrayTNodeOfFieldOfHArray1OfNamedShape.hxx @@ -0,0 +1,82 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PNaming_VArrayTNodeOfFieldOfHArray1OfNamedShape_HeaderFile +#define _PNaming_VArrayTNodeOfFieldOfHArray1OfNamedShape_HeaderFile + +#include +#include +#include + +#include +#include +#include +class PNaming_NamedShape; +class PNaming_FieldOfHArray1OfNamedShape; +class PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape; + + + +class PNaming_VArrayTNodeOfFieldOfHArray1OfNamedShape +{ +public: + + DEFINE_STANDARD_ALLOC + + + PNaming_VArrayTNodeOfFieldOfHArray1OfNamedShape(); + + PNaming_VArrayTNodeOfFieldOfHArray1OfNamedShape(const Handle(PNaming_NamedShape)& aValue); + + void SetValue (const Handle(PNaming_NamedShape)& aValue) ; + + Standard_Address Value() const; + + + + +protected: + + + + + +private: + + + + Handle(PNaming_NamedShape) myValue; + + +}; + +#define Item Handle(PNaming_NamedShape) +#define Item_hxx +#define DBC_VArrayNode PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PNaming_VArrayTNodeOfFieldOfHArray1OfNamedShape +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape +#define DBC_VArrayNode_Type_() PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape_Type_() +#define DBC_VArray PNaming_FieldOfHArray1OfNamedShape +#define DBC_VArray_hxx + +#include + +#undef Item +#undef Item_hxx +#undef DBC_VArrayNode +#undef DBC_VArrayNode_hxx +#undef DBC_VArrayTNode +#undef DBC_VArrayTNode_hxx +#undef Handle_DBC_VArrayNode +#undef DBC_VArrayNode_Type_ +#undef DBC_VArray +#undef DBC_VArray_hxx + + + + +#endif // _PNaming_VArrayTNodeOfFieldOfHArray1OfNamedShape_HeaderFile diff --git a/src/FromOCCT/TKPCAF/PNaming_VArrayTNodeOfFieldOfHArray1OfNamedShape_0.cxx b/src/FromOCCT/TKPCAF/PNaming_VArrayTNodeOfFieldOfHArray1OfNamedShape_0.cxx new file mode 100644 index 000000000..339b3ca69 --- /dev/null +++ b/src/FromOCCT/TKPCAF/PNaming_VArrayTNodeOfFieldOfHArray1OfNamedShape_0.cxx @@ -0,0 +1,24 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + +#define Item Handle(PNaming_NamedShape) +#define Item_hxx +#define DBC_VArrayNode PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PNaming_VArrayTNodeOfFieldOfHArray1OfNamedShape +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape +#define DBC_VArrayNode_Type_() PNaming_VArrayNodeOfFieldOfHArray1OfNamedShape_Type_() +#define DBC_VArray PNaming_FieldOfHArray1OfNamedShape +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPCAF/PPrsStd_AISPresentation.cxx b/src/FromOCCT/TKPCAF/PPrsStd_AISPresentation.cxx new file mode 100644 index 000000000..9b6865dd2 --- /dev/null +++ b/src/FromOCCT/TKPCAF/PPrsStd_AISPresentation.cxx @@ -0,0 +1,144 @@ +// 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 + + +//======================================================================= +//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/FromOCCT/TKPCAF/PPrsStd_AISPresentation.hxx b/src/FromOCCT/TKPCAF/PPrsStd_AISPresentation.hxx new file mode 100644 index 000000000..ddc4ae8c0 --- /dev/null +++ b/src/FromOCCT/TKPCAF/PPrsStd_AISPresentation.hxx @@ -0,0 +1,99 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PPrsStd_AISPresentation_HeaderFile +#define _PPrsStd_AISPresentation_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +class PCollection_HExtendedString; + + +class PPrsStd_AISPresentation : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PPrsStd_AISPresentation(); + + Standard_EXPORT Standard_Boolean IsDisplayed() const; + + Standard_EXPORT void SetDisplayed (const Standard_Boolean B) ; + + Standard_EXPORT void SetDriverGUID (const Handle(PCollection_HExtendedString)& guid) ; + + Standard_EXPORT Handle(PCollection_HExtendedString) GetDriverGUID() const; + + Standard_EXPORT Standard_Integer Color() const; + + Standard_EXPORT void SetColor (const Standard_Integer C) ; + + Standard_EXPORT Standard_Real Transparency() const; + + Standard_EXPORT void SetTransparency (const Standard_Real T) ; + + Standard_EXPORT Standard_Integer Material() const; + + Standard_EXPORT void SetMaterial (const Standard_Integer M) ; + + Standard_EXPORT Standard_Real Width() const; + + Standard_EXPORT void SetWidth (const Standard_Real W) ; + +PPrsStd_AISPresentation(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + Standard_Boolean _CSFDB_GetPPrsStd_AISPresentationmyIsDisplayed() const { return myIsDisplayed; } + void _CSFDB_SetPPrsStd_AISPresentationmyIsDisplayed(const Standard_Boolean p) { myIsDisplayed = p; } + Handle(PCollection_HExtendedString) _CSFDB_GetPPrsStd_AISPresentationmyDriverGUID() const { return myDriverGUID; } + void _CSFDB_SetPPrsStd_AISPresentationmyDriverGUID(const Handle(PCollection_HExtendedString)& p) { myDriverGUID = p; } + Standard_Real _CSFDB_GetPPrsStd_AISPresentationmyTransparency() const { return myTransparency; } + void _CSFDB_SetPPrsStd_AISPresentationmyTransparency(const Standard_Real p) { myTransparency = p; } + Standard_Integer _CSFDB_GetPPrsStd_AISPresentationmyColor() const { return myColor; } + void _CSFDB_SetPPrsStd_AISPresentationmyColor(const Standard_Integer p) { myColor = p; } + Standard_Integer _CSFDB_GetPPrsStd_AISPresentationmyMaterial() const { return myMaterial; } + void _CSFDB_SetPPrsStd_AISPresentationmyMaterial(const Standard_Integer p) { myMaterial = p; } + Standard_Real _CSFDB_GetPPrsStd_AISPresentationmyWidth() const { return myWidth; } + void _CSFDB_SetPPrsStd_AISPresentationmyWidth(const Standard_Real p) { myWidth = p; } + + + + DEFINE_STANDARD_RTTI(PPrsStd_AISPresentation) + +protected: + + + + +private: + + + Standard_Boolean myIsDisplayed; + Handle(PCollection_HExtendedString) myDriverGUID; + Standard_Real myTransparency; + Standard_Integer myColor; + Standard_Integer myMaterial; + Standard_Real myWidth; + + +}; + + + + + + + +#endif // _PPrsStd_AISPresentation_HeaderFile diff --git a/src/FromOCCT/TKPCAF/PPrsStd_AISPresentation.ixx b/src/FromOCCT/TKPCAF/PPrsStd_AISPresentation.ixx new file mode 100644 index 000000000..941fde4d9 --- /dev/null +++ b/src/FromOCCT/TKPCAF/PPrsStd_AISPresentation.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PPrsStd_AISPresentation,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PPrsStd_AISPresentation) + + + diff --git a/src/FromOCCT/TKPCAF/PPrsStd_AISPresentation.jxx b/src/FromOCCT/TKPCAF/PPrsStd_AISPresentation.jxx new file mode 100644 index 000000000..32ee8fe37 --- /dev/null +++ b/src/FromOCCT/TKPCAF/PPrsStd_AISPresentation.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPCAF/PPrsStd_AISPresentation_1.cxx b/src/FromOCCT/TKPCAF/PPrsStd_AISPresentation_1.cxx new file mode 100644 index 000000000..1001cf0d2 --- /dev/null +++ b/src/FromOCCT/TKPCAF/PPrsStd_AISPresentation_1.cxx @@ -0,0 +1,172 @@ +// 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 + + +//======================================================================= +//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/FromOCCT/TKPCAF/PPrsStd_AISPresentation_1.hxx b/src/FromOCCT/TKPCAF/PPrsStd_AISPresentation_1.hxx new file mode 100644 index 000000000..4b8f6ce49 --- /dev/null +++ b/src/FromOCCT/TKPCAF/PPrsStd_AISPresentation_1.hxx @@ -0,0 +1,106 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PPrsStd_AISPresentation_1_HeaderFile +#define _PPrsStd_AISPresentation_1_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +class PCollection_HExtendedString; + + +class PPrsStd_AISPresentation_1 : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PPrsStd_AISPresentation_1(); + + Standard_EXPORT Standard_Boolean IsDisplayed() const; + + Standard_EXPORT void SetDisplayed (const Standard_Boolean B) ; + + Standard_EXPORT void SetDriverGUID (const Handle(PCollection_HExtendedString)& guid) ; + + Standard_EXPORT Handle(PCollection_HExtendedString) GetDriverGUID() const; + + Standard_EXPORT Standard_Integer Color() const; + + Standard_EXPORT void SetColor (const Standard_Integer C) ; + + Standard_EXPORT Standard_Real Transparency() const; + + Standard_EXPORT void SetTransparency (const Standard_Real T) ; + + Standard_EXPORT Standard_Integer Material() const; + + Standard_EXPORT void SetMaterial (const Standard_Integer M) ; + + Standard_EXPORT Standard_Real Width() const; + + Standard_EXPORT void SetWidth (const Standard_Real W) ; + + Standard_EXPORT Standard_Integer Mode() const; + + Standard_EXPORT void SetMode (const Standard_Integer M) ; + +PPrsStd_AISPresentation_1(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + Standard_Boolean _CSFDB_GetPPrsStd_AISPresentation_1myIsDisplayed() const { return myIsDisplayed; } + void _CSFDB_SetPPrsStd_AISPresentation_1myIsDisplayed(const Standard_Boolean p) { myIsDisplayed = p; } + Handle(PCollection_HExtendedString) _CSFDB_GetPPrsStd_AISPresentation_1myDriverGUID() const { return myDriverGUID; } + void _CSFDB_SetPPrsStd_AISPresentation_1myDriverGUID(const Handle(PCollection_HExtendedString)& p) { myDriverGUID = p; } + Standard_Real _CSFDB_GetPPrsStd_AISPresentation_1myTransparency() const { return myTransparency; } + void _CSFDB_SetPPrsStd_AISPresentation_1myTransparency(const Standard_Real p) { myTransparency = p; } + Standard_Integer _CSFDB_GetPPrsStd_AISPresentation_1myColor() const { return myColor; } + void _CSFDB_SetPPrsStd_AISPresentation_1myColor(const Standard_Integer p) { myColor = p; } + Standard_Integer _CSFDB_GetPPrsStd_AISPresentation_1myMaterial() const { return myMaterial; } + void _CSFDB_SetPPrsStd_AISPresentation_1myMaterial(const Standard_Integer p) { myMaterial = p; } + Standard_Real _CSFDB_GetPPrsStd_AISPresentation_1myWidth() const { return myWidth; } + void _CSFDB_SetPPrsStd_AISPresentation_1myWidth(const Standard_Real p) { myWidth = p; } + Standard_Integer _CSFDB_GetPPrsStd_AISPresentation_1myMode() const { return myMode; } + void _CSFDB_SetPPrsStd_AISPresentation_1myMode(const Standard_Integer p) { myMode = p; } + + + + DEFINE_STANDARD_RTTI(PPrsStd_AISPresentation_1) + +protected: + + + + +private: + + + Standard_Boolean myIsDisplayed; + Handle(PCollection_HExtendedString) myDriverGUID; + Standard_Real myTransparency; + Standard_Integer myColor; + Standard_Integer myMaterial; + Standard_Real myWidth; + Standard_Integer myMode; + + +}; + + + + + + + +#endif // _PPrsStd_AISPresentation_1_HeaderFile diff --git a/src/FromOCCT/TKPCAF/PPrsStd_AISPresentation_1.ixx b/src/FromOCCT/TKPCAF/PPrsStd_AISPresentation_1.ixx new file mode 100644 index 000000000..a5a7a1c0e --- /dev/null +++ b/src/FromOCCT/TKPCAF/PPrsStd_AISPresentation_1.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PPrsStd_AISPresentation_1,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PPrsStd_AISPresentation_1) + + + diff --git a/src/FromOCCT/TKPCAF/PPrsStd_AISPresentation_1.jxx b/src/FromOCCT/TKPCAF/PPrsStd_AISPresentation_1.jxx new file mode 100644 index 000000000..6c9c33a65 --- /dev/null +++ b/src/FromOCCT/TKPCAF/PPrsStd_AISPresentation_1.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPLCAF/CMakeLists.txt b/src/FromOCCT/TKPLCAF/CMakeLists.txt new file mode 100755 index 000000000..94c729913 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/CMakeLists.txt @@ -0,0 +1,736 @@ +# Copyright (C) 2012-2015 CEA/DEN, EDF R&D, OPEN CASCADE +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# + +# --- options --- + +# additional include directories +INCLUDE_DIRECTORIES( + ${CAS_INCLUDE_DIRS} + ${PROJECT_SOURCE_DIR}/src/FromOCCT/PTKernel + ${CMAKE_CURRENT_SOURCE_DIR} +) + +# additional preprocessor / compiler flags +ADD_DEFINITIONS( + ${CAS_DEFINITIONS} + ) + +# libraries to link to +SET(_link_LIBRARIES + ${CAS_CDF} + ${CAS_TKernel} ${CAS_TKLCAF} + PTKernel + ) + +# --- headers --- + +SET(GEOM_HEADERS + Handle_MDataStd_AsciiStringRetrievalDriver.hxx + Handle_MDataStd_AsciiStringStorageDriver.hxx + Handle_MDataStd_BooleanArrayRetrievalDriver.hxx + Handle_MDataStd_BooleanArrayStorageDriver.hxx + Handle_MDataStd_BooleanListRetrievalDriver.hxx + Handle_MDataStd_BooleanListStorageDriver.hxx + Handle_MDataStd_ByteArrayRetrievalDriver_1.hxx + Handle_MDataStd_ByteArrayRetrievalDriver.hxx + Handle_MDataStd_ByteArrayStorageDriver.hxx + Handle_MDataStd_CommentRetrievalDriver.hxx + Handle_MDataStd_CommentStorageDriver.hxx + Handle_MDataStd_DirectoryRetrievalDriver.hxx + Handle_MDataStd_DirectoryStorageDriver.hxx + Handle_MDataStd_ExpressionRetrievalDriver.hxx + Handle_MDataStd_ExpressionStorageDriver.hxx + Handle_MDataStd_ExtStringArrayRetrievalDriver_1.hxx + Handle_MDataStd_ExtStringArrayRetrievalDriver.hxx + Handle_MDataStd_ExtStringArrayStorageDriver.hxx + Handle_MDataStd_ExtStringListRetrievalDriver.hxx + Handle_MDataStd_ExtStringListStorageDriver.hxx + Handle_MDataStd_IntegerArrayRetrievalDriver_1.hxx + Handle_MDataStd_IntegerArrayRetrievalDriver.hxx + Handle_MDataStd_IntegerArrayStorageDriver.hxx + Handle_MDataStd_IntegerListRetrievalDriver.hxx + Handle_MDataStd_IntegerListStorageDriver.hxx + Handle_MDataStd_IntegerRetrievalDriver.hxx + Handle_MDataStd_IntegerStorageDriver.hxx + Handle_MDataStd_IntPackedMapRetrievalDriver_1.hxx + Handle_MDataStd_IntPackedMapRetrievalDriver.hxx + Handle_MDataStd_IntPackedMapStorageDriver.hxx + Handle_MDataStd_NamedDataRetrievalDriver.hxx + Handle_MDataStd_NamedDataStorageDriver.hxx + Handle_MDataStd_NameRetrievalDriver.hxx + Handle_MDataStd_NameStorageDriver.hxx + Handle_MDataStd_NoteBookRetrievalDriver.hxx + Handle_MDataStd_NoteBookStorageDriver.hxx + Handle_MDataStd_RealArrayRetrievalDriver_1.hxx + Handle_MDataStd_RealArrayRetrievalDriver.hxx + Handle_MDataStd_RealArrayStorageDriver.hxx + Handle_MDataStd_RealListRetrievalDriver.hxx + Handle_MDataStd_RealListStorageDriver.hxx + Handle_MDataStd_RealRetrievalDriver.hxx + Handle_MDataStd_RealStorageDriver.hxx + Handle_MDataStd_ReferenceArrayRetrievalDriver.hxx + Handle_MDataStd_ReferenceArrayStorageDriver.hxx + Handle_MDataStd_ReferenceListRetrievalDriver.hxx + Handle_MDataStd_ReferenceListStorageDriver.hxx + Handle_MDataStd_RelationRetrievalDriver.hxx + Handle_MDataStd_RelationStorageDriver.hxx + Handle_MDataStd_TickRetrievalDriver.hxx + Handle_MDataStd_TickStorageDriver.hxx + Handle_MDataStd_TreeNodeRetrievalDriver.hxx + Handle_MDataStd_TreeNodeStorageDriver.hxx + Handle_MDataStd_UAttributeRetrievalDriver.hxx + Handle_MDataStd_UAttributeStorageDriver.hxx + Handle_MDataStd_VariableRetrievalDriver.hxx + Handle_MDataStd_VariableStorageDriver.hxx + Handle_MDF_ARDriverHSequence.hxx + Handle_MDF_ARDriver.hxx + Handle_MDF_ARDriverTable.hxx + Handle_MDF_ASDriverHSequence.hxx + Handle_MDF_ASDriver.hxx + Handle_MDF_ASDriverTable.hxx + Handle_MDF_DataMapNodeOfTypeARDriverMap.hxx + Handle_MDF_DataMapNodeOfTypeASDriverMap.hxx + Handle_MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable.hxx + Handle_MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable.hxx + Handle_MDF_ListNodeOfDriverListOfARDriverTable.hxx + Handle_MDF_ListNodeOfDriverListOfASDriverTable.hxx + Handle_MDF_ReferenceRetrievalDriver.hxx + Handle_MDF_ReferenceStorageDriver.hxx + Handle_MDF_RRelocationTable.hxx + Handle_MDF_SequenceNodeOfARDriverSequence.hxx + Handle_MDF_SequenceNodeOfASDriverSequence.hxx + Handle_MDF_SRelocationTable.hxx + Handle_MDF_TagSourceRetrievalDriver.hxx + Handle_MDF_TagSourceStorageDriver.hxx + Handle_MDocStd_DocumentRetrievalDriver.hxx + Handle_MDocStd_DocumentStorageDriver.hxx + Handle_MDocStd_XLinkRetrievalDriver.hxx + Handle_MDocStd_XLinkStorageDriver.hxx + Handle_MFunction_FunctionRetrievalDriver.hxx + Handle_MFunction_FunctionStorageDriver.hxx + Handle_PDataStd_AsciiString.hxx + Handle_PDataStd_BooleanArray.hxx + Handle_PDataStd_BooleanList.hxx + Handle_PDataStd_ByteArray_1.hxx + Handle_PDataStd_ByteArray.hxx + Handle_PDataStd_Comment.hxx + Handle_PDataStd_Directory.hxx + Handle_PDataStd_Expression.hxx + Handle_PDataStd_ExtStringArray_1.hxx + Handle_PDataStd_ExtStringArray.hxx + Handle_PDataStd_ExtStringList.hxx + Handle_PDataStd_HArray1OfByte.hxx + Handle_PDataStd_HArray1OfHArray1OfInteger.hxx + Handle_PDataStd_HArray1OfHArray1OfReal.hxx + Handle_PDataStd_HArray1OfHAsciiString.hxx + Handle_PDataStd_IntegerArray_1.hxx + Handle_PDataStd_IntegerArray.hxx + Handle_PDataStd_Integer.hxx + Handle_PDataStd_IntegerList.hxx + Handle_PDataStd_IntPackedMap_1.hxx + Handle_PDataStd_IntPackedMap.hxx + Handle_PDataStd_NamedData.hxx + Handle_PDataStd_Name.hxx + Handle_PDataStd_NoteBook.hxx + Handle_PDataStd_RealArray_1.hxx + Handle_PDataStd_RealArray.hxx + Handle_PDataStd_Real.hxx + Handle_PDataStd_RealList.hxx + Handle_PDataStd_ReferenceArray.hxx + Handle_PDataStd_ReferenceList.hxx + Handle_PDataStd_Relation.hxx + Handle_PDataStd_Tick.hxx + Handle_PDataStd_TreeNode.hxx + Handle_PDataStd_UAttribute.hxx + Handle_PDataStd_Variable.hxx + Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfByte.hxx + Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger.hxx + Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal.hxx + Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString.hxx + Handle_PDF_Attribute.hxx + Handle_PDF_Data.hxx + Handle_PDF_HAttributeArray1.hxx + Handle_PDF_Reference.hxx + Handle_PDF_TagSource.hxx + Handle_PDF_VArrayNodeOfFieldOfHAttributeArray1.hxx + Handle_PDocStd_Document.hxx + Handle_PDocStd_XLink.hxx + Handle_PFunction_Function.hxx MDataStd_AsciiStringRetrievalDriver.hxx + MDataStd_AsciiStringRetrievalDriver.ixx + MDataStd_AsciiStringRetrievalDriver.jxx + MDataStd_AsciiStringStorageDriver.hxx + MDataStd_AsciiStringStorageDriver.ixx + MDataStd_AsciiStringStorageDriver.jxx + MDataStd_BooleanArrayRetrievalDriver.hxx + MDataStd_BooleanArrayRetrievalDriver.ixx + MDataStd_BooleanArrayRetrievalDriver.jxx + MDataStd_BooleanArrayStorageDriver.hxx + MDataStd_BooleanArrayStorageDriver.ixx + MDataStd_BooleanArrayStorageDriver.jxx + MDataStd_BooleanListRetrievalDriver.hxx + MDataStd_BooleanListRetrievalDriver.ixx + MDataStd_BooleanListRetrievalDriver.jxx + MDataStd_BooleanListStorageDriver.hxx + MDataStd_BooleanListStorageDriver.ixx + MDataStd_BooleanListStorageDriver.jxx + MDataStd_ByteArrayRetrievalDriver_1.hxx + MDataStd_ByteArrayRetrievalDriver_1.ixx + MDataStd_ByteArrayRetrievalDriver_1.jxx + MDataStd_ByteArrayRetrievalDriver.hxx + MDataStd_ByteArrayRetrievalDriver.ixx + MDataStd_ByteArrayRetrievalDriver.jxx + MDataStd_ByteArrayStorageDriver.hxx + MDataStd_ByteArrayStorageDriver.ixx + MDataStd_ByteArrayStorageDriver.jxx + MDataStd_CommentRetrievalDriver.hxx + MDataStd_CommentRetrievalDriver.ixx + MDataStd_CommentRetrievalDriver.jxx + MDataStd_CommentStorageDriver.hxx + MDataStd_CommentStorageDriver.ixx + MDataStd_CommentStorageDriver.jxx + MDataStd_DirectoryRetrievalDriver.hxx + MDataStd_DirectoryRetrievalDriver.ixx + MDataStd_DirectoryRetrievalDriver.jxx + MDataStd_DirectoryStorageDriver.hxx + MDataStd_DirectoryStorageDriver.ixx + MDataStd_DirectoryStorageDriver.jxx + MDataStd_ExpressionRetrievalDriver.hxx + MDataStd_ExpressionRetrievalDriver.ixx + MDataStd_ExpressionRetrievalDriver.jxx + MDataStd_ExpressionStorageDriver.hxx + MDataStd_ExpressionStorageDriver.ixx + MDataStd_ExpressionStorageDriver.jxx + MDataStd_ExtStringArrayRetrievalDriver_1.hxx + MDataStd_ExtStringArrayRetrievalDriver_1.ixx + MDataStd_ExtStringArrayRetrievalDriver_1.jxx + MDataStd_ExtStringArrayRetrievalDriver.hxx + MDataStd_ExtStringArrayRetrievalDriver.ixx + MDataStd_ExtStringArrayRetrievalDriver.jxx + MDataStd_ExtStringArrayStorageDriver.hxx + MDataStd_ExtStringArrayStorageDriver.ixx + MDataStd_ExtStringArrayStorageDriver.jxx + MDataStd_ExtStringListRetrievalDriver.hxx + MDataStd_ExtStringListRetrievalDriver.ixx + MDataStd_ExtStringListRetrievalDriver.jxx + MDataStd_ExtStringListStorageDriver.hxx + MDataStd_ExtStringListStorageDriver.ixx + MDataStd_ExtStringListStorageDriver.jxx + MDataStd.hxx + MDataStd_IntegerArrayRetrievalDriver_1.hxx + MDataStd_IntegerArrayRetrievalDriver_1.ixx + MDataStd_IntegerArrayRetrievalDriver_1.jxx + MDataStd_IntegerArrayRetrievalDriver.hxx + MDataStd_IntegerArrayRetrievalDriver.ixx + MDataStd_IntegerArrayRetrievalDriver.jxx + MDataStd_IntegerArrayStorageDriver.hxx + MDataStd_IntegerArrayStorageDriver.ixx + MDataStd_IntegerArrayStorageDriver.jxx + MDataStd_IntegerListRetrievalDriver.hxx + MDataStd_IntegerListRetrievalDriver.ixx + MDataStd_IntegerListRetrievalDriver.jxx + MDataStd_IntegerListStorageDriver.hxx + MDataStd_IntegerListStorageDriver.ixx + MDataStd_IntegerListStorageDriver.jxx + MDataStd_IntegerRetrievalDriver.hxx + MDataStd_IntegerRetrievalDriver.ixx + MDataStd_IntegerRetrievalDriver.jxx + MDataStd_IntegerStorageDriver.hxx + MDataStd_IntegerStorageDriver.ixx + MDataStd_IntegerStorageDriver.jxx + MDataStd_IntPackedMapRetrievalDriver_1.hxx + MDataStd_IntPackedMapRetrievalDriver_1.ixx + MDataStd_IntPackedMapRetrievalDriver_1.jxx + MDataStd_IntPackedMapRetrievalDriver.hxx + MDataStd_IntPackedMapRetrievalDriver.ixx + MDataStd_IntPackedMapRetrievalDriver.jxx + MDataStd_IntPackedMapStorageDriver.hxx + MDataStd_IntPackedMapStorageDriver.ixx + MDataStd_IntPackedMapStorageDriver.jxx + MDataStd.ixx + MDataStd.jxx + MDataStd_NamedDataRetrievalDriver.hxx + MDataStd_NamedDataRetrievalDriver.ixx + MDataStd_NamedDataRetrievalDriver.jxx + MDataStd_NamedDataStorageDriver.hxx + MDataStd_NamedDataStorageDriver.ixx + MDataStd_NamedDataStorageDriver.jxx + MDataStd_NameRetrievalDriver.hxx + MDataStd_NameRetrievalDriver.ixx + MDataStd_NameRetrievalDriver.jxx + MDataStd_NameStorageDriver.hxx + MDataStd_NameStorageDriver.ixx + MDataStd_NameStorageDriver.jxx + MDataStd_NoteBookRetrievalDriver.hxx + MDataStd_NoteBookRetrievalDriver.ixx + MDataStd_NoteBookRetrievalDriver.jxx + MDataStd_NoteBookStorageDriver.hxx + MDataStd_NoteBookStorageDriver.ixx + MDataStd_NoteBookStorageDriver.jxx + MDataStd_RealArrayRetrievalDriver_1.hxx + MDataStd_RealArrayRetrievalDriver_1.ixx + MDataStd_RealArrayRetrievalDriver_1.jxx + MDataStd_RealArrayRetrievalDriver.hxx + MDataStd_RealArrayRetrievalDriver.ixx + MDataStd_RealArrayRetrievalDriver.jxx + MDataStd_RealArrayStorageDriver.hxx + MDataStd_RealArrayStorageDriver.ixx + MDataStd_RealArrayStorageDriver.jxx + MDataStd_RealListRetrievalDriver.hxx + MDataStd_RealListRetrievalDriver.ixx + MDataStd_RealListRetrievalDriver.jxx + MDataStd_RealListStorageDriver.hxx + MDataStd_RealListStorageDriver.ixx + MDataStd_RealListStorageDriver.jxx + MDataStd_RealRetrievalDriver.hxx + MDataStd_RealRetrievalDriver.ixx + MDataStd_RealRetrievalDriver.jxx + MDataStd_RealStorageDriver.hxx + MDataStd_RealStorageDriver.ixx + MDataStd_RealStorageDriver.jxx + MDataStd_ReferenceArrayRetrievalDriver.hxx + MDataStd_ReferenceArrayRetrievalDriver.ixx + MDataStd_ReferenceArrayRetrievalDriver.jxx + MDataStd_ReferenceArrayStorageDriver.hxx + MDataStd_ReferenceArrayStorageDriver.ixx + MDataStd_ReferenceArrayStorageDriver.jxx + MDataStd_ReferenceListRetrievalDriver.hxx + MDataStd_ReferenceListRetrievalDriver.ixx + MDataStd_ReferenceListRetrievalDriver.jxx + MDataStd_ReferenceListStorageDriver.hxx + MDataStd_ReferenceListStorageDriver.ixx + MDataStd_ReferenceListStorageDriver.jxx + MDataStd_RelationRetrievalDriver.hxx + MDataStd_RelationRetrievalDriver.ixx + MDataStd_RelationRetrievalDriver.jxx + MDataStd_RelationStorageDriver.hxx + MDataStd_RelationStorageDriver.ixx + MDataStd_RelationStorageDriver.jxx + MDataStd_TickRetrievalDriver.hxx + MDataStd_TickRetrievalDriver.ixx + MDataStd_TickRetrievalDriver.jxx + MDataStd_TickStorageDriver.hxx + MDataStd_TickStorageDriver.ixx + MDataStd_TickStorageDriver.jxx + MDataStd_TreeNodeRetrievalDriver.hxx + MDataStd_TreeNodeRetrievalDriver.ixx + MDataStd_TreeNodeRetrievalDriver.jxx + MDataStd_TreeNodeStorageDriver.hxx + MDataStd_TreeNodeStorageDriver.ixx + MDataStd_TreeNodeStorageDriver.jxx + MDataStd_UAttributeRetrievalDriver.hxx + MDataStd_UAttributeRetrievalDriver.ixx + MDataStd_UAttributeRetrievalDriver.jxx + MDataStd_UAttributeStorageDriver.hxx + MDataStd_UAttributeStorageDriver.ixx + MDataStd_UAttributeStorageDriver.jxx + MDataStd_VariableRetrievalDriver.hxx + MDataStd_VariableRetrievalDriver.ixx + MDataStd_VariableRetrievalDriver.jxx + MDataStd_VariableStorageDriver.hxx + MDataStd_VariableStorageDriver.ixx + MDataStd_VariableStorageDriver.jxx + MDF_ARDriverHSequence.hxx + MDF_ARDriver.hxx + MDF_ARDriver.ixx + MDF_ARDriver.jxx + MDF_ARDriverSequence.hxx + MDF_ARDriverTable.hxx + MDF_ASDriverHSequence.hxx + MDF_ASDriver.hxx + MDF_ASDriver.ixx + MDF_ASDriver.jxx + MDF_ASDriverSequence.hxx + MDF_ASDriverTable.hxx + MDF_DataMapIteratorOfTypeARDriverMap.hxx + MDF_DataMapIteratorOfTypeASDriverMap.hxx + MDF_DataMapIteratorOfTypeDriverListMapOfARDriverTable.hxx + MDF_DataMapIteratorOfTypeDriverListMapOfASDriverTable.hxx + MDF_DataMapNodeOfTypeARDriverMap.hxx + MDF_DataMapNodeOfTypeASDriverMap.hxx + MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable.hxx + MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable.hxx + MDF_DriverListOfARDriverTable.hxx + MDF_DriverListOfASDriverTable.hxx + MDF_DriverTable.gxx + MDF.hxx + MDF.ixx + MDF.jxx + MDF_ListIteratorOfDriverListOfARDriverTable.hxx + MDF_ListIteratorOfDriverListOfASDriverTable.hxx + MDF_ListNodeOfDriverListOfARDriverTable.hxx + MDF_ListNodeOfDriverListOfASDriverTable.hxx + MDF_ReferenceRetrievalDriver.hxx + MDF_ReferenceRetrievalDriver.ixx + MDF_ReferenceRetrievalDriver.jxx + MDF_ReferenceStorageDriver.hxx + MDF_ReferenceStorageDriver.ixx + MDF_ReferenceStorageDriver.jxx + MDF_RelocationTable.gxx + MDF_RRelocationTable.hxx + MDF_SequenceNodeOfARDriverSequence.hxx + MDF_SequenceNodeOfASDriverSequence.hxx + MDF_SRelocationTable.hxx + MDF_TagSourceRetrievalDriver.hxx + MDF_TagSourceRetrievalDriver.ixx + MDF_TagSourceRetrievalDriver.jxx + MDF_TagSourceStorageDriver.hxx + MDF_TagSourceStorageDriver.ixx + MDF_TagSourceStorageDriver.jxx + MDF_Tool.hxx + MDF_Tool.ixx + MDF_Tool.jxx + MDF_TypeARDriverMap.hxx + MDF_TypeASDriverMap.hxx + MDF_TypeDriverListMapOfARDriverTable.hxx + MDF_TypeDriverListMapOfASDriverTable.hxx + MDocStd_DocumentRetrievalDriver.hxx + MDocStd_DocumentRetrievalDriver.ixx + MDocStd_DocumentRetrievalDriver.jxx + MDocStd_DocumentStorageDriver.hxx + MDocStd_DocumentStorageDriver.ixx + MDocStd_DocumentStorageDriver.jxx + MDocStd.hxx + MDocStd.ixx + MDocStd.jxx + MDocStd_XLinkRetrievalDriver.hxx + MDocStd_XLinkRetrievalDriver.ixx + MDocStd_XLinkRetrievalDriver.jxx + MDocStd_XLinkStorageDriver.hxx + MDocStd_XLinkStorageDriver.ixx + MDocStd_XLinkStorageDriver.jxx + MFunction_FunctionRetrievalDriver.hxx + MFunction_FunctionRetrievalDriver.ixx + MFunction_FunctionRetrievalDriver.jxx + MFunction_FunctionStorageDriver.hxx + MFunction_FunctionStorageDriver.ixx + MFunction_FunctionStorageDriver.jxx + MFunction.hxx + MFunction.ixx + MFunction.jxx + PDataStd_AsciiString.hxx + PDataStd_AsciiString.ixx + PDataStd_AsciiString.jxx + PDataStd_BooleanArray.hxx + PDataStd_BooleanArray.ixx + PDataStd_BooleanArray.jxx + PDataStd_BooleanList.hxx + PDataStd_BooleanList.ixx + PDataStd_BooleanList.jxx + PDataStd_ByteArray_1.hxx + PDataStd_ByteArray_1.ixx + PDataStd_ByteArray_1.jxx + PDataStd_ByteArray.hxx + PDataStd_ByteArray.ixx + PDataStd_ByteArray.jxx + PDataStd_Comment.hxx + PDataStd_Comment.ixx + PDataStd_Comment.jxx + PDataStd_Directory.hxx + PDataStd_Directory.ixx + PDataStd_Directory.jxx + PDataStd_Expression.hxx + PDataStd_Expression.ixx + PDataStd_Expression.jxx + PDataStd_ExtStringArray_1.hxx + PDataStd_ExtStringArray_1.ixx + PDataStd_ExtStringArray_1.jxx + PDataStd_ExtStringArray.hxx + PDataStd_ExtStringArray.ixx + PDataStd_ExtStringArray.jxx + PDataStd_ExtStringList.hxx + PDataStd_ExtStringList.ixx + PDataStd_ExtStringList.jxx + PDataStd_FieldOfHArray1OfByte.hxx + PDataStd_FieldOfHArray1OfHArray1OfInteger.hxx + PDataStd_FieldOfHArray1OfHArray1OfReal.hxx + PDataStd_FieldOfHArray1OfHAsciiString.hxx + PDataStd_HArray1OfByte.hxx + PDataStd_HArray1OfHArray1OfInteger.hxx + PDataStd_HArray1OfHArray1OfReal.hxx + PDataStd_HArray1OfHAsciiString.hxx + PDataStd_IntegerArray_1.hxx + PDataStd_IntegerArray_1.ixx + PDataStd_IntegerArray_1.jxx + PDataStd_IntegerArray.hxx + PDataStd_IntegerArray.ixx + PDataStd_IntegerArray.jxx + PDataStd_Integer.hxx + PDataStd_Integer.ixx + PDataStd_Integer.jxx + PDataStd_IntegerList.hxx + PDataStd_IntegerList.ixx + PDataStd_IntegerList.jxx + PDataStd_IntPackedMap_1.hxx + PDataStd_IntPackedMap_1.ixx + PDataStd_IntPackedMap_1.jxx + PDataStd_IntPackedMap.hxx + PDataStd_IntPackedMap.ixx + PDataStd_IntPackedMap.jxx + PDataStd_NamedData.hxx + PDataStd_NamedData.ixx + PDataStd_NamedData.jxx + PDataStd_Name.hxx + PDataStd_Name.ixx + PDataStd_Name.jxx + PDataStd_NoteBook.hxx + PDataStd_NoteBook.ixx + PDataStd_NoteBook.jxx + PDataStd_RealArray_1.hxx + PDataStd_RealArray_1.ixx + PDataStd_RealArray_1.jxx + PDataStd_RealArray.hxx + PDataStd_RealArray.ixx + PDataStd_RealArray.jxx + PDataStd_Real.hxx + PDataStd_Real.ixx + PDataStd_Real.jxx + PDataStd_RealList.hxx + PDataStd_RealList.ixx + PDataStd_RealList.jxx + PDataStd_ReferenceArray.hxx + PDataStd_ReferenceArray.ixx + PDataStd_ReferenceArray.jxx + PDataStd_ReferenceList.hxx + PDataStd_ReferenceList.ixx + PDataStd_ReferenceList.jxx + PDataStd_Relation.hxx + PDataStd_Relation.ixx + PDataStd_Relation.jxx + PDataStd_Tick.hxx + PDataStd_Tick.ixx + PDataStd_Tick.jxx + PDataStd_TreeNode.hxx + PDataStd_TreeNode.ixx + PDataStd_TreeNode.jxx + PDataStd_UAttribute.hxx + PDataStd_UAttribute.ixx + PDataStd_UAttribute.jxx + PDataStd_Variable.hxx + PDataStd_Variable.ixx + PDataStd_Variable.jxx + PDataStd_VArrayNodeOfFieldOfHArray1OfByte.hxx + PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger.hxx + PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal.hxx + PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString.hxx + PDataStd_VArrayTNodeOfFieldOfHArray1OfByte.hxx + PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfInteger.hxx + PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfReal.hxx + PDataStd_VArrayTNodeOfFieldOfHArray1OfHAsciiString.hxx + PDF_Attribute.hxx + PDF_Attribute.ixx + PDF_Attribute.jxx + PDF_Data.hxx + PDF_Data.ixx + PDF_Data.jxx + PDF_Data.lxx + PDF_FieldOfHAttributeArray1.hxx + PDF_HAttributeArray1.hxx + PDF_Reference.hxx + PDF_Reference.ixx + PDF_Reference.jxx + PDF_TagSource.hxx + PDF_TagSource.ixx + PDF_TagSource.jxx + PDF_VArrayNodeOfFieldOfHAttributeArray1.hxx + PDF_VArrayTNodeOfFieldOfHAttributeArray1.hxx + PDocStd_Document.hxx + PDocStd_Document.ixx + PDocStd_Document.jxx + PDocStd_XLink.hxx + PDocStd_XLink.ixx + PDocStd_XLink.jxx + PFunction_Function.hxx + PFunction_Function.ixx + PFunction_Function.jxx + ) + +# --- sources --- + +SET(GEOM_SOURCES + MDataStd_AsciiStringRetrievalDriver.cxx + MDataStd_AsciiStringStorageDriver.cxx + MDataStd_BooleanArrayRetrievalDriver.cxx + MDataStd_BooleanArrayStorageDriver.cxx + MDataStd_BooleanListRetrievalDriver.cxx + MDataStd_BooleanListStorageDriver.cxx + MDataStd_ByteArrayRetrievalDriver_1.cxx + MDataStd_ByteArrayRetrievalDriver.cxx + MDataStd_ByteArrayStorageDriver.cxx + MDataStd_CommentRetrievalDriver.cxx + MDataStd_CommentStorageDriver.cxx + MDataStd.cxx + MDataStd_DirectoryRetrievalDriver.cxx + MDataStd_DirectoryStorageDriver.cxx + MDataStd_ExpressionRetrievalDriver.cxx + MDataStd_ExpressionStorageDriver.cxx + MDataStd_ExtStringArrayRetrievalDriver_1.cxx + MDataStd_ExtStringArrayRetrievalDriver.cxx + MDataStd_ExtStringArrayStorageDriver.cxx + MDataStd_ExtStringListRetrievalDriver.cxx + MDataStd_ExtStringListStorageDriver.cxx + MDataStd_IntegerArrayRetrievalDriver_1.cxx + MDataStd_IntegerArrayRetrievalDriver.cxx + MDataStd_IntegerArrayStorageDriver.cxx + MDataStd_IntegerListRetrievalDriver.cxx + MDataStd_IntegerListStorageDriver.cxx + MDataStd_IntegerRetrievalDriver.cxx + MDataStd_IntegerStorageDriver.cxx + MDataStd_IntPackedMapRetrievalDriver_1.cxx + MDataStd_IntPackedMapRetrievalDriver.cxx + MDataStd_IntPackedMapStorageDriver.cxx + MDataStd_NamedDataRetrievalDriver.cxx + MDataStd_NamedDataStorageDriver.cxx + MDataStd_NameRetrievalDriver.cxx + MDataStd_NameStorageDriver.cxx + MDataStd_NoteBookRetrievalDriver.cxx + MDataStd_NoteBookStorageDriver.cxx + MDataStd_RealArrayRetrievalDriver_1.cxx + MDataStd_RealArrayRetrievalDriver.cxx + MDataStd_RealArrayStorageDriver.cxx + MDataStd_RealListRetrievalDriver.cxx + MDataStd_RealListStorageDriver.cxx + MDataStd_RealRetrievalDriver.cxx + MDataStd_RealStorageDriver.cxx + MDataStd_ReferenceArrayRetrievalDriver.cxx + MDataStd_ReferenceArrayStorageDriver.cxx + MDataStd_ReferenceListRetrievalDriver.cxx + MDataStd_ReferenceListStorageDriver.cxx + MDataStd_RelationRetrievalDriver.cxx + MDataStd_RelationStorageDriver.cxx + MDataStd_TickRetrievalDriver.cxx + MDataStd_TickStorageDriver.cxx + MDataStd_TreeNodeRetrievalDriver.cxx + MDataStd_TreeNodeStorageDriver.cxx + MDataStd_UAttributeRetrievalDriver.cxx + MDataStd_UAttributeStorageDriver.cxx + MDataStd_VariableRetrievalDriver.cxx + MDataStd_VariableStorageDriver.cxx + MDF_ARDriver.cxx + MDF_ARDriverHSequence_0.cxx + MDF_ARDriverSequence_0.cxx + MDF_ARDriverTable_0.cxx + MDF_ASDriver.cxx + MDF_ASDriverHSequence_0.cxx + MDF_ASDriverSequence_0.cxx + MDF_ASDriverTable_0.cxx + MDF.cxx + MDF_DataMapIteratorOfTypeARDriverMap_0.cxx + MDF_DataMapIteratorOfTypeASDriverMap_0.cxx + MDF_DataMapIteratorOfTypeDriverListMapOfARDriverTable_0.cxx + MDF_DataMapIteratorOfTypeDriverListMapOfASDriverTable_0.cxx + MDF_DataMapNodeOfTypeARDriverMap_0.cxx + MDF_DataMapNodeOfTypeASDriverMap_0.cxx + MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable_0.cxx + MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable_0.cxx + MDF_DriverListOfARDriverTable_0.cxx + MDF_DriverListOfASDriverTable_0.cxx + MDF_DriverTable.gxx + MDF_ListIteratorOfDriverListOfARDriverTable_0.cxx + MDF_ListIteratorOfDriverListOfASDriverTable_0.cxx + MDF_ListNodeOfDriverListOfARDriverTable_0.cxx + MDF_ListNodeOfDriverListOfASDriverTable_0.cxx + MDF_ReferenceRetrievalDriver.cxx + MDF_ReferenceStorageDriver.cxx + MDF_RelocationTable.gxx + MDF_RRelocationTable_0.cxx + MDF_SequenceNodeOfARDriverSequence_0.cxx + MDF_SequenceNodeOfASDriverSequence_0.cxx + MDF_SRelocationTable_0.cxx + MDF_TagSourceRetrievalDriver.cxx + MDF_TagSourceStorageDriver.cxx + MDF_Tool.cxx + MDF_TypeARDriverMap_0.cxx + MDF_TypeASDriverMap_0.cxx + MDF_TypeDriverListMapOfARDriverTable_0.cxx + MDF_TypeDriverListMapOfASDriverTable_0.cxx + MDocStd.cxx + MDocStd_DocumentRetrievalDriver.cxx + MDocStd_DocumentStorageDriver.cxx + MDocStd_XLinkRetrievalDriver.cxx + MDocStd_XLinkStorageDriver.cxx + MFunction.cxx + MFunction_FunctionRetrievalDriver.cxx + MFunction_FunctionStorageDriver.cxx + PDataStd_AsciiString.cxx + PDataStd_BooleanArray.cxx + PDataStd_BooleanList.cxx + PDataStd_ByteArray_1.cxx + PDataStd_ByteArray.cxx + PDataStd_Comment.cxx + PDataStd_Directory.cxx + PDataStd_Expression.cxx + PDataStd_ExtStringArray_1.cxx + PDataStd_ExtStringArray.cxx + PDataStd_ExtStringList.cxx + PDataStd_FieldOfHArray1OfByte_0.cxx + PDataStd_FieldOfHArray1OfHArray1OfInteger_0.cxx + PDataStd_FieldOfHArray1OfHArray1OfReal_0.cxx + PDataStd_FieldOfHArray1OfHAsciiString_0.cxx + PDataStd_HArray1OfByte_0.cxx + PDataStd_HArray1OfHArray1OfInteger_0.cxx + PDataStd_HArray1OfHArray1OfReal_0.cxx + PDataStd_HArray1OfHAsciiString_0.cxx + PDataStd_IntegerArray_1.cxx + PDataStd_IntegerArray.cxx + PDataStd_Integer.cxx + PDataStd_IntegerList.cxx + PDataStd_IntPackedMap_1.cxx + PDataStd_IntPackedMap.cxx + PDataStd_Name.cxx + PDataStd_NamedData.cxx + PDataStd_NoteBook.cxx + PDataStd_RealArray_1.cxx + PDataStd_RealArray.cxx + PDataStd_Real.cxx + PDataStd_RealList.cxx + PDataStd_ReferenceArray.cxx + PDataStd_ReferenceList.cxx + PDataStd_Relation.cxx + PDataStd_Tick.cxx + PDataStd_TreeNode.cxx + PDataStd_UAttribute.cxx + PDataStd_Variable.cxx + PDataStd_VArrayNodeOfFieldOfHArray1OfByte_0.cxx + PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger_0.cxx + PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal_0.cxx + PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString_0.cxx + PDataStd_VArrayTNodeOfFieldOfHArray1OfByte_0.cxx + PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfInteger_0.cxx + PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfReal_0.cxx + PDataStd_VArrayTNodeOfFieldOfHArray1OfHAsciiString_0.cxx + PDF_Attribute.cxx + PDF_Data.cxx + PDF_FieldOfHAttributeArray1_0.cxx + PDF_HAttributeArray1_0.cxx + PDF_Reference.cxx + PDF_TagSource.cxx + PDF_VArrayNodeOfFieldOfHAttributeArray1_0.cxx + PDF_VArrayTNodeOfFieldOfHAttributeArray1_0.cxx + PDocStd_Document.cxx + PDocStd_XLink.cxx + PFunction_Function.cxx + ) + +# --- rules --- + +ADD_LIBRARY(TKPLCAF ${GEOM_SOURCES}) +TARGET_LINK_LIBRARIES(TKPLCAF ${_link_LIBRARIES}) +INSTALL(TARGETS TKPLCAF EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) + +INSTALL(FILES ${GEOM_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) diff --git a/src/FromOCCT/TKPLCAF/Handle_MDF_ARDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDF_ARDriver.hxx new file mode 100644 index 000000000..753236e50 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDF_ARDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDF_ARDriver_HeaderFile +#define _Handle_MDF_ARDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MMgt_TShared); +class MDF_ARDriver; + +DEFINE_STANDARD_HANDLE(MDF_ARDriver, MMgt_TShared) + +#endif // _Handle_MDF_ARDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDF_ARDriverHSequence.hxx b/src/FromOCCT/TKPLCAF/Handle_MDF_ARDriverHSequence.hxx new file mode 100644 index 000000000..047d6ac10 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDF_ARDriverHSequence.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDF_ARDriverHSequence_HeaderFile +#define _Handle_MDF_ARDriverHSequence_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MMgt_TShared); +class MDF_ARDriverHSequence; + +DEFINE_STANDARD_HANDLE(MDF_ARDriverHSequence, MMgt_TShared) + +#endif // _Handle_MDF_ARDriverHSequence_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDF_ARDriverTable.hxx b/src/FromOCCT/TKPLCAF/Handle_MDF_ARDriverTable.hxx new file mode 100644 index 000000000..7809bbea6 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDF_ARDriverTable.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDF_ARDriverTable_HeaderFile +#define _Handle_MDF_ARDriverTable_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MMgt_TShared); +class MDF_ARDriverTable; + +DEFINE_STANDARD_HANDLE(MDF_ARDriverTable, MMgt_TShared) + +#endif // _Handle_MDF_ARDriverTable_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDF_ASDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDF_ASDriver.hxx new file mode 100644 index 000000000..604e861d1 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDF_ASDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDF_ASDriver_HeaderFile +#define _Handle_MDF_ASDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MMgt_TShared); +class MDF_ASDriver; + +DEFINE_STANDARD_HANDLE(MDF_ASDriver, MMgt_TShared) + +#endif // _Handle_MDF_ASDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDF_ASDriverHSequence.hxx b/src/FromOCCT/TKPLCAF/Handle_MDF_ASDriverHSequence.hxx new file mode 100644 index 000000000..9467fb3bb --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDF_ASDriverHSequence.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDF_ASDriverHSequence_HeaderFile +#define _Handle_MDF_ASDriverHSequence_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MMgt_TShared); +class MDF_ASDriverHSequence; + +DEFINE_STANDARD_HANDLE(MDF_ASDriverHSequence, MMgt_TShared) + +#endif // _Handle_MDF_ASDriverHSequence_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDF_ASDriverTable.hxx b/src/FromOCCT/TKPLCAF/Handle_MDF_ASDriverTable.hxx new file mode 100644 index 000000000..8d073eaa4 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDF_ASDriverTable.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDF_ASDriverTable_HeaderFile +#define _Handle_MDF_ASDriverTable_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MMgt_TShared); +class MDF_ASDriverTable; + +DEFINE_STANDARD_HANDLE(MDF_ASDriverTable, MMgt_TShared) + +#endif // _Handle_MDF_ASDriverTable_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDF_DataMapNodeOfTypeARDriverMap.hxx b/src/FromOCCT/TKPLCAF/Handle_MDF_DataMapNodeOfTypeARDriverMap.hxx new file mode 100644 index 000000000..743d449d5 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDF_DataMapNodeOfTypeARDriverMap.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDF_DataMapNodeOfTypeARDriverMap_HeaderFile +#define _Handle_MDF_DataMapNodeOfTypeARDriverMap_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(TCollection_MapNode); +class MDF_DataMapNodeOfTypeARDriverMap; + +DEFINE_STANDARD_HANDLE(MDF_DataMapNodeOfTypeARDriverMap, TCollection_MapNode) + +#endif // _Handle_MDF_DataMapNodeOfTypeARDriverMap_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDF_DataMapNodeOfTypeASDriverMap.hxx b/src/FromOCCT/TKPLCAF/Handle_MDF_DataMapNodeOfTypeASDriverMap.hxx new file mode 100644 index 000000000..23220ede9 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDF_DataMapNodeOfTypeASDriverMap.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDF_DataMapNodeOfTypeASDriverMap_HeaderFile +#define _Handle_MDF_DataMapNodeOfTypeASDriverMap_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(TCollection_MapNode); +class MDF_DataMapNodeOfTypeASDriverMap; + +DEFINE_STANDARD_HANDLE(MDF_DataMapNodeOfTypeASDriverMap, TCollection_MapNode) + +#endif // _Handle_MDF_DataMapNodeOfTypeASDriverMap_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable.hxx b/src/FromOCCT/TKPLCAF/Handle_MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable.hxx new file mode 100644 index 000000000..6fc2d1fa6 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable_HeaderFile +#define _Handle_MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(TCollection_MapNode); +class MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable; + +DEFINE_STANDARD_HANDLE(MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable, TCollection_MapNode) + +#endif // _Handle_MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable.hxx b/src/FromOCCT/TKPLCAF/Handle_MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable.hxx new file mode 100644 index 000000000..d7652bfd5 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable_HeaderFile +#define _Handle_MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(TCollection_MapNode); +class MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable; + +DEFINE_STANDARD_HANDLE(MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable, TCollection_MapNode) + +#endif // _Handle_MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDF_ListNodeOfDriverListOfARDriverTable.hxx b/src/FromOCCT/TKPLCAF/Handle_MDF_ListNodeOfDriverListOfARDriverTable.hxx new file mode 100644 index 000000000..7d4cd4662 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDF_ListNodeOfDriverListOfARDriverTable.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDF_ListNodeOfDriverListOfARDriverTable_HeaderFile +#define _Handle_MDF_ListNodeOfDriverListOfARDriverTable_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(TCollection_MapNode); +class MDF_ListNodeOfDriverListOfARDriverTable; + +DEFINE_STANDARD_HANDLE(MDF_ListNodeOfDriverListOfARDriverTable, TCollection_MapNode) + +#endif // _Handle_MDF_ListNodeOfDriverListOfARDriverTable_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDF_ListNodeOfDriverListOfASDriverTable.hxx b/src/FromOCCT/TKPLCAF/Handle_MDF_ListNodeOfDriverListOfASDriverTable.hxx new file mode 100644 index 000000000..60d0ead0a --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDF_ListNodeOfDriverListOfASDriverTable.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDF_ListNodeOfDriverListOfASDriverTable_HeaderFile +#define _Handle_MDF_ListNodeOfDriverListOfASDriverTable_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(TCollection_MapNode); +class MDF_ListNodeOfDriverListOfASDriverTable; + +DEFINE_STANDARD_HANDLE(MDF_ListNodeOfDriverListOfASDriverTable, TCollection_MapNode) + +#endif // _Handle_MDF_ListNodeOfDriverListOfASDriverTable_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDF_RRelocationTable.hxx b/src/FromOCCT/TKPLCAF/Handle_MDF_RRelocationTable.hxx new file mode 100644 index 000000000..4b7502a38 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDF_RRelocationTable.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDF_RRelocationTable_HeaderFile +#define _Handle_MDF_RRelocationTable_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MMgt_TShared); +class MDF_RRelocationTable; + +DEFINE_STANDARD_HANDLE(MDF_RRelocationTable, MMgt_TShared) + +#endif // _Handle_MDF_RRelocationTable_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDF_ReferenceRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDF_ReferenceRetrievalDriver.hxx new file mode 100644 index 000000000..8e10ddc6f --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDF_ReferenceRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDF_ReferenceRetrievalDriver_HeaderFile +#define _Handle_MDF_ReferenceRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MDF_ReferenceRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MDF_ReferenceRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MDF_ReferenceRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDF_ReferenceStorageDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDF_ReferenceStorageDriver.hxx new file mode 100644 index 000000000..23703e55d --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDF_ReferenceStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDF_ReferenceStorageDriver_HeaderFile +#define _Handle_MDF_ReferenceStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MDF_ReferenceStorageDriver; + +DEFINE_STANDARD_HANDLE(MDF_ReferenceStorageDriver, MDF_ASDriver) + +#endif // _Handle_MDF_ReferenceStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDF_SRelocationTable.hxx b/src/FromOCCT/TKPLCAF/Handle_MDF_SRelocationTable.hxx new file mode 100644 index 000000000..a96e56632 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDF_SRelocationTable.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDF_SRelocationTable_HeaderFile +#define _Handle_MDF_SRelocationTable_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MMgt_TShared); +class MDF_SRelocationTable; + +DEFINE_STANDARD_HANDLE(MDF_SRelocationTable, MMgt_TShared) + +#endif // _Handle_MDF_SRelocationTable_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDF_SequenceNodeOfARDriverSequence.hxx b/src/FromOCCT/TKPLCAF/Handle_MDF_SequenceNodeOfARDriverSequence.hxx new file mode 100644 index 000000000..8190f6b11 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDF_SequenceNodeOfARDriverSequence.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDF_SequenceNodeOfARDriverSequence_HeaderFile +#define _Handle_MDF_SequenceNodeOfARDriverSequence_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(TCollection_SeqNode); +class MDF_SequenceNodeOfARDriverSequence; + +DEFINE_STANDARD_HANDLE(MDF_SequenceNodeOfARDriverSequence, TCollection_SeqNode) + +#endif // _Handle_MDF_SequenceNodeOfARDriverSequence_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDF_SequenceNodeOfASDriverSequence.hxx b/src/FromOCCT/TKPLCAF/Handle_MDF_SequenceNodeOfASDriverSequence.hxx new file mode 100644 index 000000000..b36fd5adc --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDF_SequenceNodeOfASDriverSequence.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDF_SequenceNodeOfASDriverSequence_HeaderFile +#define _Handle_MDF_SequenceNodeOfASDriverSequence_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(TCollection_SeqNode); +class MDF_SequenceNodeOfASDriverSequence; + +DEFINE_STANDARD_HANDLE(MDF_SequenceNodeOfASDriverSequence, TCollection_SeqNode) + +#endif // _Handle_MDF_SequenceNodeOfASDriverSequence_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDF_TagSourceRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDF_TagSourceRetrievalDriver.hxx new file mode 100644 index 000000000..516f44634 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDF_TagSourceRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDF_TagSourceRetrievalDriver_HeaderFile +#define _Handle_MDF_TagSourceRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MDF_TagSourceRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MDF_TagSourceRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MDF_TagSourceRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDF_TagSourceStorageDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDF_TagSourceStorageDriver.hxx new file mode 100644 index 000000000..12e974c7a --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDF_TagSourceStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDF_TagSourceStorageDriver_HeaderFile +#define _Handle_MDF_TagSourceStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MDF_TagSourceStorageDriver; + +DEFINE_STANDARD_HANDLE(MDF_TagSourceStorageDriver, MDF_ASDriver) + +#endif // _Handle_MDF_TagSourceStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_AsciiStringRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_AsciiStringRetrievalDriver.hxx new file mode 100644 index 000000000..25fe4fcd5 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_AsciiStringRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_AsciiStringRetrievalDriver_HeaderFile +#define _Handle_MDataStd_AsciiStringRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MDataStd_AsciiStringRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MDataStd_AsciiStringRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MDataStd_AsciiStringRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_AsciiStringStorageDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_AsciiStringStorageDriver.hxx new file mode 100644 index 000000000..89ca6a4ad --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_AsciiStringStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_AsciiStringStorageDriver_HeaderFile +#define _Handle_MDataStd_AsciiStringStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MDataStd_AsciiStringStorageDriver; + +DEFINE_STANDARD_HANDLE(MDataStd_AsciiStringStorageDriver, MDF_ASDriver) + +#endif // _Handle_MDataStd_AsciiStringStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_BooleanArrayRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_BooleanArrayRetrievalDriver.hxx new file mode 100644 index 000000000..894eb1644 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_BooleanArrayRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_BooleanArrayRetrievalDriver_HeaderFile +#define _Handle_MDataStd_BooleanArrayRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MDataStd_BooleanArrayRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MDataStd_BooleanArrayRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MDataStd_BooleanArrayRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_BooleanArrayStorageDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_BooleanArrayStorageDriver.hxx new file mode 100644 index 000000000..17c30627f --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_BooleanArrayStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_BooleanArrayStorageDriver_HeaderFile +#define _Handle_MDataStd_BooleanArrayStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MDataStd_BooleanArrayStorageDriver; + +DEFINE_STANDARD_HANDLE(MDataStd_BooleanArrayStorageDriver, MDF_ASDriver) + +#endif // _Handle_MDataStd_BooleanArrayStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_BooleanListRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_BooleanListRetrievalDriver.hxx new file mode 100644 index 000000000..f6c277f4d --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_BooleanListRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_BooleanListRetrievalDriver_HeaderFile +#define _Handle_MDataStd_BooleanListRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MDataStd_BooleanListRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MDataStd_BooleanListRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MDataStd_BooleanListRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_BooleanListStorageDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_BooleanListStorageDriver.hxx new file mode 100644 index 000000000..dc2d2fb77 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_BooleanListStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_BooleanListStorageDriver_HeaderFile +#define _Handle_MDataStd_BooleanListStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MDataStd_BooleanListStorageDriver; + +DEFINE_STANDARD_HANDLE(MDataStd_BooleanListStorageDriver, MDF_ASDriver) + +#endif // _Handle_MDataStd_BooleanListStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_ByteArrayRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_ByteArrayRetrievalDriver.hxx new file mode 100644 index 000000000..8f5c1e14f --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_ByteArrayRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_ByteArrayRetrievalDriver_HeaderFile +#define _Handle_MDataStd_ByteArrayRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MDataStd_ByteArrayRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MDataStd_ByteArrayRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MDataStd_ByteArrayRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_ByteArrayRetrievalDriver_1.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_ByteArrayRetrievalDriver_1.hxx new file mode 100644 index 000000000..ba6a07933 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_ByteArrayRetrievalDriver_1.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_ByteArrayRetrievalDriver_1_HeaderFile +#define _Handle_MDataStd_ByteArrayRetrievalDriver_1_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MDataStd_ByteArrayRetrievalDriver_1; + +DEFINE_STANDARD_HANDLE(MDataStd_ByteArrayRetrievalDriver_1, MDF_ARDriver) + +#endif // _Handle_MDataStd_ByteArrayRetrievalDriver_1_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_ByteArrayStorageDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_ByteArrayStorageDriver.hxx new file mode 100644 index 000000000..0e8a0570f --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_ByteArrayStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_ByteArrayStorageDriver_HeaderFile +#define _Handle_MDataStd_ByteArrayStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MDataStd_ByteArrayStorageDriver; + +DEFINE_STANDARD_HANDLE(MDataStd_ByteArrayStorageDriver, MDF_ASDriver) + +#endif // _Handle_MDataStd_ByteArrayStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_CommentRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_CommentRetrievalDriver.hxx new file mode 100644 index 000000000..303c6f484 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_CommentRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_CommentRetrievalDriver_HeaderFile +#define _Handle_MDataStd_CommentRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MDataStd_CommentRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MDataStd_CommentRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MDataStd_CommentRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_CommentStorageDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_CommentStorageDriver.hxx new file mode 100644 index 000000000..ff0c593a4 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_CommentStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_CommentStorageDriver_HeaderFile +#define _Handle_MDataStd_CommentStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MDataStd_CommentStorageDriver; + +DEFINE_STANDARD_HANDLE(MDataStd_CommentStorageDriver, MDF_ASDriver) + +#endif // _Handle_MDataStd_CommentStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_DirectoryRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_DirectoryRetrievalDriver.hxx new file mode 100644 index 000000000..4b889623b --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_DirectoryRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_DirectoryRetrievalDriver_HeaderFile +#define _Handle_MDataStd_DirectoryRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MDataStd_DirectoryRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MDataStd_DirectoryRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MDataStd_DirectoryRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_DirectoryStorageDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_DirectoryStorageDriver.hxx new file mode 100644 index 000000000..e0127b893 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_DirectoryStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_DirectoryStorageDriver_HeaderFile +#define _Handle_MDataStd_DirectoryStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MDataStd_DirectoryStorageDriver; + +DEFINE_STANDARD_HANDLE(MDataStd_DirectoryStorageDriver, MDF_ASDriver) + +#endif // _Handle_MDataStd_DirectoryStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_ExpressionRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_ExpressionRetrievalDriver.hxx new file mode 100644 index 000000000..4d49b4a9f --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_ExpressionRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_ExpressionRetrievalDriver_HeaderFile +#define _Handle_MDataStd_ExpressionRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MDataStd_ExpressionRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MDataStd_ExpressionRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MDataStd_ExpressionRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_ExpressionStorageDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_ExpressionStorageDriver.hxx new file mode 100644 index 000000000..6a2f317e7 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_ExpressionStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_ExpressionStorageDriver_HeaderFile +#define _Handle_MDataStd_ExpressionStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MDataStd_ExpressionStorageDriver; + +DEFINE_STANDARD_HANDLE(MDataStd_ExpressionStorageDriver, MDF_ASDriver) + +#endif // _Handle_MDataStd_ExpressionStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_ExtStringArrayRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_ExtStringArrayRetrievalDriver.hxx new file mode 100644 index 000000000..52db289c1 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_ExtStringArrayRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_ExtStringArrayRetrievalDriver_HeaderFile +#define _Handle_MDataStd_ExtStringArrayRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MDataStd_ExtStringArrayRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MDataStd_ExtStringArrayRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MDataStd_ExtStringArrayRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_ExtStringArrayRetrievalDriver_1.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_ExtStringArrayRetrievalDriver_1.hxx new file mode 100644 index 000000000..2ab9d87f0 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_ExtStringArrayRetrievalDriver_1.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_ExtStringArrayRetrievalDriver_1_HeaderFile +#define _Handle_MDataStd_ExtStringArrayRetrievalDriver_1_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MDataStd_ExtStringArrayRetrievalDriver_1; + +DEFINE_STANDARD_HANDLE(MDataStd_ExtStringArrayRetrievalDriver_1, MDF_ARDriver) + +#endif // _Handle_MDataStd_ExtStringArrayRetrievalDriver_1_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_ExtStringArrayStorageDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_ExtStringArrayStorageDriver.hxx new file mode 100644 index 000000000..4a6cf10f5 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_ExtStringArrayStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_ExtStringArrayStorageDriver_HeaderFile +#define _Handle_MDataStd_ExtStringArrayStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MDataStd_ExtStringArrayStorageDriver; + +DEFINE_STANDARD_HANDLE(MDataStd_ExtStringArrayStorageDriver, MDF_ASDriver) + +#endif // _Handle_MDataStd_ExtStringArrayStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_ExtStringListRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_ExtStringListRetrievalDriver.hxx new file mode 100644 index 000000000..60991ec5a --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_ExtStringListRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_ExtStringListRetrievalDriver_HeaderFile +#define _Handle_MDataStd_ExtStringListRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MDataStd_ExtStringListRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MDataStd_ExtStringListRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MDataStd_ExtStringListRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_ExtStringListStorageDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_ExtStringListStorageDriver.hxx new file mode 100644 index 000000000..af5141684 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_ExtStringListStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_ExtStringListStorageDriver_HeaderFile +#define _Handle_MDataStd_ExtStringListStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MDataStd_ExtStringListStorageDriver; + +DEFINE_STANDARD_HANDLE(MDataStd_ExtStringListStorageDriver, MDF_ASDriver) + +#endif // _Handle_MDataStd_ExtStringListStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_IntPackedMapRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_IntPackedMapRetrievalDriver.hxx new file mode 100644 index 000000000..c0d040ddb --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_IntPackedMapRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_IntPackedMapRetrievalDriver_HeaderFile +#define _Handle_MDataStd_IntPackedMapRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MDataStd_IntPackedMapRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MDataStd_IntPackedMapRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MDataStd_IntPackedMapRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_IntPackedMapRetrievalDriver_1.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_IntPackedMapRetrievalDriver_1.hxx new file mode 100644 index 000000000..828495e95 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_IntPackedMapRetrievalDriver_1.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_IntPackedMapRetrievalDriver_1_HeaderFile +#define _Handle_MDataStd_IntPackedMapRetrievalDriver_1_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MDataStd_IntPackedMapRetrievalDriver_1; + +DEFINE_STANDARD_HANDLE(MDataStd_IntPackedMapRetrievalDriver_1, MDF_ARDriver) + +#endif // _Handle_MDataStd_IntPackedMapRetrievalDriver_1_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_IntPackedMapStorageDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_IntPackedMapStorageDriver.hxx new file mode 100644 index 000000000..aa68c9ffa --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_IntPackedMapStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_IntPackedMapStorageDriver_HeaderFile +#define _Handle_MDataStd_IntPackedMapStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MDataStd_IntPackedMapStorageDriver; + +DEFINE_STANDARD_HANDLE(MDataStd_IntPackedMapStorageDriver, MDF_ASDriver) + +#endif // _Handle_MDataStd_IntPackedMapStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_IntegerArrayRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_IntegerArrayRetrievalDriver.hxx new file mode 100644 index 000000000..0badf3da8 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_IntegerArrayRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_IntegerArrayRetrievalDriver_HeaderFile +#define _Handle_MDataStd_IntegerArrayRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MDataStd_IntegerArrayRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MDataStd_IntegerArrayRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MDataStd_IntegerArrayRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_IntegerArrayRetrievalDriver_1.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_IntegerArrayRetrievalDriver_1.hxx new file mode 100644 index 000000000..151ce38ff --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_IntegerArrayRetrievalDriver_1.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_IntegerArrayRetrievalDriver_1_HeaderFile +#define _Handle_MDataStd_IntegerArrayRetrievalDriver_1_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MDataStd_IntegerArrayRetrievalDriver_1; + +DEFINE_STANDARD_HANDLE(MDataStd_IntegerArrayRetrievalDriver_1, MDF_ARDriver) + +#endif // _Handle_MDataStd_IntegerArrayRetrievalDriver_1_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_IntegerArrayStorageDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_IntegerArrayStorageDriver.hxx new file mode 100644 index 000000000..3df5a448c --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_IntegerArrayStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_IntegerArrayStorageDriver_HeaderFile +#define _Handle_MDataStd_IntegerArrayStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MDataStd_IntegerArrayStorageDriver; + +DEFINE_STANDARD_HANDLE(MDataStd_IntegerArrayStorageDriver, MDF_ASDriver) + +#endif // _Handle_MDataStd_IntegerArrayStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_IntegerListRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_IntegerListRetrievalDriver.hxx new file mode 100644 index 000000000..bf1d9757a --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_IntegerListRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_IntegerListRetrievalDriver_HeaderFile +#define _Handle_MDataStd_IntegerListRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MDataStd_IntegerListRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MDataStd_IntegerListRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MDataStd_IntegerListRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_IntegerListStorageDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_IntegerListStorageDriver.hxx new file mode 100644 index 000000000..02ea392b7 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_IntegerListStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_IntegerListStorageDriver_HeaderFile +#define _Handle_MDataStd_IntegerListStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MDataStd_IntegerListStorageDriver; + +DEFINE_STANDARD_HANDLE(MDataStd_IntegerListStorageDriver, MDF_ASDriver) + +#endif // _Handle_MDataStd_IntegerListStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_IntegerRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_IntegerRetrievalDriver.hxx new file mode 100644 index 000000000..499e75837 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_IntegerRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_IntegerRetrievalDriver_HeaderFile +#define _Handle_MDataStd_IntegerRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MDataStd_IntegerRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MDataStd_IntegerRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MDataStd_IntegerRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_IntegerStorageDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_IntegerStorageDriver.hxx new file mode 100644 index 000000000..6d80d7c46 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_IntegerStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_IntegerStorageDriver_HeaderFile +#define _Handle_MDataStd_IntegerStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MDataStd_IntegerStorageDriver; + +DEFINE_STANDARD_HANDLE(MDataStd_IntegerStorageDriver, MDF_ASDriver) + +#endif // _Handle_MDataStd_IntegerStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_NameRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_NameRetrievalDriver.hxx new file mode 100644 index 000000000..5c3f24b00 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_NameRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_NameRetrievalDriver_HeaderFile +#define _Handle_MDataStd_NameRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MDataStd_NameRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MDataStd_NameRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MDataStd_NameRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_NameStorageDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_NameStorageDriver.hxx new file mode 100644 index 000000000..05bfbfad6 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_NameStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_NameStorageDriver_HeaderFile +#define _Handle_MDataStd_NameStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MDataStd_NameStorageDriver; + +DEFINE_STANDARD_HANDLE(MDataStd_NameStorageDriver, MDF_ASDriver) + +#endif // _Handle_MDataStd_NameStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_NamedDataRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_NamedDataRetrievalDriver.hxx new file mode 100644 index 000000000..cb3d626cf --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_NamedDataRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_NamedDataRetrievalDriver_HeaderFile +#define _Handle_MDataStd_NamedDataRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MDataStd_NamedDataRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MDataStd_NamedDataRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MDataStd_NamedDataRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_NamedDataStorageDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_NamedDataStorageDriver.hxx new file mode 100644 index 000000000..77ed16408 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_NamedDataStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_NamedDataStorageDriver_HeaderFile +#define _Handle_MDataStd_NamedDataStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MDataStd_NamedDataStorageDriver; + +DEFINE_STANDARD_HANDLE(MDataStd_NamedDataStorageDriver, MDF_ASDriver) + +#endif // _Handle_MDataStd_NamedDataStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_NoteBookRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_NoteBookRetrievalDriver.hxx new file mode 100644 index 000000000..5b53af1ce --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_NoteBookRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_NoteBookRetrievalDriver_HeaderFile +#define _Handle_MDataStd_NoteBookRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MDataStd_NoteBookRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MDataStd_NoteBookRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MDataStd_NoteBookRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_NoteBookStorageDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_NoteBookStorageDriver.hxx new file mode 100644 index 000000000..256231c4e --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_NoteBookStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_NoteBookStorageDriver_HeaderFile +#define _Handle_MDataStd_NoteBookStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MDataStd_NoteBookStorageDriver; + +DEFINE_STANDARD_HANDLE(MDataStd_NoteBookStorageDriver, MDF_ASDriver) + +#endif // _Handle_MDataStd_NoteBookStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_RealArrayRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_RealArrayRetrievalDriver.hxx new file mode 100644 index 000000000..1e767fe80 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_RealArrayRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_RealArrayRetrievalDriver_HeaderFile +#define _Handle_MDataStd_RealArrayRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MDataStd_RealArrayRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MDataStd_RealArrayRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MDataStd_RealArrayRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_RealArrayRetrievalDriver_1.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_RealArrayRetrievalDriver_1.hxx new file mode 100644 index 000000000..23898469d --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_RealArrayRetrievalDriver_1.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_RealArrayRetrievalDriver_1_HeaderFile +#define _Handle_MDataStd_RealArrayRetrievalDriver_1_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MDataStd_RealArrayRetrievalDriver_1; + +DEFINE_STANDARD_HANDLE(MDataStd_RealArrayRetrievalDriver_1, MDF_ARDriver) + +#endif // _Handle_MDataStd_RealArrayRetrievalDriver_1_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_RealArrayStorageDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_RealArrayStorageDriver.hxx new file mode 100644 index 000000000..d0964a28a --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_RealArrayStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_RealArrayStorageDriver_HeaderFile +#define _Handle_MDataStd_RealArrayStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MDataStd_RealArrayStorageDriver; + +DEFINE_STANDARD_HANDLE(MDataStd_RealArrayStorageDriver, MDF_ASDriver) + +#endif // _Handle_MDataStd_RealArrayStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_RealListRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_RealListRetrievalDriver.hxx new file mode 100644 index 000000000..eddbc2b08 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_RealListRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_RealListRetrievalDriver_HeaderFile +#define _Handle_MDataStd_RealListRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MDataStd_RealListRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MDataStd_RealListRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MDataStd_RealListRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_RealListStorageDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_RealListStorageDriver.hxx new file mode 100644 index 000000000..33d19bebb --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_RealListStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_RealListStorageDriver_HeaderFile +#define _Handle_MDataStd_RealListStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MDataStd_RealListStorageDriver; + +DEFINE_STANDARD_HANDLE(MDataStd_RealListStorageDriver, MDF_ASDriver) + +#endif // _Handle_MDataStd_RealListStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_RealRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_RealRetrievalDriver.hxx new file mode 100644 index 000000000..bbc5fdfae --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_RealRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_RealRetrievalDriver_HeaderFile +#define _Handle_MDataStd_RealRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MDataStd_RealRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MDataStd_RealRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MDataStd_RealRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_RealStorageDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_RealStorageDriver.hxx new file mode 100644 index 000000000..ee1be6328 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_RealStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_RealStorageDriver_HeaderFile +#define _Handle_MDataStd_RealStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MDataStd_RealStorageDriver; + +DEFINE_STANDARD_HANDLE(MDataStd_RealStorageDriver, MDF_ASDriver) + +#endif // _Handle_MDataStd_RealStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_ReferenceArrayRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_ReferenceArrayRetrievalDriver.hxx new file mode 100644 index 000000000..4008b5388 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_ReferenceArrayRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_ReferenceArrayRetrievalDriver_HeaderFile +#define _Handle_MDataStd_ReferenceArrayRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MDataStd_ReferenceArrayRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MDataStd_ReferenceArrayRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MDataStd_ReferenceArrayRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_ReferenceArrayStorageDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_ReferenceArrayStorageDriver.hxx new file mode 100644 index 000000000..c4aaf8faf --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_ReferenceArrayStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_ReferenceArrayStorageDriver_HeaderFile +#define _Handle_MDataStd_ReferenceArrayStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MDataStd_ReferenceArrayStorageDriver; + +DEFINE_STANDARD_HANDLE(MDataStd_ReferenceArrayStorageDriver, MDF_ASDriver) + +#endif // _Handle_MDataStd_ReferenceArrayStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_ReferenceListRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_ReferenceListRetrievalDriver.hxx new file mode 100644 index 000000000..45346c01d --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_ReferenceListRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_ReferenceListRetrievalDriver_HeaderFile +#define _Handle_MDataStd_ReferenceListRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MDataStd_ReferenceListRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MDataStd_ReferenceListRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MDataStd_ReferenceListRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_ReferenceListStorageDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_ReferenceListStorageDriver.hxx new file mode 100644 index 000000000..2e7c43a8d --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_ReferenceListStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_ReferenceListStorageDriver_HeaderFile +#define _Handle_MDataStd_ReferenceListStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MDataStd_ReferenceListStorageDriver; + +DEFINE_STANDARD_HANDLE(MDataStd_ReferenceListStorageDriver, MDF_ASDriver) + +#endif // _Handle_MDataStd_ReferenceListStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_RelationRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_RelationRetrievalDriver.hxx new file mode 100644 index 000000000..319052788 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_RelationRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_RelationRetrievalDriver_HeaderFile +#define _Handle_MDataStd_RelationRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MDataStd_RelationRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MDataStd_RelationRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MDataStd_RelationRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_RelationStorageDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_RelationStorageDriver.hxx new file mode 100644 index 000000000..965836ab8 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_RelationStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_RelationStorageDriver_HeaderFile +#define _Handle_MDataStd_RelationStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MDataStd_RelationStorageDriver; + +DEFINE_STANDARD_HANDLE(MDataStd_RelationStorageDriver, MDF_ASDriver) + +#endif // _Handle_MDataStd_RelationStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_TickRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_TickRetrievalDriver.hxx new file mode 100644 index 000000000..6369673a5 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_TickRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_TickRetrievalDriver_HeaderFile +#define _Handle_MDataStd_TickRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MDataStd_TickRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MDataStd_TickRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MDataStd_TickRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_TickStorageDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_TickStorageDriver.hxx new file mode 100644 index 000000000..e72231642 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_TickStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_TickStorageDriver_HeaderFile +#define _Handle_MDataStd_TickStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MDataStd_TickStorageDriver; + +DEFINE_STANDARD_HANDLE(MDataStd_TickStorageDriver, MDF_ASDriver) + +#endif // _Handle_MDataStd_TickStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_TreeNodeRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_TreeNodeRetrievalDriver.hxx new file mode 100644 index 000000000..307e08f8e --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_TreeNodeRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_TreeNodeRetrievalDriver_HeaderFile +#define _Handle_MDataStd_TreeNodeRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MDataStd_TreeNodeRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MDataStd_TreeNodeRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MDataStd_TreeNodeRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_TreeNodeStorageDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_TreeNodeStorageDriver.hxx new file mode 100644 index 000000000..a795041cb --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_TreeNodeStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_TreeNodeStorageDriver_HeaderFile +#define _Handle_MDataStd_TreeNodeStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MDataStd_TreeNodeStorageDriver; + +DEFINE_STANDARD_HANDLE(MDataStd_TreeNodeStorageDriver, MDF_ASDriver) + +#endif // _Handle_MDataStd_TreeNodeStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_UAttributeRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_UAttributeRetrievalDriver.hxx new file mode 100644 index 000000000..d268fb7f9 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_UAttributeRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_UAttributeRetrievalDriver_HeaderFile +#define _Handle_MDataStd_UAttributeRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MDataStd_UAttributeRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MDataStd_UAttributeRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MDataStd_UAttributeRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_UAttributeStorageDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_UAttributeStorageDriver.hxx new file mode 100644 index 000000000..babf933fd --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_UAttributeStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_UAttributeStorageDriver_HeaderFile +#define _Handle_MDataStd_UAttributeStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MDataStd_UAttributeStorageDriver; + +DEFINE_STANDARD_HANDLE(MDataStd_UAttributeStorageDriver, MDF_ASDriver) + +#endif // _Handle_MDataStd_UAttributeStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_VariableRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_VariableRetrievalDriver.hxx new file mode 100644 index 000000000..79708ea74 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_VariableRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_VariableRetrievalDriver_HeaderFile +#define _Handle_MDataStd_VariableRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MDataStd_VariableRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MDataStd_VariableRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MDataStd_VariableRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDataStd_VariableStorageDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDataStd_VariableStorageDriver.hxx new file mode 100644 index 000000000..760510b2b --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDataStd_VariableStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDataStd_VariableStorageDriver_HeaderFile +#define _Handle_MDataStd_VariableStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MDataStd_VariableStorageDriver; + +DEFINE_STANDARD_HANDLE(MDataStd_VariableStorageDriver, MDF_ASDriver) + +#endif // _Handle_MDataStd_VariableStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDocStd_DocumentRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDocStd_DocumentRetrievalDriver.hxx new file mode 100644 index 000000000..a1d89d8fd --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDocStd_DocumentRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDocStd_DocumentRetrievalDriver_HeaderFile +#define _Handle_MDocStd_DocumentRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(PCDM_RetrievalDriver); +class MDocStd_DocumentRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MDocStd_DocumentRetrievalDriver, PCDM_RetrievalDriver) + +#endif // _Handle_MDocStd_DocumentRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDocStd_DocumentStorageDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDocStd_DocumentStorageDriver.hxx new file mode 100644 index 000000000..735fe9763 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDocStd_DocumentStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDocStd_DocumentStorageDriver_HeaderFile +#define _Handle_MDocStd_DocumentStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(PCDM_StorageDriver); +class MDocStd_DocumentStorageDriver; + +DEFINE_STANDARD_HANDLE(MDocStd_DocumentStorageDriver, PCDM_StorageDriver) + +#endif // _Handle_MDocStd_DocumentStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDocStd_XLinkRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDocStd_XLinkRetrievalDriver.hxx new file mode 100644 index 000000000..e5d2760d0 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDocStd_XLinkRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDocStd_XLinkRetrievalDriver_HeaderFile +#define _Handle_MDocStd_XLinkRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MDocStd_XLinkRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MDocStd_XLinkRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MDocStd_XLinkRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MDocStd_XLinkStorageDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MDocStd_XLinkStorageDriver.hxx new file mode 100644 index 000000000..5fde38a72 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MDocStd_XLinkStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MDocStd_XLinkStorageDriver_HeaderFile +#define _Handle_MDocStd_XLinkStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MDocStd_XLinkStorageDriver; + +DEFINE_STANDARD_HANDLE(MDocStd_XLinkStorageDriver, MDF_ASDriver) + +#endif // _Handle_MDocStd_XLinkStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MFunction_FunctionRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MFunction_FunctionRetrievalDriver.hxx new file mode 100644 index 000000000..c854bf0d6 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MFunction_FunctionRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MFunction_FunctionRetrievalDriver_HeaderFile +#define _Handle_MFunction_FunctionRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MFunction_FunctionRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MFunction_FunctionRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MFunction_FunctionRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_MFunction_FunctionStorageDriver.hxx b/src/FromOCCT/TKPLCAF/Handle_MFunction_FunctionStorageDriver.hxx new file mode 100644 index 000000000..b62f77b1d --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_MFunction_FunctionStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MFunction_FunctionStorageDriver_HeaderFile +#define _Handle_MFunction_FunctionStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MFunction_FunctionStorageDriver; + +DEFINE_STANDARD_HANDLE(MFunction_FunctionStorageDriver, MDF_ASDriver) + +#endif // _Handle_MFunction_FunctionStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/Handle_PDF_Attribute.hxx b/src/FromOCCT/TKPLCAF/Handle_PDF_Attribute.hxx new file mode 100644 index 000000000..6951c9e49 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_PDF_Attribute.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDF_Attribute_HeaderFile +#define _Handle_PDF_Attribute_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PDF_Attribute; + +DEFINE_STANDARD_PHANDLE(PDF_Attribute,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKPLCAF/Handle_PDF_Data.hxx b/src/FromOCCT/TKPLCAF/Handle_PDF_Data.hxx new file mode 100644 index 000000000..50f64fec6 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_PDF_Data.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDF_Data_HeaderFile +#define _Handle_PDF_Data_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PDF_Data; + +DEFINE_STANDARD_PHANDLE(PDF_Data,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKPLCAF/Handle_PDF_HAttributeArray1.hxx b/src/FromOCCT/TKPLCAF/Handle_PDF_HAttributeArray1.hxx new file mode 100644 index 000000000..f4866e9a1 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_PDF_HAttributeArray1.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDF_HAttributeArray1_HeaderFile +#define _Handle_PDF_HAttributeArray1_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PDF_HAttributeArray1; + +DEFINE_STANDARD_PHANDLE(PDF_HAttributeArray1,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKPLCAF/Handle_PDF_Reference.hxx b/src/FromOCCT/TKPLCAF/Handle_PDF_Reference.hxx new file mode 100644 index 000000000..49a573217 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_PDF_Reference.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDF_Reference_HeaderFile +#define _Handle_PDF_Reference_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PDF_Reference; + +DEFINE_STANDARD_PHANDLE(PDF_Reference,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKPLCAF/Handle_PDF_TagSource.hxx b/src/FromOCCT/TKPLCAF/Handle_PDF_TagSource.hxx new file mode 100644 index 000000000..7ad051c54 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_PDF_TagSource.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDF_TagSource_HeaderFile +#define _Handle_PDF_TagSource_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PDF_TagSource; + +DEFINE_STANDARD_PHANDLE(PDF_TagSource,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKPLCAF/Handle_PDF_VArrayNodeOfFieldOfHAttributeArray1.hxx b/src/FromOCCT/TKPLCAF/Handle_PDF_VArrayNodeOfFieldOfHAttributeArray1.hxx new file mode 100644 index 000000000..f423d0056 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_PDF_VArrayNodeOfFieldOfHAttributeArray1.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDF_VArrayNodeOfFieldOfHAttributeArray1_HeaderFile +#define _Handle_PDF_VArrayNodeOfFieldOfHAttributeArray1_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PStandard_ArrayNode); +class PDF_VArrayNodeOfFieldOfHAttributeArray1; + +DEFINE_STANDARD_PHANDLE(PDF_VArrayNodeOfFieldOfHAttributeArray1,PStandard_ArrayNode) + +#endif diff --git a/src/FromOCCT/TKPLCAF/Handle_PDataStd_AsciiString.hxx b/src/FromOCCT/TKPLCAF/Handle_PDataStd_AsciiString.hxx new file mode 100644 index 000000000..d8ff6344c --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_PDataStd_AsciiString.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDataStd_AsciiString_HeaderFile +#define _Handle_PDataStd_AsciiString_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PDataStd_AsciiString; + +DEFINE_STANDARD_PHANDLE(PDataStd_AsciiString,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKPLCAF/Handle_PDataStd_BooleanArray.hxx b/src/FromOCCT/TKPLCAF/Handle_PDataStd_BooleanArray.hxx new file mode 100644 index 000000000..108c5970a --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_PDataStd_BooleanArray.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDataStd_BooleanArray_HeaderFile +#define _Handle_PDataStd_BooleanArray_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PDataStd_BooleanArray; + +DEFINE_STANDARD_PHANDLE(PDataStd_BooleanArray,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKPLCAF/Handle_PDataStd_BooleanList.hxx b/src/FromOCCT/TKPLCAF/Handle_PDataStd_BooleanList.hxx new file mode 100644 index 000000000..dbbccb982 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_PDataStd_BooleanList.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDataStd_BooleanList_HeaderFile +#define _Handle_PDataStd_BooleanList_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PDataStd_BooleanList; + +DEFINE_STANDARD_PHANDLE(PDataStd_BooleanList,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKPLCAF/Handle_PDataStd_ByteArray.hxx b/src/FromOCCT/TKPLCAF/Handle_PDataStd_ByteArray.hxx new file mode 100644 index 000000000..2f90cada5 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_PDataStd_ByteArray.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDataStd_ByteArray_HeaderFile +#define _Handle_PDataStd_ByteArray_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PDataStd_ByteArray; + +DEFINE_STANDARD_PHANDLE(PDataStd_ByteArray,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKPLCAF/Handle_PDataStd_ByteArray_1.hxx b/src/FromOCCT/TKPLCAF/Handle_PDataStd_ByteArray_1.hxx new file mode 100644 index 000000000..f90c4969e --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_PDataStd_ByteArray_1.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDataStd_ByteArray_1_HeaderFile +#define _Handle_PDataStd_ByteArray_1_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PDataStd_ByteArray_1; + +DEFINE_STANDARD_PHANDLE(PDataStd_ByteArray_1,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKPLCAF/Handle_PDataStd_Comment.hxx b/src/FromOCCT/TKPLCAF/Handle_PDataStd_Comment.hxx new file mode 100644 index 000000000..955065692 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_PDataStd_Comment.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDataStd_Comment_HeaderFile +#define _Handle_PDataStd_Comment_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PDataStd_Comment; + +DEFINE_STANDARD_PHANDLE(PDataStd_Comment,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKPLCAF/Handle_PDataStd_Directory.hxx b/src/FromOCCT/TKPLCAF/Handle_PDataStd_Directory.hxx new file mode 100644 index 000000000..fd4694a91 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_PDataStd_Directory.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDataStd_Directory_HeaderFile +#define _Handle_PDataStd_Directory_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PDataStd_Directory; + +DEFINE_STANDARD_PHANDLE(PDataStd_Directory,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKPLCAF/Handle_PDataStd_Expression.hxx b/src/FromOCCT/TKPLCAF/Handle_PDataStd_Expression.hxx new file mode 100644 index 000000000..16505139c --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_PDataStd_Expression.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDataStd_Expression_HeaderFile +#define _Handle_PDataStd_Expression_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PDataStd_Expression; + +DEFINE_STANDARD_PHANDLE(PDataStd_Expression,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKPLCAF/Handle_PDataStd_ExtStringArray.hxx b/src/FromOCCT/TKPLCAF/Handle_PDataStd_ExtStringArray.hxx new file mode 100644 index 000000000..1e1d79566 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_PDataStd_ExtStringArray.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDataStd_ExtStringArray_HeaderFile +#define _Handle_PDataStd_ExtStringArray_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PDataStd_ExtStringArray; + +DEFINE_STANDARD_PHANDLE(PDataStd_ExtStringArray,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKPLCAF/Handle_PDataStd_ExtStringArray_1.hxx b/src/FromOCCT/TKPLCAF/Handle_PDataStd_ExtStringArray_1.hxx new file mode 100644 index 000000000..0bd04b8e0 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_PDataStd_ExtStringArray_1.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDataStd_ExtStringArray_1_HeaderFile +#define _Handle_PDataStd_ExtStringArray_1_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PDataStd_ExtStringArray_1; + +DEFINE_STANDARD_PHANDLE(PDataStd_ExtStringArray_1,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKPLCAF/Handle_PDataStd_ExtStringList.hxx b/src/FromOCCT/TKPLCAF/Handle_PDataStd_ExtStringList.hxx new file mode 100644 index 000000000..c1423a760 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_PDataStd_ExtStringList.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDataStd_ExtStringList_HeaderFile +#define _Handle_PDataStd_ExtStringList_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PDataStd_ExtStringList; + +DEFINE_STANDARD_PHANDLE(PDataStd_ExtStringList,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKPLCAF/Handle_PDataStd_HArray1OfByte.hxx b/src/FromOCCT/TKPLCAF/Handle_PDataStd_HArray1OfByte.hxx new file mode 100644 index 000000000..7f345a9db --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_PDataStd_HArray1OfByte.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDataStd_HArray1OfByte_HeaderFile +#define _Handle_PDataStd_HArray1OfByte_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PDataStd_HArray1OfByte; + +DEFINE_STANDARD_PHANDLE(PDataStd_HArray1OfByte,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKPLCAF/Handle_PDataStd_HArray1OfHArray1OfInteger.hxx b/src/FromOCCT/TKPLCAF/Handle_PDataStd_HArray1OfHArray1OfInteger.hxx new file mode 100644 index 000000000..d7a7e22dd --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_PDataStd_HArray1OfHArray1OfInteger.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDataStd_HArray1OfHArray1OfInteger_HeaderFile +#define _Handle_PDataStd_HArray1OfHArray1OfInteger_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PDataStd_HArray1OfHArray1OfInteger; + +DEFINE_STANDARD_PHANDLE(PDataStd_HArray1OfHArray1OfInteger,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKPLCAF/Handle_PDataStd_HArray1OfHArray1OfReal.hxx b/src/FromOCCT/TKPLCAF/Handle_PDataStd_HArray1OfHArray1OfReal.hxx new file mode 100644 index 000000000..20bd9ba2b --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_PDataStd_HArray1OfHArray1OfReal.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDataStd_HArray1OfHArray1OfReal_HeaderFile +#define _Handle_PDataStd_HArray1OfHArray1OfReal_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PDataStd_HArray1OfHArray1OfReal; + +DEFINE_STANDARD_PHANDLE(PDataStd_HArray1OfHArray1OfReal,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKPLCAF/Handle_PDataStd_HArray1OfHAsciiString.hxx b/src/FromOCCT/TKPLCAF/Handle_PDataStd_HArray1OfHAsciiString.hxx new file mode 100644 index 000000000..ff64b0848 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_PDataStd_HArray1OfHAsciiString.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDataStd_HArray1OfHAsciiString_HeaderFile +#define _Handle_PDataStd_HArray1OfHAsciiString_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PDataStd_HArray1OfHAsciiString; + +DEFINE_STANDARD_PHANDLE(PDataStd_HArray1OfHAsciiString,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKPLCAF/Handle_PDataStd_IntPackedMap.hxx b/src/FromOCCT/TKPLCAF/Handle_PDataStd_IntPackedMap.hxx new file mode 100644 index 000000000..45292ccaf --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_PDataStd_IntPackedMap.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDataStd_IntPackedMap_HeaderFile +#define _Handle_PDataStd_IntPackedMap_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PDataStd_IntPackedMap; + +DEFINE_STANDARD_PHANDLE(PDataStd_IntPackedMap,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKPLCAF/Handle_PDataStd_IntPackedMap_1.hxx b/src/FromOCCT/TKPLCAF/Handle_PDataStd_IntPackedMap_1.hxx new file mode 100644 index 000000000..392db422d --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_PDataStd_IntPackedMap_1.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDataStd_IntPackedMap_1_HeaderFile +#define _Handle_PDataStd_IntPackedMap_1_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PDataStd_IntPackedMap_1; + +DEFINE_STANDARD_PHANDLE(PDataStd_IntPackedMap_1,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKPLCAF/Handle_PDataStd_Integer.hxx b/src/FromOCCT/TKPLCAF/Handle_PDataStd_Integer.hxx new file mode 100644 index 000000000..1ad557cb7 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_PDataStd_Integer.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDataStd_Integer_HeaderFile +#define _Handle_PDataStd_Integer_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PDataStd_Integer; + +DEFINE_STANDARD_PHANDLE(PDataStd_Integer,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKPLCAF/Handle_PDataStd_IntegerArray.hxx b/src/FromOCCT/TKPLCAF/Handle_PDataStd_IntegerArray.hxx new file mode 100644 index 000000000..48fadb38e --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_PDataStd_IntegerArray.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDataStd_IntegerArray_HeaderFile +#define _Handle_PDataStd_IntegerArray_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PDataStd_IntegerArray; + +DEFINE_STANDARD_PHANDLE(PDataStd_IntegerArray,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKPLCAF/Handle_PDataStd_IntegerArray_1.hxx b/src/FromOCCT/TKPLCAF/Handle_PDataStd_IntegerArray_1.hxx new file mode 100644 index 000000000..13eb13304 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_PDataStd_IntegerArray_1.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDataStd_IntegerArray_1_HeaderFile +#define _Handle_PDataStd_IntegerArray_1_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PDataStd_IntegerArray_1; + +DEFINE_STANDARD_PHANDLE(PDataStd_IntegerArray_1,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKPLCAF/Handle_PDataStd_IntegerList.hxx b/src/FromOCCT/TKPLCAF/Handle_PDataStd_IntegerList.hxx new file mode 100644 index 000000000..b6ea18330 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_PDataStd_IntegerList.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDataStd_IntegerList_HeaderFile +#define _Handle_PDataStd_IntegerList_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PDataStd_IntegerList; + +DEFINE_STANDARD_PHANDLE(PDataStd_IntegerList,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKPLCAF/Handle_PDataStd_Name.hxx b/src/FromOCCT/TKPLCAF/Handle_PDataStd_Name.hxx new file mode 100644 index 000000000..cd90b12e8 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_PDataStd_Name.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDataStd_Name_HeaderFile +#define _Handle_PDataStd_Name_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PDataStd_Name; + +DEFINE_STANDARD_PHANDLE(PDataStd_Name,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKPLCAF/Handle_PDataStd_NamedData.hxx b/src/FromOCCT/TKPLCAF/Handle_PDataStd_NamedData.hxx new file mode 100644 index 000000000..d08944866 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_PDataStd_NamedData.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDataStd_NamedData_HeaderFile +#define _Handle_PDataStd_NamedData_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PDataStd_NamedData; + +DEFINE_STANDARD_PHANDLE(PDataStd_NamedData,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKPLCAF/Handle_PDataStd_NoteBook.hxx b/src/FromOCCT/TKPLCAF/Handle_PDataStd_NoteBook.hxx new file mode 100644 index 000000000..967171ae9 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_PDataStd_NoteBook.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDataStd_NoteBook_HeaderFile +#define _Handle_PDataStd_NoteBook_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PDataStd_NoteBook; + +DEFINE_STANDARD_PHANDLE(PDataStd_NoteBook,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKPLCAF/Handle_PDataStd_Real.hxx b/src/FromOCCT/TKPLCAF/Handle_PDataStd_Real.hxx new file mode 100644 index 000000000..55a4ebed3 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_PDataStd_Real.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDataStd_Real_HeaderFile +#define _Handle_PDataStd_Real_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PDataStd_Real; + +DEFINE_STANDARD_PHANDLE(PDataStd_Real,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKPLCAF/Handle_PDataStd_RealArray.hxx b/src/FromOCCT/TKPLCAF/Handle_PDataStd_RealArray.hxx new file mode 100644 index 000000000..ea2d6d4a7 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_PDataStd_RealArray.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDataStd_RealArray_HeaderFile +#define _Handle_PDataStd_RealArray_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PDataStd_RealArray; + +DEFINE_STANDARD_PHANDLE(PDataStd_RealArray,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKPLCAF/Handle_PDataStd_RealArray_1.hxx b/src/FromOCCT/TKPLCAF/Handle_PDataStd_RealArray_1.hxx new file mode 100644 index 000000000..ad9b3e06b --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_PDataStd_RealArray_1.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDataStd_RealArray_1_HeaderFile +#define _Handle_PDataStd_RealArray_1_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PDataStd_RealArray_1; + +DEFINE_STANDARD_PHANDLE(PDataStd_RealArray_1,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKPLCAF/Handle_PDataStd_RealList.hxx b/src/FromOCCT/TKPLCAF/Handle_PDataStd_RealList.hxx new file mode 100644 index 000000000..9a0a61130 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_PDataStd_RealList.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDataStd_RealList_HeaderFile +#define _Handle_PDataStd_RealList_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PDataStd_RealList; + +DEFINE_STANDARD_PHANDLE(PDataStd_RealList,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKPLCAF/Handle_PDataStd_ReferenceArray.hxx b/src/FromOCCT/TKPLCAF/Handle_PDataStd_ReferenceArray.hxx new file mode 100644 index 000000000..4f8451ab4 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_PDataStd_ReferenceArray.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDataStd_ReferenceArray_HeaderFile +#define _Handle_PDataStd_ReferenceArray_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PDataStd_ReferenceArray; + +DEFINE_STANDARD_PHANDLE(PDataStd_ReferenceArray,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKPLCAF/Handle_PDataStd_ReferenceList.hxx b/src/FromOCCT/TKPLCAF/Handle_PDataStd_ReferenceList.hxx new file mode 100644 index 000000000..2648ced55 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_PDataStd_ReferenceList.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDataStd_ReferenceList_HeaderFile +#define _Handle_PDataStd_ReferenceList_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PDataStd_ReferenceList; + +DEFINE_STANDARD_PHANDLE(PDataStd_ReferenceList,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKPLCAF/Handle_PDataStd_Relation.hxx b/src/FromOCCT/TKPLCAF/Handle_PDataStd_Relation.hxx new file mode 100644 index 000000000..320a89855 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_PDataStd_Relation.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDataStd_Relation_HeaderFile +#define _Handle_PDataStd_Relation_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PDataStd_Relation; + +DEFINE_STANDARD_PHANDLE(PDataStd_Relation,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKPLCAF/Handle_PDataStd_Tick.hxx b/src/FromOCCT/TKPLCAF/Handle_PDataStd_Tick.hxx new file mode 100644 index 000000000..b711c712d --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_PDataStd_Tick.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDataStd_Tick_HeaderFile +#define _Handle_PDataStd_Tick_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PDataStd_Tick; + +DEFINE_STANDARD_PHANDLE(PDataStd_Tick,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKPLCAF/Handle_PDataStd_TreeNode.hxx b/src/FromOCCT/TKPLCAF/Handle_PDataStd_TreeNode.hxx new file mode 100644 index 000000000..04f2fabb6 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_PDataStd_TreeNode.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDataStd_TreeNode_HeaderFile +#define _Handle_PDataStd_TreeNode_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PDataStd_TreeNode; + +DEFINE_STANDARD_PHANDLE(PDataStd_TreeNode,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKPLCAF/Handle_PDataStd_UAttribute.hxx b/src/FromOCCT/TKPLCAF/Handle_PDataStd_UAttribute.hxx new file mode 100644 index 000000000..e6c53825a --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_PDataStd_UAttribute.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDataStd_UAttribute_HeaderFile +#define _Handle_PDataStd_UAttribute_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PDataStd_UAttribute; + +DEFINE_STANDARD_PHANDLE(PDataStd_UAttribute,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKPLCAF/Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfByte.hxx b/src/FromOCCT/TKPLCAF/Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfByte.hxx new file mode 100644 index 000000000..2d7ad8b5b --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfByte.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfByte_HeaderFile +#define _Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfByte_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PStandard_ArrayNode); +class PDataStd_VArrayNodeOfFieldOfHArray1OfByte; + +DEFINE_STANDARD_PHANDLE(PDataStd_VArrayNodeOfFieldOfHArray1OfByte,PStandard_ArrayNode) + +#endif diff --git a/src/FromOCCT/TKPLCAF/Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger.hxx b/src/FromOCCT/TKPLCAF/Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger.hxx new file mode 100644 index 000000000..c25e83445 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger_HeaderFile +#define _Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PStandard_ArrayNode); +class PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger; + +DEFINE_STANDARD_PHANDLE(PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger,PStandard_ArrayNode) + +#endif diff --git a/src/FromOCCT/TKPLCAF/Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal.hxx b/src/FromOCCT/TKPLCAF/Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal.hxx new file mode 100644 index 000000000..a211b8974 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal_HeaderFile +#define _Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PStandard_ArrayNode); +class PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal; + +DEFINE_STANDARD_PHANDLE(PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal,PStandard_ArrayNode) + +#endif diff --git a/src/FromOCCT/TKPLCAF/Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString.hxx b/src/FromOCCT/TKPLCAF/Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString.hxx new file mode 100644 index 000000000..d5f84df7a --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString_HeaderFile +#define _Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PStandard_ArrayNode); +class PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString; + +DEFINE_STANDARD_PHANDLE(PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString,PStandard_ArrayNode) + +#endif diff --git a/src/FromOCCT/TKPLCAF/Handle_PDataStd_Variable.hxx b/src/FromOCCT/TKPLCAF/Handle_PDataStd_Variable.hxx new file mode 100644 index 000000000..b57efd130 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_PDataStd_Variable.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDataStd_Variable_HeaderFile +#define _Handle_PDataStd_Variable_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PDataStd_Variable; + +DEFINE_STANDARD_PHANDLE(PDataStd_Variable,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKPLCAF/Handle_PDocStd_Document.hxx b/src/FromOCCT/TKPLCAF/Handle_PDocStd_Document.hxx new file mode 100644 index 000000000..13f02f4ba --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_PDocStd_Document.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDocStd_Document_HeaderFile +#define _Handle_PDocStd_Document_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PCDM_Document); +class PDocStd_Document; + +DEFINE_STANDARD_PHANDLE(PDocStd_Document,PCDM_Document) + +#endif diff --git a/src/FromOCCT/TKPLCAF/Handle_PDocStd_XLink.hxx b/src/FromOCCT/TKPLCAF/Handle_PDocStd_XLink.hxx new file mode 100644 index 000000000..3d5579137 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_PDocStd_XLink.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PDocStd_XLink_HeaderFile +#define _Handle_PDocStd_XLink_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PDocStd_XLink; + +DEFINE_STANDARD_PHANDLE(PDocStd_XLink,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKPLCAF/Handle_PFunction_Function.hxx b/src/FromOCCT/TKPLCAF/Handle_PFunction_Function.hxx new file mode 100644 index 000000000..7dfbc3e2c --- /dev/null +++ b/src/FromOCCT/TKPLCAF/Handle_PFunction_Function.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PFunction_Function_HeaderFile +#define _Handle_PFunction_Function_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PFunction_Function; + +DEFINE_STANDARD_PHANDLE(PFunction_Function,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKPLCAF/MDF.cxx b/src/FromOCCT/TKPLCAF/MDF.cxx new file mode 100644 index 000000000..b93148143 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF.cxx @@ -0,0 +1,121 @@ +// 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 + +#include +#include +#include + +#include +#include +#include +#include +#include + +#include +#include + +#include + +#include + +#include +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKPLCAF/MDF.hxx b/src/FromOCCT/TKPLCAF/MDF.hxx new file mode 100644 index 000000000..3c0e720eb --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF.hxx @@ -0,0 +1,179 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDF_HeaderFile +#define _MDF_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +class TDF_Data; +class PDF_Data; +class MDF_ASDriverTable; +class MDF_SRelocationTable; +class MDF_ARDriverTable; +class MDF_RRelocationTable; +class MDF_ASDriverHSequence; +class CDM_MessageDriver; +class MDF_ARDriverHSequence; +class MDF_ASDriver; +class MDF_ARDriver; +class MDF_RelocationTable; +class MDF_DriverTable; +class MDF_DriverList; +class MDF_TypeDriverListMap; +class MDF_Tool; +class MDF_TagSourceStorageDriver; +class MDF_TagSourceRetrievalDriver; +class MDF_ReferenceStorageDriver; +class MDF_ReferenceRetrievalDriver; +class MDF_ASDriverSequence; +class MDF_ASDriverHSequence; +class MDF_ARDriverSequence; +class MDF_ARDriverHSequence; +class MDF_SRelocationTable; +class MDF_RRelocationTable; +class MDF_TypeASDriverMap; +class MDF_TypeARDriverMap; +class MDF_ASDriverTable; +class MDF_ARDriverTable; +class MDF_SequenceNodeOfASDriverSequence; +class MDF_SequenceNodeOfARDriverSequence; +class MDF_DataMapNodeOfTypeASDriverMap; +class MDF_DataMapIteratorOfTypeASDriverMap; +class MDF_DataMapNodeOfTypeARDriverMap; +class MDF_DataMapIteratorOfTypeARDriverMap; +class MDF_ListNodeOfDriverListOfASDriverTable; +class MDF_ListIteratorOfDriverListOfASDriverTable; +class MDF_DriverListOfASDriverTable; +class MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable; +class MDF_DataMapIteratorOfTypeDriverListMapOfASDriverTable; +class MDF_TypeDriverListMapOfASDriverTable; +class MDF_ListNodeOfDriverListOfARDriverTable; +class MDF_ListIteratorOfDriverListOfARDriverTable; +class MDF_DriverListOfARDriverTable; +class MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable; +class MDF_DataMapIteratorOfTypeDriverListMapOfARDriverTable; +class MDF_TypeDriverListMapOfARDriverTable; + + +//! 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. +class MDF +{ +public: + + DEFINE_STANDARD_ALLOC + + + //! Translates a transient into a persistent + //! . + Standard_EXPORT static void FromTo (const Handle(TDF_Data)& aSource, Handle(PDF_Data)& aTarget, const Handle(MDF_ASDriverTable)& aDriverTable, const Handle(MDF_SRelocationTable)& aReloc, const Standard_Integer aVersion = 0) ; + + //! Translates a persistent into a transient + //! . + Standard_EXPORT static void FromTo (const Handle(PDF_Data)& aSource, Handle(TDF_Data)& aTarget, const Handle(MDF_ARDriverTable)& aDriverTable, const Handle(MDF_RRelocationTable)& aReloc) ; + + //! Adds the attribute storage drivers to . + Standard_EXPORT static void AddStorageDrivers (const Handle(MDF_ASDriverHSequence)& aDriverSeq, const Handle(CDM_MessageDriver)& theMessageDriver) ; + + //! Adds the attribute retrieval drivers to . + Standard_EXPORT static void AddRetrievalDrivers (const Handle(MDF_ARDriverHSequence)& aDriverSeq, const Handle(CDM_MessageDriver)& theMessageDriver) ; + + + + +protected: + + + + + +private: + + + + +friend class MDF_ASDriver; +friend class MDF_ARDriver; +friend class MDF_RelocationTable; +friend class MDF_DriverTable; +friend class MDF_DriverList; +friend class MDF_TypeDriverListMap; +friend class MDF_Tool; +friend class MDF_TagSourceStorageDriver; +friend class MDF_TagSourceRetrievalDriver; +friend class MDF_ReferenceStorageDriver; +friend class MDF_ReferenceRetrievalDriver; +friend class MDF_ASDriverSequence; +friend class MDF_ASDriverHSequence; +friend class MDF_ARDriverSequence; +friend class MDF_ARDriverHSequence; +friend class MDF_SRelocationTable; +friend class MDF_RRelocationTable; +friend class MDF_TypeASDriverMap; +friend class MDF_TypeARDriverMap; +friend class MDF_ASDriverTable; +friend class MDF_ARDriverTable; +friend class MDF_SequenceNodeOfASDriverSequence; +friend class MDF_SequenceNodeOfARDriverSequence; +friend class MDF_DataMapNodeOfTypeASDriverMap; +friend class MDF_DataMapIteratorOfTypeASDriverMap; +friend class MDF_DataMapNodeOfTypeARDriverMap; +friend class MDF_DataMapIteratorOfTypeARDriverMap; +friend class MDF_ListNodeOfDriverListOfASDriverTable; +friend class MDF_ListIteratorOfDriverListOfASDriverTable; +friend class MDF_DriverListOfASDriverTable; +friend class MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable; +friend class MDF_DataMapIteratorOfTypeDriverListMapOfASDriverTable; +friend class MDF_TypeDriverListMapOfASDriverTable; +friend class MDF_ListNodeOfDriverListOfARDriverTable; +friend class MDF_ListIteratorOfDriverListOfARDriverTable; +friend class MDF_DriverListOfARDriverTable; +friend class MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable; +friend class MDF_DataMapIteratorOfTypeDriverListMapOfARDriverTable; +friend class MDF_TypeDriverListMapOfARDriverTable; + +}; + + + + + + + +#endif // _MDF_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDF.ixx b/src/FromOCCT/TKPLCAF/MDF.ixx new file mode 100644 index 000000000..6fda0432a --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF.ixx @@ -0,0 +1,10 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + + + + diff --git a/src/FromOCCT/TKPLCAF/MDF.jxx b/src/FromOCCT/TKPLCAF/MDF.jxx new file mode 100644 index 000000000..9715bd493 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF.jxx @@ -0,0 +1,10 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDF_ARDriver.cxx b/src/FromOCCT/TKPLCAF/MDF_ARDriver.cxx new file mode 100644 index 000000000..fd44d3e2b --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_ARDriver.cxx @@ -0,0 +1,42 @@ +// 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 +#include +#include +//======================================================================= +//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/FromOCCT/TKPLCAF/MDF_ARDriver.hxx b/src/FromOCCT/TKPLCAF/MDF_ARDriver.hxx new file mode 100644 index 000000000..28fae237e --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_ARDriver.hxx @@ -0,0 +1,80 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDF_ARDriver_HeaderFile +#define _MDF_ARDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; +class TCollection_ExtendedString; + + +//! Attribute Retrieval Driver. +class MDF_ARDriver : public MMgt_TShared +{ + +public: + + + //! Returns the version number from which the driver + //! is available. + Standard_EXPORT virtual Standard_Integer VersionNumber() const = 0; + + //! Returns the type of source object, inheriting from + //! Attribute from PDF. + Standard_EXPORT virtual Handle(Standard_Type) SourceType() const = 0; + + //! Creates a new attribute from PDF. + Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const = 0; + + //! Translate the contents of and put it + //! into , using the relocation table + //! to keep the sharings. + Standard_EXPORT virtual void Paste (const Handle(PDF_Attribute)& aSource, const Handle(TDF_Attribute)& aTarget, const Handle(MDF_RRelocationTable)& aRelocTable) const = 0; + + //! To send message to Application (if MessageDriver defined) + Standard_EXPORT void WriteMessage (const TCollection_ExtendedString& theMessage) const; + + + + + DEFINE_STANDARD_RTTI(MDF_ARDriver) + +protected: + + + Standard_EXPORT MDF_ARDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + + +private: + + + Handle(CDM_MessageDriver) myMessageDriver; + + +}; + + + + + + + +#endif // _MDF_ARDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDF_ARDriver.ixx b/src/FromOCCT/TKPLCAF/MDF_ARDriver.ixx new file mode 100644 index 000000000..22a5beb7c --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_ARDriver.ixx @@ -0,0 +1,27 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDF_ARDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDF_ARDriver) + + +IMPLEMENT_DOWNCAST(MDF_ARDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDF_ARDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDF_ARDriver.jxx b/src/FromOCCT/TKPLCAF/MDF_ARDriver.jxx new file mode 100644 index 000000000..62566c4c9 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_ARDriver.jxx @@ -0,0 +1,7 @@ +#include +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDF_ARDriverHSequence.hxx b/src/FromOCCT/TKPLCAF/MDF_ARDriverHSequence.hxx new file mode 100644 index 000000000..427920c43 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_ARDriverHSequence.hxx @@ -0,0 +1,116 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDF_ARDriverHSequence_HeaderFile +#define _MDF_ARDriverHSequence_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +class Standard_NoSuchObject; +class Standard_OutOfRange; +class MDF_ARDriver; +class MDF_ARDriverSequence; + + + +class MDF_ARDriverHSequence : public MMgt_TShared +{ + +public: + + + MDF_ARDriverHSequence(); + + Standard_Boolean IsEmpty() const; + + Standard_Integer Length() const; + + Standard_EXPORT void Clear() ; + + Standard_EXPORT void Append (const Handle(MDF_ARDriver)& anItem) ; + + Standard_EXPORT void Append (const Handle(MDF_ARDriverHSequence)& aSequence) ; + + Standard_EXPORT void Prepend (const Handle(MDF_ARDriver)& anItem) ; + + Standard_EXPORT void Prepend (const Handle(MDF_ARDriverHSequence)& aSequence) ; + + Standard_EXPORT void Reverse() ; + + Standard_EXPORT void InsertBefore (const Standard_Integer anIndex, const Handle(MDF_ARDriver)& anItem) ; + + Standard_EXPORT void InsertBefore (const Standard_Integer anIndex, const Handle(MDF_ARDriverHSequence)& aSequence) ; + + Standard_EXPORT void InsertAfter (const Standard_Integer anIndex, const Handle(MDF_ARDriver)& anItem) ; + + Standard_EXPORT void InsertAfter (const Standard_Integer anIndex, const Handle(MDF_ARDriverHSequence)& aSequence) ; + + Standard_EXPORT void Exchange (const Standard_Integer anIndex, const Standard_Integer anOtherIndex) ; + + Standard_EXPORT Handle(MDF_ARDriverHSequence) Split (const Standard_Integer anIndex) ; + + Standard_EXPORT void SetValue (const Standard_Integer anIndex, const Handle(MDF_ARDriver)& anItem) ; + + Standard_EXPORT const Handle(MDF_ARDriver)& Value (const Standard_Integer anIndex) const; + + Standard_EXPORT Handle(MDF_ARDriver)& ChangeValue (const Standard_Integer anIndex) ; + + Standard_EXPORT void Remove (const Standard_Integer anIndex) ; + + Standard_EXPORT void Remove (const Standard_Integer fromIndex, const Standard_Integer toIndex) ; + + const MDF_ARDriverSequence& Sequence() const; + + MDF_ARDriverSequence& ChangeSequence() ; + + + + + DEFINE_STANDARD_RTTI(MDF_ARDriverHSequence) + +protected: + + + + +private: + + + MDF_ARDriverSequence mySequence; + + +}; + +#define Item Handle(MDF_ARDriver) +#define Item_hxx +#define TheSequence MDF_ARDriverSequence +#define TheSequence_hxx +#define TCollection_HSequence MDF_ARDriverHSequence +#define TCollection_HSequence_hxx +#define Handle_TCollection_HSequence Handle_MDF_ARDriverHSequence +#define TCollection_HSequence_Type_() MDF_ARDriverHSequence_Type_() + +#include + +#undef Item +#undef Item_hxx +#undef TheSequence +#undef TheSequence_hxx +#undef TCollection_HSequence +#undef TCollection_HSequence_hxx +#undef Handle_TCollection_HSequence +#undef TCollection_HSequence_Type_ + + + + +#endif // _MDF_ARDriverHSequence_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDF_ARDriverHSequence_0.cxx b/src/FromOCCT/TKPLCAF/MDF_ARDriverHSequence_0.cxx new file mode 100644 index 000000000..6761d34af --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_ARDriverHSequence_0.cxx @@ -0,0 +1,40 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + +#include +#include +#include +#include + + + + +IMPLEMENT_STANDARD_TYPE(MDF_ARDriverHSequence) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDF_ARDriverHSequence) + + +IMPLEMENT_DOWNCAST(MDF_ARDriverHSequence,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDF_ARDriverHSequence) + + +#define Item Handle(MDF_ARDriver) +#define Item_hxx +#define TheSequence MDF_ARDriverSequence +#define TheSequence_hxx +#define TCollection_HSequence MDF_ARDriverHSequence +#define TCollection_HSequence_hxx +#define Handle_TCollection_HSequence Handle_MDF_ARDriverHSequence +#define TCollection_HSequence_Type_() MDF_ARDriverHSequence_Type_() +#include + diff --git a/src/FromOCCT/TKPLCAF/MDF_ARDriverSequence.hxx b/src/FromOCCT/TKPLCAF/MDF_ARDriverSequence.hxx new file mode 100644 index 000000000..bda75acf1 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_ARDriverSequence.hxx @@ -0,0 +1,127 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDF_ARDriverSequence_HeaderFile +#define _MDF_ARDriverSequence_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class Standard_NoSuchObject; +class Standard_OutOfRange; +class MDF_ARDriver; +class MDF_SequenceNodeOfARDriverSequence; + + + +class MDF_ARDriverSequence : public TCollection_BaseSequence +{ +public: + + DEFINE_STANDARD_ALLOC + + + MDF_ARDriverSequence(); + + Standard_EXPORT MDF_ARDriverSequence(const MDF_ARDriverSequence& Other); + + Standard_EXPORT void Clear() ; +~MDF_ARDriverSequence() +{ + Clear(); +} + + Standard_EXPORT const MDF_ARDriverSequence& Assign (const MDF_ARDriverSequence& Other) ; + const MDF_ARDriverSequence& operator = (const MDF_ARDriverSequence& Other) +{ + return Assign(Other); +} + + Standard_EXPORT void Append (const Handle(MDF_ARDriver)& T) ; + + void Append (MDF_ARDriverSequence& S) ; + + Standard_EXPORT void Prepend (const Handle(MDF_ARDriver)& T) ; + + void Prepend (MDF_ARDriverSequence& S) ; + + void InsertBefore (const Standard_Integer Index, const Handle(MDF_ARDriver)& T) ; + + void InsertBefore (const Standard_Integer Index, MDF_ARDriverSequence& S) ; + + Standard_EXPORT void InsertAfter (const Standard_Integer Index, const Handle(MDF_ARDriver)& T) ; + + void InsertAfter (const Standard_Integer Index, MDF_ARDriverSequence& S) ; + + Standard_EXPORT const Handle(MDF_ARDriver)& First() const; + + Standard_EXPORT const Handle(MDF_ARDriver)& Last() const; + + void Split (const Standard_Integer Index, MDF_ARDriverSequence& Sub) ; + + Standard_EXPORT const Handle(MDF_ARDriver)& Value (const Standard_Integer Index) const; + const Handle(MDF_ARDriver)& operator() (const Standard_Integer Index) const +{ + return Value(Index); +} + + Standard_EXPORT void SetValue (const Standard_Integer Index, const Handle(MDF_ARDriver)& I) ; + + Standard_EXPORT Handle(MDF_ARDriver)& ChangeValue (const Standard_Integer Index) ; + Handle(MDF_ARDriver)& operator() (const Standard_Integer Index) +{ + return ChangeValue(Index); +} + + Standard_EXPORT void Remove (const Standard_Integer Index) ; + + Standard_EXPORT void Remove (const Standard_Integer FromIndex, const Standard_Integer ToIndex) ; + + + + +protected: + + + + + +private: + + + + + +}; + +#define SeqItem Handle(MDF_ARDriver) +#define SeqItem_hxx +#define TCollection_SequenceNode MDF_SequenceNodeOfARDriverSequence +#define TCollection_SequenceNode_hxx +#define Handle_TCollection_SequenceNode Handle_MDF_SequenceNodeOfARDriverSequence +#define TCollection_SequenceNode_Type_() MDF_SequenceNodeOfARDriverSequence_Type_() +#define TCollection_Sequence MDF_ARDriverSequence +#define TCollection_Sequence_hxx + +#include + +#undef SeqItem +#undef SeqItem_hxx +#undef TCollection_SequenceNode +#undef TCollection_SequenceNode_hxx +#undef Handle_TCollection_SequenceNode +#undef TCollection_SequenceNode_Type_ +#undef TCollection_Sequence +#undef TCollection_Sequence_hxx + + + + +#endif // _MDF_ARDriverSequence_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDF_ARDriverSequence_0.cxx b/src/FromOCCT/TKPLCAF/MDF_ARDriverSequence_0.cxx new file mode 100644 index 000000000..298c14a04 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_ARDriverSequence_0.cxx @@ -0,0 +1,23 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include + + +#define SeqItem Handle(MDF_ARDriver) +#define SeqItem_hxx +#define TCollection_SequenceNode MDF_SequenceNodeOfARDriverSequence +#define TCollection_SequenceNode_hxx +#define Handle_TCollection_SequenceNode Handle_MDF_SequenceNodeOfARDriverSequence +#define TCollection_SequenceNode_Type_() MDF_SequenceNodeOfARDriverSequence_Type_() +#define TCollection_Sequence MDF_ARDriverSequence +#define TCollection_Sequence_hxx +#include + diff --git a/src/FromOCCT/TKPLCAF/MDF_ARDriverTable.hxx b/src/FromOCCT/TKPLCAF/MDF_ARDriverTable.hxx new file mode 100644 index 000000000..d31bb59d0 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_ARDriverTable.hxx @@ -0,0 +1,78 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDF_ARDriverTable_HeaderFile +#define _MDF_ARDriverTable_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +class MDF_ARDriver; +class MDF_ARDriverHSequence; +class MDF_TypeARDriverMap; +class MDF_DriverListOfARDriverTable; +class MDF_ListNodeOfDriverListOfARDriverTable; +class MDF_ListIteratorOfDriverListOfARDriverTable; +class MDF_TypeDriverListMapOfARDriverTable; +class MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable; +class MDF_DataMapIteratorOfTypeDriverListMapOfARDriverTable; +class Standard_Type; + + + +class MDF_ARDriverTable : public MMgt_TShared +{ + +public: + + + Standard_EXPORT MDF_ARDriverTable(); + + Standard_EXPORT void SetDriver (const Handle(MDF_ARDriver)& anHDriver) ; + + Standard_EXPORT void SetDrivers (const Handle(MDF_ARDriverHSequence)& aDriverHSeq) ; + + Standard_EXPORT const MDF_TypeARDriverMap& GetDrivers (const Standard_Integer aVersion = 0) ; + + Standard_EXPORT Standard_Boolean GetDriver (const Handle(Standard_Type)& aType, Handle(MDF_ARDriver)& anHDriver, const Standard_Integer aVersion = 0) const; + + + + + DEFINE_STANDARD_RTTI(MDF_ARDriverTable) + +protected: + + + + +private: + + + Standard_Integer myVersion; + MDF_TypeARDriverMap myMap; + MDF_TypeDriverListMapOfARDriverTable myMapOfLst; + + +}; + + + + + + + +#endif // _MDF_ARDriverTable_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDF_ARDriverTable_0.cxx b/src/FromOCCT/TKPLCAF/MDF_ARDriverTable_0.cxx new file mode 100644 index 000000000..eeecb65ae --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_ARDriverTable_0.cxx @@ -0,0 +1,78 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + + +IMPLEMENT_STANDARD_TYPE(MDF_ARDriverTable) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDF_ARDriverTable) + + +IMPLEMENT_DOWNCAST(MDF_ARDriverTable,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDF_ARDriverTable) + + +#define Handle_TheHDriver Handle_MDF_ARDriver +#define TheHDriver MDF_ARDriver +#define TheHDriver_hxx +#define Handle_TheDriverHSeq Handle_MDF_ARDriverHSequence +#define TheDriverHSeq MDF_ARDriverHSequence +#define TheDriverHSeq_hxx +#define TheTypeDriverMap MDF_TypeARDriverMap +#define TheTypeDriverMap_hxx +#define MDF_DriverList MDF_DriverListOfARDriverTable +#define MDF_DriverList_hxx +#define MDF_ListNodeOfDriverList MDF_ListNodeOfDriverListOfARDriverTable +#define MDF_ListNodeOfDriverList_hxx +#define MDF_ListIteratorOfDriverList MDF_ListIteratorOfDriverListOfARDriverTable +#define MDF_ListIteratorOfDriverList_hxx +#define MDF_ListNodeOfDriverList MDF_ListNodeOfDriverListOfARDriverTable +#define MDF_ListNodeOfDriverList_hxx +#define MDF_ListIteratorOfDriverList MDF_ListIteratorOfDriverListOfARDriverTable +#define MDF_ListIteratorOfDriverList_hxx +#define MDF_TypeDriverListMap MDF_TypeDriverListMapOfARDriverTable +#define MDF_TypeDriverListMap_hxx +#define MDF_DataMapNodeOfTypeDriverListMap MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable +#define MDF_DataMapNodeOfTypeDriverListMap_hxx +#define MDF_DataMapIteratorOfTypeDriverListMap MDF_DataMapIteratorOfTypeDriverListMapOfARDriverTable +#define MDF_DataMapIteratorOfTypeDriverListMap_hxx +#define MDF_DataMapNodeOfTypeDriverListMap MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable +#define MDF_DataMapNodeOfTypeDriverListMap_hxx +#define MDF_DataMapIteratorOfTypeDriverListMap MDF_DataMapIteratorOfTypeDriverListMapOfARDriverTable +#define MDF_DataMapIteratorOfTypeDriverListMap_hxx +#define Handle_MDF_ListNodeOfDriverList Handle_MDF_ListNodeOfDriverListOfARDriverTable +#define MDF_ListNodeOfDriverList_Type_() MDF_ListNodeOfDriverListOfARDriverTable_Type_() +#define Handle_MDF_ListNodeOfDriverList Handle_MDF_ListNodeOfDriverListOfARDriverTable +#define MDF_ListNodeOfDriverList_Type_() MDF_ListNodeOfDriverListOfARDriverTable_Type_() +#define Handle_MDF_DataMapNodeOfTypeDriverListMap Handle_MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable +#define MDF_DataMapNodeOfTypeDriverListMap_Type_() MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable_Type_() +#define Handle_MDF_DataMapNodeOfTypeDriverListMap Handle_MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable +#define MDF_DataMapNodeOfTypeDriverListMap_Type_() MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable_Type_() +#define MDF_DriverTable MDF_ARDriverTable +#define MDF_DriverTable_hxx +#define Handle_MDF_DriverTable Handle_MDF_ARDriverTable +#define MDF_DriverTable_Type_() MDF_ARDriverTable_Type_() +#include + diff --git a/src/FromOCCT/TKPLCAF/MDF_ASDriver.cxx b/src/FromOCCT/TKPLCAF/MDF_ASDriver.cxx new file mode 100644 index 000000000..5fdf5c794 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_ASDriver.cxx @@ -0,0 +1,42 @@ +// 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 +#include +#include +//======================================================================= +//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/FromOCCT/TKPLCAF/MDF_ASDriver.hxx b/src/FromOCCT/TKPLCAF/MDF_ASDriver.hxx new file mode 100644 index 000000000..2c4420a58 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_ASDriver.hxx @@ -0,0 +1,80 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDF_ASDriver_HeaderFile +#define _MDF_ASDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; +class TCollection_ExtendedString; + + +//! Attribute Storage Driver. +class MDF_ASDriver : public MMgt_TShared +{ + +public: + + + //! Returns the version number from which the driver + //! is available. + Standard_EXPORT virtual Standard_Integer VersionNumber() const = 0; + + //! Returns the type of source object, inheriting from + //! Attribute from TDF. + Standard_EXPORT virtual Handle(Standard_Type) SourceType() const = 0; + + //! Creates a new attribute from PDF. + Standard_EXPORT virtual Handle(PDF_Attribute) NewEmpty() const = 0; + + //! Translate the contents of and put it + //! into , using the relocation table + //! to keep the sharings. + Standard_EXPORT virtual void Paste (const Handle(TDF_Attribute)& aSource, const Handle(PDF_Attribute)& aTarget, const Handle(MDF_SRelocationTable)& aRelocTable) const = 0; + + //! To send message to Application (if MessageDriver defined) + Standard_EXPORT void WriteMessage (const TCollection_ExtendedString& theMessage) const; + + + + + DEFINE_STANDARD_RTTI(MDF_ASDriver) + +protected: + + + Standard_EXPORT MDF_ASDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + + +private: + + + Handle(CDM_MessageDriver) myMessageDriver; + + +}; + + + + + + + +#endif // _MDF_ASDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDF_ASDriver.ixx b/src/FromOCCT/TKPLCAF/MDF_ASDriver.ixx new file mode 100644 index 000000000..aff6bad72 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_ASDriver.ixx @@ -0,0 +1,27 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDF_ASDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDF_ASDriver) + + +IMPLEMENT_DOWNCAST(MDF_ASDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDF_ASDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDF_ASDriver.jxx b/src/FromOCCT/TKPLCAF/MDF_ASDriver.jxx new file mode 100644 index 000000000..9660266a8 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_ASDriver.jxx @@ -0,0 +1,7 @@ +#include +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDF_ASDriverHSequence.hxx b/src/FromOCCT/TKPLCAF/MDF_ASDriverHSequence.hxx new file mode 100644 index 000000000..454516227 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_ASDriverHSequence.hxx @@ -0,0 +1,116 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDF_ASDriverHSequence_HeaderFile +#define _MDF_ASDriverHSequence_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +class Standard_NoSuchObject; +class Standard_OutOfRange; +class MDF_ASDriver; +class MDF_ASDriverSequence; + + + +class MDF_ASDriverHSequence : public MMgt_TShared +{ + +public: + + + MDF_ASDriverHSequence(); + + Standard_Boolean IsEmpty() const; + + Standard_Integer Length() const; + + Standard_EXPORT void Clear() ; + + Standard_EXPORT void Append (const Handle(MDF_ASDriver)& anItem) ; + + Standard_EXPORT void Append (const Handle(MDF_ASDriverHSequence)& aSequence) ; + + Standard_EXPORT void Prepend (const Handle(MDF_ASDriver)& anItem) ; + + Standard_EXPORT void Prepend (const Handle(MDF_ASDriverHSequence)& aSequence) ; + + Standard_EXPORT void Reverse() ; + + Standard_EXPORT void InsertBefore (const Standard_Integer anIndex, const Handle(MDF_ASDriver)& anItem) ; + + Standard_EXPORT void InsertBefore (const Standard_Integer anIndex, const Handle(MDF_ASDriverHSequence)& aSequence) ; + + Standard_EXPORT void InsertAfter (const Standard_Integer anIndex, const Handle(MDF_ASDriver)& anItem) ; + + Standard_EXPORT void InsertAfter (const Standard_Integer anIndex, const Handle(MDF_ASDriverHSequence)& aSequence) ; + + Standard_EXPORT void Exchange (const Standard_Integer anIndex, const Standard_Integer anOtherIndex) ; + + Standard_EXPORT Handle(MDF_ASDriverHSequence) Split (const Standard_Integer anIndex) ; + + Standard_EXPORT void SetValue (const Standard_Integer anIndex, const Handle(MDF_ASDriver)& anItem) ; + + Standard_EXPORT const Handle(MDF_ASDriver)& Value (const Standard_Integer anIndex) const; + + Standard_EXPORT Handle(MDF_ASDriver)& ChangeValue (const Standard_Integer anIndex) ; + + Standard_EXPORT void Remove (const Standard_Integer anIndex) ; + + Standard_EXPORT void Remove (const Standard_Integer fromIndex, const Standard_Integer toIndex) ; + + const MDF_ASDriverSequence& Sequence() const; + + MDF_ASDriverSequence& ChangeSequence() ; + + + + + DEFINE_STANDARD_RTTI(MDF_ASDriverHSequence) + +protected: + + + + +private: + + + MDF_ASDriverSequence mySequence; + + +}; + +#define Item Handle(MDF_ASDriver) +#define Item_hxx +#define TheSequence MDF_ASDriverSequence +#define TheSequence_hxx +#define TCollection_HSequence MDF_ASDriverHSequence +#define TCollection_HSequence_hxx +#define Handle_TCollection_HSequence Handle_MDF_ASDriverHSequence +#define TCollection_HSequence_Type_() MDF_ASDriverHSequence_Type_() + +#include + +#undef Item +#undef Item_hxx +#undef TheSequence +#undef TheSequence_hxx +#undef TCollection_HSequence +#undef TCollection_HSequence_hxx +#undef Handle_TCollection_HSequence +#undef TCollection_HSequence_Type_ + + + + +#endif // _MDF_ASDriverHSequence_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDF_ASDriverHSequence_0.cxx b/src/FromOCCT/TKPLCAF/MDF_ASDriverHSequence_0.cxx new file mode 100644 index 000000000..1029a4ce3 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_ASDriverHSequence_0.cxx @@ -0,0 +1,40 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + +#include +#include +#include +#include + + + + +IMPLEMENT_STANDARD_TYPE(MDF_ASDriverHSequence) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDF_ASDriverHSequence) + + +IMPLEMENT_DOWNCAST(MDF_ASDriverHSequence,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDF_ASDriverHSequence) + + +#define Item Handle(MDF_ASDriver) +#define Item_hxx +#define TheSequence MDF_ASDriverSequence +#define TheSequence_hxx +#define TCollection_HSequence MDF_ASDriverHSequence +#define TCollection_HSequence_hxx +#define Handle_TCollection_HSequence Handle_MDF_ASDriverHSequence +#define TCollection_HSequence_Type_() MDF_ASDriverHSequence_Type_() +#include + diff --git a/src/FromOCCT/TKPLCAF/MDF_ASDriverSequence.hxx b/src/FromOCCT/TKPLCAF/MDF_ASDriverSequence.hxx new file mode 100644 index 000000000..330235d05 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_ASDriverSequence.hxx @@ -0,0 +1,127 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDF_ASDriverSequence_HeaderFile +#define _MDF_ASDriverSequence_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class Standard_NoSuchObject; +class Standard_OutOfRange; +class MDF_ASDriver; +class MDF_SequenceNodeOfASDriverSequence; + + + +class MDF_ASDriverSequence : public TCollection_BaseSequence +{ +public: + + DEFINE_STANDARD_ALLOC + + + MDF_ASDriverSequence(); + + Standard_EXPORT MDF_ASDriverSequence(const MDF_ASDriverSequence& Other); + + Standard_EXPORT void Clear() ; +~MDF_ASDriverSequence() +{ + Clear(); +} + + Standard_EXPORT const MDF_ASDriverSequence& Assign (const MDF_ASDriverSequence& Other) ; + const MDF_ASDriverSequence& operator = (const MDF_ASDriverSequence& Other) +{ + return Assign(Other); +} + + Standard_EXPORT void Append (const Handle(MDF_ASDriver)& T) ; + + void Append (MDF_ASDriverSequence& S) ; + + Standard_EXPORT void Prepend (const Handle(MDF_ASDriver)& T) ; + + void Prepend (MDF_ASDriverSequence& S) ; + + void InsertBefore (const Standard_Integer Index, const Handle(MDF_ASDriver)& T) ; + + void InsertBefore (const Standard_Integer Index, MDF_ASDriverSequence& S) ; + + Standard_EXPORT void InsertAfter (const Standard_Integer Index, const Handle(MDF_ASDriver)& T) ; + + void InsertAfter (const Standard_Integer Index, MDF_ASDriverSequence& S) ; + + Standard_EXPORT const Handle(MDF_ASDriver)& First() const; + + Standard_EXPORT const Handle(MDF_ASDriver)& Last() const; + + void Split (const Standard_Integer Index, MDF_ASDriverSequence& Sub) ; + + Standard_EXPORT const Handle(MDF_ASDriver)& Value (const Standard_Integer Index) const; + const Handle(MDF_ASDriver)& operator() (const Standard_Integer Index) const +{ + return Value(Index); +} + + Standard_EXPORT void SetValue (const Standard_Integer Index, const Handle(MDF_ASDriver)& I) ; + + Standard_EXPORT Handle(MDF_ASDriver)& ChangeValue (const Standard_Integer Index) ; + Handle(MDF_ASDriver)& operator() (const Standard_Integer Index) +{ + return ChangeValue(Index); +} + + Standard_EXPORT void Remove (const Standard_Integer Index) ; + + Standard_EXPORT void Remove (const Standard_Integer FromIndex, const Standard_Integer ToIndex) ; + + + + +protected: + + + + + +private: + + + + + +}; + +#define SeqItem Handle(MDF_ASDriver) +#define SeqItem_hxx +#define TCollection_SequenceNode MDF_SequenceNodeOfASDriverSequence +#define TCollection_SequenceNode_hxx +#define Handle_TCollection_SequenceNode Handle_MDF_SequenceNodeOfASDriverSequence +#define TCollection_SequenceNode_Type_() MDF_SequenceNodeOfASDriverSequence_Type_() +#define TCollection_Sequence MDF_ASDriverSequence +#define TCollection_Sequence_hxx + +#include + +#undef SeqItem +#undef SeqItem_hxx +#undef TCollection_SequenceNode +#undef TCollection_SequenceNode_hxx +#undef Handle_TCollection_SequenceNode +#undef TCollection_SequenceNode_Type_ +#undef TCollection_Sequence +#undef TCollection_Sequence_hxx + + + + +#endif // _MDF_ASDriverSequence_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDF_ASDriverSequence_0.cxx b/src/FromOCCT/TKPLCAF/MDF_ASDriverSequence_0.cxx new file mode 100644 index 000000000..0baeb75eb --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_ASDriverSequence_0.cxx @@ -0,0 +1,23 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include + + +#define SeqItem Handle(MDF_ASDriver) +#define SeqItem_hxx +#define TCollection_SequenceNode MDF_SequenceNodeOfASDriverSequence +#define TCollection_SequenceNode_hxx +#define Handle_TCollection_SequenceNode Handle_MDF_SequenceNodeOfASDriverSequence +#define TCollection_SequenceNode_Type_() MDF_SequenceNodeOfASDriverSequence_Type_() +#define TCollection_Sequence MDF_ASDriverSequence +#define TCollection_Sequence_hxx +#include + diff --git a/src/FromOCCT/TKPLCAF/MDF_ASDriverTable.hxx b/src/FromOCCT/TKPLCAF/MDF_ASDriverTable.hxx new file mode 100644 index 000000000..66af5de9a --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_ASDriverTable.hxx @@ -0,0 +1,78 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDF_ASDriverTable_HeaderFile +#define _MDF_ASDriverTable_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +class MDF_ASDriver; +class MDF_ASDriverHSequence; +class MDF_TypeASDriverMap; +class MDF_DriverListOfASDriverTable; +class MDF_ListNodeOfDriverListOfASDriverTable; +class MDF_ListIteratorOfDriverListOfASDriverTable; +class MDF_TypeDriverListMapOfASDriverTable; +class MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable; +class MDF_DataMapIteratorOfTypeDriverListMapOfASDriverTable; +class Standard_Type; + + + +class MDF_ASDriverTable : public MMgt_TShared +{ + +public: + + + Standard_EXPORT MDF_ASDriverTable(); + + Standard_EXPORT void SetDriver (const Handle(MDF_ASDriver)& anHDriver) ; + + Standard_EXPORT void SetDrivers (const Handle(MDF_ASDriverHSequence)& aDriverHSeq) ; + + Standard_EXPORT const MDF_TypeASDriverMap& GetDrivers (const Standard_Integer aVersion = 0) ; + + Standard_EXPORT Standard_Boolean GetDriver (const Handle(Standard_Type)& aType, Handle(MDF_ASDriver)& anHDriver, const Standard_Integer aVersion = 0) const; + + + + + DEFINE_STANDARD_RTTI(MDF_ASDriverTable) + +protected: + + + + +private: + + + Standard_Integer myVersion; + MDF_TypeASDriverMap myMap; + MDF_TypeDriverListMapOfASDriverTable myMapOfLst; + + +}; + + + + + + + +#endif // _MDF_ASDriverTable_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDF_ASDriverTable_0.cxx b/src/FromOCCT/TKPLCAF/MDF_ASDriverTable_0.cxx new file mode 100644 index 000000000..4e160c3bd --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_ASDriverTable_0.cxx @@ -0,0 +1,78 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + + +IMPLEMENT_STANDARD_TYPE(MDF_ASDriverTable) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDF_ASDriverTable) + + +IMPLEMENT_DOWNCAST(MDF_ASDriverTable,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDF_ASDriverTable) + + +#define Handle_TheHDriver Handle_MDF_ASDriver +#define TheHDriver MDF_ASDriver +#define TheHDriver_hxx +#define Handle_TheDriverHSeq Handle_MDF_ASDriverHSequence +#define TheDriverHSeq MDF_ASDriverHSequence +#define TheDriverHSeq_hxx +#define TheTypeDriverMap MDF_TypeASDriverMap +#define TheTypeDriverMap_hxx +#define MDF_DriverList MDF_DriverListOfASDriverTable +#define MDF_DriverList_hxx +#define MDF_ListNodeOfDriverList MDF_ListNodeOfDriverListOfASDriverTable +#define MDF_ListNodeOfDriverList_hxx +#define MDF_ListIteratorOfDriverList MDF_ListIteratorOfDriverListOfASDriverTable +#define MDF_ListIteratorOfDriverList_hxx +#define MDF_ListNodeOfDriverList MDF_ListNodeOfDriverListOfASDriverTable +#define MDF_ListNodeOfDriverList_hxx +#define MDF_ListIteratorOfDriverList MDF_ListIteratorOfDriverListOfASDriverTable +#define MDF_ListIteratorOfDriverList_hxx +#define MDF_TypeDriverListMap MDF_TypeDriverListMapOfASDriverTable +#define MDF_TypeDriverListMap_hxx +#define MDF_DataMapNodeOfTypeDriverListMap MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable +#define MDF_DataMapNodeOfTypeDriverListMap_hxx +#define MDF_DataMapIteratorOfTypeDriverListMap MDF_DataMapIteratorOfTypeDriverListMapOfASDriverTable +#define MDF_DataMapIteratorOfTypeDriverListMap_hxx +#define MDF_DataMapNodeOfTypeDriverListMap MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable +#define MDF_DataMapNodeOfTypeDriverListMap_hxx +#define MDF_DataMapIteratorOfTypeDriverListMap MDF_DataMapIteratorOfTypeDriverListMapOfASDriverTable +#define MDF_DataMapIteratorOfTypeDriverListMap_hxx +#define Handle_MDF_ListNodeOfDriverList Handle_MDF_ListNodeOfDriverListOfASDriverTable +#define MDF_ListNodeOfDriverList_Type_() MDF_ListNodeOfDriverListOfASDriverTable_Type_() +#define Handle_MDF_ListNodeOfDriverList Handle_MDF_ListNodeOfDriverListOfASDriverTable +#define MDF_ListNodeOfDriverList_Type_() MDF_ListNodeOfDriverListOfASDriverTable_Type_() +#define Handle_MDF_DataMapNodeOfTypeDriverListMap Handle_MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable +#define MDF_DataMapNodeOfTypeDriverListMap_Type_() MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable_Type_() +#define Handle_MDF_DataMapNodeOfTypeDriverListMap Handle_MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable +#define MDF_DataMapNodeOfTypeDriverListMap_Type_() MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable_Type_() +#define MDF_DriverTable MDF_ASDriverTable +#define MDF_DriverTable_hxx +#define Handle_MDF_DriverTable Handle_MDF_ASDriverTable +#define MDF_DriverTable_Type_() MDF_ASDriverTable_Type_() +#include + diff --git a/src/FromOCCT/TKPLCAF/MDF_DataMapIteratorOfTypeARDriverMap.hxx b/src/FromOCCT/TKPLCAF/MDF_DataMapIteratorOfTypeARDriverMap.hxx new file mode 100644 index 000000000..9acff4efe --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_DataMapIteratorOfTypeARDriverMap.hxx @@ -0,0 +1,66 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDF_DataMapIteratorOfTypeARDriverMap_HeaderFile +#define _MDF_DataMapIteratorOfTypeARDriverMap_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class Standard_NoSuchObject; +class Standard_Type; +class MDF_ARDriver; +class TColStd_MapTransientHasher; +class MDF_TypeARDriverMap; +class MDF_DataMapNodeOfTypeARDriverMap; + + + +class MDF_DataMapIteratorOfTypeARDriverMap : public TCollection_BasicMapIterator +{ +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT MDF_DataMapIteratorOfTypeARDriverMap(); + + Standard_EXPORT MDF_DataMapIteratorOfTypeARDriverMap(const MDF_TypeARDriverMap& aMap); + + Standard_EXPORT void Initialize (const MDF_TypeARDriverMap& aMap) ; + + Standard_EXPORT const Handle(Standard_Type)& Key() const; + + Standard_EXPORT const Handle(MDF_ARDriver)& Value() const; + + + + +protected: + + + + + +private: + + + + + +}; + + + + + + + +#endif // _MDF_DataMapIteratorOfTypeARDriverMap_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDF_DataMapIteratorOfTypeARDriverMap_0.cxx b/src/FromOCCT/TKPLCAF/MDF_DataMapIteratorOfTypeARDriverMap_0.cxx new file mode 100644 index 000000000..61f8456d9 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_DataMapIteratorOfTypeARDriverMap_0.cxx @@ -0,0 +1,31 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + + +#define TheKey Handle(Standard_Type) +#define TheKey_hxx +#define TheItem Handle(MDF_ARDriver) +#define TheItem_hxx +#define Hasher TColStd_MapTransientHasher +#define Hasher_hxx +#define TCollection_DataMapNode MDF_DataMapNodeOfTypeARDriverMap +#define TCollection_DataMapNode_hxx +#define TCollection_DataMapIterator MDF_DataMapIteratorOfTypeARDriverMap +#define TCollection_DataMapIterator_hxx +#define Handle_TCollection_DataMapNode Handle_MDF_DataMapNodeOfTypeARDriverMap +#define TCollection_DataMapNode_Type_() MDF_DataMapNodeOfTypeARDriverMap_Type_() +#define TCollection_DataMap MDF_TypeARDriverMap +#define TCollection_DataMap_hxx +#include + diff --git a/src/FromOCCT/TKPLCAF/MDF_DataMapIteratorOfTypeASDriverMap.hxx b/src/FromOCCT/TKPLCAF/MDF_DataMapIteratorOfTypeASDriverMap.hxx new file mode 100644 index 000000000..6c76d608e --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_DataMapIteratorOfTypeASDriverMap.hxx @@ -0,0 +1,66 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDF_DataMapIteratorOfTypeASDriverMap_HeaderFile +#define _MDF_DataMapIteratorOfTypeASDriverMap_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class Standard_NoSuchObject; +class Standard_Type; +class MDF_ASDriver; +class TColStd_MapTransientHasher; +class MDF_TypeASDriverMap; +class MDF_DataMapNodeOfTypeASDriverMap; + + + +class MDF_DataMapIteratorOfTypeASDriverMap : public TCollection_BasicMapIterator +{ +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT MDF_DataMapIteratorOfTypeASDriverMap(); + + Standard_EXPORT MDF_DataMapIteratorOfTypeASDriverMap(const MDF_TypeASDriverMap& aMap); + + Standard_EXPORT void Initialize (const MDF_TypeASDriverMap& aMap) ; + + Standard_EXPORT const Handle(Standard_Type)& Key() const; + + Standard_EXPORT const Handle(MDF_ASDriver)& Value() const; + + + + +protected: + + + + + +private: + + + + + +}; + + + + + + + +#endif // _MDF_DataMapIteratorOfTypeASDriverMap_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDF_DataMapIteratorOfTypeASDriverMap_0.cxx b/src/FromOCCT/TKPLCAF/MDF_DataMapIteratorOfTypeASDriverMap_0.cxx new file mode 100644 index 000000000..0a63568e8 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_DataMapIteratorOfTypeASDriverMap_0.cxx @@ -0,0 +1,31 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + + +#define TheKey Handle(Standard_Type) +#define TheKey_hxx +#define TheItem Handle(MDF_ASDriver) +#define TheItem_hxx +#define Hasher TColStd_MapTransientHasher +#define Hasher_hxx +#define TCollection_DataMapNode MDF_DataMapNodeOfTypeASDriverMap +#define TCollection_DataMapNode_hxx +#define TCollection_DataMapIterator MDF_DataMapIteratorOfTypeASDriverMap +#define TCollection_DataMapIterator_hxx +#define Handle_TCollection_DataMapNode Handle_MDF_DataMapNodeOfTypeASDriverMap +#define TCollection_DataMapNode_Type_() MDF_DataMapNodeOfTypeASDriverMap_Type_() +#define TCollection_DataMap MDF_TypeASDriverMap +#define TCollection_DataMap_hxx +#include + diff --git a/src/FromOCCT/TKPLCAF/MDF_DataMapIteratorOfTypeDriverListMapOfARDriverTable.hxx b/src/FromOCCT/TKPLCAF/MDF_DataMapIteratorOfTypeDriverListMapOfARDriverTable.hxx new file mode 100644 index 000000000..03dadb9ab --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_DataMapIteratorOfTypeDriverListMapOfARDriverTable.hxx @@ -0,0 +1,65 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDF_DataMapIteratorOfTypeDriverListMapOfARDriverTable_HeaderFile +#define _MDF_DataMapIteratorOfTypeDriverListMapOfARDriverTable_HeaderFile + +#include +#include +#include + +#include +#include +#include +class Standard_NoSuchObject; +class Standard_Type; +class MDF_DriverListOfARDriverTable; +class TColStd_MapTransientHasher; +class MDF_TypeDriverListMapOfARDriverTable; +class MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable; + + + +class MDF_DataMapIteratorOfTypeDriverListMapOfARDriverTable : public TCollection_BasicMapIterator +{ +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT MDF_DataMapIteratorOfTypeDriverListMapOfARDriverTable(); + + Standard_EXPORT MDF_DataMapIteratorOfTypeDriverListMapOfARDriverTable(const MDF_TypeDriverListMapOfARDriverTable& aMap); + + Standard_EXPORT void Initialize (const MDF_TypeDriverListMapOfARDriverTable& aMap) ; + + Standard_EXPORT const Handle(Standard_Type)& Key() const; + + Standard_EXPORT const MDF_DriverListOfARDriverTable& Value() const; + + + + +protected: + + + + + +private: + + + + + +}; + + + + + + + +#endif // _MDF_DataMapIteratorOfTypeDriverListMapOfARDriverTable_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDF_DataMapIteratorOfTypeDriverListMapOfARDriverTable_0.cxx b/src/FromOCCT/TKPLCAF/MDF_DataMapIteratorOfTypeDriverListMapOfARDriverTable_0.cxx new file mode 100644 index 000000000..852603b57 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_DataMapIteratorOfTypeDriverListMapOfARDriverTable_0.cxx @@ -0,0 +1,31 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + + +#define TheKey Handle(Standard_Type) +#define TheKey_hxx +#define TheItem MDF_DriverListOfARDriverTable +#define TheItem_hxx +#define Hasher TColStd_MapTransientHasher +#define Hasher_hxx +#define TCollection_DataMapNode MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable +#define TCollection_DataMapNode_hxx +#define TCollection_DataMapIterator MDF_DataMapIteratorOfTypeDriverListMapOfARDriverTable +#define TCollection_DataMapIterator_hxx +#define Handle_TCollection_DataMapNode Handle_MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable +#define TCollection_DataMapNode_Type_() MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable_Type_() +#define TCollection_DataMap MDF_TypeDriverListMapOfARDriverTable +#define TCollection_DataMap_hxx +#include + diff --git a/src/FromOCCT/TKPLCAF/MDF_DataMapIteratorOfTypeDriverListMapOfASDriverTable.hxx b/src/FromOCCT/TKPLCAF/MDF_DataMapIteratorOfTypeDriverListMapOfASDriverTable.hxx new file mode 100644 index 000000000..137ac9667 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_DataMapIteratorOfTypeDriverListMapOfASDriverTable.hxx @@ -0,0 +1,65 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDF_DataMapIteratorOfTypeDriverListMapOfASDriverTable_HeaderFile +#define _MDF_DataMapIteratorOfTypeDriverListMapOfASDriverTable_HeaderFile + +#include +#include +#include + +#include +#include +#include +class Standard_NoSuchObject; +class Standard_Type; +class MDF_DriverListOfASDriverTable; +class TColStd_MapTransientHasher; +class MDF_TypeDriverListMapOfASDriverTable; +class MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable; + + + +class MDF_DataMapIteratorOfTypeDriverListMapOfASDriverTable : public TCollection_BasicMapIterator +{ +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT MDF_DataMapIteratorOfTypeDriverListMapOfASDriverTable(); + + Standard_EXPORT MDF_DataMapIteratorOfTypeDriverListMapOfASDriverTable(const MDF_TypeDriverListMapOfASDriverTable& aMap); + + Standard_EXPORT void Initialize (const MDF_TypeDriverListMapOfASDriverTable& aMap) ; + + Standard_EXPORT const Handle(Standard_Type)& Key() const; + + Standard_EXPORT const MDF_DriverListOfASDriverTable& Value() const; + + + + +protected: + + + + + +private: + + + + + +}; + + + + + + + +#endif // _MDF_DataMapIteratorOfTypeDriverListMapOfASDriverTable_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDF_DataMapIteratorOfTypeDriverListMapOfASDriverTable_0.cxx b/src/FromOCCT/TKPLCAF/MDF_DataMapIteratorOfTypeDriverListMapOfASDriverTable_0.cxx new file mode 100644 index 000000000..86193c1b6 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_DataMapIteratorOfTypeDriverListMapOfASDriverTable_0.cxx @@ -0,0 +1,31 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + + +#define TheKey Handle(Standard_Type) +#define TheKey_hxx +#define TheItem MDF_DriverListOfASDriverTable +#define TheItem_hxx +#define Hasher TColStd_MapTransientHasher +#define Hasher_hxx +#define TCollection_DataMapNode MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable +#define TCollection_DataMapNode_hxx +#define TCollection_DataMapIterator MDF_DataMapIteratorOfTypeDriverListMapOfASDriverTable +#define TCollection_DataMapIterator_hxx +#define Handle_TCollection_DataMapNode Handle_MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable +#define TCollection_DataMapNode_Type_() MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable_Type_() +#define TCollection_DataMap MDF_TypeDriverListMapOfASDriverTable +#define TCollection_DataMap_hxx +#include + diff --git a/src/FromOCCT/TKPLCAF/MDF_DataMapNodeOfTypeARDriverMap.hxx b/src/FromOCCT/TKPLCAF/MDF_DataMapNodeOfTypeARDriverMap.hxx new file mode 100644 index 000000000..5f73e10b4 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_DataMapNodeOfTypeARDriverMap.hxx @@ -0,0 +1,91 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDF_DataMapNodeOfTypeARDriverMap_HeaderFile +#define _MDF_DataMapNodeOfTypeARDriverMap_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class Standard_Type; +class MDF_ARDriver; +class TColStd_MapTransientHasher; +class MDF_TypeARDriverMap; +class MDF_DataMapIteratorOfTypeARDriverMap; + + + +class MDF_DataMapNodeOfTypeARDriverMap : public TCollection_MapNode +{ + +public: + + + MDF_DataMapNodeOfTypeARDriverMap(const Handle(Standard_Type)& K, const Handle(MDF_ARDriver)& I, const TCollection_MapNodePtr& n); + + Handle(Standard_Type)& Key() const; + + Handle(MDF_ARDriver)& Value() const; + + + + + DEFINE_STANDARD_RTTI(MDF_DataMapNodeOfTypeARDriverMap) + +protected: + + + + +private: + + + Handle(Standard_Type) myKey; + Handle(MDF_ARDriver) myValue; + + +}; + +#define TheKey Handle(Standard_Type) +#define TheKey_hxx +#define TheItem Handle(MDF_ARDriver) +#define TheItem_hxx +#define Hasher TColStd_MapTransientHasher +#define Hasher_hxx +#define TCollection_DataMapNode MDF_DataMapNodeOfTypeARDriverMap +#define TCollection_DataMapNode_hxx +#define TCollection_DataMapIterator MDF_DataMapIteratorOfTypeARDriverMap +#define TCollection_DataMapIterator_hxx +#define Handle_TCollection_DataMapNode Handle_MDF_DataMapNodeOfTypeARDriverMap +#define TCollection_DataMapNode_Type_() MDF_DataMapNodeOfTypeARDriverMap_Type_() +#define TCollection_DataMap MDF_TypeARDriverMap +#define TCollection_DataMap_hxx + +#include + +#undef TheKey +#undef TheKey_hxx +#undef TheItem +#undef TheItem_hxx +#undef Hasher +#undef Hasher_hxx +#undef TCollection_DataMapNode +#undef TCollection_DataMapNode_hxx +#undef TCollection_DataMapIterator +#undef TCollection_DataMapIterator_hxx +#undef Handle_TCollection_DataMapNode +#undef TCollection_DataMapNode_Type_ +#undef TCollection_DataMap +#undef TCollection_DataMap_hxx + + + + +#endif // _MDF_DataMapNodeOfTypeARDriverMap_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDF_DataMapNodeOfTypeARDriverMap_0.cxx b/src/FromOCCT/TKPLCAF/MDF_DataMapNodeOfTypeARDriverMap_0.cxx new file mode 100644 index 000000000..c0bd3d6e2 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_DataMapNodeOfTypeARDriverMap_0.cxx @@ -0,0 +1,48 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + +#include +#include +#include +#include +#include + + + + +IMPLEMENT_STANDARD_TYPE(MDF_DataMapNodeOfTypeARDriverMap) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(TCollection_MapNode), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDF_DataMapNodeOfTypeARDriverMap) + + +IMPLEMENT_DOWNCAST(MDF_DataMapNodeOfTypeARDriverMap,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDF_DataMapNodeOfTypeARDriverMap) + + +#define TheKey Handle(Standard_Type) +#define TheKey_hxx +#define TheItem Handle(MDF_ARDriver) +#define TheItem_hxx +#define Hasher TColStd_MapTransientHasher +#define Hasher_hxx +#define TCollection_DataMapNode MDF_DataMapNodeOfTypeARDriverMap +#define TCollection_DataMapNode_hxx +#define TCollection_DataMapIterator MDF_DataMapIteratorOfTypeARDriverMap +#define TCollection_DataMapIterator_hxx +#define Handle_TCollection_DataMapNode Handle_MDF_DataMapNodeOfTypeARDriverMap +#define TCollection_DataMapNode_Type_() MDF_DataMapNodeOfTypeARDriverMap_Type_() +#define TCollection_DataMap MDF_TypeARDriverMap +#define TCollection_DataMap_hxx +#include + diff --git a/src/FromOCCT/TKPLCAF/MDF_DataMapNodeOfTypeASDriverMap.hxx b/src/FromOCCT/TKPLCAF/MDF_DataMapNodeOfTypeASDriverMap.hxx new file mode 100644 index 000000000..a4c7848a5 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_DataMapNodeOfTypeASDriverMap.hxx @@ -0,0 +1,91 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDF_DataMapNodeOfTypeASDriverMap_HeaderFile +#define _MDF_DataMapNodeOfTypeASDriverMap_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class Standard_Type; +class MDF_ASDriver; +class TColStd_MapTransientHasher; +class MDF_TypeASDriverMap; +class MDF_DataMapIteratorOfTypeASDriverMap; + + + +class MDF_DataMapNodeOfTypeASDriverMap : public TCollection_MapNode +{ + +public: + + + MDF_DataMapNodeOfTypeASDriverMap(const Handle(Standard_Type)& K, const Handle(MDF_ASDriver)& I, const TCollection_MapNodePtr& n); + + Handle(Standard_Type)& Key() const; + + Handle(MDF_ASDriver)& Value() const; + + + + + DEFINE_STANDARD_RTTI(MDF_DataMapNodeOfTypeASDriverMap) + +protected: + + + + +private: + + + Handle(Standard_Type) myKey; + Handle(MDF_ASDriver) myValue; + + +}; + +#define TheKey Handle(Standard_Type) +#define TheKey_hxx +#define TheItem Handle(MDF_ASDriver) +#define TheItem_hxx +#define Hasher TColStd_MapTransientHasher +#define Hasher_hxx +#define TCollection_DataMapNode MDF_DataMapNodeOfTypeASDriverMap +#define TCollection_DataMapNode_hxx +#define TCollection_DataMapIterator MDF_DataMapIteratorOfTypeASDriverMap +#define TCollection_DataMapIterator_hxx +#define Handle_TCollection_DataMapNode Handle_MDF_DataMapNodeOfTypeASDriverMap +#define TCollection_DataMapNode_Type_() MDF_DataMapNodeOfTypeASDriverMap_Type_() +#define TCollection_DataMap MDF_TypeASDriverMap +#define TCollection_DataMap_hxx + +#include + +#undef TheKey +#undef TheKey_hxx +#undef TheItem +#undef TheItem_hxx +#undef Hasher +#undef Hasher_hxx +#undef TCollection_DataMapNode +#undef TCollection_DataMapNode_hxx +#undef TCollection_DataMapIterator +#undef TCollection_DataMapIterator_hxx +#undef Handle_TCollection_DataMapNode +#undef TCollection_DataMapNode_Type_ +#undef TCollection_DataMap +#undef TCollection_DataMap_hxx + + + + +#endif // _MDF_DataMapNodeOfTypeASDriverMap_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDF_DataMapNodeOfTypeASDriverMap_0.cxx b/src/FromOCCT/TKPLCAF/MDF_DataMapNodeOfTypeASDriverMap_0.cxx new file mode 100644 index 000000000..b5a135d73 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_DataMapNodeOfTypeASDriverMap_0.cxx @@ -0,0 +1,48 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + +#include +#include +#include +#include +#include + + + + +IMPLEMENT_STANDARD_TYPE(MDF_DataMapNodeOfTypeASDriverMap) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(TCollection_MapNode), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDF_DataMapNodeOfTypeASDriverMap) + + +IMPLEMENT_DOWNCAST(MDF_DataMapNodeOfTypeASDriverMap,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDF_DataMapNodeOfTypeASDriverMap) + + +#define TheKey Handle(Standard_Type) +#define TheKey_hxx +#define TheItem Handle(MDF_ASDriver) +#define TheItem_hxx +#define Hasher TColStd_MapTransientHasher +#define Hasher_hxx +#define TCollection_DataMapNode MDF_DataMapNodeOfTypeASDriverMap +#define TCollection_DataMapNode_hxx +#define TCollection_DataMapIterator MDF_DataMapIteratorOfTypeASDriverMap +#define TCollection_DataMapIterator_hxx +#define Handle_TCollection_DataMapNode Handle_MDF_DataMapNodeOfTypeASDriverMap +#define TCollection_DataMapNode_Type_() MDF_DataMapNodeOfTypeASDriverMap_Type_() +#define TCollection_DataMap MDF_TypeASDriverMap +#define TCollection_DataMap_hxx +#include + diff --git a/src/FromOCCT/TKPLCAF/MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable.hxx b/src/FromOCCT/TKPLCAF/MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable.hxx new file mode 100644 index 000000000..84745bee7 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable.hxx @@ -0,0 +1,91 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable_HeaderFile +#define _MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class Standard_Type; +class MDF_DriverListOfARDriverTable; +class TColStd_MapTransientHasher; +class MDF_TypeDriverListMapOfARDriverTable; +class MDF_DataMapIteratorOfTypeDriverListMapOfARDriverTable; + + + +class MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable : public TCollection_MapNode +{ + +public: + + + MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable(const Handle(Standard_Type)& K, const MDF_DriverListOfARDriverTable& I, const TCollection_MapNodePtr& n); + + Handle(Standard_Type)& Key() const; + + MDF_DriverListOfARDriverTable& Value() const; + + + + + DEFINE_STANDARD_RTTI(MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable) + +protected: + + + + +private: + + + Handle(Standard_Type) myKey; + MDF_DriverListOfARDriverTable myValue; + + +}; + +#define TheKey Handle(Standard_Type) +#define TheKey_hxx +#define TheItem MDF_DriverListOfARDriverTable +#define TheItem_hxx +#define Hasher TColStd_MapTransientHasher +#define Hasher_hxx +#define TCollection_DataMapNode MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable +#define TCollection_DataMapNode_hxx +#define TCollection_DataMapIterator MDF_DataMapIteratorOfTypeDriverListMapOfARDriverTable +#define TCollection_DataMapIterator_hxx +#define Handle_TCollection_DataMapNode Handle_MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable +#define TCollection_DataMapNode_Type_() MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable_Type_() +#define TCollection_DataMap MDF_TypeDriverListMapOfARDriverTable +#define TCollection_DataMap_hxx + +#include + +#undef TheKey +#undef TheKey_hxx +#undef TheItem +#undef TheItem_hxx +#undef Hasher +#undef Hasher_hxx +#undef TCollection_DataMapNode +#undef TCollection_DataMapNode_hxx +#undef TCollection_DataMapIterator +#undef TCollection_DataMapIterator_hxx +#undef Handle_TCollection_DataMapNode +#undef TCollection_DataMapNode_Type_ +#undef TCollection_DataMap +#undef TCollection_DataMap_hxx + + + + +#endif // _MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable_0.cxx b/src/FromOCCT/TKPLCAF/MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable_0.cxx new file mode 100644 index 000000000..84e53cd52 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable_0.cxx @@ -0,0 +1,48 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + +#include +#include +#include +#include +#include + + + + +IMPLEMENT_STANDARD_TYPE(MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(TCollection_MapNode), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable) + + +IMPLEMENT_DOWNCAST(MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable) + + +#define TheKey Handle(Standard_Type) +#define TheKey_hxx +#define TheItem MDF_DriverListOfARDriverTable +#define TheItem_hxx +#define Hasher TColStd_MapTransientHasher +#define Hasher_hxx +#define TCollection_DataMapNode MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable +#define TCollection_DataMapNode_hxx +#define TCollection_DataMapIterator MDF_DataMapIteratorOfTypeDriverListMapOfARDriverTable +#define TCollection_DataMapIterator_hxx +#define Handle_TCollection_DataMapNode Handle_MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable +#define TCollection_DataMapNode_Type_() MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable_Type_() +#define TCollection_DataMap MDF_TypeDriverListMapOfARDriverTable +#define TCollection_DataMap_hxx +#include + diff --git a/src/FromOCCT/TKPLCAF/MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable.hxx b/src/FromOCCT/TKPLCAF/MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable.hxx new file mode 100644 index 000000000..9c6e9069f --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable.hxx @@ -0,0 +1,91 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable_HeaderFile +#define _MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class Standard_Type; +class MDF_DriverListOfASDriverTable; +class TColStd_MapTransientHasher; +class MDF_TypeDriverListMapOfASDriverTable; +class MDF_DataMapIteratorOfTypeDriverListMapOfASDriverTable; + + + +class MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable : public TCollection_MapNode +{ + +public: + + + MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable(const Handle(Standard_Type)& K, const MDF_DriverListOfASDriverTable& I, const TCollection_MapNodePtr& n); + + Handle(Standard_Type)& Key() const; + + MDF_DriverListOfASDriverTable& Value() const; + + + + + DEFINE_STANDARD_RTTI(MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable) + +protected: + + + + +private: + + + Handle(Standard_Type) myKey; + MDF_DriverListOfASDriverTable myValue; + + +}; + +#define TheKey Handle(Standard_Type) +#define TheKey_hxx +#define TheItem MDF_DriverListOfASDriverTable +#define TheItem_hxx +#define Hasher TColStd_MapTransientHasher +#define Hasher_hxx +#define TCollection_DataMapNode MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable +#define TCollection_DataMapNode_hxx +#define TCollection_DataMapIterator MDF_DataMapIteratorOfTypeDriverListMapOfASDriverTable +#define TCollection_DataMapIterator_hxx +#define Handle_TCollection_DataMapNode Handle_MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable +#define TCollection_DataMapNode_Type_() MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable_Type_() +#define TCollection_DataMap MDF_TypeDriverListMapOfASDriverTable +#define TCollection_DataMap_hxx + +#include + +#undef TheKey +#undef TheKey_hxx +#undef TheItem +#undef TheItem_hxx +#undef Hasher +#undef Hasher_hxx +#undef TCollection_DataMapNode +#undef TCollection_DataMapNode_hxx +#undef TCollection_DataMapIterator +#undef TCollection_DataMapIterator_hxx +#undef Handle_TCollection_DataMapNode +#undef TCollection_DataMapNode_Type_ +#undef TCollection_DataMap +#undef TCollection_DataMap_hxx + + + + +#endif // _MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable_0.cxx b/src/FromOCCT/TKPLCAF/MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable_0.cxx new file mode 100644 index 000000000..4f6086df7 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable_0.cxx @@ -0,0 +1,48 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + +#include +#include +#include +#include +#include + + + + +IMPLEMENT_STANDARD_TYPE(MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(TCollection_MapNode), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable) + + +IMPLEMENT_DOWNCAST(MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable) + + +#define TheKey Handle(Standard_Type) +#define TheKey_hxx +#define TheItem MDF_DriverListOfASDriverTable +#define TheItem_hxx +#define Hasher TColStd_MapTransientHasher +#define Hasher_hxx +#define TCollection_DataMapNode MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable +#define TCollection_DataMapNode_hxx +#define TCollection_DataMapIterator MDF_DataMapIteratorOfTypeDriverListMapOfASDriverTable +#define TCollection_DataMapIterator_hxx +#define Handle_TCollection_DataMapNode Handle_MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable +#define TCollection_DataMapNode_Type_() MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable_Type_() +#define TCollection_DataMap MDF_TypeDriverListMapOfASDriverTable +#define TCollection_DataMap_hxx +#include + diff --git a/src/FromOCCT/TKPLCAF/MDF_DriverListOfARDriverTable.hxx b/src/FromOCCT/TKPLCAF/MDF_DriverListOfARDriverTable.hxx new file mode 100644 index 000000000..b5bb66e71 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_DriverListOfARDriverTable.hxx @@ -0,0 +1,127 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDF_DriverListOfARDriverTable_HeaderFile +#define _MDF_DriverListOfARDriverTable_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +class Standard_NoSuchObject; +class MDF_ListIteratorOfDriverListOfARDriverTable; +class MDF_ARDriver; +class MDF_ListNodeOfDriverListOfARDriverTable; + + + +class MDF_DriverListOfARDriverTable +{ +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT MDF_DriverListOfARDriverTable(); + + Standard_EXPORT MDF_DriverListOfARDriverTable(const MDF_DriverListOfARDriverTable& Other); + + Standard_EXPORT void Assign (const MDF_DriverListOfARDriverTable& Other) ; + void operator= (const MDF_DriverListOfARDriverTable& Other) +{ + Assign(Other); +} + + Standard_EXPORT Standard_Integer Extent() const; + + Standard_EXPORT void Clear() ; +~MDF_DriverListOfARDriverTable() +{ + Clear(); +} + + Standard_Boolean IsEmpty() const; + + Standard_EXPORT void Prepend (const Handle(MDF_ARDriver)& I) ; + + Standard_EXPORT void Prepend (const Handle(MDF_ARDriver)& I, MDF_ListIteratorOfDriverListOfARDriverTable& theIt) ; + + Standard_EXPORT void Prepend (MDF_DriverListOfARDriverTable& Other) ; + + Standard_EXPORT void Append (const Handle(MDF_ARDriver)& I) ; + + Standard_EXPORT void Append (const Handle(MDF_ARDriver)& I, MDF_ListIteratorOfDriverListOfARDriverTable& theIt) ; + + Standard_EXPORT void Append (MDF_DriverListOfARDriverTable& Other) ; + + Standard_EXPORT Handle(MDF_ARDriver)& First() const; + + Standard_EXPORT Handle(MDF_ARDriver)& Last() const; + + Standard_EXPORT void RemoveFirst() ; + + Standard_EXPORT void Remove (MDF_ListIteratorOfDriverListOfARDriverTable& It) ; + + Standard_EXPORT void InsertBefore (const Handle(MDF_ARDriver)& I, MDF_ListIteratorOfDriverListOfARDriverTable& It) ; + + Standard_EXPORT void InsertBefore (MDF_DriverListOfARDriverTable& Other, MDF_ListIteratorOfDriverListOfARDriverTable& It) ; + + Standard_EXPORT void InsertAfter (const Handle(MDF_ARDriver)& I, MDF_ListIteratorOfDriverListOfARDriverTable& It) ; + + Standard_EXPORT void InsertAfter (MDF_DriverListOfARDriverTable& Other, MDF_ListIteratorOfDriverListOfARDriverTable& It) ; + + +friend class MDF_ListIteratorOfDriverListOfARDriverTable; + + +protected: + + + + + +private: + + + + Standard_Address myFirst; + Standard_Address myLast; + + +}; + +#define Item Handle(MDF_ARDriver) +#define Item_hxx +#define TCollection_ListNode MDF_ListNodeOfDriverListOfARDriverTable +#define TCollection_ListNode_hxx +#define TCollection_ListIterator MDF_ListIteratorOfDriverListOfARDriverTable +#define TCollection_ListIterator_hxx +#define Handle_TCollection_ListNode Handle_MDF_ListNodeOfDriverListOfARDriverTable +#define TCollection_ListNode_Type_() MDF_ListNodeOfDriverListOfARDriverTable_Type_() +#define TCollection_List MDF_DriverListOfARDriverTable +#define TCollection_List_hxx + +#include + +#undef Item +#undef Item_hxx +#undef TCollection_ListNode +#undef TCollection_ListNode_hxx +#undef TCollection_ListIterator +#undef TCollection_ListIterator_hxx +#undef Handle_TCollection_ListNode +#undef TCollection_ListNode_Type_ +#undef TCollection_List +#undef TCollection_List_hxx + + + + +#endif // _MDF_DriverListOfARDriverTable_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDF_DriverListOfARDriverTable_0.cxx b/src/FromOCCT/TKPLCAF/MDF_DriverListOfARDriverTable_0.cxx new file mode 100644 index 000000000..f28c16f62 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_DriverListOfARDriverTable_0.cxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include + + +#define Item Handle(MDF_ARDriver) +#define Item_hxx +#define TCollection_ListNode MDF_ListNodeOfDriverListOfARDriverTable +#define TCollection_ListNode_hxx +#define TCollection_ListIterator MDF_ListIteratorOfDriverListOfARDriverTable +#define TCollection_ListIterator_hxx +#define Handle_TCollection_ListNode Handle_MDF_ListNodeOfDriverListOfARDriverTable +#define TCollection_ListNode_Type_() MDF_ListNodeOfDriverListOfARDriverTable_Type_() +#define TCollection_List MDF_DriverListOfARDriverTable +#define TCollection_List_hxx +#include + diff --git a/src/FromOCCT/TKPLCAF/MDF_DriverListOfASDriverTable.hxx b/src/FromOCCT/TKPLCAF/MDF_DriverListOfASDriverTable.hxx new file mode 100644 index 000000000..c2647beca --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_DriverListOfASDriverTable.hxx @@ -0,0 +1,127 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDF_DriverListOfASDriverTable_HeaderFile +#define _MDF_DriverListOfASDriverTable_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +class Standard_NoSuchObject; +class MDF_ListIteratorOfDriverListOfASDriverTable; +class MDF_ASDriver; +class MDF_ListNodeOfDriverListOfASDriverTable; + + + +class MDF_DriverListOfASDriverTable +{ +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT MDF_DriverListOfASDriverTable(); + + Standard_EXPORT MDF_DriverListOfASDriverTable(const MDF_DriverListOfASDriverTable& Other); + + Standard_EXPORT void Assign (const MDF_DriverListOfASDriverTable& Other) ; + void operator= (const MDF_DriverListOfASDriverTable& Other) +{ + Assign(Other); +} + + Standard_EXPORT Standard_Integer Extent() const; + + Standard_EXPORT void Clear() ; +~MDF_DriverListOfASDriverTable() +{ + Clear(); +} + + Standard_Boolean IsEmpty() const; + + Standard_EXPORT void Prepend (const Handle(MDF_ASDriver)& I) ; + + Standard_EXPORT void Prepend (const Handle(MDF_ASDriver)& I, MDF_ListIteratorOfDriverListOfASDriverTable& theIt) ; + + Standard_EXPORT void Prepend (MDF_DriverListOfASDriverTable& Other) ; + + Standard_EXPORT void Append (const Handle(MDF_ASDriver)& I) ; + + Standard_EXPORT void Append (const Handle(MDF_ASDriver)& I, MDF_ListIteratorOfDriverListOfASDriverTable& theIt) ; + + Standard_EXPORT void Append (MDF_DriverListOfASDriverTable& Other) ; + + Standard_EXPORT Handle(MDF_ASDriver)& First() const; + + Standard_EXPORT Handle(MDF_ASDriver)& Last() const; + + Standard_EXPORT void RemoveFirst() ; + + Standard_EXPORT void Remove (MDF_ListIteratorOfDriverListOfASDriverTable& It) ; + + Standard_EXPORT void InsertBefore (const Handle(MDF_ASDriver)& I, MDF_ListIteratorOfDriverListOfASDriverTable& It) ; + + Standard_EXPORT void InsertBefore (MDF_DriverListOfASDriverTable& Other, MDF_ListIteratorOfDriverListOfASDriverTable& It) ; + + Standard_EXPORT void InsertAfter (const Handle(MDF_ASDriver)& I, MDF_ListIteratorOfDriverListOfASDriverTable& It) ; + + Standard_EXPORT void InsertAfter (MDF_DriverListOfASDriverTable& Other, MDF_ListIteratorOfDriverListOfASDriverTable& It) ; + + +friend class MDF_ListIteratorOfDriverListOfASDriverTable; + + +protected: + + + + + +private: + + + + Standard_Address myFirst; + Standard_Address myLast; + + +}; + +#define Item Handle(MDF_ASDriver) +#define Item_hxx +#define TCollection_ListNode MDF_ListNodeOfDriverListOfASDriverTable +#define TCollection_ListNode_hxx +#define TCollection_ListIterator MDF_ListIteratorOfDriverListOfASDriverTable +#define TCollection_ListIterator_hxx +#define Handle_TCollection_ListNode Handle_MDF_ListNodeOfDriverListOfASDriverTable +#define TCollection_ListNode_Type_() MDF_ListNodeOfDriverListOfASDriverTable_Type_() +#define TCollection_List MDF_DriverListOfASDriverTable +#define TCollection_List_hxx + +#include + +#undef Item +#undef Item_hxx +#undef TCollection_ListNode +#undef TCollection_ListNode_hxx +#undef TCollection_ListIterator +#undef TCollection_ListIterator_hxx +#undef Handle_TCollection_ListNode +#undef TCollection_ListNode_Type_ +#undef TCollection_List +#undef TCollection_List_hxx + + + + +#endif // _MDF_DriverListOfASDriverTable_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDF_DriverListOfASDriverTable_0.cxx b/src/FromOCCT/TKPLCAF/MDF_DriverListOfASDriverTable_0.cxx new file mode 100644 index 000000000..727992b36 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_DriverListOfASDriverTable_0.cxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include + + +#define Item Handle(MDF_ASDriver) +#define Item_hxx +#define TCollection_ListNode MDF_ListNodeOfDriverListOfASDriverTable +#define TCollection_ListNode_hxx +#define TCollection_ListIterator MDF_ListIteratorOfDriverListOfASDriverTable +#define TCollection_ListIterator_hxx +#define Handle_TCollection_ListNode Handle_MDF_ListNodeOfDriverListOfASDriverTable +#define TCollection_ListNode_Type_() MDF_ListNodeOfDriverListOfASDriverTable_Type_() +#define TCollection_List MDF_DriverListOfASDriverTable +#define TCollection_List_hxx +#include + diff --git a/src/FromOCCT/TKPLCAF/MDF_DriverTable.gxx b/src/FromOCCT/TKPLCAF/MDF_DriverTable.gxx new file mode 100644 index 000000000..ee0d26615 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_DriverTable.gxx @@ -0,0 +1,149 @@ +// 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/FromOCCT/TKPLCAF/MDF_ListIteratorOfDriverListOfARDriverTable.hxx b/src/FromOCCT/TKPLCAF/MDF_ListIteratorOfDriverListOfARDriverTable.hxx new file mode 100644 index 000000000..b7124db3c --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_ListIteratorOfDriverListOfARDriverTable.hxx @@ -0,0 +1,91 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDF_ListIteratorOfDriverListOfARDriverTable_HeaderFile +#define _MDF_ListIteratorOfDriverListOfARDriverTable_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class Standard_NoMoreObject; +class Standard_NoSuchObject; +class MDF_DriverListOfARDriverTable; +class MDF_ARDriver; +class MDF_ListNodeOfDriverListOfARDriverTable; + + + +class MDF_ListIteratorOfDriverListOfARDriverTable +{ +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT MDF_ListIteratorOfDriverListOfARDriverTable(); + + Standard_EXPORT MDF_ListIteratorOfDriverListOfARDriverTable(const MDF_DriverListOfARDriverTable& L); + + Standard_EXPORT void Initialize (const MDF_DriverListOfARDriverTable& L) ; + + Standard_Boolean More() const; + + Standard_EXPORT void Next() ; + + Standard_EXPORT Handle(MDF_ARDriver)& Value() const; + + +friend class MDF_DriverListOfARDriverTable; + + +protected: + + + + + +private: + + + + Standard_Address current; + Standard_Address previous; + + +}; + +#define Item Handle(MDF_ARDriver) +#define Item_hxx +#define TCollection_ListNode MDF_ListNodeOfDriverListOfARDriverTable +#define TCollection_ListNode_hxx +#define TCollection_ListIterator MDF_ListIteratorOfDriverListOfARDriverTable +#define TCollection_ListIterator_hxx +#define Handle_TCollection_ListNode Handle_MDF_ListNodeOfDriverListOfARDriverTable +#define TCollection_ListNode_Type_() MDF_ListNodeOfDriverListOfARDriverTable_Type_() +#define TCollection_List MDF_DriverListOfARDriverTable +#define TCollection_List_hxx + +#include + +#undef Item +#undef Item_hxx +#undef TCollection_ListNode +#undef TCollection_ListNode_hxx +#undef TCollection_ListIterator +#undef TCollection_ListIterator_hxx +#undef Handle_TCollection_ListNode +#undef TCollection_ListNode_Type_ +#undef TCollection_List +#undef TCollection_List_hxx + + + + +#endif // _MDF_ListIteratorOfDriverListOfARDriverTable_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDF_ListIteratorOfDriverListOfARDriverTable_0.cxx b/src/FromOCCT/TKPLCAF/MDF_ListIteratorOfDriverListOfARDriverTable_0.cxx new file mode 100644 index 000000000..40b347136 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_ListIteratorOfDriverListOfARDriverTable_0.cxx @@ -0,0 +1,26 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include + + +#define Item Handle(MDF_ARDriver) +#define Item_hxx +#define TCollection_ListNode MDF_ListNodeOfDriverListOfARDriverTable +#define TCollection_ListNode_hxx +#define TCollection_ListIterator MDF_ListIteratorOfDriverListOfARDriverTable +#define TCollection_ListIterator_hxx +#define Handle_TCollection_ListNode Handle_MDF_ListNodeOfDriverListOfARDriverTable +#define TCollection_ListNode_Type_() MDF_ListNodeOfDriverListOfARDriverTable_Type_() +#define TCollection_List MDF_DriverListOfARDriverTable +#define TCollection_List_hxx +#include + diff --git a/src/FromOCCT/TKPLCAF/MDF_ListIteratorOfDriverListOfASDriverTable.hxx b/src/FromOCCT/TKPLCAF/MDF_ListIteratorOfDriverListOfASDriverTable.hxx new file mode 100644 index 000000000..b7b9cd912 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_ListIteratorOfDriverListOfASDriverTable.hxx @@ -0,0 +1,91 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDF_ListIteratorOfDriverListOfASDriverTable_HeaderFile +#define _MDF_ListIteratorOfDriverListOfASDriverTable_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class Standard_NoMoreObject; +class Standard_NoSuchObject; +class MDF_DriverListOfASDriverTable; +class MDF_ASDriver; +class MDF_ListNodeOfDriverListOfASDriverTable; + + + +class MDF_ListIteratorOfDriverListOfASDriverTable +{ +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT MDF_ListIteratorOfDriverListOfASDriverTable(); + + Standard_EXPORT MDF_ListIteratorOfDriverListOfASDriverTable(const MDF_DriverListOfASDriverTable& L); + + Standard_EXPORT void Initialize (const MDF_DriverListOfASDriverTable& L) ; + + Standard_Boolean More() const; + + Standard_EXPORT void Next() ; + + Standard_EXPORT Handle(MDF_ASDriver)& Value() const; + + +friend class MDF_DriverListOfASDriverTable; + + +protected: + + + + + +private: + + + + Standard_Address current; + Standard_Address previous; + + +}; + +#define Item Handle(MDF_ASDriver) +#define Item_hxx +#define TCollection_ListNode MDF_ListNodeOfDriverListOfASDriverTable +#define TCollection_ListNode_hxx +#define TCollection_ListIterator MDF_ListIteratorOfDriverListOfASDriverTable +#define TCollection_ListIterator_hxx +#define Handle_TCollection_ListNode Handle_MDF_ListNodeOfDriverListOfASDriverTable +#define TCollection_ListNode_Type_() MDF_ListNodeOfDriverListOfASDriverTable_Type_() +#define TCollection_List MDF_DriverListOfASDriverTable +#define TCollection_List_hxx + +#include + +#undef Item +#undef Item_hxx +#undef TCollection_ListNode +#undef TCollection_ListNode_hxx +#undef TCollection_ListIterator +#undef TCollection_ListIterator_hxx +#undef Handle_TCollection_ListNode +#undef TCollection_ListNode_Type_ +#undef TCollection_List +#undef TCollection_List_hxx + + + + +#endif // _MDF_ListIteratorOfDriverListOfASDriverTable_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDF_ListIteratorOfDriverListOfASDriverTable_0.cxx b/src/FromOCCT/TKPLCAF/MDF_ListIteratorOfDriverListOfASDriverTable_0.cxx new file mode 100644 index 000000000..7341752bf --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_ListIteratorOfDriverListOfASDriverTable_0.cxx @@ -0,0 +1,26 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include + + +#define Item Handle(MDF_ASDriver) +#define Item_hxx +#define TCollection_ListNode MDF_ListNodeOfDriverListOfASDriverTable +#define TCollection_ListNode_hxx +#define TCollection_ListIterator MDF_ListIteratorOfDriverListOfASDriverTable +#define TCollection_ListIterator_hxx +#define Handle_TCollection_ListNode Handle_MDF_ListNodeOfDriverListOfASDriverTable +#define TCollection_ListNode_Type_() MDF_ListNodeOfDriverListOfASDriverTable_Type_() +#define TCollection_List MDF_DriverListOfASDriverTable +#define TCollection_List_hxx +#include + diff --git a/src/FromOCCT/TKPLCAF/MDF_ListNodeOfDriverListOfARDriverTable.hxx b/src/FromOCCT/TKPLCAF/MDF_ListNodeOfDriverListOfARDriverTable.hxx new file mode 100644 index 000000000..ba9350b6f --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_ListNodeOfDriverListOfARDriverTable.hxx @@ -0,0 +1,77 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDF_ListNodeOfDriverListOfARDriverTable_HeaderFile +#define _MDF_ListNodeOfDriverListOfARDriverTable_HeaderFile + +#include +#include +#include + +#include +#include +#include +class MDF_ARDriver; +class MDF_DriverListOfARDriverTable; +class MDF_ListIteratorOfDriverListOfARDriverTable; + + + +class MDF_ListNodeOfDriverListOfARDriverTable : public TCollection_MapNode +{ + +public: + + + MDF_ListNodeOfDriverListOfARDriverTable(const Handle(MDF_ARDriver)& I, const TCollection_MapNodePtr& n); + + Handle(MDF_ARDriver)& Value() const; + + + + + DEFINE_STANDARD_RTTI(MDF_ListNodeOfDriverListOfARDriverTable) + +protected: + + + + +private: + + + Handle(MDF_ARDriver) myValue; + + +}; + +#define Item Handle(MDF_ARDriver) +#define Item_hxx +#define TCollection_ListNode MDF_ListNodeOfDriverListOfARDriverTable +#define TCollection_ListNode_hxx +#define TCollection_ListIterator MDF_ListIteratorOfDriverListOfARDriverTable +#define TCollection_ListIterator_hxx +#define Handle_TCollection_ListNode Handle_MDF_ListNodeOfDriverListOfARDriverTable +#define TCollection_ListNode_Type_() MDF_ListNodeOfDriverListOfARDriverTable_Type_() +#define TCollection_List MDF_DriverListOfARDriverTable +#define TCollection_List_hxx + +#include + +#undef Item +#undef Item_hxx +#undef TCollection_ListNode +#undef TCollection_ListNode_hxx +#undef TCollection_ListIterator +#undef TCollection_ListIterator_hxx +#undef Handle_TCollection_ListNode +#undef TCollection_ListNode_Type_ +#undef TCollection_List +#undef TCollection_List_hxx + + + + +#endif // _MDF_ListNodeOfDriverListOfARDriverTable_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDF_ListNodeOfDriverListOfARDriverTable_0.cxx b/src/FromOCCT/TKPLCAF/MDF_ListNodeOfDriverListOfARDriverTable_0.cxx new file mode 100644 index 000000000..9538c1f15 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_ListNodeOfDriverListOfARDriverTable_0.cxx @@ -0,0 +1,42 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + +#include +#include +#include + + + + +IMPLEMENT_STANDARD_TYPE(MDF_ListNodeOfDriverListOfARDriverTable) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(TCollection_MapNode), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDF_ListNodeOfDriverListOfARDriverTable) + + +IMPLEMENT_DOWNCAST(MDF_ListNodeOfDriverListOfARDriverTable,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDF_ListNodeOfDriverListOfARDriverTable) + + +#define Item Handle(MDF_ARDriver) +#define Item_hxx +#define TCollection_ListNode MDF_ListNodeOfDriverListOfARDriverTable +#define TCollection_ListNode_hxx +#define TCollection_ListIterator MDF_ListIteratorOfDriverListOfARDriverTable +#define TCollection_ListIterator_hxx +#define Handle_TCollection_ListNode Handle_MDF_ListNodeOfDriverListOfARDriverTable +#define TCollection_ListNode_Type_() MDF_ListNodeOfDriverListOfARDriverTable_Type_() +#define TCollection_List MDF_DriverListOfARDriverTable +#define TCollection_List_hxx +#include + diff --git a/src/FromOCCT/TKPLCAF/MDF_ListNodeOfDriverListOfASDriverTable.hxx b/src/FromOCCT/TKPLCAF/MDF_ListNodeOfDriverListOfASDriverTable.hxx new file mode 100644 index 000000000..1e0c36a8f --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_ListNodeOfDriverListOfASDriverTable.hxx @@ -0,0 +1,77 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDF_ListNodeOfDriverListOfASDriverTable_HeaderFile +#define _MDF_ListNodeOfDriverListOfASDriverTable_HeaderFile + +#include +#include +#include + +#include +#include +#include +class MDF_ASDriver; +class MDF_DriverListOfASDriverTable; +class MDF_ListIteratorOfDriverListOfASDriverTable; + + + +class MDF_ListNodeOfDriverListOfASDriverTable : public TCollection_MapNode +{ + +public: + + + MDF_ListNodeOfDriverListOfASDriverTable(const Handle(MDF_ASDriver)& I, const TCollection_MapNodePtr& n); + + Handle(MDF_ASDriver)& Value() const; + + + + + DEFINE_STANDARD_RTTI(MDF_ListNodeOfDriverListOfASDriverTable) + +protected: + + + + +private: + + + Handle(MDF_ASDriver) myValue; + + +}; + +#define Item Handle(MDF_ASDriver) +#define Item_hxx +#define TCollection_ListNode MDF_ListNodeOfDriverListOfASDriverTable +#define TCollection_ListNode_hxx +#define TCollection_ListIterator MDF_ListIteratorOfDriverListOfASDriverTable +#define TCollection_ListIterator_hxx +#define Handle_TCollection_ListNode Handle_MDF_ListNodeOfDriverListOfASDriverTable +#define TCollection_ListNode_Type_() MDF_ListNodeOfDriverListOfASDriverTable_Type_() +#define TCollection_List MDF_DriverListOfASDriverTable +#define TCollection_List_hxx + +#include + +#undef Item +#undef Item_hxx +#undef TCollection_ListNode +#undef TCollection_ListNode_hxx +#undef TCollection_ListIterator +#undef TCollection_ListIterator_hxx +#undef Handle_TCollection_ListNode +#undef TCollection_ListNode_Type_ +#undef TCollection_List +#undef TCollection_List_hxx + + + + +#endif // _MDF_ListNodeOfDriverListOfASDriverTable_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDF_ListNodeOfDriverListOfASDriverTable_0.cxx b/src/FromOCCT/TKPLCAF/MDF_ListNodeOfDriverListOfASDriverTable_0.cxx new file mode 100644 index 000000000..ee493527c --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_ListNodeOfDriverListOfASDriverTable_0.cxx @@ -0,0 +1,42 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + +#include +#include +#include + + + + +IMPLEMENT_STANDARD_TYPE(MDF_ListNodeOfDriverListOfASDriverTable) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(TCollection_MapNode), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDF_ListNodeOfDriverListOfASDriverTable) + + +IMPLEMENT_DOWNCAST(MDF_ListNodeOfDriverListOfASDriverTable,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDF_ListNodeOfDriverListOfASDriverTable) + + +#define Item Handle(MDF_ASDriver) +#define Item_hxx +#define TCollection_ListNode MDF_ListNodeOfDriverListOfASDriverTable +#define TCollection_ListNode_hxx +#define TCollection_ListIterator MDF_ListIteratorOfDriverListOfASDriverTable +#define TCollection_ListIterator_hxx +#define Handle_TCollection_ListNode Handle_MDF_ListNodeOfDriverListOfASDriverTable +#define TCollection_ListNode_Type_() MDF_ListNodeOfDriverListOfASDriverTable_Type_() +#define TCollection_List MDF_DriverListOfASDriverTable +#define TCollection_List_hxx +#include + diff --git a/src/FromOCCT/TKPLCAF/MDF_RRelocationTable.hxx b/src/FromOCCT/TKPLCAF/MDF_RRelocationTable.hxx new file mode 100644 index 000000000..568073a7f --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_RRelocationTable.hxx @@ -0,0 +1,78 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDF_RRelocationTable_HeaderFile +#define _MDF_RRelocationTable_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class PDF_Attribute; +class TDF_Attribute; +class Standard_Persistent; +class Standard_Transient; +class PTColStd_PersistentTransientMap; + + + +class MDF_RRelocationTable : public MMgt_TShared +{ + +public: + + + Standard_EXPORT MDF_RRelocationTable(const Standard_Boolean theSelfRelocation = Standard_False); + + Standard_EXPORT void SetSelfRelocation (const Standard_Boolean theStatus = Standard_True) ; + + Standard_EXPORT Standard_Boolean IsSelfRelocation() const; + + Standard_EXPORT void SetRelocation (const Handle(PDF_Attribute)& aSourceAttribute, const Handle(TDF_Attribute)& aTargetAttribute) ; + + Standard_EXPORT Standard_Boolean HasRelocation (const Handle(PDF_Attribute)& aSourceAttribute, Handle(TDF_Attribute)& aTargetAttribute) ; + + Standard_EXPORT void SetOtherRelocation (const Handle(Standard_Persistent)& aSource, const Handle(Standard_Transient)& aTarget) ; + + Standard_EXPORT Standard_Boolean HasOtherRelocation (const Handle(Standard_Persistent)& aSource, Handle(Standard_Transient)& aTarget) ; + + Standard_EXPORT PTColStd_PersistentTransientMap& AttributeTable() ; + + Standard_EXPORT PTColStd_PersistentTransientMap& OtherTable() ; + + + + + DEFINE_STANDARD_RTTI(MDF_RRelocationTable) + +protected: + + + + +private: + + + PTColStd_PersistentTransientMap myAttributeTable; + PTColStd_PersistentTransientMap myOtherTable; + Standard_Boolean mySelfRelocation; + + +}; + + + + + + + +#endif // _MDF_RRelocationTable_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDF_RRelocationTable_0.cxx b/src/FromOCCT/TKPLCAF/MDF_RRelocationTable_0.cxx new file mode 100644 index 000000000..a27d59095 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_RRelocationTable_0.cxx @@ -0,0 +1,47 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + +#include +#include +#include +#include +#include + + + + +IMPLEMENT_STANDARD_TYPE(MDF_RRelocationTable) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDF_RRelocationTable) + + +IMPLEMENT_DOWNCAST(MDF_RRelocationTable,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDF_RRelocationTable) + + +#define TheSourceType Handle(PDF_Attribute) +#define TheSourceType_hxx +#define TheTargetType Handle(TDF_Attribute) +#define TheTargetType_hxx +#define TheOtherSourceType Handle(Standard_Persistent) +#define TheOtherSourceType_hxx +#define TheOtherTargetType Handle(Standard_Transient) +#define TheOtherTargetType_hxx +#define TheMapType PTColStd_PersistentTransientMap +#define TheMapType_hxx +#define MDF_RelocationTable MDF_RRelocationTable +#define MDF_RelocationTable_hxx +#define Handle_MDF_RelocationTable Handle_MDF_RRelocationTable +#define MDF_RelocationTable_Type_() MDF_RRelocationTable_Type_() +#include + diff --git a/src/FromOCCT/TKPLCAF/MDF_ReferenceRetrievalDriver.cxx b/src/FromOCCT/TKPLCAF/MDF_ReferenceRetrievalDriver.cxx new file mode 100644 index 000000000..fc6daed8b --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_ReferenceRetrievalDriver.cxx @@ -0,0 +1,58 @@ +// Copyright (c) 1999-2014 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#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/FromOCCT/TKPLCAF/MDF_ReferenceRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/MDF_ReferenceRetrievalDriver.hxx new file mode 100644 index 000000000..106d50d56 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_ReferenceRetrievalDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDF_ReferenceRetrievalDriver_HeaderFile +#define _MDF_ReferenceRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MDF_ReferenceRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MDF_ReferenceRetrievalDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: Reference from PDF. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDF_ReferenceRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDF_ReferenceRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDF_ReferenceRetrievalDriver.ixx b/src/FromOCCT/TKPLCAF/MDF_ReferenceRetrievalDriver.ixx new file mode 100644 index 000000000..c81eba196 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_ReferenceRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDF_ReferenceRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDF_ReferenceRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MDF_ReferenceRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDF_ReferenceRetrievalDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDF_ReferenceRetrievalDriver.jxx b/src/FromOCCT/TKPLCAF/MDF_ReferenceRetrievalDriver.jxx new file mode 100644 index 000000000..b49b30f62 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_ReferenceRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDF_ReferenceStorageDriver.cxx b/src/FromOCCT/TKPLCAF/MDF_ReferenceStorageDriver.cxx new file mode 100644 index 000000000..9d6a86a24 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_ReferenceStorageDriver.cxx @@ -0,0 +1,64 @@ +// Copyright (c) 1999-2014 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#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/FromOCCT/TKPLCAF/MDF_ReferenceStorageDriver.hxx b/src/FromOCCT/TKPLCAF/MDF_ReferenceStorageDriver.hxx new file mode 100644 index 000000000..2f0c06192 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_ReferenceStorageDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDF_ReferenceStorageDriver_HeaderFile +#define _MDF_ReferenceStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + + +class MDF_ReferenceStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MDF_ReferenceStorageDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: Integer from TDF. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDF_ReferenceStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDF_ReferenceStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDF_ReferenceStorageDriver.ixx b/src/FromOCCT/TKPLCAF/MDF_ReferenceStorageDriver.ixx new file mode 100644 index 000000000..a87d9a275 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_ReferenceStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDF_ReferenceStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDF_ReferenceStorageDriver) + + +IMPLEMENT_DOWNCAST(MDF_ReferenceStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDF_ReferenceStorageDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDF_ReferenceStorageDriver.jxx b/src/FromOCCT/TKPLCAF/MDF_ReferenceStorageDriver.jxx new file mode 100644 index 000000000..0ca7c2db7 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_ReferenceStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDF_RelocationTable.gxx b/src/FromOCCT/TKPLCAF/MDF_RelocationTable.gxx new file mode 100644 index 000000000..da53d0a33 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_RelocationTable.gxx @@ -0,0 +1,128 @@ +// 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/FromOCCT/TKPLCAF/MDF_SRelocationTable.hxx b/src/FromOCCT/TKPLCAF/MDF_SRelocationTable.hxx new file mode 100644 index 000000000..0f17c0b1e --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_SRelocationTable.hxx @@ -0,0 +1,78 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDF_SRelocationTable_HeaderFile +#define _MDF_SRelocationTable_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class TDF_Attribute; +class PDF_Attribute; +class Standard_Transient; +class Standard_Persistent; +class PTColStd_TransientPersistentMap; + + + +class MDF_SRelocationTable : public MMgt_TShared +{ + +public: + + + Standard_EXPORT MDF_SRelocationTable(const Standard_Boolean theSelfRelocation = Standard_False); + + Standard_EXPORT void SetSelfRelocation (const Standard_Boolean theStatus = Standard_True) ; + + Standard_EXPORT Standard_Boolean IsSelfRelocation() const; + + Standard_EXPORT void SetRelocation (const Handle(TDF_Attribute)& aSourceAttribute, const Handle(PDF_Attribute)& aTargetAttribute) ; + + Standard_EXPORT Standard_Boolean HasRelocation (const Handle(TDF_Attribute)& aSourceAttribute, Handle(PDF_Attribute)& aTargetAttribute) ; + + Standard_EXPORT void SetOtherRelocation (const Handle(Standard_Transient)& aSource, const Handle(Standard_Persistent)& aTarget) ; + + Standard_EXPORT Standard_Boolean HasOtherRelocation (const Handle(Standard_Transient)& aSource, Handle(Standard_Persistent)& aTarget) ; + + Standard_EXPORT PTColStd_TransientPersistentMap& AttributeTable() ; + + Standard_EXPORT PTColStd_TransientPersistentMap& OtherTable() ; + + + + + DEFINE_STANDARD_RTTI(MDF_SRelocationTable) + +protected: + + + + +private: + + + PTColStd_TransientPersistentMap myAttributeTable; + PTColStd_TransientPersistentMap myOtherTable; + Standard_Boolean mySelfRelocation; + + +}; + + + + + + + +#endif // _MDF_SRelocationTable_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDF_SRelocationTable_0.cxx b/src/FromOCCT/TKPLCAF/MDF_SRelocationTable_0.cxx new file mode 100644 index 000000000..31b757cb7 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_SRelocationTable_0.cxx @@ -0,0 +1,47 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + +#include +#include +#include +#include +#include + + + + +IMPLEMENT_STANDARD_TYPE(MDF_SRelocationTable) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDF_SRelocationTable) + + +IMPLEMENT_DOWNCAST(MDF_SRelocationTable,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDF_SRelocationTable) + + +#define TheSourceType Handle(TDF_Attribute) +#define TheSourceType_hxx +#define TheTargetType Handle(PDF_Attribute) +#define TheTargetType_hxx +#define TheOtherSourceType Handle(Standard_Transient) +#define TheOtherSourceType_hxx +#define TheOtherTargetType Handle(Standard_Persistent) +#define TheOtherTargetType_hxx +#define TheMapType PTColStd_TransientPersistentMap +#define TheMapType_hxx +#define MDF_RelocationTable MDF_SRelocationTable +#define MDF_RelocationTable_hxx +#define Handle_MDF_RelocationTable Handle_MDF_SRelocationTable +#define MDF_RelocationTable_Type_() MDF_SRelocationTable_Type_() +#include + diff --git a/src/FromOCCT/TKPLCAF/MDF_SequenceNodeOfARDriverSequence.hxx b/src/FromOCCT/TKPLCAF/MDF_SequenceNodeOfARDriverSequence.hxx new file mode 100644 index 000000000..464a19b3c --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_SequenceNodeOfARDriverSequence.hxx @@ -0,0 +1,72 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDF_SequenceNodeOfARDriverSequence_HeaderFile +#define _MDF_SequenceNodeOfARDriverSequence_HeaderFile + +#include +#include +#include + +#include +#include +#include +class MDF_ARDriver; +class MDF_ARDriverSequence; + + + +class MDF_SequenceNodeOfARDriverSequence : public TCollection_SeqNode +{ + +public: + + + MDF_SequenceNodeOfARDriverSequence(const Handle(MDF_ARDriver)& I, const TCollection_SeqNodePtr& n, const TCollection_SeqNodePtr& p); + + Handle(MDF_ARDriver)& Value() const; + + + + + DEFINE_STANDARD_RTTI(MDF_SequenceNodeOfARDriverSequence) + +protected: + + + + +private: + + + Handle(MDF_ARDriver) myValue; + + +}; + +#define SeqItem Handle(MDF_ARDriver) +#define SeqItem_hxx +#define TCollection_SequenceNode MDF_SequenceNodeOfARDriverSequence +#define TCollection_SequenceNode_hxx +#define Handle_TCollection_SequenceNode Handle_MDF_SequenceNodeOfARDriverSequence +#define TCollection_SequenceNode_Type_() MDF_SequenceNodeOfARDriverSequence_Type_() +#define TCollection_Sequence MDF_ARDriverSequence +#define TCollection_Sequence_hxx + +#include + +#undef SeqItem +#undef SeqItem_hxx +#undef TCollection_SequenceNode +#undef TCollection_SequenceNode_hxx +#undef Handle_TCollection_SequenceNode +#undef TCollection_SequenceNode_Type_ +#undef TCollection_Sequence +#undef TCollection_Sequence_hxx + + + + +#endif // _MDF_SequenceNodeOfARDriverSequence_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDF_SequenceNodeOfARDriverSequence_0.cxx b/src/FromOCCT/TKPLCAF/MDF_SequenceNodeOfARDriverSequence_0.cxx new file mode 100644 index 000000000..3ace7e517 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_SequenceNodeOfARDriverSequence_0.cxx @@ -0,0 +1,39 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + +#include +#include + + + + +IMPLEMENT_STANDARD_TYPE(MDF_SequenceNodeOfARDriverSequence) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(TCollection_SeqNode), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDF_SequenceNodeOfARDriverSequence) + + +IMPLEMENT_DOWNCAST(MDF_SequenceNodeOfARDriverSequence,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDF_SequenceNodeOfARDriverSequence) + + +#define SeqItem Handle(MDF_ARDriver) +#define SeqItem_hxx +#define TCollection_SequenceNode MDF_SequenceNodeOfARDriverSequence +#define TCollection_SequenceNode_hxx +#define Handle_TCollection_SequenceNode Handle_MDF_SequenceNodeOfARDriverSequence +#define TCollection_SequenceNode_Type_() MDF_SequenceNodeOfARDriverSequence_Type_() +#define TCollection_Sequence MDF_ARDriverSequence +#define TCollection_Sequence_hxx +#include + diff --git a/src/FromOCCT/TKPLCAF/MDF_SequenceNodeOfASDriverSequence.hxx b/src/FromOCCT/TKPLCAF/MDF_SequenceNodeOfASDriverSequence.hxx new file mode 100644 index 000000000..294789f5d --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_SequenceNodeOfASDriverSequence.hxx @@ -0,0 +1,72 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDF_SequenceNodeOfASDriverSequence_HeaderFile +#define _MDF_SequenceNodeOfASDriverSequence_HeaderFile + +#include +#include +#include + +#include +#include +#include +class MDF_ASDriver; +class MDF_ASDriverSequence; + + + +class MDF_SequenceNodeOfASDriverSequence : public TCollection_SeqNode +{ + +public: + + + MDF_SequenceNodeOfASDriverSequence(const Handle(MDF_ASDriver)& I, const TCollection_SeqNodePtr& n, const TCollection_SeqNodePtr& p); + + Handle(MDF_ASDriver)& Value() const; + + + + + DEFINE_STANDARD_RTTI(MDF_SequenceNodeOfASDriverSequence) + +protected: + + + + +private: + + + Handle(MDF_ASDriver) myValue; + + +}; + +#define SeqItem Handle(MDF_ASDriver) +#define SeqItem_hxx +#define TCollection_SequenceNode MDF_SequenceNodeOfASDriverSequence +#define TCollection_SequenceNode_hxx +#define Handle_TCollection_SequenceNode Handle_MDF_SequenceNodeOfASDriverSequence +#define TCollection_SequenceNode_Type_() MDF_SequenceNodeOfASDriverSequence_Type_() +#define TCollection_Sequence MDF_ASDriverSequence +#define TCollection_Sequence_hxx + +#include + +#undef SeqItem +#undef SeqItem_hxx +#undef TCollection_SequenceNode +#undef TCollection_SequenceNode_hxx +#undef Handle_TCollection_SequenceNode +#undef TCollection_SequenceNode_Type_ +#undef TCollection_Sequence +#undef TCollection_Sequence_hxx + + + + +#endif // _MDF_SequenceNodeOfASDriverSequence_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDF_SequenceNodeOfASDriverSequence_0.cxx b/src/FromOCCT/TKPLCAF/MDF_SequenceNodeOfASDriverSequence_0.cxx new file mode 100644 index 000000000..cd6e63cc0 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_SequenceNodeOfASDriverSequence_0.cxx @@ -0,0 +1,39 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + +#include +#include + + + + +IMPLEMENT_STANDARD_TYPE(MDF_SequenceNodeOfASDriverSequence) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(TCollection_SeqNode), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDF_SequenceNodeOfASDriverSequence) + + +IMPLEMENT_DOWNCAST(MDF_SequenceNodeOfASDriverSequence,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDF_SequenceNodeOfASDriverSequence) + + +#define SeqItem Handle(MDF_ASDriver) +#define SeqItem_hxx +#define TCollection_SequenceNode MDF_SequenceNodeOfASDriverSequence +#define TCollection_SequenceNode_hxx +#define Handle_TCollection_SequenceNode Handle_MDF_SequenceNodeOfASDriverSequence +#define TCollection_SequenceNode_Type_() MDF_SequenceNodeOfASDriverSequence_Type_() +#define TCollection_Sequence MDF_ASDriverSequence +#define TCollection_Sequence_hxx +#include + diff --git a/src/FromOCCT/TKPLCAF/MDF_TagSourceRetrievalDriver.cxx b/src/FromOCCT/TKPLCAF/MDF_TagSourceRetrievalDriver.cxx new file mode 100644 index 000000000..bfd55cbf4 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_TagSourceRetrievalDriver.cxx @@ -0,0 +1,39 @@ +// Copyright (c) 1999-2014 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + +#include +#include +#include +#include + +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/FromOCCT/TKPLCAF/MDF_TagSourceRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/MDF_TagSourceRetrievalDriver.hxx new file mode 100644 index 000000000..bf484a44e --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_TagSourceRetrievalDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDF_TagSourceRetrievalDriver_HeaderFile +#define _MDF_TagSourceRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MDF_TagSourceRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MDF_TagSourceRetrievalDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: TagSource from PDF. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDF_TagSourceRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDF_TagSourceRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDF_TagSourceRetrievalDriver.ixx b/src/FromOCCT/TKPLCAF/MDF_TagSourceRetrievalDriver.ixx new file mode 100644 index 000000000..727a47743 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_TagSourceRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDF_TagSourceRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDF_TagSourceRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MDF_TagSourceRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDF_TagSourceRetrievalDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDF_TagSourceRetrievalDriver.jxx b/src/FromOCCT/TKPLCAF/MDF_TagSourceRetrievalDriver.jxx new file mode 100644 index 000000000..e98aa7622 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_TagSourceRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDF_TagSourceStorageDriver.cxx b/src/FromOCCT/TKPLCAF/MDF_TagSourceStorageDriver.cxx new file mode 100644 index 000000000..494c8934e --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_TagSourceStorageDriver.cxx @@ -0,0 +1,39 @@ +// Copyright (c) 1999-2014 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + +#include +#include +#include +#include + +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/FromOCCT/TKPLCAF/MDF_TagSourceStorageDriver.hxx b/src/FromOCCT/TKPLCAF/MDF_TagSourceStorageDriver.hxx new file mode 100644 index 000000000..a95bea862 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_TagSourceStorageDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDF_TagSourceStorageDriver_HeaderFile +#define _MDF_TagSourceStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + + +class MDF_TagSourceStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MDF_TagSourceStorageDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: Integer from TDF. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDF_TagSourceStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDF_TagSourceStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDF_TagSourceStorageDriver.ixx b/src/FromOCCT/TKPLCAF/MDF_TagSourceStorageDriver.ixx new file mode 100644 index 000000000..bde26bc6a --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_TagSourceStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDF_TagSourceStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDF_TagSourceStorageDriver) + + +IMPLEMENT_DOWNCAST(MDF_TagSourceStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDF_TagSourceStorageDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDF_TagSourceStorageDriver.jxx b/src/FromOCCT/TKPLCAF/MDF_TagSourceStorageDriver.jxx new file mode 100644 index 000000000..b420f4c7b --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_TagSourceStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDF_Tool.cxx b/src/FromOCCT/TKPLCAF/MDF_Tool.cxx new file mode 100644 index 000000000..b81dc7f6b --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_Tool.cxx @@ -0,0 +1,456 @@ +// 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 + +#include +#include +#include +#include + +#include +#include + +#include +#include +#include +#include +#include +#include +#include + +#include + +#include +#include +#include +#include + +#include + +#ifdef OCCT_DEBUG +#include +#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 +typedef struct { + Handle(PDF_Attribute) pAtt; + Handle(TDF_Attribute) tAtt; +} ATTR; +typedef NCollection_List 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 "<Upper()<<" to "<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 "<Upper()<<" to "<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="< 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 ..."<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:"<AfterRetrieval(Standard_True); + } +} diff --git a/src/FromOCCT/TKPLCAF/MDF_Tool.hxx b/src/FromOCCT/TKPLCAF/MDF_Tool.hxx new file mode 100644 index 000000000..f8f27d105 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_Tool.hxx @@ -0,0 +1,80 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDF_Tool_HeaderFile +#define _MDF_Tool_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class TDF_Data; +class PDF_Data; +class MDF_TypeASDriverMap; +class MDF_SRelocationTable; +class TDF_Label; +class PColStd_HArray1OfInteger; +class PDF_HAttributeArray1; +class MDF_TypeARDriverMap; +class MDF_RRelocationTable; + + +//! A tool to translate... +class MDF_Tool +{ +public: + + DEFINE_STANDARD_ALLOC + + + //! Writes the labels with empty attributes. + Standard_EXPORT static void WriteLabels (const Handle(TDF_Data)& aSource, const Handle(PDF_Data)& aTarget, const MDF_TypeASDriverMap& aDriverMap, const Handle(MDF_SRelocationTable)& aReloc) ; + + //! Used for recursivity. + Standard_EXPORT static void 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) ; + + //! Writes attributes content. + Standard_EXPORT static void WriteAttributes (const MDF_TypeASDriverMap& aDriverMap, const Handle(MDF_SRelocationTable)& aReloc) ; + + //! Reads the labels abd adds empty attributes to them. + Standard_EXPORT static void ReadLabels (const Handle(PDF_Data)& aSource, const Handle(TDF_Data)& aTarget, const MDF_TypeARDriverMap& aDriverMap, const Handle(MDF_RRelocationTable)& aReloc) ; + + //! Used for recursivity. + Standard_EXPORT static void 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) ; + + //! Reads attributes content and paste them. + Standard_EXPORT static void ReadAttributes (const MDF_TypeARDriverMap& aDriverMap, const Handle(MDF_RRelocationTable)& aReloc) ; + + + + +protected: + + + + + +private: + + + + + +}; + + + + + + + +#endif // _MDF_Tool_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDF_Tool.ixx b/src/FromOCCT/TKPLCAF/MDF_Tool.ixx new file mode 100644 index 000000000..b013fe0b4 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_Tool.ixx @@ -0,0 +1,10 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + + + + diff --git a/src/FromOCCT/TKPLCAF/MDF_Tool.jxx b/src/FromOCCT/TKPLCAF/MDF_Tool.jxx new file mode 100644 index 000000000..cbb5a8b38 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_Tool.jxx @@ -0,0 +1,10 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDF_TypeARDriverMap.hxx b/src/FromOCCT/TKPLCAF/MDF_TypeARDriverMap.hxx new file mode 100644 index 000000000..11bcb4d24 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_TypeARDriverMap.hxx @@ -0,0 +1,100 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDF_TypeARDriverMap_HeaderFile +#define _MDF_TypeARDriverMap_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class Standard_DomainError; +class Standard_NoSuchObject; +class Standard_Type; +class MDF_ARDriver; +class TColStd_MapTransientHasher; +class MDF_DataMapNodeOfTypeARDriverMap; +class MDF_DataMapIteratorOfTypeARDriverMap; + + + +class MDF_TypeARDriverMap : public TCollection_BasicMap +{ +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT MDF_TypeARDriverMap(const Standard_Integer NbBuckets = 1); + + Standard_EXPORT MDF_TypeARDriverMap& Assign (const MDF_TypeARDriverMap& Other) ; + MDF_TypeARDriverMap& operator = (const MDF_TypeARDriverMap& Other) +{ + return Assign(Other); +} + + Standard_EXPORT void ReSize (const Standard_Integer NbBuckets) ; + + Standard_EXPORT void Clear() ; +~MDF_TypeARDriverMap() +{ + Clear(); +} + + Standard_EXPORT Standard_Boolean Bind (const Handle(Standard_Type)& K, const Handle(MDF_ARDriver)& I) ; + + Standard_EXPORT Standard_Boolean IsBound (const Handle(Standard_Type)& K) const; + + Standard_EXPORT Standard_Boolean UnBind (const Handle(Standard_Type)& K) ; + + Standard_EXPORT const Handle(MDF_ARDriver)& Find (const Handle(Standard_Type)& K) const; + const Handle(MDF_ARDriver)& operator() (const Handle(Standard_Type)& K) const +{ + return Find(K); +} + + Standard_EXPORT Handle(MDF_ARDriver)& ChangeFind (const Handle(Standard_Type)& K) ; + Handle(MDF_ARDriver)& operator() (const Handle(Standard_Type)& K) +{ + return ChangeFind(K); +} + + Standard_EXPORT Standard_Address Find1 (const Handle(Standard_Type)& K) const; + + Standard_EXPORT Standard_Address ChangeFind1 (const Handle(Standard_Type)& K) ; + + + + +protected: + + + + + +private: + + + Standard_EXPORT MDF_TypeARDriverMap(const MDF_TypeARDriverMap& Other); + + + + +}; + + + + + + + +#endif // _MDF_TypeARDriverMap_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDF_TypeARDriverMap_0.cxx b/src/FromOCCT/TKPLCAF/MDF_TypeARDriverMap_0.cxx new file mode 100644 index 000000000..a0a717eab --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_TypeARDriverMap_0.cxx @@ -0,0 +1,32 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include +#include + + +#define TheKey Handle(Standard_Type) +#define TheKey_hxx +#define TheItem Handle(MDF_ARDriver) +#define TheItem_hxx +#define Hasher TColStd_MapTransientHasher +#define Hasher_hxx +#define TCollection_DataMapNode MDF_DataMapNodeOfTypeARDriverMap +#define TCollection_DataMapNode_hxx +#define TCollection_DataMapIterator MDF_DataMapIteratorOfTypeARDriverMap +#define TCollection_DataMapIterator_hxx +#define Handle_TCollection_DataMapNode Handle_MDF_DataMapNodeOfTypeARDriverMap +#define TCollection_DataMapNode_Type_() MDF_DataMapNodeOfTypeARDriverMap_Type_() +#define TCollection_DataMap MDF_TypeARDriverMap +#define TCollection_DataMap_hxx +#include + diff --git a/src/FromOCCT/TKPLCAF/MDF_TypeASDriverMap.hxx b/src/FromOCCT/TKPLCAF/MDF_TypeASDriverMap.hxx new file mode 100644 index 000000000..29f2539f7 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_TypeASDriverMap.hxx @@ -0,0 +1,100 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDF_TypeASDriverMap_HeaderFile +#define _MDF_TypeASDriverMap_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class Standard_DomainError; +class Standard_NoSuchObject; +class Standard_Type; +class MDF_ASDriver; +class TColStd_MapTransientHasher; +class MDF_DataMapNodeOfTypeASDriverMap; +class MDF_DataMapIteratorOfTypeASDriverMap; + + + +class MDF_TypeASDriverMap : public TCollection_BasicMap +{ +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT MDF_TypeASDriverMap(const Standard_Integer NbBuckets = 1); + + Standard_EXPORT MDF_TypeASDriverMap& Assign (const MDF_TypeASDriverMap& Other) ; + MDF_TypeASDriverMap& operator = (const MDF_TypeASDriverMap& Other) +{ + return Assign(Other); +} + + Standard_EXPORT void ReSize (const Standard_Integer NbBuckets) ; + + Standard_EXPORT void Clear() ; +~MDF_TypeASDriverMap() +{ + Clear(); +} + + Standard_EXPORT Standard_Boolean Bind (const Handle(Standard_Type)& K, const Handle(MDF_ASDriver)& I) ; + + Standard_EXPORT Standard_Boolean IsBound (const Handle(Standard_Type)& K) const; + + Standard_EXPORT Standard_Boolean UnBind (const Handle(Standard_Type)& K) ; + + Standard_EXPORT const Handle(MDF_ASDriver)& Find (const Handle(Standard_Type)& K) const; + const Handle(MDF_ASDriver)& operator() (const Handle(Standard_Type)& K) const +{ + return Find(K); +} + + Standard_EXPORT Handle(MDF_ASDriver)& ChangeFind (const Handle(Standard_Type)& K) ; + Handle(MDF_ASDriver)& operator() (const Handle(Standard_Type)& K) +{ + return ChangeFind(K); +} + + Standard_EXPORT Standard_Address Find1 (const Handle(Standard_Type)& K) const; + + Standard_EXPORT Standard_Address ChangeFind1 (const Handle(Standard_Type)& K) ; + + + + +protected: + + + + + +private: + + + Standard_EXPORT MDF_TypeASDriverMap(const MDF_TypeASDriverMap& Other); + + + + +}; + + + + + + + +#endif // _MDF_TypeASDriverMap_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDF_TypeASDriverMap_0.cxx b/src/FromOCCT/TKPLCAF/MDF_TypeASDriverMap_0.cxx new file mode 100644 index 000000000..7d7eaabfd --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_TypeASDriverMap_0.cxx @@ -0,0 +1,32 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include +#include + + +#define TheKey Handle(Standard_Type) +#define TheKey_hxx +#define TheItem Handle(MDF_ASDriver) +#define TheItem_hxx +#define Hasher TColStd_MapTransientHasher +#define Hasher_hxx +#define TCollection_DataMapNode MDF_DataMapNodeOfTypeASDriverMap +#define TCollection_DataMapNode_hxx +#define TCollection_DataMapIterator MDF_DataMapIteratorOfTypeASDriverMap +#define TCollection_DataMapIterator_hxx +#define Handle_TCollection_DataMapNode Handle_MDF_DataMapNodeOfTypeASDriverMap +#define TCollection_DataMapNode_Type_() MDF_DataMapNodeOfTypeASDriverMap_Type_() +#define TCollection_DataMap MDF_TypeASDriverMap +#define TCollection_DataMap_hxx +#include + diff --git a/src/FromOCCT/TKPLCAF/MDF_TypeDriverListMapOfARDriverTable.hxx b/src/FromOCCT/TKPLCAF/MDF_TypeDriverListMapOfARDriverTable.hxx new file mode 100644 index 000000000..05f581dcf --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_TypeDriverListMapOfARDriverTable.hxx @@ -0,0 +1,99 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDF_TypeDriverListMapOfARDriverTable_HeaderFile +#define _MDF_TypeDriverListMapOfARDriverTable_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class Standard_DomainError; +class Standard_NoSuchObject; +class Standard_Type; +class MDF_DriverListOfARDriverTable; +class TColStd_MapTransientHasher; +class MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable; +class MDF_DataMapIteratorOfTypeDriverListMapOfARDriverTable; + + + +class MDF_TypeDriverListMapOfARDriverTable : public TCollection_BasicMap +{ +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT MDF_TypeDriverListMapOfARDriverTable(const Standard_Integer NbBuckets = 1); + + Standard_EXPORT MDF_TypeDriverListMapOfARDriverTable& Assign (const MDF_TypeDriverListMapOfARDriverTable& Other) ; + MDF_TypeDriverListMapOfARDriverTable& operator = (const MDF_TypeDriverListMapOfARDriverTable& Other) +{ + return Assign(Other); +} + + Standard_EXPORT void ReSize (const Standard_Integer NbBuckets) ; + + Standard_EXPORT void Clear() ; +~MDF_TypeDriverListMapOfARDriverTable() +{ + Clear(); +} + + Standard_EXPORT Standard_Boolean Bind (const Handle(Standard_Type)& K, const MDF_DriverListOfARDriverTable& I) ; + + Standard_EXPORT Standard_Boolean IsBound (const Handle(Standard_Type)& K) const; + + Standard_EXPORT Standard_Boolean UnBind (const Handle(Standard_Type)& K) ; + + Standard_EXPORT const MDF_DriverListOfARDriverTable& Find (const Handle(Standard_Type)& K) const; + const MDF_DriverListOfARDriverTable& operator() (const Handle(Standard_Type)& K) const +{ + return Find(K); +} + + Standard_EXPORT MDF_DriverListOfARDriverTable& ChangeFind (const Handle(Standard_Type)& K) ; + MDF_DriverListOfARDriverTable& operator() (const Handle(Standard_Type)& K) +{ + return ChangeFind(K); +} + + Standard_EXPORT Standard_Address Find1 (const Handle(Standard_Type)& K) const; + + Standard_EXPORT Standard_Address ChangeFind1 (const Handle(Standard_Type)& K) ; + + + + +protected: + + + + + +private: + + + Standard_EXPORT MDF_TypeDriverListMapOfARDriverTable(const MDF_TypeDriverListMapOfARDriverTable& Other); + + + + +}; + + + + + + + +#endif // _MDF_TypeDriverListMapOfARDriverTable_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDF_TypeDriverListMapOfARDriverTable_0.cxx b/src/FromOCCT/TKPLCAF/MDF_TypeDriverListMapOfARDriverTable_0.cxx new file mode 100644 index 000000000..48f2227bf --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_TypeDriverListMapOfARDriverTable_0.cxx @@ -0,0 +1,32 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include +#include + + +#define TheKey Handle(Standard_Type) +#define TheKey_hxx +#define TheItem MDF_DriverListOfARDriverTable +#define TheItem_hxx +#define Hasher TColStd_MapTransientHasher +#define Hasher_hxx +#define TCollection_DataMapNode MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable +#define TCollection_DataMapNode_hxx +#define TCollection_DataMapIterator MDF_DataMapIteratorOfTypeDriverListMapOfARDriverTable +#define TCollection_DataMapIterator_hxx +#define Handle_TCollection_DataMapNode Handle_MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable +#define TCollection_DataMapNode_Type_() MDF_DataMapNodeOfTypeDriverListMapOfARDriverTable_Type_() +#define TCollection_DataMap MDF_TypeDriverListMapOfARDriverTable +#define TCollection_DataMap_hxx +#include + diff --git a/src/FromOCCT/TKPLCAF/MDF_TypeDriverListMapOfASDriverTable.hxx b/src/FromOCCT/TKPLCAF/MDF_TypeDriverListMapOfASDriverTable.hxx new file mode 100644 index 000000000..691a9e488 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_TypeDriverListMapOfASDriverTable.hxx @@ -0,0 +1,99 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDF_TypeDriverListMapOfASDriverTable_HeaderFile +#define _MDF_TypeDriverListMapOfASDriverTable_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class Standard_DomainError; +class Standard_NoSuchObject; +class Standard_Type; +class MDF_DriverListOfASDriverTable; +class TColStd_MapTransientHasher; +class MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable; +class MDF_DataMapIteratorOfTypeDriverListMapOfASDriverTable; + + + +class MDF_TypeDriverListMapOfASDriverTable : public TCollection_BasicMap +{ +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT MDF_TypeDriverListMapOfASDriverTable(const Standard_Integer NbBuckets = 1); + + Standard_EXPORT MDF_TypeDriverListMapOfASDriverTable& Assign (const MDF_TypeDriverListMapOfASDriverTable& Other) ; + MDF_TypeDriverListMapOfASDriverTable& operator = (const MDF_TypeDriverListMapOfASDriverTable& Other) +{ + return Assign(Other); +} + + Standard_EXPORT void ReSize (const Standard_Integer NbBuckets) ; + + Standard_EXPORT void Clear() ; +~MDF_TypeDriverListMapOfASDriverTable() +{ + Clear(); +} + + Standard_EXPORT Standard_Boolean Bind (const Handle(Standard_Type)& K, const MDF_DriverListOfASDriverTable& I) ; + + Standard_EXPORT Standard_Boolean IsBound (const Handle(Standard_Type)& K) const; + + Standard_EXPORT Standard_Boolean UnBind (const Handle(Standard_Type)& K) ; + + Standard_EXPORT const MDF_DriverListOfASDriverTable& Find (const Handle(Standard_Type)& K) const; + const MDF_DriverListOfASDriverTable& operator() (const Handle(Standard_Type)& K) const +{ + return Find(K); +} + + Standard_EXPORT MDF_DriverListOfASDriverTable& ChangeFind (const Handle(Standard_Type)& K) ; + MDF_DriverListOfASDriverTable& operator() (const Handle(Standard_Type)& K) +{ + return ChangeFind(K); +} + + Standard_EXPORT Standard_Address Find1 (const Handle(Standard_Type)& K) const; + + Standard_EXPORT Standard_Address ChangeFind1 (const Handle(Standard_Type)& K) ; + + + + +protected: + + + + + +private: + + + Standard_EXPORT MDF_TypeDriverListMapOfASDriverTable(const MDF_TypeDriverListMapOfASDriverTable& Other); + + + + +}; + + + + + + + +#endif // _MDF_TypeDriverListMapOfASDriverTable_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDF_TypeDriverListMapOfASDriverTable_0.cxx b/src/FromOCCT/TKPLCAF/MDF_TypeDriverListMapOfASDriverTable_0.cxx new file mode 100644 index 000000000..c9d77a999 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDF_TypeDriverListMapOfASDriverTable_0.cxx @@ -0,0 +1,32 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include +#include + + +#define TheKey Handle(Standard_Type) +#define TheKey_hxx +#define TheItem MDF_DriverListOfASDriverTable +#define TheItem_hxx +#define Hasher TColStd_MapTransientHasher +#define Hasher_hxx +#define TCollection_DataMapNode MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable +#define TCollection_DataMapNode_hxx +#define TCollection_DataMapIterator MDF_DataMapIteratorOfTypeDriverListMapOfASDriverTable +#define TCollection_DataMapIterator_hxx +#define Handle_TCollection_DataMapNode Handle_MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable +#define TCollection_DataMapNode_Type_() MDF_DataMapNodeOfTypeDriverListMapOfASDriverTable_Type_() +#define TCollection_DataMap MDF_TypeDriverListMapOfASDriverTable +#define TCollection_DataMap_hxx +#include + diff --git a/src/FromOCCT/TKPLCAF/MDataStd.cxx b/src/FromOCCT/TKPLCAF/MDataStd.cxx new file mode 100644 index 000000000..d26721b3f --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd.cxx @@ -0,0 +1,213 @@ +// 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 +#include +#include +#include +// Storage +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +// Retrieval +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +// enums +#include +#include + +//======================================================================= +//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/FromOCCT/TKPLCAF/MDataStd.hxx b/src/FromOCCT/TKPLCAF/MDataStd.hxx new file mode 100644 index 000000000..042836fc1 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd.hxx @@ -0,0 +1,183 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_HeaderFile +#define _MDataStd_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +class MDF_ASDriverHSequence; +class CDM_MessageDriver; +class MDF_ARDriverHSequence; +class MDataStd_DirectoryStorageDriver; +class MDataStd_UAttributeStorageDriver; +class MDataStd_NameStorageDriver; +class MDataStd_CommentStorageDriver; +class MDataStd_IntegerStorageDriver; +class MDataStd_IntegerArrayStorageDriver; +class MDataStd_RealStorageDriver; +class MDataStd_RealArrayStorageDriver; +class MDataStd_ExtStringArrayStorageDriver; +class MDataStd_VariableStorageDriver; +class MDataStd_ExpressionStorageDriver; +class MDataStd_RelationStorageDriver; +class MDataStd_NoteBookStorageDriver; +class MDataStd_TreeNodeStorageDriver; +class MDataStd_TickStorageDriver; +class MDataStd_IntegerListStorageDriver; +class MDataStd_RealListStorageDriver; +class MDataStd_ExtStringListStorageDriver; +class MDataStd_BooleanListStorageDriver; +class MDataStd_ReferenceListStorageDriver; +class MDataStd_BooleanArrayStorageDriver; +class MDataStd_ReferenceArrayStorageDriver; +class MDataStd_ByteArrayStorageDriver; +class MDataStd_NamedDataStorageDriver; +class MDataStd_AsciiStringStorageDriver; +class MDataStd_IntPackedMapStorageDriver; +class MDataStd_DirectoryRetrievalDriver; +class MDataStd_UAttributeRetrievalDriver; +class MDataStd_NameRetrievalDriver; +class MDataStd_CommentRetrievalDriver; +class MDataStd_IntegerRetrievalDriver; +class MDataStd_IntegerArrayRetrievalDriver; +class MDataStd_IntegerArrayRetrievalDriver_1; +class MDataStd_RealRetrievalDriver; +class MDataStd_RealArrayRetrievalDriver; +class MDataStd_RealArrayRetrievalDriver_1; +class MDataStd_ExtStringArrayRetrievalDriver; +class MDataStd_ExtStringArrayRetrievalDriver_1; +class MDataStd_VariableRetrievalDriver; +class MDataStd_ExpressionRetrievalDriver; +class MDataStd_RelationRetrievalDriver; +class MDataStd_NoteBookRetrievalDriver; +class MDataStd_TreeNodeRetrievalDriver; +class MDataStd_TickRetrievalDriver; +class MDataStd_IntegerListRetrievalDriver; +class MDataStd_RealListRetrievalDriver; +class MDataStd_ExtStringListRetrievalDriver; +class MDataStd_BooleanListRetrievalDriver; +class MDataStd_ReferenceListRetrievalDriver; +class MDataStd_BooleanArrayRetrievalDriver; +class MDataStd_ReferenceArrayRetrievalDriver; +class MDataStd_ByteArrayRetrievalDriver; +class MDataStd_ByteArrayRetrievalDriver_1; +class MDataStd_NamedDataRetrievalDriver; +class MDataStd_AsciiStringRetrievalDriver; +class MDataStd_IntPackedMapRetrievalDriver; +class MDataStd_IntPackedMapRetrievalDriver_1; + + +//! Storage and Retrieval drivers for modelling +//! attributes. Transient attributes are defined in +//! package TDataStd and persistent one are defined in +//! package PDataStd +class MDataStd +{ +public: + + DEFINE_STANDARD_ALLOC + + + //! Adds the attribute storage drivers to . + Standard_EXPORT static void AddStorageDrivers (const Handle(MDF_ASDriverHSequence)& aDriverSeq, const Handle(CDM_MessageDriver)& theMessageDriver) ; + + //! Adds the attribute retrieval drivers to . + //! Translation of TDataStd enumerations to integer + //! =============================================== + Standard_EXPORT static void AddRetrievalDrivers (const Handle(MDF_ARDriverHSequence)& aDriverSeq, const Handle(CDM_MessageDriver)& theMessageDriver) ; + + Standard_EXPORT static Standard_Integer RealDimensionToInteger (const TDataStd_RealEnum e) ; + + Standard_EXPORT static TDataStd_RealEnum IntegerToRealDimension (const Standard_Integer i) ; + + + + +protected: + + + + + +private: + + + + +friend class MDataStd_DirectoryStorageDriver; +friend class MDataStd_UAttributeStorageDriver; +friend class MDataStd_NameStorageDriver; +friend class MDataStd_CommentStorageDriver; +friend class MDataStd_IntegerStorageDriver; +friend class MDataStd_IntegerArrayStorageDriver; +friend class MDataStd_RealStorageDriver; +friend class MDataStd_RealArrayStorageDriver; +friend class MDataStd_ExtStringArrayStorageDriver; +friend class MDataStd_VariableStorageDriver; +friend class MDataStd_ExpressionStorageDriver; +friend class MDataStd_RelationStorageDriver; +friend class MDataStd_NoteBookStorageDriver; +friend class MDataStd_TreeNodeStorageDriver; +friend class MDataStd_TickStorageDriver; +friend class MDataStd_IntegerListStorageDriver; +friend class MDataStd_RealListStorageDriver; +friend class MDataStd_ExtStringListStorageDriver; +friend class MDataStd_BooleanListStorageDriver; +friend class MDataStd_ReferenceListStorageDriver; +friend class MDataStd_BooleanArrayStorageDriver; +friend class MDataStd_ReferenceArrayStorageDriver; +friend class MDataStd_ByteArrayStorageDriver; +friend class MDataStd_NamedDataStorageDriver; +friend class MDataStd_AsciiStringStorageDriver; +friend class MDataStd_IntPackedMapStorageDriver; +friend class MDataStd_DirectoryRetrievalDriver; +friend class MDataStd_UAttributeRetrievalDriver; +friend class MDataStd_NameRetrievalDriver; +friend class MDataStd_CommentRetrievalDriver; +friend class MDataStd_IntegerRetrievalDriver; +friend class MDataStd_IntegerArrayRetrievalDriver; +friend class MDataStd_IntegerArrayRetrievalDriver_1; +friend class MDataStd_RealRetrievalDriver; +friend class MDataStd_RealArrayRetrievalDriver; +friend class MDataStd_RealArrayRetrievalDriver_1; +friend class MDataStd_ExtStringArrayRetrievalDriver; +friend class MDataStd_ExtStringArrayRetrievalDriver_1; +friend class MDataStd_VariableRetrievalDriver; +friend class MDataStd_ExpressionRetrievalDriver; +friend class MDataStd_RelationRetrievalDriver; +friend class MDataStd_NoteBookRetrievalDriver; +friend class MDataStd_TreeNodeRetrievalDriver; +friend class MDataStd_TickRetrievalDriver; +friend class MDataStd_IntegerListRetrievalDriver; +friend class MDataStd_RealListRetrievalDriver; +friend class MDataStd_ExtStringListRetrievalDriver; +friend class MDataStd_BooleanListRetrievalDriver; +friend class MDataStd_ReferenceListRetrievalDriver; +friend class MDataStd_BooleanArrayRetrievalDriver; +friend class MDataStd_ReferenceArrayRetrievalDriver; +friend class MDataStd_ByteArrayRetrievalDriver; +friend class MDataStd_ByteArrayRetrievalDriver_1; +friend class MDataStd_NamedDataRetrievalDriver; +friend class MDataStd_AsciiStringRetrievalDriver; +friend class MDataStd_IntPackedMapRetrievalDriver; +friend class MDataStd_IntPackedMapRetrievalDriver_1; + +}; + + + + + + + +#endif // _MDataStd_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd.ixx b/src/FromOCCT/TKPLCAF/MDataStd.ixx new file mode 100644 index 000000000..cfdf72646 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd.ixx @@ -0,0 +1,10 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd.jxx b/src/FromOCCT/TKPLCAF/MDataStd.jxx new file mode 100644 index 000000000..933e214c5 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd.jxx @@ -0,0 +1,4 @@ +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_AsciiStringRetrievalDriver.cxx b/src/FromOCCT/TKPLCAF/MDataStd_AsciiStringRetrievalDriver.cxx new file mode 100644 index 000000000..300cd3474 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_AsciiStringRetrievalDriver.cxx @@ -0,0 +1,68 @@ +// 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 +#include +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKPLCAF/MDataStd_AsciiStringRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/MDataStd_AsciiStringRetrievalDriver.hxx new file mode 100644 index 000000000..53fe84e5b --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_AsciiStringRetrievalDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_AsciiStringRetrievalDriver_HeaderFile +#define _MDataStd_AsciiStringRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + +//! Retrieval driver of AsciiString attribute +class MDataStd_AsciiStringRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MDataStd_AsciiStringRetrievalDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: AsciiString from PDataStd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_AsciiStringRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_AsciiStringRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_AsciiStringRetrievalDriver.ixx b/src/FromOCCT/TKPLCAF/MDataStd_AsciiStringRetrievalDriver.ixx new file mode 100644 index 000000000..61127c794 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_AsciiStringRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_AsciiStringRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_AsciiStringRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MDataStd_AsciiStringRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_AsciiStringRetrievalDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_AsciiStringRetrievalDriver.jxx b/src/FromOCCT/TKPLCAF/MDataStd_AsciiStringRetrievalDriver.jxx new file mode 100644 index 000000000..6c2979c0b --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_AsciiStringRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_AsciiStringStorageDriver.cxx b/src/FromOCCT/TKPLCAF/MDataStd_AsciiStringStorageDriver.cxx new file mode 100644 index 000000000..d5bc7a299 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_AsciiStringStorageDriver.cxx @@ -0,0 +1,67 @@ +// 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 +#include +#include +#include +#include +#include +//======================================================================= +//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/FromOCCT/TKPLCAF/MDataStd_AsciiStringStorageDriver.hxx b/src/FromOCCT/TKPLCAF/MDataStd_AsciiStringStorageDriver.hxx new file mode 100644 index 000000000..f10eef260 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_AsciiStringStorageDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_AsciiStringStorageDriver_HeaderFile +#define _MDataStd_AsciiStringStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + +//! Storage driver for AsciiString attribute +class MDataStd_AsciiStringStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MDataStd_AsciiStringStorageDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: Integer from TDataStd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_AsciiStringStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_AsciiStringStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_AsciiStringStorageDriver.ixx b/src/FromOCCT/TKPLCAF/MDataStd_AsciiStringStorageDriver.ixx new file mode 100644 index 000000000..3bbcd1788 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_AsciiStringStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_AsciiStringStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_AsciiStringStorageDriver) + + +IMPLEMENT_DOWNCAST(MDataStd_AsciiStringStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_AsciiStringStorageDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_AsciiStringStorageDriver.jxx b/src/FromOCCT/TKPLCAF/MDataStd_AsciiStringStorageDriver.jxx new file mode 100644 index 000000000..58805aa22 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_AsciiStringStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_BooleanArrayRetrievalDriver.cxx b/src/FromOCCT/TKPLCAF/MDataStd_BooleanArrayRetrievalDriver.cxx new file mode 100644 index 000000000..1f03a7b51 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_BooleanArrayRetrievalDriver.cxx @@ -0,0 +1,85 @@ +// 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 +#include +#include +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKPLCAF/MDataStd_BooleanArrayRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/MDataStd_BooleanArrayRetrievalDriver.hxx new file mode 100644 index 000000000..9c4058207 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_BooleanArrayRetrievalDriver.hxx @@ -0,0 +1,67 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_BooleanArrayRetrievalDriver_HeaderFile +#define _MDataStd_BooleanArrayRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MDataStd_BooleanArrayRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MDataStd_BooleanArrayRetrievalDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + Standard_EXPORT Standard_Integer VersionNumber() const; + + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_BooleanArrayRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_BooleanArrayRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_BooleanArrayRetrievalDriver.ixx b/src/FromOCCT/TKPLCAF/MDataStd_BooleanArrayRetrievalDriver.ixx new file mode 100644 index 000000000..e59263a76 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_BooleanArrayRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_BooleanArrayRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_BooleanArrayRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MDataStd_BooleanArrayRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_BooleanArrayRetrievalDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_BooleanArrayRetrievalDriver.jxx b/src/FromOCCT/TKPLCAF/MDataStd_BooleanArrayRetrievalDriver.jxx new file mode 100644 index 000000000..893d4dd8a --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_BooleanArrayRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_BooleanArrayStorageDriver.cxx b/src/FromOCCT/TKPLCAF/MDataStd_BooleanArrayStorageDriver.cxx new file mode 100644 index 000000000..6e5d5b21b --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_BooleanArrayStorageDriver.cxx @@ -0,0 +1,86 @@ +// 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 +#include +#include +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKPLCAF/MDataStd_BooleanArrayStorageDriver.hxx b/src/FromOCCT/TKPLCAF/MDataStd_BooleanArrayStorageDriver.hxx new file mode 100644 index 000000000..5d2c78955 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_BooleanArrayStorageDriver.hxx @@ -0,0 +1,67 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_BooleanArrayStorageDriver_HeaderFile +#define _MDataStd_BooleanArrayStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + + +class MDataStd_BooleanArrayStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MDataStd_BooleanArrayStorageDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + Standard_EXPORT Standard_Integer VersionNumber() const; + + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_BooleanArrayStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_BooleanArrayStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_BooleanArrayStorageDriver.ixx b/src/FromOCCT/TKPLCAF/MDataStd_BooleanArrayStorageDriver.ixx new file mode 100644 index 000000000..c433b73a3 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_BooleanArrayStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_BooleanArrayStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_BooleanArrayStorageDriver) + + +IMPLEMENT_DOWNCAST(MDataStd_BooleanArrayStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_BooleanArrayStorageDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_BooleanArrayStorageDriver.jxx b/src/FromOCCT/TKPLCAF/MDataStd_BooleanArrayStorageDriver.jxx new file mode 100644 index 000000000..f4ab6e6ee --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_BooleanArrayStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_BooleanListRetrievalDriver.cxx b/src/FromOCCT/TKPLCAF/MDataStd_BooleanListRetrievalDriver.cxx new file mode 100644 index 000000000..3a9f7dfb6 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_BooleanListRetrievalDriver.cxx @@ -0,0 +1,76 @@ +// 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 +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKPLCAF/MDataStd_BooleanListRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/MDataStd_BooleanListRetrievalDriver.hxx new file mode 100644 index 000000000..64cb1cec1 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_BooleanListRetrievalDriver.hxx @@ -0,0 +1,67 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_BooleanListRetrievalDriver_HeaderFile +#define _MDataStd_BooleanListRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MDataStd_BooleanListRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MDataStd_BooleanListRetrievalDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + Standard_EXPORT Standard_Integer VersionNumber() const; + + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_BooleanListRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_BooleanListRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_BooleanListRetrievalDriver.ixx b/src/FromOCCT/TKPLCAF/MDataStd_BooleanListRetrievalDriver.ixx new file mode 100644 index 000000000..94cb42be2 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_BooleanListRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_BooleanListRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_BooleanListRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MDataStd_BooleanListRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_BooleanListRetrievalDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_BooleanListRetrievalDriver.jxx b/src/FromOCCT/TKPLCAF/MDataStd_BooleanListRetrievalDriver.jxx new file mode 100644 index 000000000..d7598d5cf --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_BooleanListRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_BooleanListStorageDriver.cxx b/src/FromOCCT/TKPLCAF/MDataStd_BooleanListStorageDriver.cxx new file mode 100644 index 000000000..63910a6d2 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_BooleanListStorageDriver.cxx @@ -0,0 +1,85 @@ +// 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 +#include +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKPLCAF/MDataStd_BooleanListStorageDriver.hxx b/src/FromOCCT/TKPLCAF/MDataStd_BooleanListStorageDriver.hxx new file mode 100644 index 000000000..9f2903fdd --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_BooleanListStorageDriver.hxx @@ -0,0 +1,67 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_BooleanListStorageDriver_HeaderFile +#define _MDataStd_BooleanListStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + + +class MDataStd_BooleanListStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MDataStd_BooleanListStorageDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + Standard_EXPORT Standard_Integer VersionNumber() const; + + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_BooleanListStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_BooleanListStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_BooleanListStorageDriver.ixx b/src/FromOCCT/TKPLCAF/MDataStd_BooleanListStorageDriver.ixx new file mode 100644 index 000000000..b1b902b30 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_BooleanListStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_BooleanListStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_BooleanListStorageDriver) + + +IMPLEMENT_DOWNCAST(MDataStd_BooleanListStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_BooleanListStorageDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_BooleanListStorageDriver.jxx b/src/FromOCCT/TKPLCAF/MDataStd_BooleanListStorageDriver.jxx new file mode 100644 index 000000000..13a042952 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_BooleanListStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_ByteArrayRetrievalDriver.cxx b/src/FromOCCT/TKPLCAF/MDataStd_ByteArrayRetrievalDriver.cxx new file mode 100644 index 000000000..6d2a9c00a --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ByteArrayRetrievalDriver.cxx @@ -0,0 +1,84 @@ +// 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 +#include +#include +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKPLCAF/MDataStd_ByteArrayRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/MDataStd_ByteArrayRetrievalDriver.hxx new file mode 100644 index 000000000..e016f809d --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ByteArrayRetrievalDriver.hxx @@ -0,0 +1,67 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_ByteArrayRetrievalDriver_HeaderFile +#define _MDataStd_ByteArrayRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MDataStd_ByteArrayRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MDataStd_ByteArrayRetrievalDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + Standard_EXPORT Standard_Integer VersionNumber() const; + + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_ByteArrayRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_ByteArrayRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_ByteArrayRetrievalDriver.ixx b/src/FromOCCT/TKPLCAF/MDataStd_ByteArrayRetrievalDriver.ixx new file mode 100644 index 000000000..b580c8db6 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ByteArrayRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_ByteArrayRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_ByteArrayRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MDataStd_ByteArrayRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_ByteArrayRetrievalDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_ByteArrayRetrievalDriver.jxx b/src/FromOCCT/TKPLCAF/MDataStd_ByteArrayRetrievalDriver.jxx new file mode 100644 index 000000000..7eb6335d4 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ByteArrayRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_ByteArrayRetrievalDriver_1.cxx b/src/FromOCCT/TKPLCAF/MDataStd_ByteArrayRetrievalDriver_1.cxx new file mode 100644 index 000000000..cf7d95577 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ByteArrayRetrievalDriver_1.cxx @@ -0,0 +1,86 @@ +// 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 + +#include +#include +#include +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKPLCAF/MDataStd_ByteArrayRetrievalDriver_1.hxx b/src/FromOCCT/TKPLCAF/MDataStd_ByteArrayRetrievalDriver_1.hxx new file mode 100644 index 000000000..a1f24979d --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ByteArrayRetrievalDriver_1.hxx @@ -0,0 +1,68 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_ByteArrayRetrievalDriver_1_HeaderFile +#define _MDataStd_ByteArrayRetrievalDriver_1_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + +//! Retrieval driver of ByteArray attribute supporting +//! delta mechanism by default +class MDataStd_ByteArrayRetrievalDriver_1 : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MDataStd_ByteArrayRetrievalDriver_1(const Handle(CDM_MessageDriver)& theMessageDriver); + + Standard_EXPORT Standard_Integer VersionNumber() const; + + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_ByteArrayRetrievalDriver_1) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_ByteArrayRetrievalDriver_1_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_ByteArrayRetrievalDriver_1.ixx b/src/FromOCCT/TKPLCAF/MDataStd_ByteArrayRetrievalDriver_1.ixx new file mode 100644 index 000000000..315c1dca6 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ByteArrayRetrievalDriver_1.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_ByteArrayRetrievalDriver_1) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_ByteArrayRetrievalDriver_1) + + +IMPLEMENT_DOWNCAST(MDataStd_ByteArrayRetrievalDriver_1,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_ByteArrayRetrievalDriver_1) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_ByteArrayRetrievalDriver_1.jxx b/src/FromOCCT/TKPLCAF/MDataStd_ByteArrayRetrievalDriver_1.jxx new file mode 100644 index 000000000..9ba7fa45e --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ByteArrayRetrievalDriver_1.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_ByteArrayStorageDriver.cxx b/src/FromOCCT/TKPLCAF/MDataStd_ByteArrayStorageDriver.cxx new file mode 100644 index 000000000..1cfc6d4ad --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ByteArrayStorageDriver.cxx @@ -0,0 +1,85 @@ +// 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 +#include +#include +#include +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKPLCAF/MDataStd_ByteArrayStorageDriver.hxx b/src/FromOCCT/TKPLCAF/MDataStd_ByteArrayStorageDriver.hxx new file mode 100644 index 000000000..68b933d06 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ByteArrayStorageDriver.hxx @@ -0,0 +1,67 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_ByteArrayStorageDriver_HeaderFile +#define _MDataStd_ByteArrayStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + + +class MDataStd_ByteArrayStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MDataStd_ByteArrayStorageDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + Standard_EXPORT Standard_Integer VersionNumber() const; + + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_ByteArrayStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_ByteArrayStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_ByteArrayStorageDriver.ixx b/src/FromOCCT/TKPLCAF/MDataStd_ByteArrayStorageDriver.ixx new file mode 100644 index 000000000..a58914822 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ByteArrayStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_ByteArrayStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_ByteArrayStorageDriver) + + +IMPLEMENT_DOWNCAST(MDataStd_ByteArrayStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_ByteArrayStorageDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_ByteArrayStorageDriver.jxx b/src/FromOCCT/TKPLCAF/MDataStd_ByteArrayStorageDriver.jxx new file mode 100644 index 000000000..e1712f9ca --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ByteArrayStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_CommentRetrievalDriver.cxx b/src/FromOCCT/TKPLCAF/MDataStd_CommentRetrievalDriver.cxx new file mode 100644 index 000000000..b569d00cb --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_CommentRetrievalDriver.cxx @@ -0,0 +1,46 @@ +// 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 + +#include +#include +#include +#include +#include + +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/FromOCCT/TKPLCAF/MDataStd_CommentRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/MDataStd_CommentRetrievalDriver.hxx new file mode 100644 index 000000000..4a0cbb7d2 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_CommentRetrievalDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_CommentRetrievalDriver_HeaderFile +#define _MDataStd_CommentRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MDataStd_CommentRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MDataStd_CommentRetrievalDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: Comment from PDataStd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_CommentRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_CommentRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_CommentRetrievalDriver.ixx b/src/FromOCCT/TKPLCAF/MDataStd_CommentRetrievalDriver.ixx new file mode 100644 index 000000000..0dc11b31a --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_CommentRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_CommentRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_CommentRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MDataStd_CommentRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_CommentRetrievalDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_CommentRetrievalDriver.jxx b/src/FromOCCT/TKPLCAF/MDataStd_CommentRetrievalDriver.jxx new file mode 100644 index 000000000..62eea95e4 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_CommentRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_CommentStorageDriver.cxx b/src/FromOCCT/TKPLCAF/MDataStd_CommentStorageDriver.cxx new file mode 100644 index 000000000..d70e8ddc9 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_CommentStorageDriver.cxx @@ -0,0 +1,47 @@ +// 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 + +#include +#include +#include +#include +#include + + +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/FromOCCT/TKPLCAF/MDataStd_CommentStorageDriver.hxx b/src/FromOCCT/TKPLCAF/MDataStd_CommentStorageDriver.hxx new file mode 100644 index 000000000..ffbb63a4b --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_CommentStorageDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_CommentStorageDriver_HeaderFile +#define _MDataStd_CommentStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + + +class MDataStd_CommentStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MDataStd_CommentStorageDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: Integer from TDataStd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_CommentStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_CommentStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_CommentStorageDriver.ixx b/src/FromOCCT/TKPLCAF/MDataStd_CommentStorageDriver.ixx new file mode 100644 index 000000000..7767f58a6 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_CommentStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_CommentStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_CommentStorageDriver) + + +IMPLEMENT_DOWNCAST(MDataStd_CommentStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_CommentStorageDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_CommentStorageDriver.jxx b/src/FromOCCT/TKPLCAF/MDataStd_CommentStorageDriver.jxx new file mode 100644 index 000000000..8ebad2b39 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_CommentStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_DirectoryRetrievalDriver.cxx b/src/FromOCCT/TKPLCAF/MDataStd_DirectoryRetrievalDriver.cxx new file mode 100644 index 000000000..65d31f7f6 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_DirectoryRetrievalDriver.cxx @@ -0,0 +1,36 @@ +// Copyright (c) 1999-2014 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + +#include +#include +#include +#include + +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/FromOCCT/TKPLCAF/MDataStd_DirectoryRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/MDataStd_DirectoryRetrievalDriver.hxx new file mode 100644 index 000000000..df6f124be --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_DirectoryRetrievalDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_DirectoryRetrievalDriver_HeaderFile +#define _MDataStd_DirectoryRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MDataStd_DirectoryRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MDataStd_DirectoryRetrievalDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: Directory from PDataStd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_DirectoryRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_DirectoryRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_DirectoryRetrievalDriver.ixx b/src/FromOCCT/TKPLCAF/MDataStd_DirectoryRetrievalDriver.ixx new file mode 100644 index 000000000..d4796215c --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_DirectoryRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_DirectoryRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_DirectoryRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MDataStd_DirectoryRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_DirectoryRetrievalDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_DirectoryRetrievalDriver.jxx b/src/FromOCCT/TKPLCAF/MDataStd_DirectoryRetrievalDriver.jxx new file mode 100644 index 000000000..88cd8df7d --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_DirectoryRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_DirectoryStorageDriver.cxx b/src/FromOCCT/TKPLCAF/MDataStd_DirectoryStorageDriver.cxx new file mode 100644 index 000000000..28ee67630 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_DirectoryStorageDriver.cxx @@ -0,0 +1,36 @@ +// Copyright (c) 1999-2014 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + +#include +#include +#include +#include + +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/FromOCCT/TKPLCAF/MDataStd_DirectoryStorageDriver.hxx b/src/FromOCCT/TKPLCAF/MDataStd_DirectoryStorageDriver.hxx new file mode 100644 index 000000000..a741c5c7f --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_DirectoryStorageDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_DirectoryStorageDriver_HeaderFile +#define _MDataStd_DirectoryStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + + +class MDataStd_DirectoryStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MDataStd_DirectoryStorageDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: Integer from TDataStd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_DirectoryStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_DirectoryStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_DirectoryStorageDriver.ixx b/src/FromOCCT/TKPLCAF/MDataStd_DirectoryStorageDriver.ixx new file mode 100644 index 000000000..b6b894cf3 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_DirectoryStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_DirectoryStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_DirectoryStorageDriver) + + +IMPLEMENT_DOWNCAST(MDataStd_DirectoryStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_DirectoryStorageDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_DirectoryStorageDriver.jxx b/src/FromOCCT/TKPLCAF/MDataStd_DirectoryStorageDriver.jxx new file mode 100644 index 000000000..83e500fbd --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_DirectoryStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_ExpressionRetrievalDriver.cxx b/src/FromOCCT/TKPLCAF/MDataStd_ExpressionRetrievalDriver.cxx new file mode 100644 index 000000000..3e8efb5b8 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ExpressionRetrievalDriver.cxx @@ -0,0 +1,84 @@ +// Copyright (c) 1999-2014 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKPLCAF/MDataStd_ExpressionRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/MDataStd_ExpressionRetrievalDriver.hxx new file mode 100644 index 000000000..d664bf4a5 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ExpressionRetrievalDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_ExpressionRetrievalDriver_HeaderFile +#define _MDataStd_ExpressionRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MDataStd_ExpressionRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MDataStd_ExpressionRetrievalDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: Expression from PDataStd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_ExpressionRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_ExpressionRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_ExpressionRetrievalDriver.ixx b/src/FromOCCT/TKPLCAF/MDataStd_ExpressionRetrievalDriver.ixx new file mode 100644 index 000000000..5fdc2c4d8 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ExpressionRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_ExpressionRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_ExpressionRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MDataStd_ExpressionRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_ExpressionRetrievalDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_ExpressionRetrievalDriver.jxx b/src/FromOCCT/TKPLCAF/MDataStd_ExpressionRetrievalDriver.jxx new file mode 100644 index 000000000..5ad11c09b --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ExpressionRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_ExpressionStorageDriver.cxx b/src/FromOCCT/TKPLCAF/MDataStd_ExpressionStorageDriver.cxx new file mode 100644 index 000000000..515aa10f8 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ExpressionStorageDriver.cxx @@ -0,0 +1,88 @@ +// Copyright (c) 1999-2014 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKPLCAF/MDataStd_ExpressionStorageDriver.hxx b/src/FromOCCT/TKPLCAF/MDataStd_ExpressionStorageDriver.hxx new file mode 100644 index 000000000..c019278f5 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ExpressionStorageDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_ExpressionStorageDriver_HeaderFile +#define _MDataStd_ExpressionStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + + +class MDataStd_ExpressionStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MDataStd_ExpressionStorageDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: Integer from TDataStd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_ExpressionStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_ExpressionStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_ExpressionStorageDriver.ixx b/src/FromOCCT/TKPLCAF/MDataStd_ExpressionStorageDriver.ixx new file mode 100644 index 000000000..405531734 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ExpressionStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_ExpressionStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_ExpressionStorageDriver) + + +IMPLEMENT_DOWNCAST(MDataStd_ExpressionStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_ExpressionStorageDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_ExpressionStorageDriver.jxx b/src/FromOCCT/TKPLCAF/MDataStd_ExpressionStorageDriver.jxx new file mode 100644 index 000000000..484004f11 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ExpressionStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_ExtStringArrayRetrievalDriver.cxx b/src/FromOCCT/TKPLCAF/MDataStd_ExtStringArrayRetrievalDriver.cxx new file mode 100644 index 000000000..30a092dd9 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ExtStringArrayRetrievalDriver.cxx @@ -0,0 +1,90 @@ +// 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 + +#include +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKPLCAF/MDataStd_ExtStringArrayRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/MDataStd_ExtStringArrayRetrievalDriver.hxx new file mode 100644 index 000000000..4a5c19f8f --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ExtStringArrayRetrievalDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_ExtStringArrayRetrievalDriver_HeaderFile +#define _MDataStd_ExtStringArrayRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MDataStd_ExtStringArrayRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MDataStd_ExtStringArrayRetrievalDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: ExtStringArray from PDataStd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_ExtStringArrayRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_ExtStringArrayRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_ExtStringArrayRetrievalDriver.ixx b/src/FromOCCT/TKPLCAF/MDataStd_ExtStringArrayRetrievalDriver.ixx new file mode 100644 index 000000000..ecf04f31d --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ExtStringArrayRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_ExtStringArrayRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_ExtStringArrayRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MDataStd_ExtStringArrayRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_ExtStringArrayRetrievalDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_ExtStringArrayRetrievalDriver.jxx b/src/FromOCCT/TKPLCAF/MDataStd_ExtStringArrayRetrievalDriver.jxx new file mode 100644 index 000000000..4048053f4 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ExtStringArrayRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_ExtStringArrayRetrievalDriver_1.cxx b/src/FromOCCT/TKPLCAF/MDataStd_ExtStringArrayRetrievalDriver_1.cxx new file mode 100644 index 000000000..e378106ca --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ExtStringArrayRetrievalDriver_1.cxx @@ -0,0 +1,94 @@ +// 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 +#include +#include +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKPLCAF/MDataStd_ExtStringArrayRetrievalDriver_1.hxx b/src/FromOCCT/TKPLCAF/MDataStd_ExtStringArrayRetrievalDriver_1.hxx new file mode 100644 index 000000000..e21699eee --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ExtStringArrayRetrievalDriver_1.hxx @@ -0,0 +1,71 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_ExtStringArrayRetrievalDriver_1_HeaderFile +#define _MDataStd_ExtStringArrayRetrievalDriver_1_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + +//! Retrieval driver of ExtStringArray attribute supporting +//! delta mechanism by default +class MDataStd_ExtStringArrayRetrievalDriver_1 : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MDataStd_ExtStringArrayRetrievalDriver_1(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 1. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: ExtStringArray from PDataStd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_ExtStringArrayRetrievalDriver_1) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_ExtStringArrayRetrievalDriver_1_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_ExtStringArrayRetrievalDriver_1.ixx b/src/FromOCCT/TKPLCAF/MDataStd_ExtStringArrayRetrievalDriver_1.ixx new file mode 100644 index 000000000..805da7776 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ExtStringArrayRetrievalDriver_1.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_ExtStringArrayRetrievalDriver_1) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_ExtStringArrayRetrievalDriver_1) + + +IMPLEMENT_DOWNCAST(MDataStd_ExtStringArrayRetrievalDriver_1,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_ExtStringArrayRetrievalDriver_1) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_ExtStringArrayRetrievalDriver_1.jxx b/src/FromOCCT/TKPLCAF/MDataStd_ExtStringArrayRetrievalDriver_1.jxx new file mode 100644 index 000000000..0c4cafbbe --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ExtStringArrayRetrievalDriver_1.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_ExtStringArrayStorageDriver.cxx b/src/FromOCCT/TKPLCAF/MDataStd_ExtStringArrayStorageDriver.cxx new file mode 100644 index 000000000..a805aad59 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ExtStringArrayStorageDriver.cxx @@ -0,0 +1,92 @@ +// 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 + +#include +#include +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKPLCAF/MDataStd_ExtStringArrayStorageDriver.hxx b/src/FromOCCT/TKPLCAF/MDataStd_ExtStringArrayStorageDriver.hxx new file mode 100644 index 000000000..1aed94bd4 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ExtStringArrayStorageDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_ExtStringArrayStorageDriver_HeaderFile +#define _MDataStd_ExtStringArrayStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + + +class MDataStd_ExtStringArrayStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MDataStd_ExtStringArrayStorageDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: ExtStringArray from TDataStd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_ExtStringArrayStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_ExtStringArrayStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_ExtStringArrayStorageDriver.ixx b/src/FromOCCT/TKPLCAF/MDataStd_ExtStringArrayStorageDriver.ixx new file mode 100644 index 000000000..f23f81a79 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ExtStringArrayStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_ExtStringArrayStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_ExtStringArrayStorageDriver) + + +IMPLEMENT_DOWNCAST(MDataStd_ExtStringArrayStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_ExtStringArrayStorageDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_ExtStringArrayStorageDriver.jxx b/src/FromOCCT/TKPLCAF/MDataStd_ExtStringArrayStorageDriver.jxx new file mode 100644 index 000000000..198146444 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ExtStringArrayStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_ExtStringListRetrievalDriver.cxx b/src/FromOCCT/TKPLCAF/MDataStd_ExtStringListRetrievalDriver.cxx new file mode 100644 index 000000000..420601c61 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ExtStringListRetrievalDriver.cxx @@ -0,0 +1,80 @@ +// 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 +#include +#include +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKPLCAF/MDataStd_ExtStringListRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/MDataStd_ExtStringListRetrievalDriver.hxx new file mode 100644 index 000000000..9b99f4cff --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ExtStringListRetrievalDriver.hxx @@ -0,0 +1,67 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_ExtStringListRetrievalDriver_HeaderFile +#define _MDataStd_ExtStringListRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MDataStd_ExtStringListRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MDataStd_ExtStringListRetrievalDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + Standard_EXPORT Standard_Integer VersionNumber() const; + + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_ExtStringListRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_ExtStringListRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_ExtStringListRetrievalDriver.ixx b/src/FromOCCT/TKPLCAF/MDataStd_ExtStringListRetrievalDriver.ixx new file mode 100644 index 000000000..000d35971 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ExtStringListRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_ExtStringListRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_ExtStringListRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MDataStd_ExtStringListRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_ExtStringListRetrievalDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_ExtStringListRetrievalDriver.jxx b/src/FromOCCT/TKPLCAF/MDataStd_ExtStringListRetrievalDriver.jxx new file mode 100644 index 000000000..0f1054ea0 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ExtStringListRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_ExtStringListStorageDriver.cxx b/src/FromOCCT/TKPLCAF/MDataStd_ExtStringListStorageDriver.cxx new file mode 100644 index 000000000..982e3a34b --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ExtStringListStorageDriver.cxx @@ -0,0 +1,89 @@ +// 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 +#include +#include +#include +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKPLCAF/MDataStd_ExtStringListStorageDriver.hxx b/src/FromOCCT/TKPLCAF/MDataStd_ExtStringListStorageDriver.hxx new file mode 100644 index 000000000..7a418e5f4 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ExtStringListStorageDriver.hxx @@ -0,0 +1,67 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_ExtStringListStorageDriver_HeaderFile +#define _MDataStd_ExtStringListStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + + +class MDataStd_ExtStringListStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MDataStd_ExtStringListStorageDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + Standard_EXPORT Standard_Integer VersionNumber() const; + + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_ExtStringListStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_ExtStringListStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_ExtStringListStorageDriver.ixx b/src/FromOCCT/TKPLCAF/MDataStd_ExtStringListStorageDriver.ixx new file mode 100644 index 000000000..4097ca646 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ExtStringListStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_ExtStringListStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_ExtStringListStorageDriver) + + +IMPLEMENT_DOWNCAST(MDataStd_ExtStringListStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_ExtStringListStorageDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_ExtStringListStorageDriver.jxx b/src/FromOCCT/TKPLCAF/MDataStd_ExtStringListStorageDriver.jxx new file mode 100644 index 000000000..249b49f89 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ExtStringListStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_IntPackedMapRetrievalDriver.cxx b/src/FromOCCT/TKPLCAF/MDataStd_IntPackedMapRetrievalDriver.cxx new file mode 100644 index 000000000..12a472005 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_IntPackedMapRetrievalDriver.cxx @@ -0,0 +1,77 @@ +// 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 +#include +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKPLCAF/MDataStd_IntPackedMapRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/MDataStd_IntPackedMapRetrievalDriver.hxx new file mode 100644 index 000000000..935a77816 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_IntPackedMapRetrievalDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_IntPackedMapRetrievalDriver_HeaderFile +#define _MDataStd_IntPackedMapRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + +//! Retrieval driver of IntPackedMap attribute +class MDataStd_IntPackedMapRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MDataStd_IntPackedMapRetrievalDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: IntPackedMap from PDataStd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_IntPackedMapRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_IntPackedMapRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_IntPackedMapRetrievalDriver.ixx b/src/FromOCCT/TKPLCAF/MDataStd_IntPackedMapRetrievalDriver.ixx new file mode 100644 index 000000000..76a1bcf45 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_IntPackedMapRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_IntPackedMapRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_IntPackedMapRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MDataStd_IntPackedMapRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_IntPackedMapRetrievalDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_IntPackedMapRetrievalDriver.jxx b/src/FromOCCT/TKPLCAF/MDataStd_IntPackedMapRetrievalDriver.jxx new file mode 100644 index 000000000..6baefb416 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_IntPackedMapRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_IntPackedMapRetrievalDriver_1.cxx b/src/FromOCCT/TKPLCAF/MDataStd_IntPackedMapRetrievalDriver_1.cxx new file mode 100644 index 000000000..6d5a174d2 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_IntPackedMapRetrievalDriver_1.cxx @@ -0,0 +1,83 @@ +// 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 +#include +#include +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKPLCAF/MDataStd_IntPackedMapRetrievalDriver_1.hxx b/src/FromOCCT/TKPLCAF/MDataStd_IntPackedMapRetrievalDriver_1.hxx new file mode 100644 index 000000000..c3d321485 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_IntPackedMapRetrievalDriver_1.hxx @@ -0,0 +1,71 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_IntPackedMapRetrievalDriver_1_HeaderFile +#define _MDataStd_IntPackedMapRetrievalDriver_1_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + +//! Retrieval driver of IntPackedMap attribute supporting +//! delta mechanism by default +class MDataStd_IntPackedMapRetrievalDriver_1 : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MDataStd_IntPackedMapRetrievalDriver_1(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 1. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: IntPackedMap_1 from PDataStd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_IntPackedMapRetrievalDriver_1) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_IntPackedMapRetrievalDriver_1_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_IntPackedMapRetrievalDriver_1.ixx b/src/FromOCCT/TKPLCAF/MDataStd_IntPackedMapRetrievalDriver_1.ixx new file mode 100644 index 000000000..7acd2ed72 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_IntPackedMapRetrievalDriver_1.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_IntPackedMapRetrievalDriver_1) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_IntPackedMapRetrievalDriver_1) + + +IMPLEMENT_DOWNCAST(MDataStd_IntPackedMapRetrievalDriver_1,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_IntPackedMapRetrievalDriver_1) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_IntPackedMapRetrievalDriver_1.jxx b/src/FromOCCT/TKPLCAF/MDataStd_IntPackedMapRetrievalDriver_1.jxx new file mode 100644 index 000000000..a5821b3d2 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_IntPackedMapRetrievalDriver_1.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_IntPackedMapStorageDriver.cxx b/src/FromOCCT/TKPLCAF/MDataStd_IntPackedMapStorageDriver.cxx new file mode 100644 index 000000000..b2a2033c4 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_IntPackedMapStorageDriver.cxx @@ -0,0 +1,77 @@ +// 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 +#include +#include +#include +#include +#include +#include +#include +#include +//======================================================================= +//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/FromOCCT/TKPLCAF/MDataStd_IntPackedMapStorageDriver.hxx b/src/FromOCCT/TKPLCAF/MDataStd_IntPackedMapStorageDriver.hxx new file mode 100644 index 000000000..1e03c2e0e --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_IntPackedMapStorageDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_IntPackedMapStorageDriver_HeaderFile +#define _MDataStd_IntPackedMapStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + +//! Storage driver for IntPackedMap attribute +class MDataStd_IntPackedMapStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MDataStd_IntPackedMapStorageDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: Integer from TDataStd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_IntPackedMapStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_IntPackedMapStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_IntPackedMapStorageDriver.ixx b/src/FromOCCT/TKPLCAF/MDataStd_IntPackedMapStorageDriver.ixx new file mode 100644 index 000000000..5bfaceb12 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_IntPackedMapStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_IntPackedMapStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_IntPackedMapStorageDriver) + + +IMPLEMENT_DOWNCAST(MDataStd_IntPackedMapStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_IntPackedMapStorageDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_IntPackedMapStorageDriver.jxx b/src/FromOCCT/TKPLCAF/MDataStd_IntPackedMapStorageDriver.jxx new file mode 100644 index 000000000..75e5c23d1 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_IntPackedMapStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_IntegerArrayRetrievalDriver.cxx b/src/FromOCCT/TKPLCAF/MDataStd_IntegerArrayRetrievalDriver.cxx new file mode 100644 index 000000000..01aa2e1a2 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_IntegerArrayRetrievalDriver.cxx @@ -0,0 +1,82 @@ +// 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 +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKPLCAF/MDataStd_IntegerArrayRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/MDataStd_IntegerArrayRetrievalDriver.hxx new file mode 100644 index 000000000..b82c77d4b --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_IntegerArrayRetrievalDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_IntegerArrayRetrievalDriver_HeaderFile +#define _MDataStd_IntegerArrayRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MDataStd_IntegerArrayRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MDataStd_IntegerArrayRetrievalDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: IntegerArray from PDataStd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_IntegerArrayRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_IntegerArrayRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_IntegerArrayRetrievalDriver.ixx b/src/FromOCCT/TKPLCAF/MDataStd_IntegerArrayRetrievalDriver.ixx new file mode 100644 index 000000000..17bd5c53e --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_IntegerArrayRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_IntegerArrayRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_IntegerArrayRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MDataStd_IntegerArrayRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_IntegerArrayRetrievalDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_IntegerArrayRetrievalDriver.jxx b/src/FromOCCT/TKPLCAF/MDataStd_IntegerArrayRetrievalDriver.jxx new file mode 100644 index 000000000..e50de2abe --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_IntegerArrayRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_IntegerArrayRetrievalDriver_1.cxx b/src/FromOCCT/TKPLCAF/MDataStd_IntegerArrayRetrievalDriver_1.cxx new file mode 100644 index 000000000..e7e7d374b --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_IntegerArrayRetrievalDriver_1.cxx @@ -0,0 +1,82 @@ +// 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 +#include +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKPLCAF/MDataStd_IntegerArrayRetrievalDriver_1.hxx b/src/FromOCCT/TKPLCAF/MDataStd_IntegerArrayRetrievalDriver_1.hxx new file mode 100644 index 000000000..0ff4fd1b1 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_IntegerArrayRetrievalDriver_1.hxx @@ -0,0 +1,71 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_IntegerArrayRetrievalDriver_1_HeaderFile +#define _MDataStd_IntegerArrayRetrievalDriver_1_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + +//! Retrieval driver of IntegerArray attribute supporting +//! delta mechanism by default +class MDataStd_IntegerArrayRetrievalDriver_1 : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MDataStd_IntegerArrayRetrievalDriver_1(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 1. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: IntegerArray from PDataStd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_IntegerArrayRetrievalDriver_1) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_IntegerArrayRetrievalDriver_1_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_IntegerArrayRetrievalDriver_1.ixx b/src/FromOCCT/TKPLCAF/MDataStd_IntegerArrayRetrievalDriver_1.ixx new file mode 100644 index 000000000..5269979cb --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_IntegerArrayRetrievalDriver_1.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_IntegerArrayRetrievalDriver_1) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_IntegerArrayRetrievalDriver_1) + + +IMPLEMENT_DOWNCAST(MDataStd_IntegerArrayRetrievalDriver_1,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_IntegerArrayRetrievalDriver_1) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_IntegerArrayRetrievalDriver_1.jxx b/src/FromOCCT/TKPLCAF/MDataStd_IntegerArrayRetrievalDriver_1.jxx new file mode 100644 index 000000000..d70ceb020 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_IntegerArrayRetrievalDriver_1.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_IntegerArrayStorageDriver.cxx b/src/FromOCCT/TKPLCAF/MDataStd_IntegerArrayStorageDriver.cxx new file mode 100644 index 000000000..a60264e64 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_IntegerArrayStorageDriver.cxx @@ -0,0 +1,84 @@ +// 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 +#include +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKPLCAF/MDataStd_IntegerArrayStorageDriver.hxx b/src/FromOCCT/TKPLCAF/MDataStd_IntegerArrayStorageDriver.hxx new file mode 100644 index 000000000..8823f2780 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_IntegerArrayStorageDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_IntegerArrayStorageDriver_HeaderFile +#define _MDataStd_IntegerArrayStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + + +class MDataStd_IntegerArrayStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MDataStd_IntegerArrayStorageDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: IntegerArray from TDataStd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_IntegerArrayStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_IntegerArrayStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_IntegerArrayStorageDriver.ixx b/src/FromOCCT/TKPLCAF/MDataStd_IntegerArrayStorageDriver.ixx new file mode 100644 index 000000000..19153d288 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_IntegerArrayStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_IntegerArrayStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_IntegerArrayStorageDriver) + + +IMPLEMENT_DOWNCAST(MDataStd_IntegerArrayStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_IntegerArrayStorageDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_IntegerArrayStorageDriver.jxx b/src/FromOCCT/TKPLCAF/MDataStd_IntegerArrayStorageDriver.jxx new file mode 100644 index 000000000..6a008933c --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_IntegerArrayStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_IntegerListRetrievalDriver.cxx b/src/FromOCCT/TKPLCAF/MDataStd_IntegerListRetrievalDriver.cxx new file mode 100644 index 000000000..d9b50b764 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_IntegerListRetrievalDriver.cxx @@ -0,0 +1,75 @@ +// 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 +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKPLCAF/MDataStd_IntegerListRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/MDataStd_IntegerListRetrievalDriver.hxx new file mode 100644 index 000000000..bb92e6532 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_IntegerListRetrievalDriver.hxx @@ -0,0 +1,67 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_IntegerListRetrievalDriver_HeaderFile +#define _MDataStd_IntegerListRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MDataStd_IntegerListRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MDataStd_IntegerListRetrievalDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + Standard_EXPORT Standard_Integer VersionNumber() const; + + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_IntegerListRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_IntegerListRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_IntegerListRetrievalDriver.ixx b/src/FromOCCT/TKPLCAF/MDataStd_IntegerListRetrievalDriver.ixx new file mode 100644 index 000000000..f01d1066b --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_IntegerListRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_IntegerListRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_IntegerListRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MDataStd_IntegerListRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_IntegerListRetrievalDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_IntegerListRetrievalDriver.jxx b/src/FromOCCT/TKPLCAF/MDataStd_IntegerListRetrievalDriver.jxx new file mode 100644 index 000000000..c9531f102 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_IntegerListRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_IntegerListStorageDriver.cxx b/src/FromOCCT/TKPLCAF/MDataStd_IntegerListStorageDriver.cxx new file mode 100644 index 000000000..578f5d381 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_IntegerListStorageDriver.cxx @@ -0,0 +1,85 @@ +// 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 +#include +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKPLCAF/MDataStd_IntegerListStorageDriver.hxx b/src/FromOCCT/TKPLCAF/MDataStd_IntegerListStorageDriver.hxx new file mode 100644 index 000000000..78d0205ad --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_IntegerListStorageDriver.hxx @@ -0,0 +1,67 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_IntegerListStorageDriver_HeaderFile +#define _MDataStd_IntegerListStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + + +class MDataStd_IntegerListStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MDataStd_IntegerListStorageDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + Standard_EXPORT Standard_Integer VersionNumber() const; + + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_IntegerListStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_IntegerListStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_IntegerListStorageDriver.ixx b/src/FromOCCT/TKPLCAF/MDataStd_IntegerListStorageDriver.ixx new file mode 100644 index 000000000..ba4b15efd --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_IntegerListStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_IntegerListStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_IntegerListStorageDriver) + + +IMPLEMENT_DOWNCAST(MDataStd_IntegerListStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_IntegerListStorageDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_IntegerListStorageDriver.jxx b/src/FromOCCT/TKPLCAF/MDataStd_IntegerListStorageDriver.jxx new file mode 100644 index 000000000..bf3f3e089 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_IntegerListStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_IntegerRetrievalDriver.cxx b/src/FromOCCT/TKPLCAF/MDataStd_IntegerRetrievalDriver.cxx new file mode 100644 index 000000000..66ea93d5f --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_IntegerRetrievalDriver.cxx @@ -0,0 +1,82 @@ +// 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 +#include +#include +#include +#include +#include + + + +//======================================================================= +//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/FromOCCT/TKPLCAF/MDataStd_IntegerRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/MDataStd_IntegerRetrievalDriver.hxx new file mode 100644 index 000000000..1b1f9cb7c --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_IntegerRetrievalDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_IntegerRetrievalDriver_HeaderFile +#define _MDataStd_IntegerRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MDataStd_IntegerRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MDataStd_IntegerRetrievalDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: Integer from PDataStd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_IntegerRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_IntegerRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_IntegerRetrievalDriver.ixx b/src/FromOCCT/TKPLCAF/MDataStd_IntegerRetrievalDriver.ixx new file mode 100644 index 000000000..ed7a6d192 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_IntegerRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_IntegerRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_IntegerRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MDataStd_IntegerRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_IntegerRetrievalDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_IntegerRetrievalDriver.jxx b/src/FromOCCT/TKPLCAF/MDataStd_IntegerRetrievalDriver.jxx new file mode 100644 index 000000000..54e401b0c --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_IntegerRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_IntegerStorageDriver.cxx b/src/FromOCCT/TKPLCAF/MDataStd_IntegerStorageDriver.cxx new file mode 100644 index 000000000..9dfcfe329 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_IntegerStorageDriver.cxx @@ -0,0 +1,83 @@ +// 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 +#include +#include +#include + + + +//======================================================================= +//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/FromOCCT/TKPLCAF/MDataStd_IntegerStorageDriver.hxx b/src/FromOCCT/TKPLCAF/MDataStd_IntegerStorageDriver.hxx new file mode 100644 index 000000000..307139c6d --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_IntegerStorageDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_IntegerStorageDriver_HeaderFile +#define _MDataStd_IntegerStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + + +class MDataStd_IntegerStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MDataStd_IntegerStorageDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: Integer from TDataStd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_IntegerStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_IntegerStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_IntegerStorageDriver.ixx b/src/FromOCCT/TKPLCAF/MDataStd_IntegerStorageDriver.ixx new file mode 100644 index 000000000..36253d3d2 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_IntegerStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_IntegerStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_IntegerStorageDriver) + + +IMPLEMENT_DOWNCAST(MDataStd_IntegerStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_IntegerStorageDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_IntegerStorageDriver.jxx b/src/FromOCCT/TKPLCAF/MDataStd_IntegerStorageDriver.jxx new file mode 100644 index 000000000..f0f566798 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_IntegerStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_NameRetrievalDriver.cxx b/src/FromOCCT/TKPLCAF/MDataStd_NameRetrievalDriver.cxx new file mode 100644 index 000000000..fee59d467 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_NameRetrievalDriver.cxx @@ -0,0 +1,50 @@ +// 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 +#include +#include +#include +#include +#include +#include + +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 +#include +#include + +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/FromOCCT/TKPLCAF/MDataStd_NameRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/MDataStd_NameRetrievalDriver.hxx new file mode 100644 index 000000000..beb1de62a --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_NameRetrievalDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_NameRetrievalDriver_HeaderFile +#define _MDataStd_NameRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MDataStd_NameRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MDataStd_NameRetrievalDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: Name from PDataStd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_NameRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_NameRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_NameRetrievalDriver.ixx b/src/FromOCCT/TKPLCAF/MDataStd_NameRetrievalDriver.ixx new file mode 100644 index 000000000..2faadc97b --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_NameRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_NameRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_NameRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MDataStd_NameRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_NameRetrievalDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_NameRetrievalDriver.jxx b/src/FromOCCT/TKPLCAF/MDataStd_NameRetrievalDriver.jxx new file mode 100644 index 000000000..f7f9f4e97 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_NameRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_NameStorageDriver.cxx b/src/FromOCCT/TKPLCAF/MDataStd_NameStorageDriver.cxx new file mode 100644 index 000000000..546a4a4b4 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_NameStorageDriver.cxx @@ -0,0 +1,44 @@ +// 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 +#include +#include +#include +#include +#include + +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/FromOCCT/TKPLCAF/MDataStd_NameStorageDriver.hxx b/src/FromOCCT/TKPLCAF/MDataStd_NameStorageDriver.hxx new file mode 100644 index 000000000..e70d0b781 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_NameStorageDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_NameStorageDriver_HeaderFile +#define _MDataStd_NameStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + + +class MDataStd_NameStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MDataStd_NameStorageDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: Integer from TDataStd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_NameStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_NameStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_NameStorageDriver.ixx b/src/FromOCCT/TKPLCAF/MDataStd_NameStorageDriver.ixx new file mode 100644 index 000000000..cf3dd516d --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_NameStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_NameStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_NameStorageDriver) + + +IMPLEMENT_DOWNCAST(MDataStd_NameStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_NameStorageDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_NameStorageDriver.jxx b/src/FromOCCT/TKPLCAF/MDataStd_NameStorageDriver.jxx new file mode 100644 index 000000000..7858635ff --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_NameStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_NamedDataRetrievalDriver.cxx b/src/FromOCCT/TKPLCAF/MDataStd_NamedDataRetrievalDriver.cxx new file mode 100644 index 000000000..5e9df3f38 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_NamedDataRetrievalDriver.cxx @@ -0,0 +1,161 @@ +// 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 +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +//======================================================================= +//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: " <LowerI() << " " <UpperI()<<"\t"<LowerR() << " " <UpperR(); + cout << "\t"<LowerS() << " " <UpperS()<< "\t"<LowerB() << " " <UpperB(); + cout << "\t"<LowerAI() << " " <UpperAI()<<"\t"<LowerAR() << " " <UpperAR()<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/FromOCCT/TKPLCAF/MDataStd_NamedDataRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/MDataStd_NamedDataRetrievalDriver.hxx new file mode 100644 index 000000000..ddc8b09b0 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_NamedDataRetrievalDriver.hxx @@ -0,0 +1,67 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_NamedDataRetrievalDriver_HeaderFile +#define _MDataStd_NamedDataRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MDataStd_NamedDataRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MDataStd_NamedDataRetrievalDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + Standard_EXPORT Standard_Integer VersionNumber() const; + + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_NamedDataRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_NamedDataRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_NamedDataRetrievalDriver.ixx b/src/FromOCCT/TKPLCAF/MDataStd_NamedDataRetrievalDriver.ixx new file mode 100644 index 000000000..738903983 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_NamedDataRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_NamedDataRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_NamedDataRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MDataStd_NamedDataRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_NamedDataRetrievalDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_NamedDataRetrievalDriver.jxx b/src/FromOCCT/TKPLCAF/MDataStd_NamedDataRetrievalDriver.jxx new file mode 100644 index 000000000..1b3eafa24 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_NamedDataRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_NamedDataStorageDriver.cxx b/src/FromOCCT/TKPLCAF/MDataStd_NamedDataStorageDriver.cxx new file mode 100644 index 000000000..881fff8bb --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_NamedDataStorageDriver.cxx @@ -0,0 +1,180 @@ +// 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 +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#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/FromOCCT/TKPLCAF/MDataStd_NamedDataStorageDriver.hxx b/src/FromOCCT/TKPLCAF/MDataStd_NamedDataStorageDriver.hxx new file mode 100644 index 000000000..4482ba635 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_NamedDataStorageDriver.hxx @@ -0,0 +1,67 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_NamedDataStorageDriver_HeaderFile +#define _MDataStd_NamedDataStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + + +class MDataStd_NamedDataStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MDataStd_NamedDataStorageDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + Standard_EXPORT Standard_Integer VersionNumber() const; + + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_NamedDataStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_NamedDataStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_NamedDataStorageDriver.ixx b/src/FromOCCT/TKPLCAF/MDataStd_NamedDataStorageDriver.ixx new file mode 100644 index 000000000..32f0de107 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_NamedDataStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_NamedDataStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_NamedDataStorageDriver) + + +IMPLEMENT_DOWNCAST(MDataStd_NamedDataStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_NamedDataStorageDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_NamedDataStorageDriver.jxx b/src/FromOCCT/TKPLCAF/MDataStd_NamedDataStorageDriver.jxx new file mode 100644 index 000000000..d83d55935 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_NamedDataStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_NoteBookRetrievalDriver.cxx b/src/FromOCCT/TKPLCAF/MDataStd_NoteBookRetrievalDriver.cxx new file mode 100644 index 000000000..93f7c608f --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_NoteBookRetrievalDriver.cxx @@ -0,0 +1,37 @@ +// 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 +#include +#include +#include + +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/FromOCCT/TKPLCAF/MDataStd_NoteBookRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/MDataStd_NoteBookRetrievalDriver.hxx new file mode 100644 index 000000000..78469720e --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_NoteBookRetrievalDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_NoteBookRetrievalDriver_HeaderFile +#define _MDataStd_NoteBookRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MDataStd_NoteBookRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MDataStd_NoteBookRetrievalDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: NoteBook from PDataStd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_NoteBookRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_NoteBookRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_NoteBookRetrievalDriver.ixx b/src/FromOCCT/TKPLCAF/MDataStd_NoteBookRetrievalDriver.ixx new file mode 100644 index 000000000..70656682e --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_NoteBookRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_NoteBookRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_NoteBookRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MDataStd_NoteBookRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_NoteBookRetrievalDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_NoteBookRetrievalDriver.jxx b/src/FromOCCT/TKPLCAF/MDataStd_NoteBookRetrievalDriver.jxx new file mode 100644 index 000000000..64f0ee0b5 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_NoteBookRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_NoteBookStorageDriver.cxx b/src/FromOCCT/TKPLCAF/MDataStd_NoteBookStorageDriver.cxx new file mode 100644 index 000000000..5f9f77bc6 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_NoteBookStorageDriver.cxx @@ -0,0 +1,37 @@ +// 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 +#include +#include +#include + +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/FromOCCT/TKPLCAF/MDataStd_NoteBookStorageDriver.hxx b/src/FromOCCT/TKPLCAF/MDataStd_NoteBookStorageDriver.hxx new file mode 100644 index 000000000..652d91b2d --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_NoteBookStorageDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_NoteBookStorageDriver_HeaderFile +#define _MDataStd_NoteBookStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + + +class MDataStd_NoteBookStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MDataStd_NoteBookStorageDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: Integer from TDataStd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_NoteBookStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_NoteBookStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_NoteBookStorageDriver.ixx b/src/FromOCCT/TKPLCAF/MDataStd_NoteBookStorageDriver.ixx new file mode 100644 index 000000000..3586cc4af --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_NoteBookStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_NoteBookStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_NoteBookStorageDriver) + + +IMPLEMENT_DOWNCAST(MDataStd_NoteBookStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_NoteBookStorageDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_NoteBookStorageDriver.jxx b/src/FromOCCT/TKPLCAF/MDataStd_NoteBookStorageDriver.jxx new file mode 100644 index 000000000..7e4626f31 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_NoteBookStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_RealArrayRetrievalDriver.cxx b/src/FromOCCT/TKPLCAF/MDataStd_RealArrayRetrievalDriver.cxx new file mode 100644 index 000000000..c103e0051 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_RealArrayRetrievalDriver.cxx @@ -0,0 +1,82 @@ +// 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 +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKPLCAF/MDataStd_RealArrayRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/MDataStd_RealArrayRetrievalDriver.hxx new file mode 100644 index 000000000..a7a71eb55 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_RealArrayRetrievalDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_RealArrayRetrievalDriver_HeaderFile +#define _MDataStd_RealArrayRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MDataStd_RealArrayRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MDataStd_RealArrayRetrievalDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: RealArray from PDataStd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_RealArrayRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_RealArrayRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_RealArrayRetrievalDriver.ixx b/src/FromOCCT/TKPLCAF/MDataStd_RealArrayRetrievalDriver.ixx new file mode 100644 index 000000000..a37ce6329 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_RealArrayRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_RealArrayRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_RealArrayRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MDataStd_RealArrayRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_RealArrayRetrievalDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_RealArrayRetrievalDriver.jxx b/src/FromOCCT/TKPLCAF/MDataStd_RealArrayRetrievalDriver.jxx new file mode 100644 index 000000000..3745c51e1 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_RealArrayRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_RealArrayRetrievalDriver_1.cxx b/src/FromOCCT/TKPLCAF/MDataStd_RealArrayRetrievalDriver_1.cxx new file mode 100644 index 000000000..9bfbd087e --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_RealArrayRetrievalDriver_1.cxx @@ -0,0 +1,84 @@ +// 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 + +#include +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKPLCAF/MDataStd_RealArrayRetrievalDriver_1.hxx b/src/FromOCCT/TKPLCAF/MDataStd_RealArrayRetrievalDriver_1.hxx new file mode 100644 index 000000000..d01d7e583 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_RealArrayRetrievalDriver_1.hxx @@ -0,0 +1,71 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_RealArrayRetrievalDriver_1_HeaderFile +#define _MDataStd_RealArrayRetrievalDriver_1_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + +//! Retrieval driver of RealArray attribute supporting +//! delta mechanism by default +class MDataStd_RealArrayRetrievalDriver_1 : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MDataStd_RealArrayRetrievalDriver_1(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 1. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: RealArray from PDataStd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_RealArrayRetrievalDriver_1) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_RealArrayRetrievalDriver_1_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_RealArrayRetrievalDriver_1.ixx b/src/FromOCCT/TKPLCAF/MDataStd_RealArrayRetrievalDriver_1.ixx new file mode 100644 index 000000000..dff6544ad --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_RealArrayRetrievalDriver_1.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_RealArrayRetrievalDriver_1) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_RealArrayRetrievalDriver_1) + + +IMPLEMENT_DOWNCAST(MDataStd_RealArrayRetrievalDriver_1,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_RealArrayRetrievalDriver_1) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_RealArrayRetrievalDriver_1.jxx b/src/FromOCCT/TKPLCAF/MDataStd_RealArrayRetrievalDriver_1.jxx new file mode 100644 index 000000000..029195af3 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_RealArrayRetrievalDriver_1.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_RealArrayStorageDriver.cxx b/src/FromOCCT/TKPLCAF/MDataStd_RealArrayStorageDriver.cxx new file mode 100644 index 000000000..bb7f3226a --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_RealArrayStorageDriver.cxx @@ -0,0 +1,83 @@ +// 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 +#include +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKPLCAF/MDataStd_RealArrayStorageDriver.hxx b/src/FromOCCT/TKPLCAF/MDataStd_RealArrayStorageDriver.hxx new file mode 100644 index 000000000..10a14e78c --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_RealArrayStorageDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_RealArrayStorageDriver_HeaderFile +#define _MDataStd_RealArrayStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + + +class MDataStd_RealArrayStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MDataStd_RealArrayStorageDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: RealArray from TDataStd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_RealArrayStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_RealArrayStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_RealArrayStorageDriver.ixx b/src/FromOCCT/TKPLCAF/MDataStd_RealArrayStorageDriver.ixx new file mode 100644 index 000000000..58d7571ed --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_RealArrayStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_RealArrayStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_RealArrayStorageDriver) + + +IMPLEMENT_DOWNCAST(MDataStd_RealArrayStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_RealArrayStorageDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_RealArrayStorageDriver.jxx b/src/FromOCCT/TKPLCAF/MDataStd_RealArrayStorageDriver.jxx new file mode 100644 index 000000000..51bd34014 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_RealArrayStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_RealListRetrievalDriver.cxx b/src/FromOCCT/TKPLCAF/MDataStd_RealListRetrievalDriver.cxx new file mode 100644 index 000000000..e222cb07e --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_RealListRetrievalDriver.cxx @@ -0,0 +1,76 @@ +// 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 +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKPLCAF/MDataStd_RealListRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/MDataStd_RealListRetrievalDriver.hxx new file mode 100644 index 000000000..a40e1dc4b --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_RealListRetrievalDriver.hxx @@ -0,0 +1,67 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_RealListRetrievalDriver_HeaderFile +#define _MDataStd_RealListRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MDataStd_RealListRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MDataStd_RealListRetrievalDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + Standard_EXPORT Standard_Integer VersionNumber() const; + + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_RealListRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_RealListRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_RealListRetrievalDriver.ixx b/src/FromOCCT/TKPLCAF/MDataStd_RealListRetrievalDriver.ixx new file mode 100644 index 000000000..51b33515c --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_RealListRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_RealListRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_RealListRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MDataStd_RealListRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_RealListRetrievalDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_RealListRetrievalDriver.jxx b/src/FromOCCT/TKPLCAF/MDataStd_RealListRetrievalDriver.jxx new file mode 100644 index 000000000..f7ddad5fe --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_RealListRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_RealListStorageDriver.cxx b/src/FromOCCT/TKPLCAF/MDataStd_RealListStorageDriver.cxx new file mode 100644 index 000000000..0dc94bf49 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_RealListStorageDriver.cxx @@ -0,0 +1,85 @@ +// 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 +#include +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKPLCAF/MDataStd_RealListStorageDriver.hxx b/src/FromOCCT/TKPLCAF/MDataStd_RealListStorageDriver.hxx new file mode 100644 index 000000000..90a2c55fb --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_RealListStorageDriver.hxx @@ -0,0 +1,67 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_RealListStorageDriver_HeaderFile +#define _MDataStd_RealListStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + + +class MDataStd_RealListStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MDataStd_RealListStorageDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + Standard_EXPORT Standard_Integer VersionNumber() const; + + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_RealListStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_RealListStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_RealListStorageDriver.ixx b/src/FromOCCT/TKPLCAF/MDataStd_RealListStorageDriver.ixx new file mode 100644 index 000000000..9c87ef7c4 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_RealListStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_RealListStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_RealListStorageDriver) + + +IMPLEMENT_DOWNCAST(MDataStd_RealListStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_RealListStorageDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_RealListStorageDriver.jxx b/src/FromOCCT/TKPLCAF/MDataStd_RealListStorageDriver.jxx new file mode 100644 index 000000000..50655cd70 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_RealListStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_RealRetrievalDriver.cxx b/src/FromOCCT/TKPLCAF/MDataStd_RealRetrievalDriver.cxx new file mode 100644 index 000000000..e237cd001 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_RealRetrievalDriver.cxx @@ -0,0 +1,82 @@ +// 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 +#include +#include +#include +#include +#include + + +//======================================================================= +//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/FromOCCT/TKPLCAF/MDataStd_RealRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/MDataStd_RealRetrievalDriver.hxx new file mode 100644 index 000000000..08b4c0da5 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_RealRetrievalDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_RealRetrievalDriver_HeaderFile +#define _MDataStd_RealRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MDataStd_RealRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MDataStd_RealRetrievalDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: Real from PDataStd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_RealRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_RealRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_RealRetrievalDriver.ixx b/src/FromOCCT/TKPLCAF/MDataStd_RealRetrievalDriver.ixx new file mode 100644 index 000000000..ae5372055 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_RealRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_RealRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_RealRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MDataStd_RealRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_RealRetrievalDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_RealRetrievalDriver.jxx b/src/FromOCCT/TKPLCAF/MDataStd_RealRetrievalDriver.jxx new file mode 100644 index 000000000..b8be946d7 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_RealRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_RealStorageDriver.cxx b/src/FromOCCT/TKPLCAF/MDataStd_RealStorageDriver.cxx new file mode 100644 index 000000000..e81c618a9 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_RealStorageDriver.cxx @@ -0,0 +1,82 @@ +// 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 +#include +#include +#include +#include +#include + + +//======================================================================= +//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/FromOCCT/TKPLCAF/MDataStd_RealStorageDriver.hxx b/src/FromOCCT/TKPLCAF/MDataStd_RealStorageDriver.hxx new file mode 100644 index 000000000..6f0a62aa7 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_RealStorageDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_RealStorageDriver_HeaderFile +#define _MDataStd_RealStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + + +class MDataStd_RealStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MDataStd_RealStorageDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: Real from TDataStd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_RealStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_RealStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_RealStorageDriver.ixx b/src/FromOCCT/TKPLCAF/MDataStd_RealStorageDriver.ixx new file mode 100644 index 000000000..f4013406c --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_RealStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_RealStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_RealStorageDriver) + + +IMPLEMENT_DOWNCAST(MDataStd_RealStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_RealStorageDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_RealStorageDriver.jxx b/src/FromOCCT/TKPLCAF/MDataStd_RealStorageDriver.jxx new file mode 100644 index 000000000..c48afaabc --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_RealStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_ReferenceArrayRetrievalDriver.cxx b/src/FromOCCT/TKPLCAF/MDataStd_ReferenceArrayRetrievalDriver.cxx new file mode 100644 index 000000000..8bf4f70d3 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ReferenceArrayRetrievalDriver.cxx @@ -0,0 +1,90 @@ +// 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 +#include +#include +#include +#include +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKPLCAF/MDataStd_ReferenceArrayRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/MDataStd_ReferenceArrayRetrievalDriver.hxx new file mode 100644 index 000000000..12492ce3e --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ReferenceArrayRetrievalDriver.hxx @@ -0,0 +1,67 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_ReferenceArrayRetrievalDriver_HeaderFile +#define _MDataStd_ReferenceArrayRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MDataStd_ReferenceArrayRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MDataStd_ReferenceArrayRetrievalDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + Standard_EXPORT Standard_Integer VersionNumber() const; + + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_ReferenceArrayRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_ReferenceArrayRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_ReferenceArrayRetrievalDriver.ixx b/src/FromOCCT/TKPLCAF/MDataStd_ReferenceArrayRetrievalDriver.ixx new file mode 100644 index 000000000..05232bbcf --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ReferenceArrayRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_ReferenceArrayRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_ReferenceArrayRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MDataStd_ReferenceArrayRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_ReferenceArrayRetrievalDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_ReferenceArrayRetrievalDriver.jxx b/src/FromOCCT/TKPLCAF/MDataStd_ReferenceArrayRetrievalDriver.jxx new file mode 100644 index 000000000..697d97da8 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ReferenceArrayRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_ReferenceArrayStorageDriver.cxx b/src/FromOCCT/TKPLCAF/MDataStd_ReferenceArrayStorageDriver.cxx new file mode 100644 index 000000000..eabc27529 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ReferenceArrayStorageDriver.cxx @@ -0,0 +1,89 @@ +// 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 +#include +#include +#include +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKPLCAF/MDataStd_ReferenceArrayStorageDriver.hxx b/src/FromOCCT/TKPLCAF/MDataStd_ReferenceArrayStorageDriver.hxx new file mode 100644 index 000000000..6ad673c38 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ReferenceArrayStorageDriver.hxx @@ -0,0 +1,67 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_ReferenceArrayStorageDriver_HeaderFile +#define _MDataStd_ReferenceArrayStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + + +class MDataStd_ReferenceArrayStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MDataStd_ReferenceArrayStorageDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + Standard_EXPORT Standard_Integer VersionNumber() const; + + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_ReferenceArrayStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_ReferenceArrayStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_ReferenceArrayStorageDriver.ixx b/src/FromOCCT/TKPLCAF/MDataStd_ReferenceArrayStorageDriver.ixx new file mode 100644 index 000000000..88b3128c7 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ReferenceArrayStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_ReferenceArrayStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_ReferenceArrayStorageDriver) + + +IMPLEMENT_DOWNCAST(MDataStd_ReferenceArrayStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_ReferenceArrayStorageDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_ReferenceArrayStorageDriver.jxx b/src/FromOCCT/TKPLCAF/MDataStd_ReferenceArrayStorageDriver.jxx new file mode 100644 index 000000000..93b1c8653 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ReferenceArrayStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_ReferenceListRetrievalDriver.cxx b/src/FromOCCT/TKPLCAF/MDataStd_ReferenceListRetrievalDriver.cxx new file mode 100644 index 000000000..da4b1eff8 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ReferenceListRetrievalDriver.cxx @@ -0,0 +1,88 @@ +// 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 +#include +#include +#include +#include +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKPLCAF/MDataStd_ReferenceListRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/MDataStd_ReferenceListRetrievalDriver.hxx new file mode 100644 index 000000000..9616c86b5 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ReferenceListRetrievalDriver.hxx @@ -0,0 +1,67 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_ReferenceListRetrievalDriver_HeaderFile +#define _MDataStd_ReferenceListRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MDataStd_ReferenceListRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MDataStd_ReferenceListRetrievalDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + Standard_EXPORT Standard_Integer VersionNumber() const; + + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_ReferenceListRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_ReferenceListRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_ReferenceListRetrievalDriver.ixx b/src/FromOCCT/TKPLCAF/MDataStd_ReferenceListRetrievalDriver.ixx new file mode 100644 index 000000000..ae97f11cd --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ReferenceListRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_ReferenceListRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_ReferenceListRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MDataStd_ReferenceListRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_ReferenceListRetrievalDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_ReferenceListRetrievalDriver.jxx b/src/FromOCCT/TKPLCAF/MDataStd_ReferenceListRetrievalDriver.jxx new file mode 100644 index 000000000..6311fd6c7 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ReferenceListRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_ReferenceListStorageDriver.cxx b/src/FromOCCT/TKPLCAF/MDataStd_ReferenceListStorageDriver.cxx new file mode 100644 index 000000000..c0cd6f634 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ReferenceListStorageDriver.cxx @@ -0,0 +1,96 @@ +// 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 +#include +#include +#include +#include +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKPLCAF/MDataStd_ReferenceListStorageDriver.hxx b/src/FromOCCT/TKPLCAF/MDataStd_ReferenceListStorageDriver.hxx new file mode 100644 index 000000000..f500e92ac --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ReferenceListStorageDriver.hxx @@ -0,0 +1,67 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_ReferenceListStorageDriver_HeaderFile +#define _MDataStd_ReferenceListStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + + +class MDataStd_ReferenceListStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MDataStd_ReferenceListStorageDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + Standard_EXPORT Standard_Integer VersionNumber() const; + + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_ReferenceListStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_ReferenceListStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_ReferenceListStorageDriver.ixx b/src/FromOCCT/TKPLCAF/MDataStd_ReferenceListStorageDriver.ixx new file mode 100644 index 000000000..b73ef29de --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ReferenceListStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_ReferenceListStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_ReferenceListStorageDriver) + + +IMPLEMENT_DOWNCAST(MDataStd_ReferenceListStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_ReferenceListStorageDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_ReferenceListStorageDriver.jxx b/src/FromOCCT/TKPLCAF/MDataStd_ReferenceListStorageDriver.jxx new file mode 100644 index 000000000..060ad13d9 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_ReferenceListStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_RelationRetrievalDriver.cxx b/src/FromOCCT/TKPLCAF/MDataStd_RelationRetrievalDriver.cxx new file mode 100644 index 000000000..bd0401e0e --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_RelationRetrievalDriver.cxx @@ -0,0 +1,91 @@ +// Copyright (c) 1999-2014 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + +#include +#include +#include +#include +#include +#include +#include +#include +#include + + +//======================================================================= +//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/FromOCCT/TKPLCAF/MDataStd_RelationRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/MDataStd_RelationRetrievalDriver.hxx new file mode 100644 index 000000000..7cd84c72a --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_RelationRetrievalDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_RelationRetrievalDriver_HeaderFile +#define _MDataStd_RelationRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MDataStd_RelationRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MDataStd_RelationRetrievalDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: Relation from PDataStd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_RelationRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_RelationRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_RelationRetrievalDriver.ixx b/src/FromOCCT/TKPLCAF/MDataStd_RelationRetrievalDriver.ixx new file mode 100644 index 000000000..15ea7c104 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_RelationRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_RelationRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_RelationRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MDataStd_RelationRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_RelationRetrievalDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_RelationRetrievalDriver.jxx b/src/FromOCCT/TKPLCAF/MDataStd_RelationRetrievalDriver.jxx new file mode 100644 index 000000000..f0e9fea3b --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_RelationRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_RelationStorageDriver.cxx b/src/FromOCCT/TKPLCAF/MDataStd_RelationStorageDriver.cxx new file mode 100644 index 000000000..ba2b615fd --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_RelationStorageDriver.cxx @@ -0,0 +1,86 @@ +// Copyright (c) 1999-2014 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKPLCAF/MDataStd_RelationStorageDriver.hxx b/src/FromOCCT/TKPLCAF/MDataStd_RelationStorageDriver.hxx new file mode 100644 index 000000000..8a4f5d571 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_RelationStorageDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_RelationStorageDriver_HeaderFile +#define _MDataStd_RelationStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + + +class MDataStd_RelationStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MDataStd_RelationStorageDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: Integer from TDataStd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_RelationStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_RelationStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_RelationStorageDriver.ixx b/src/FromOCCT/TKPLCAF/MDataStd_RelationStorageDriver.ixx new file mode 100644 index 000000000..43d9a4bc8 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_RelationStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_RelationStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_RelationStorageDriver) + + +IMPLEMENT_DOWNCAST(MDataStd_RelationStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_RelationStorageDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_RelationStorageDriver.jxx b/src/FromOCCT/TKPLCAF/MDataStd_RelationStorageDriver.jxx new file mode 100644 index 000000000..78e598592 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_RelationStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_TickRetrievalDriver.cxx b/src/FromOCCT/TKPLCAF/MDataStd_TickRetrievalDriver.cxx new file mode 100644 index 000000000..4d528e8c4 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_TickRetrievalDriver.cxx @@ -0,0 +1,64 @@ +// 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 +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKPLCAF/MDataStd_TickRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/MDataStd_TickRetrievalDriver.hxx new file mode 100644 index 000000000..f4e91b632 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_TickRetrievalDriver.hxx @@ -0,0 +1,68 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_TickRetrievalDriver_HeaderFile +#define _MDataStd_TickRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MDataStd_TickRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MDataStd_TickRetrievalDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type Tick from PDataStd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_TickRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_TickRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_TickRetrievalDriver.ixx b/src/FromOCCT/TKPLCAF/MDataStd_TickRetrievalDriver.ixx new file mode 100644 index 000000000..46da60556 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_TickRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_TickRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_TickRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MDataStd_TickRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_TickRetrievalDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_TickRetrievalDriver.jxx b/src/FromOCCT/TKPLCAF/MDataStd_TickRetrievalDriver.jxx new file mode 100644 index 000000000..1304d0a11 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_TickRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_TickStorageDriver.cxx b/src/FromOCCT/TKPLCAF/MDataStd_TickStorageDriver.cxx new file mode 100644 index 000000000..d40bc73e4 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_TickStorageDriver.cxx @@ -0,0 +1,64 @@ +// 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 +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKPLCAF/MDataStd_TickStorageDriver.hxx b/src/FromOCCT/TKPLCAF/MDataStd_TickStorageDriver.hxx new file mode 100644 index 000000000..fa83b333e --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_TickStorageDriver.hxx @@ -0,0 +1,68 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_TickStorageDriver_HeaderFile +#define _MDataStd_TickStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + + +class MDataStd_TickStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MDataStd_TickStorageDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type Tick from TDataStd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_TickStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_TickStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_TickStorageDriver.ixx b/src/FromOCCT/TKPLCAF/MDataStd_TickStorageDriver.ixx new file mode 100644 index 000000000..fe3f67602 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_TickStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_TickStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_TickStorageDriver) + + +IMPLEMENT_DOWNCAST(MDataStd_TickStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_TickStorageDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_TickStorageDriver.jxx b/src/FromOCCT/TKPLCAF/MDataStd_TickStorageDriver.jxx new file mode 100644 index 000000000..0b9830412 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_TickStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_TreeNodeRetrievalDriver.cxx b/src/FromOCCT/TKPLCAF/MDataStd_TreeNodeRetrievalDriver.cxx new file mode 100644 index 000000000..8cbe2984c --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_TreeNodeRetrievalDriver.cxx @@ -0,0 +1,67 @@ +// 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 +#include +#include +#include +#include +#include + +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/FromOCCT/TKPLCAF/MDataStd_TreeNodeRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/MDataStd_TreeNodeRetrievalDriver.hxx new file mode 100644 index 000000000..864f38a76 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_TreeNodeRetrievalDriver.hxx @@ -0,0 +1,69 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_TreeNodeRetrievalDriver_HeaderFile +#define _MDataStd_TreeNodeRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MDataStd_TreeNodeRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MDataStd_TreeNodeRetrievalDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_TreeNodeRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_TreeNodeRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_TreeNodeRetrievalDriver.ixx b/src/FromOCCT/TKPLCAF/MDataStd_TreeNodeRetrievalDriver.ixx new file mode 100644 index 000000000..800b5bf50 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_TreeNodeRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_TreeNodeRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_TreeNodeRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MDataStd_TreeNodeRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_TreeNodeRetrievalDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_TreeNodeRetrievalDriver.jxx b/src/FromOCCT/TKPLCAF/MDataStd_TreeNodeRetrievalDriver.jxx new file mode 100644 index 000000000..5720e42f1 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_TreeNodeRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_TreeNodeStorageDriver.cxx b/src/FromOCCT/TKPLCAF/MDataStd_TreeNodeStorageDriver.cxx new file mode 100644 index 000000000..942f73708 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_TreeNodeStorageDriver.cxx @@ -0,0 +1,65 @@ +// 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 + +#include +#include +#include +#include + +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/FromOCCT/TKPLCAF/MDataStd_TreeNodeStorageDriver.hxx b/src/FromOCCT/TKPLCAF/MDataStd_TreeNodeStorageDriver.hxx new file mode 100644 index 000000000..be01afb28 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_TreeNodeStorageDriver.hxx @@ -0,0 +1,69 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_TreeNodeStorageDriver_HeaderFile +#define _MDataStd_TreeNodeStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + + +class MDataStd_TreeNodeStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MDataStd_TreeNodeStorageDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_TreeNodeStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_TreeNodeStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_TreeNodeStorageDriver.ixx b/src/FromOCCT/TKPLCAF/MDataStd_TreeNodeStorageDriver.ixx new file mode 100644 index 000000000..fc2d8b660 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_TreeNodeStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_TreeNodeStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_TreeNodeStorageDriver) + + +IMPLEMENT_DOWNCAST(MDataStd_TreeNodeStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_TreeNodeStorageDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_TreeNodeStorageDriver.jxx b/src/FromOCCT/TKPLCAF/MDataStd_TreeNodeStorageDriver.jxx new file mode 100644 index 000000000..d1e11d438 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_TreeNodeStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_UAttributeRetrievalDriver.cxx b/src/FromOCCT/TKPLCAF/MDataStd_UAttributeRetrievalDriver.cxx new file mode 100644 index 000000000..ed263c2bc --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_UAttributeRetrievalDriver.cxx @@ -0,0 +1,83 @@ +// 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 +#include +#include +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKPLCAF/MDataStd_UAttributeRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/MDataStd_UAttributeRetrievalDriver.hxx new file mode 100644 index 000000000..f6dc3d846 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_UAttributeRetrievalDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_UAttributeRetrievalDriver_HeaderFile +#define _MDataStd_UAttributeRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MDataStd_UAttributeRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MDataStd_UAttributeRetrievalDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: UAttribute from PDataStd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_UAttributeRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_UAttributeRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_UAttributeRetrievalDriver.ixx b/src/FromOCCT/TKPLCAF/MDataStd_UAttributeRetrievalDriver.ixx new file mode 100644 index 000000000..4467bf83b --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_UAttributeRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_UAttributeRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_UAttributeRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MDataStd_UAttributeRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_UAttributeRetrievalDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_UAttributeRetrievalDriver.jxx b/src/FromOCCT/TKPLCAF/MDataStd_UAttributeRetrievalDriver.jxx new file mode 100644 index 000000000..0a7cb2124 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_UAttributeRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_UAttributeStorageDriver.cxx b/src/FromOCCT/TKPLCAF/MDataStd_UAttributeStorageDriver.cxx new file mode 100644 index 000000000..1774410fd --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_UAttributeStorageDriver.cxx @@ -0,0 +1,87 @@ +// 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 +#include +#include +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKPLCAF/MDataStd_UAttributeStorageDriver.hxx b/src/FromOCCT/TKPLCAF/MDataStd_UAttributeStorageDriver.hxx new file mode 100644 index 000000000..e4a0925f8 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_UAttributeStorageDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_UAttributeStorageDriver_HeaderFile +#define _MDataStd_UAttributeStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + + +class MDataStd_UAttributeStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MDataStd_UAttributeStorageDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: UAttribute from TDataStd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_UAttributeStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_UAttributeStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_UAttributeStorageDriver.ixx b/src/FromOCCT/TKPLCAF/MDataStd_UAttributeStorageDriver.ixx new file mode 100644 index 000000000..e7d4f8015 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_UAttributeStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_UAttributeStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_UAttributeStorageDriver) + + +IMPLEMENT_DOWNCAST(MDataStd_UAttributeStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_UAttributeStorageDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_UAttributeStorageDriver.jxx b/src/FromOCCT/TKPLCAF/MDataStd_UAttributeStorageDriver.jxx new file mode 100644 index 000000000..edbd947ee --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_UAttributeStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_VariableRetrievalDriver.cxx b/src/FromOCCT/TKPLCAF/MDataStd_VariableRetrievalDriver.cxx new file mode 100644 index 000000000..07f9a9ad2 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_VariableRetrievalDriver.cxx @@ -0,0 +1,81 @@ +// 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 +#include +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKPLCAF/MDataStd_VariableRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/MDataStd_VariableRetrievalDriver.hxx new file mode 100644 index 000000000..2c552e892 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_VariableRetrievalDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_VariableRetrievalDriver_HeaderFile +#define _MDataStd_VariableRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MDataStd_VariableRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MDataStd_VariableRetrievalDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: Variable from PDataStd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_VariableRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_VariableRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_VariableRetrievalDriver.ixx b/src/FromOCCT/TKPLCAF/MDataStd_VariableRetrievalDriver.ixx new file mode 100644 index 000000000..fa345d389 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_VariableRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_VariableRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_VariableRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MDataStd_VariableRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_VariableRetrievalDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_VariableRetrievalDriver.jxx b/src/FromOCCT/TKPLCAF/MDataStd_VariableRetrievalDriver.jxx new file mode 100644 index 000000000..ed5d3cb54 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_VariableRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDataStd_VariableStorageDriver.cxx b/src/FromOCCT/TKPLCAF/MDataStd_VariableStorageDriver.cxx new file mode 100644 index 000000000..5a96fad5b --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_VariableStorageDriver.cxx @@ -0,0 +1,83 @@ +// 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 +#include +#include +#include +#include +#include +#include + + +//======================================================================= +//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/FromOCCT/TKPLCAF/MDataStd_VariableStorageDriver.hxx b/src/FromOCCT/TKPLCAF/MDataStd_VariableStorageDriver.hxx new file mode 100644 index 000000000..95c3e15c3 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_VariableStorageDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDataStd_VariableStorageDriver_HeaderFile +#define _MDataStd_VariableStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + + +class MDataStd_VariableStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MDataStd_VariableStorageDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: Variable from TDataStd. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDataStd_VariableStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDataStd_VariableStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDataStd_VariableStorageDriver.ixx b/src/FromOCCT/TKPLCAF/MDataStd_VariableStorageDriver.ixx new file mode 100644 index 000000000..193bbe7c6 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_VariableStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDataStd_VariableStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDataStd_VariableStorageDriver) + + +IMPLEMENT_DOWNCAST(MDataStd_VariableStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDataStd_VariableStorageDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDataStd_VariableStorageDriver.jxx b/src/FromOCCT/TKPLCAF/MDataStd_VariableStorageDriver.jxx new file mode 100644 index 000000000..f6b07c798 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDataStd_VariableStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDocStd.cxx b/src/FromOCCT/TKPLCAF/MDocStd.cxx new file mode 100644 index 000000000..bbc1cc74f --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDocStd.cxx @@ -0,0 +1,198 @@ +// 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 +#include +#include +#include +#include +#include +#include +#include +static Standard_GUID StandardStorageDriver ("ad696000-5b34-11d1-b5ba-00a0c9064368"); +static Standard_GUID StandardRetrievalDriver ("ad696001-5b34-11d1-b5ba-00a0c9064368"); + +/* ======= not used functionality ====== +//#include +//#include +//#include +//#include +//#include +//#include +//#include +//#include +//#include +//#include +//#include +//#include +//#include +//#include +//#include +//#include +//#include +//#include +//#include +//#include +//======================================================================= +//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: "<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/FromOCCT/TKPLCAF/MDocStd.hxx b/src/FromOCCT/TKPLCAF/MDocStd.hxx new file mode 100644 index 000000000..aca63ad12 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDocStd.hxx @@ -0,0 +1,73 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDocStd_HeaderFile +#define _MDocStd_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class MDF_ASDriverHSequence; +class CDM_MessageDriver; +class MDF_ARDriverHSequence; +class Standard_Transient; +class Standard_GUID; +class MDocStd_DocumentStorageDriver; +class MDocStd_DocumentRetrievalDriver; +class MDocStd_XLinkStorageDriver; +class MDocStd_XLinkRetrievalDriver; + + +//! Drivers for TDocStd_Document +class MDocStd +{ +public: + + DEFINE_STANDARD_ALLOC + + + //! Adds the attribute storage driver(s) to . + Standard_EXPORT static void AddStorageDrivers (const Handle(MDF_ASDriverHSequence)& aDriverSeq, const Handle(CDM_MessageDriver)& theMessageDriver) ; + + //! Adds the attribute retrieval driver(s) to . + //! Factory method + //! ============== + Standard_EXPORT static void AddRetrievalDrivers (const Handle(MDF_ARDriverHSequence)& aDriverSeq, const Handle(CDM_MessageDriver)& theMessageDriver) ; + + Standard_EXPORT static Handle(Standard_Transient) Factory (const Standard_GUID& aGUID) ; + + + + +protected: + + + + + +private: + + + + +friend class MDocStd_DocumentStorageDriver; +friend class MDocStd_DocumentRetrievalDriver; +friend class MDocStd_XLinkStorageDriver; +friend class MDocStd_XLinkRetrievalDriver; + +}; + + + + + + + +#endif // _MDocStd_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDocStd.ixx b/src/FromOCCT/TKPLCAF/MDocStd.ixx new file mode 100644 index 000000000..69f05e9cd --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDocStd.ixx @@ -0,0 +1,10 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + + + + diff --git a/src/FromOCCT/TKPLCAF/MDocStd.jxx b/src/FromOCCT/TKPLCAF/MDocStd.jxx new file mode 100644 index 000000000..6c598b6ad --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDocStd.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDocStd_DocumentRetrievalDriver.cxx b/src/FromOCCT/TKPLCAF/MDocStd_DocumentRetrievalDriver.cxx new file mode 100644 index 000000000..a94272499 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDocStd_DocumentRetrievalDriver.cxx @@ -0,0 +1,152 @@ +// Copyright (c) 1999-2014 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include + +#include +#include + + +//======================================================================= +//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/FromOCCT/TKPLCAF/MDocStd_DocumentRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/MDocStd_DocumentRetrievalDriver.hxx new file mode 100644 index 000000000..7370f3da8 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDocStd_DocumentRetrievalDriver.hxx @@ -0,0 +1,79 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDocStd_DocumentRetrievalDriver_HeaderFile +#define _MDocStd_DocumentRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +class MDF_ARDriverTable; +class PDocStd_Document; +class TDocStd_Document; +class MDF_RRelocationTable; +class PCDM_Document; +class CDM_Document; +class TCollection_ExtendedString; +class CDM_MessageDriver; + + +//! retrieval driver of a standard document +class MDocStd_DocumentRetrievalDriver : public PCDM_RetrievalDriver +{ + +public: + + + Standard_EXPORT MDocStd_DocumentRetrievalDriver(); + + //! deferred methods of RetrievalDriver from PCDM + //! ============================================= + Standard_EXPORT void Paste (const Handle(PDocStd_Document)& PDOC, const Handle(TDocStd_Document)& TDOC, const Handle(MDF_RRelocationTable)& aReloc) ; + + //! virtual methods (may be redefined by specialized application) + //! ============================================================= + Standard_EXPORT void Make (const Handle(PCDM_Document)& aPCDM, const Handle(CDM_Document)& aCDM) ; + + Standard_EXPORT virtual TCollection_ExtendedString SchemaName() const; + + //! returns an empty TDocStd_Document. may be redefined; + Standard_EXPORT virtual Handle(CDM_Document) CreateDocument() ; + + Standard_EXPORT virtual Handle(MDF_ARDriverTable) AttributeDrivers (const Handle(CDM_MessageDriver)& theMessageDriver) ; + + + + + DEFINE_STANDARD_RTTI(MDocStd_DocumentRetrievalDriver) + +protected: + + + + +private: + + + Handle(MDF_ARDriverTable) myDrivers; + + +}; + + + + + + + +#endif // _MDocStd_DocumentRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDocStd_DocumentRetrievalDriver.ixx b/src/FromOCCT/TKPLCAF/MDocStd_DocumentRetrievalDriver.ixx new file mode 100644 index 000000000..73a5240f0 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDocStd_DocumentRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDocStd_DocumentRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(PCDM_RetrievalDriver), + STANDARD_TYPE(PCDM_Reader), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDocStd_DocumentRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MDocStd_DocumentRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDocStd_DocumentRetrievalDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDocStd_DocumentRetrievalDriver.jxx b/src/FromOCCT/TKPLCAF/MDocStd_DocumentRetrievalDriver.jxx new file mode 100644 index 000000000..3624c1fd0 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDocStd_DocumentRetrievalDriver.jxx @@ -0,0 +1,9 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDocStd_DocumentStorageDriver.cxx b/src/FromOCCT/TKPLCAF/MDocStd_DocumentStorageDriver.cxx new file mode 100644 index 000000000..a5a1104d6 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDocStd_DocumentStorageDriver.cxx @@ -0,0 +1,141 @@ +// Copyright (c) 1999-2014 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + +#include + +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include + + +#include +#include + + +//======================================================================= +//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/FromOCCT/TKPLCAF/MDocStd_DocumentStorageDriver.hxx b/src/FromOCCT/TKPLCAF/MDocStd_DocumentStorageDriver.hxx new file mode 100644 index 000000000..59da08a94 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDocStd_DocumentStorageDriver.hxx @@ -0,0 +1,79 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDocStd_DocumentStorageDriver_HeaderFile +#define _MDocStd_DocumentStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +class MDF_ASDriverTable; +class PCDM_Document; +class TDocStd_Document; +class PDocStd_Document; +class MDF_SRelocationTable; +class CDM_Document; +class TCollection_ExtendedString; +class CDM_MessageDriver; + + +//! storage driver for a standard document +class MDocStd_DocumentStorageDriver : public PCDM_StorageDriver +{ + +public: + + + Standard_EXPORT MDocStd_DocumentStorageDriver(); + + //! returns an empty PDocStd_Document. may be redefined; + Standard_EXPORT virtual Handle(PCDM_Document) CreateDocument() ; + + //! virtual methods of StorageDriver from PCDM + //! ============================================ + Standard_EXPORT void Paste (const Handle(TDocStd_Document)& TDOC, const Handle(PDocStd_Document)& PDOC, const Handle(MDF_SRelocationTable)& aReloc) ; + + //! virtual methods (may be redefined by specialized application) + //! ============================================================= + Standard_EXPORT virtual Handle(PCDM_Document) Make (const Handle(CDM_Document)& aDocument) ; + + Standard_EXPORT virtual TCollection_ExtendedString SchemaName() const; + + Standard_EXPORT virtual Handle(MDF_ASDriverTable) AttributeDrivers (const Handle(CDM_MessageDriver)& theMessageDriver) ; + + + + + DEFINE_STANDARD_RTTI(MDocStd_DocumentStorageDriver) + +protected: + + + + +private: + + + Handle(MDF_ASDriverTable) myDrivers; + + +}; + + + + + + + +#endif // _MDocStd_DocumentStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDocStd_DocumentStorageDriver.ixx b/src/FromOCCT/TKPLCAF/MDocStd_DocumentStorageDriver.ixx new file mode 100644 index 000000000..b89a0f5f3 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDocStd_DocumentStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDocStd_DocumentStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(PCDM_StorageDriver), + STANDARD_TYPE(PCDM_Writer), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDocStd_DocumentStorageDriver) + + +IMPLEMENT_DOWNCAST(MDocStd_DocumentStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDocStd_DocumentStorageDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDocStd_DocumentStorageDriver.jxx b/src/FromOCCT/TKPLCAF/MDocStd_DocumentStorageDriver.jxx new file mode 100644 index 000000000..b33385cd9 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDocStd_DocumentStorageDriver.jxx @@ -0,0 +1,9 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDocStd_XLinkRetrievalDriver.cxx b/src/FromOCCT/TKPLCAF/MDocStd_XLinkRetrievalDriver.cxx new file mode 100644 index 000000000..1c9ee84d4 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDocStd_XLinkRetrievalDriver.cxx @@ -0,0 +1,87 @@ +// 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 +#include +#include +#include +#include +#include + +#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/FromOCCT/TKPLCAF/MDocStd_XLinkRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/MDocStd_XLinkRetrievalDriver.hxx new file mode 100644 index 000000000..c45d023ad --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDocStd_XLinkRetrievalDriver.hxx @@ -0,0 +1,71 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDocStd_XLinkRetrievalDriver_HeaderFile +#define _MDocStd_XLinkRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + +//! Tool used to translate a persistent XLink into a +//! transient one. +class MDocStd_XLinkRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MDocStd_XLinkRetrievalDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type XLink from PXref. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& aSource, const Handle(TDF_Attribute)& aTarget, const Handle(MDF_RRelocationTable)& aRelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDocStd_XLinkRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDocStd_XLinkRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDocStd_XLinkRetrievalDriver.ixx b/src/FromOCCT/TKPLCAF/MDocStd_XLinkRetrievalDriver.ixx new file mode 100644 index 000000000..c939e1f5b --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDocStd_XLinkRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDocStd_XLinkRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDocStd_XLinkRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MDocStd_XLinkRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDocStd_XLinkRetrievalDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDocStd_XLinkRetrievalDriver.jxx b/src/FromOCCT/TKPLCAF/MDocStd_XLinkRetrievalDriver.jxx new file mode 100644 index 000000000..48eabf236 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDocStd_XLinkRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MDocStd_XLinkStorageDriver.cxx b/src/FromOCCT/TKPLCAF/MDocStd_XLinkStorageDriver.cxx new file mode 100644 index 000000000..b3b7d832a --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDocStd_XLinkStorageDriver.cxx @@ -0,0 +1,89 @@ +// 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 + +#include +#include +#include +#include +#include +#include + +#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/FromOCCT/TKPLCAF/MDocStd_XLinkStorageDriver.hxx b/src/FromOCCT/TKPLCAF/MDocStd_XLinkStorageDriver.hxx new file mode 100644 index 000000000..e147fd0d4 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDocStd_XLinkStorageDriver.hxx @@ -0,0 +1,71 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MDocStd_XLinkStorageDriver_HeaderFile +#define _MDocStd_XLinkStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + +//! Tool used to translate a transient XLink into a +//! persistent one. +class MDocStd_XLinkStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MDocStd_XLinkStorageDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: XLink from TXLink. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& aSource, const Handle(PDF_Attribute)& aTarget, const Handle(MDF_SRelocationTable)& aRelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MDocStd_XLinkStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MDocStd_XLinkStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MDocStd_XLinkStorageDriver.ixx b/src/FromOCCT/TKPLCAF/MDocStd_XLinkStorageDriver.ixx new file mode 100644 index 000000000..6000dfdff --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDocStd_XLinkStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MDocStd_XLinkStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MDocStd_XLinkStorageDriver) + + +IMPLEMENT_DOWNCAST(MDocStd_XLinkStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MDocStd_XLinkStorageDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MDocStd_XLinkStorageDriver.jxx b/src/FromOCCT/TKPLCAF/MDocStd_XLinkStorageDriver.jxx new file mode 100644 index 000000000..2cf0de9b9 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MDocStd_XLinkStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MFunction.cxx b/src/FromOCCT/TKPLCAF/MFunction.cxx new file mode 100644 index 000000000..76e7fc737 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MFunction.cxx @@ -0,0 +1,44 @@ +// 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 + +#include +#include +#include +#include +#include + + +//======================================================================= +//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/FromOCCT/TKPLCAF/MFunction.hxx b/src/FromOCCT/TKPLCAF/MFunction.hxx new file mode 100644 index 000000000..d6ca07fdf --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MFunction.hxx @@ -0,0 +1,62 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MFunction_HeaderFile +#define _MFunction_HeaderFile + +#include +#include +#include + +#include +#include +#include +class MDF_ASDriverHSequence; +class CDM_MessageDriver; +class MDF_ARDriverHSequence; +class MFunction_FunctionStorageDriver; +class MFunction_FunctionRetrievalDriver; + + + +class MFunction +{ +public: + + DEFINE_STANDARD_ALLOC + + + //! Adds the function storage driver to . + Standard_EXPORT static void AddStorageDrivers (const Handle(MDF_ASDriverHSequence)& aDriverSeq, const Handle(CDM_MessageDriver)& theMessageDriver) ; + + //! Adds the function retrieval driver to . + Standard_EXPORT static void AddRetrievalDrivers (const Handle(MDF_ARDriverHSequence)& aDriverSeq, const Handle(CDM_MessageDriver)& theMessageDriver) ; + + + + +protected: + + + + + +private: + + + + +friend class MFunction_FunctionStorageDriver; +friend class MFunction_FunctionRetrievalDriver; + +}; + + + + + + + +#endif // _MFunction_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MFunction.ixx b/src/FromOCCT/TKPLCAF/MFunction.ixx new file mode 100644 index 000000000..33a4ebaf1 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MFunction.ixx @@ -0,0 +1,10 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + + + + diff --git a/src/FromOCCT/TKPLCAF/MFunction.jxx b/src/FromOCCT/TKPLCAF/MFunction.jxx new file mode 100644 index 000000000..5c411c4f8 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MFunction.jxx @@ -0,0 +1,4 @@ +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MFunction_FunctionRetrievalDriver.cxx b/src/FromOCCT/TKPLCAF/MFunction_FunctionRetrievalDriver.cxx new file mode 100644 index 000000000..faaee99cb --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MFunction_FunctionRetrievalDriver.cxx @@ -0,0 +1,45 @@ +// 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 + +#include +#include +#include +#include + +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/FromOCCT/TKPLCAF/MFunction_FunctionRetrievalDriver.hxx b/src/FromOCCT/TKPLCAF/MFunction_FunctionRetrievalDriver.hxx new file mode 100644 index 000000000..b37cd968d --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MFunction_FunctionRetrievalDriver.hxx @@ -0,0 +1,69 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MFunction_FunctionRetrievalDriver_HeaderFile +#define _MFunction_FunctionRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MFunction_FunctionRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MFunction_FunctionRetrievalDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MFunction_FunctionRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MFunction_FunctionRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MFunction_FunctionRetrievalDriver.ixx b/src/FromOCCT/TKPLCAF/MFunction_FunctionRetrievalDriver.ixx new file mode 100644 index 000000000..a30726aaa --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MFunction_FunctionRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MFunction_FunctionRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MFunction_FunctionRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MFunction_FunctionRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MFunction_FunctionRetrievalDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MFunction_FunctionRetrievalDriver.jxx b/src/FromOCCT/TKPLCAF/MFunction_FunctionRetrievalDriver.jxx new file mode 100644 index 000000000..1a3dc8be7 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MFunction_FunctionRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/MFunction_FunctionStorageDriver.cxx b/src/FromOCCT/TKPLCAF/MFunction_FunctionStorageDriver.cxx new file mode 100644 index 000000000..b484cda64 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MFunction_FunctionStorageDriver.cxx @@ -0,0 +1,45 @@ +// 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 + +#include +#include +#include +#include + +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/FromOCCT/TKPLCAF/MFunction_FunctionStorageDriver.hxx b/src/FromOCCT/TKPLCAF/MFunction_FunctionStorageDriver.hxx new file mode 100644 index 000000000..18db9a53f --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MFunction_FunctionStorageDriver.hxx @@ -0,0 +1,69 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MFunction_FunctionStorageDriver_HeaderFile +#define _MFunction_FunctionStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + + +class MFunction_FunctionStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MFunction_FunctionStorageDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MFunction_FunctionStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MFunction_FunctionStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/MFunction_FunctionStorageDriver.ixx b/src/FromOCCT/TKPLCAF/MFunction_FunctionStorageDriver.ixx new file mode 100644 index 000000000..7abafb58d --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MFunction_FunctionStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MFunction_FunctionStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MFunction_FunctionStorageDriver) + + +IMPLEMENT_DOWNCAST(MFunction_FunctionStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MFunction_FunctionStorageDriver) + + + diff --git a/src/FromOCCT/TKPLCAF/MFunction_FunctionStorageDriver.jxx b/src/FromOCCT/TKPLCAF/MFunction_FunctionStorageDriver.jxx new file mode 100644 index 000000000..23b349157 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/MFunction_FunctionStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/PDF_Attribute.cxx b/src/FromOCCT/TKPLCAF/PDF_Attribute.cxx new file mode 100644 index 000000000..f96576f57 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDF_Attribute.cxx @@ -0,0 +1,24 @@ +// 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 diff --git a/src/FromOCCT/TKPLCAF/PDF_Attribute.hxx b/src/FromOCCT/TKPLCAF/PDF_Attribute.hxx new file mode 100644 index 000000000..9baa28978 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDF_Attribute.hxx @@ -0,0 +1,54 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDF_Attribute_HeaderFile +#define _PDF_Attribute_HeaderFile + +#include +#include +#include +#include + +#include + + +class PDF_Attribute : public Standard_Persistent +{ + +public: + + +PDF_Attribute(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} +PDF_Attribute( ) +{ + +} + + + + DEFINE_STANDARD_RTTI(PDF_Attribute) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PDF_Attribute_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDF_Attribute.ixx b/src/FromOCCT/TKPLCAF/PDF_Attribute.ixx new file mode 100644 index 000000000..3048e49c0 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDF_Attribute.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PDF_Attribute,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDF_Attribute) + + + diff --git a/src/FromOCCT/TKPLCAF/PDF_Attribute.jxx b/src/FromOCCT/TKPLCAF/PDF_Attribute.jxx new file mode 100644 index 000000000..0a21cfb19 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDF_Attribute.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKPLCAF/PDF_Data.cxx b/src/FromOCCT/TKPLCAF/PDF_Data.cxx new file mode 100644 index 000000000..3fa1f2589 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDF_Data.cxx @@ -0,0 +1,44 @@ +// 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 + + +//======================================================================= +//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/FromOCCT/TKPLCAF/PDF_Data.hxx b/src/FromOCCT/TKPLCAF/PDF_Data.hxx new file mode 100644 index 000000000..34fd8cd9d --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDF_Data.hxx @@ -0,0 +1,84 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDF_Data_HeaderFile +#define _PDF_Data_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +class PColStd_HArray1OfInteger; +class PDF_HAttributeArray1; + + +class PDF_Data : public Standard_Persistent +{ + +public: + + + Standard_EXPORT PDF_Data(); + + Standard_EXPORT PDF_Data(const Standard_Integer aVersionNumber); + + //! Returns the value of the field . + Standard_Integer VersionNumber() const; + + //! Sets the field with . + void Labels (const Handle(PColStd_HArray1OfInteger)& theLabels) ; + + //! Returns the value of the field . + Handle(PColStd_HArray1OfInteger) Labels() const; + + //! Sets the field with . + void Attributes (const Handle(PDF_HAttributeArray1)& theAttributes) ; + + //! Returns the value of the field . + Handle(PDF_HAttributeArray1) Attributes() const; + +PDF_Data(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Standard_Integer _CSFDB_GetPDF_DatamyVersion() const { return myVersion; } + void _CSFDB_SetPDF_DatamyVersion(const Standard_Integer p) { myVersion = p; } + Handle(PColStd_HArray1OfInteger) _CSFDB_GetPDF_DatamyLabels() const { return myLabels; } + void _CSFDB_SetPDF_DatamyLabels(const Handle(PColStd_HArray1OfInteger)& p) { myLabels = p; } + Handle(PDF_HAttributeArray1) _CSFDB_GetPDF_DatamyAttributes() const { return myAttributes; } + void _CSFDB_SetPDF_DatamyAttributes(const Handle(PDF_HAttributeArray1)& p) { myAttributes = p; } + + + + DEFINE_STANDARD_RTTI(PDF_Data) + +protected: + + + + +private: + + + Standard_Integer myVersion; + Handle(PColStd_HArray1OfInteger) myLabels; + Handle(PDF_HAttributeArray1) myAttributes; + + +}; + + +#include + + + + + +#endif // _PDF_Data_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDF_Data.ixx b/src/FromOCCT/TKPLCAF/PDF_Data.ixx new file mode 100644 index 000000000..6bd5cad25 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDF_Data.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PDF_Data,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDF_Data) + + + diff --git a/src/FromOCCT/TKPLCAF/PDF_Data.jxx b/src/FromOCCT/TKPLCAF/PDF_Data.jxx new file mode 100644 index 000000000..87cb91aba --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDF_Data.jxx @@ -0,0 +1,3 @@ +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/PDF_Data.lxx b/src/FromOCCT/TKPLCAF/PDF_Data.lxx new file mode 100644 index 000000000..0e719bf1b --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDF_Data.lxx @@ -0,0 +1,37 @@ +// 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/FromOCCT/TKPLCAF/PDF_FieldOfHAttributeArray1.hxx b/src/FromOCCT/TKPLCAF/PDF_FieldOfHAttributeArray1.hxx new file mode 100644 index 000000000..98ce8c35a --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDF_FieldOfHAttributeArray1.hxx @@ -0,0 +1,91 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDF_FieldOfHAttributeArray1_HeaderFile +#define _PDF_FieldOfHAttributeArray1_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +class Standard_NegativeValue; +class Standard_OutOfRange; +class Standard_DimensionMismatch; +class Standard_NullObject; +class PDF_Attribute; +class PDF_VArrayNodeOfFieldOfHAttributeArray1; +class PDF_VArrayTNodeOfFieldOfHAttributeArray1; + + + +Standard_EXPORT const Handle(Standard_Type)& STANDARD_TYPE(PDF_FieldOfHAttributeArray1); + + +class PDF_FieldOfHAttributeArray1 : public DBC_BaseArray +{ + +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT PDF_FieldOfHAttributeArray1(); + + Standard_EXPORT PDF_FieldOfHAttributeArray1(const Standard_Integer Size); + + Standard_EXPORT PDF_FieldOfHAttributeArray1(const PDF_FieldOfHAttributeArray1& Varray); + + Standard_EXPORT void Resize (const Standard_Integer Size) ; + + Standard_EXPORT void Assign (const PDF_FieldOfHAttributeArray1& Other) ; + void operator = (const PDF_FieldOfHAttributeArray1& Other) +{ + Assign(Other); +} + + Standard_EXPORT void SetValue (const Standard_Integer Index, const Handle(PDF_Attribute)& Value) ; + + Standard_EXPORT Handle(PDF_Attribute)& Value (const Standard_Integer Index) const; + Handle(PDF_Attribute)& operator () (const Standard_Integer Index) const +{ + return Value(Index); +} + + Standard_EXPORT void Destroy() ; +~PDF_FieldOfHAttributeArray1() +{ + Destroy(); +} + + + +protected: + + + + +private: + +#ifdef CSFDB +// DBC_VArray : field +// +#endif + + + +}; + + + + + + + +#endif // _PDF_FieldOfHAttributeArray1_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDF_FieldOfHAttributeArray1_0.cxx b/src/FromOCCT/TKPLCAF/PDF_FieldOfHAttributeArray1_0.cxx new file mode 100644 index 000000000..d4be5a3c9 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDF_FieldOfHAttributeArray1_0.cxx @@ -0,0 +1,27 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include +#include + +#define Item Handle(PDF_Attribute) +#define Item_hxx +#define DBC_VArrayNode PDF_VArrayNodeOfFieldOfHAttributeArray1 +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PDF_VArrayTNodeOfFieldOfHAttributeArray1 +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PDF_VArrayNodeOfFieldOfHAttributeArray1 +#define DBC_VArrayNode_Type_() PDF_VArrayNodeOfFieldOfHAttributeArray1_Type_() +#define DBC_VArray PDF_FieldOfHAttributeArray1 +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPLCAF/PDF_HAttributeArray1.hxx b/src/FromOCCT/TKPLCAF/PDF_HAttributeArray1.hxx new file mode 100644 index 000000000..1b8df306e --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDF_HAttributeArray1.hxx @@ -0,0 +1,132 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDF_HAttributeArray1_HeaderFile +#define _PDF_HAttributeArray1_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class PDF_Attribute; +class Standard_OutOfRange; +class Standard_RangeError; +class PDF_FieldOfHAttributeArray1; +class PDF_VArrayNodeOfFieldOfHAttributeArray1; +class PDF_VArrayTNodeOfFieldOfHAttributeArray1; + + +class PDF_HAttributeArray1 : public Standard_Persistent +{ + +public: + + + Standard_EXPORT PDF_HAttributeArray1(const Standard_Integer Low, const Standard_Integer Up); + + Standard_EXPORT PDF_HAttributeArray1(const Standard_Integer Low, const Standard_Integer Up, const Handle(PDF_Attribute)& V); + + Standard_Integer Length() const; + + Standard_Integer Lower() const; + + Standard_EXPORT void SetValue (const Standard_Integer Index, const Handle(PDF_Attribute)& Value) ; + + Standard_Integer Upper() const; + + Standard_EXPORT Handle(PDF_Attribute) Value (const Standard_Integer Index) const; + +PDF_HAttributeArray1( ) +{ + +} +PDF_HAttributeArray1(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Standard_Integer _CSFDB_GetPDF_HAttributeArray1LowerBound() const { return LowerBound; } + void _CSFDB_SetPDF_HAttributeArray1LowerBound(const Standard_Integer p) { LowerBound = p; } + Standard_Integer _CSFDB_GetPDF_HAttributeArray1UpperBound() const { return UpperBound; } + void _CSFDB_SetPDF_HAttributeArray1UpperBound(const Standard_Integer p) { UpperBound = p; } + const PDF_FieldOfHAttributeArray1& _CSFDB_GetPDF_HAttributeArray1Data() const { return Data; } + + + + DEFINE_STANDARD_RTTI(PDF_HAttributeArray1) + +protected: + + + + +private: + + + Standard_EXPORT PDF_FieldOfHAttributeArray1 Field() const; + + Standard_EXPORT Standard_Address Datas() const; + + Standard_Integer LowerBound; + Standard_Integer UpperBound; + PDF_FieldOfHAttributeArray1 Data; + + +}; + +#define Item Handle(PDF_Attribute) +#define Item_hxx +#define PCollection_FieldOfHArray1 PDF_FieldOfHAttributeArray1 +#define PCollection_FieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PDF_VArrayNodeOfFieldOfHAttributeArray1 +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PDF_VArrayTNodeOfFieldOfHAttributeArray1 +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PDF_VArrayNodeOfFieldOfHAttributeArray1 +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PDF_VArrayTNodeOfFieldOfHAttributeArray1 +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PDF_VArrayNodeOfFieldOfHAttributeArray1 +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PDF_VArrayNodeOfFieldOfHAttributeArray1_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PDF_VArrayNodeOfFieldOfHAttributeArray1 +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PDF_VArrayNodeOfFieldOfHAttributeArray1_Type_() +#define PCollection_HArray1 PDF_HAttributeArray1 +#define PCollection_HArray1_hxx +#define Handle_PCollection_HArray1 Handle_PDF_HAttributeArray1 +#define PCollection_HArray1_Type_() PDF_HAttributeArray1_Type_() + +#include + +#undef Item +#undef Item_hxx +#undef PCollection_FieldOfHArray1 +#undef PCollection_FieldOfHArray1_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray1 +#undef PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray1 +#undef PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_Type_ +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_Type_ +#undef PCollection_HArray1 +#undef PCollection_HArray1_hxx +#undef Handle_PCollection_HArray1 +#undef PCollection_HArray1_Type_ + + + + +#endif // _PDF_HAttributeArray1_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDF_HAttributeArray1_0.cxx b/src/FromOCCT/TKPLCAF/PDF_HAttributeArray1_0.cxx new file mode 100644 index 000000000..42b59a6b0 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDF_HAttributeArray1_0.cxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PDF_HAttributeArray1,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDF_HAttributeArray1) + + +#define Item Handle(PDF_Attribute) +#define Item_hxx +#define PCollection_FieldOfHArray1 PDF_FieldOfHAttributeArray1 +#define PCollection_FieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PDF_VArrayNodeOfFieldOfHAttributeArray1 +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PDF_VArrayTNodeOfFieldOfHAttributeArray1 +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PDF_VArrayNodeOfFieldOfHAttributeArray1 +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PDF_VArrayTNodeOfFieldOfHAttributeArray1 +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PDF_VArrayNodeOfFieldOfHAttributeArray1 +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PDF_VArrayNodeOfFieldOfHAttributeArray1_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PDF_VArrayNodeOfFieldOfHAttributeArray1 +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PDF_VArrayNodeOfFieldOfHAttributeArray1_Type_() +#define PCollection_HArray1 PDF_HAttributeArray1 +#define PCollection_HArray1_hxx +#define Handle_PCollection_HArray1 Handle_PDF_HAttributeArray1 +#define PCollection_HArray1_Type_() PDF_HAttributeArray1_Type_() +#include + diff --git a/src/FromOCCT/TKPLCAF/PDF_Reference.cxx b/src/FromOCCT/TKPLCAF/PDF_Reference.cxx new file mode 100644 index 000000000..cf2dff264 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDF_Reference.cxx @@ -0,0 +1,29 @@ +// 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::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/FromOCCT/TKPLCAF/PDF_Reference.hxx b/src/FromOCCT/TKPLCAF/PDF_Reference.hxx new file mode 100644 index 000000000..00360d366 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDF_Reference.hxx @@ -0,0 +1,63 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDF_Reference_HeaderFile +#define _PDF_Reference_HeaderFile + +#include +#include +#include +#include + +#include +#include +class PCollection_HAsciiString; + + +class PDF_Reference : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PDF_Reference(); + + Standard_EXPORT PDF_Reference(const Handle(PCollection_HAsciiString)& V); + + Standard_EXPORT Handle(PCollection_HAsciiString) ReferencedLabel() const; + + Standard_EXPORT void ReferencedLabel (const Handle(PCollection_HAsciiString)& V) ; + +PDF_Reference(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + Handle(PCollection_HAsciiString) _CSFDB_GetPDF_ReferencemyValue() const { return myValue; } + void _CSFDB_SetPDF_ReferencemyValue(const Handle(PCollection_HAsciiString)& p) { myValue = p; } + + + + DEFINE_STANDARD_RTTI(PDF_Reference) + +protected: + + + + +private: + + + Handle(PCollection_HAsciiString) myValue; + + +}; + + + + + + + +#endif // _PDF_Reference_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDF_Reference.ixx b/src/FromOCCT/TKPLCAF/PDF_Reference.ixx new file mode 100644 index 000000000..6313ebc70 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDF_Reference.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PDF_Reference,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDF_Reference) + + + diff --git a/src/FromOCCT/TKPLCAF/PDF_Reference.jxx b/src/FromOCCT/TKPLCAF/PDF_Reference.jxx new file mode 100644 index 000000000..1223191e2 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDF_Reference.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPLCAF/PDF_TagSource.cxx b/src/FromOCCT/TKPLCAF/PDF_TagSource.cxx new file mode 100644 index 000000000..1ba80da3f --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDF_TagSource.cxx @@ -0,0 +1,26 @@ +// Copyright (c) 1999-2014 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the 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::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/FromOCCT/TKPLCAF/PDF_TagSource.hxx b/src/FromOCCT/TKPLCAF/PDF_TagSource.hxx new file mode 100644 index 000000000..fa71c9526 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDF_TagSource.hxx @@ -0,0 +1,62 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDF_TagSource_HeaderFile +#define _PDF_TagSource_HeaderFile + +#include +#include +#include +#include + +#include +#include + + +class PDF_TagSource : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PDF_TagSource(); + + Standard_EXPORT PDF_TagSource(const Standard_Integer V); + + Standard_EXPORT Standard_Integer Get() const; + + Standard_EXPORT void Set (const Standard_Integer V) ; + +PDF_TagSource(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + Standard_Integer _CSFDB_GetPDF_TagSourcemyValue() const { return myValue; } + void _CSFDB_SetPDF_TagSourcemyValue(const Standard_Integer p) { myValue = p; } + + + + DEFINE_STANDARD_RTTI(PDF_TagSource) + +protected: + + + + +private: + + + Standard_Integer myValue; + + +}; + + + + + + + +#endif // _PDF_TagSource_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDF_TagSource.ixx b/src/FromOCCT/TKPLCAF/PDF_TagSource.ixx new file mode 100644 index 000000000..3959b69d1 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDF_TagSource.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PDF_TagSource,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDF_TagSource) + + + diff --git a/src/FromOCCT/TKPLCAF/PDF_TagSource.jxx b/src/FromOCCT/TKPLCAF/PDF_TagSource.jxx new file mode 100644 index 000000000..e5a0162a6 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDF_TagSource.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKPLCAF/PDF_VArrayNodeOfFieldOfHAttributeArray1.hxx b/src/FromOCCT/TKPLCAF/PDF_VArrayNodeOfFieldOfHAttributeArray1.hxx new file mode 100644 index 000000000..4eec9a8f4 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDF_VArrayNodeOfFieldOfHAttributeArray1.hxx @@ -0,0 +1,66 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDF_VArrayNodeOfFieldOfHAttributeArray1_HeaderFile +#define _PDF_VArrayNodeOfFieldOfHAttributeArray1_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class PDF_Attribute; +class PDF_FieldOfHAttributeArray1; +class PDF_VArrayTNodeOfFieldOfHAttributeArray1; + + +class PDF_VArrayNodeOfFieldOfHAttributeArray1 : public PStandard_ArrayNode +{ + +public: + + + Standard_EXPORT PDF_VArrayNodeOfFieldOfHAttributeArray1(); + + Standard_EXPORT PDF_VArrayNodeOfFieldOfHAttributeArray1(const Handle(PDF_Attribute)& aValue); + + Standard_EXPORT void SetValue (const Handle(PDF_Attribute)& aValue) ; + + Standard_EXPORT Standard_Address Value() const; + +PDF_VArrayNodeOfFieldOfHAttributeArray1(const Storage_stCONSTclCOM& a) : PStandard_ArrayNode(a) +{ + +} + Handle(PDF_Attribute) _CSFDB_GetPDF_VArrayNodeOfFieldOfHAttributeArray1myValue() const { return myValue; } + void _CSFDB_SetPDF_VArrayNodeOfFieldOfHAttributeArray1myValue(const Handle(PDF_Attribute)& p) { myValue = p; } + + + + DEFINE_STANDARD_RTTI(PDF_VArrayNodeOfFieldOfHAttributeArray1) + +protected: + + + + +private: + + + Handle(PDF_Attribute) myValue; + + +}; + + + + + + + +#endif // _PDF_VArrayNodeOfFieldOfHAttributeArray1_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDF_VArrayNodeOfFieldOfHAttributeArray1_0.cxx b/src/FromOCCT/TKPLCAF/PDF_VArrayNodeOfFieldOfHAttributeArray1_0.cxx new file mode 100644 index 000000000..a91e3e2e5 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDF_VArrayNodeOfFieldOfHAttributeArray1_0.cxx @@ -0,0 +1,30 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PDF_VArrayNodeOfFieldOfHAttributeArray1,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDF_VArrayNodeOfFieldOfHAttributeArray1) + + +#define Item Handle(PDF_Attribute) +#define Item_hxx +#define DBC_VArrayNode PDF_VArrayNodeOfFieldOfHAttributeArray1 +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PDF_VArrayTNodeOfFieldOfHAttributeArray1 +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PDF_VArrayNodeOfFieldOfHAttributeArray1 +#define DBC_VArrayNode_Type_() PDF_VArrayNodeOfFieldOfHAttributeArray1_Type_() +#define DBC_VArray PDF_FieldOfHAttributeArray1 +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPLCAF/PDF_VArrayTNodeOfFieldOfHAttributeArray1.hxx b/src/FromOCCT/TKPLCAF/PDF_VArrayTNodeOfFieldOfHAttributeArray1.hxx new file mode 100644 index 000000000..44c582ba2 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDF_VArrayTNodeOfFieldOfHAttributeArray1.hxx @@ -0,0 +1,82 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDF_VArrayTNodeOfFieldOfHAttributeArray1_HeaderFile +#define _PDF_VArrayTNodeOfFieldOfHAttributeArray1_HeaderFile + +#include +#include +#include + +#include +#include +#include +class PDF_Attribute; +class PDF_FieldOfHAttributeArray1; +class PDF_VArrayNodeOfFieldOfHAttributeArray1; + + + +class PDF_VArrayTNodeOfFieldOfHAttributeArray1 +{ +public: + + DEFINE_STANDARD_ALLOC + + + PDF_VArrayTNodeOfFieldOfHAttributeArray1(); + + PDF_VArrayTNodeOfFieldOfHAttributeArray1(const Handle(PDF_Attribute)& aValue); + + void SetValue (const Handle(PDF_Attribute)& aValue) ; + + Standard_Address Value() const; + + + + +protected: + + + + + +private: + + + + Handle(PDF_Attribute) myValue; + + +}; + +#define Item Handle(PDF_Attribute) +#define Item_hxx +#define DBC_VArrayNode PDF_VArrayNodeOfFieldOfHAttributeArray1 +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PDF_VArrayTNodeOfFieldOfHAttributeArray1 +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PDF_VArrayNodeOfFieldOfHAttributeArray1 +#define DBC_VArrayNode_Type_() PDF_VArrayNodeOfFieldOfHAttributeArray1_Type_() +#define DBC_VArray PDF_FieldOfHAttributeArray1 +#define DBC_VArray_hxx + +#include + +#undef Item +#undef Item_hxx +#undef DBC_VArrayNode +#undef DBC_VArrayNode_hxx +#undef DBC_VArrayTNode +#undef DBC_VArrayTNode_hxx +#undef Handle_DBC_VArrayNode +#undef DBC_VArrayNode_Type_ +#undef DBC_VArray +#undef DBC_VArray_hxx + + + + +#endif // _PDF_VArrayTNodeOfFieldOfHAttributeArray1_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDF_VArrayTNodeOfFieldOfHAttributeArray1_0.cxx b/src/FromOCCT/TKPLCAF/PDF_VArrayTNodeOfFieldOfHAttributeArray1_0.cxx new file mode 100644 index 000000000..b1a498ed1 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDF_VArrayTNodeOfFieldOfHAttributeArray1_0.cxx @@ -0,0 +1,24 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + +#define Item Handle(PDF_Attribute) +#define Item_hxx +#define DBC_VArrayNode PDF_VArrayNodeOfFieldOfHAttributeArray1 +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PDF_VArrayTNodeOfFieldOfHAttributeArray1 +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PDF_VArrayNodeOfFieldOfHAttributeArray1 +#define DBC_VArrayNode_Type_() PDF_VArrayNodeOfFieldOfHAttributeArray1_Type_() +#define DBC_VArray PDF_FieldOfHAttributeArray1 +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPLCAF/PDataStd_AsciiString.cxx b/src/FromOCCT/TKPLCAF/PDataStd_AsciiString.cxx new file mode 100644 index 000000000..36534a029 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_AsciiString.cxx @@ -0,0 +1,44 @@ +// 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 +#include +//======================================================================= +//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/FromOCCT/TKPLCAF/PDataStd_AsciiString.hxx b/src/FromOCCT/TKPLCAF/PDataStd_AsciiString.hxx new file mode 100644 index 000000000..403c41bc5 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_AsciiString.hxx @@ -0,0 +1,63 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataStd_AsciiString_HeaderFile +#define _PDataStd_AsciiString_HeaderFile + +#include +#include +#include +#include + +#include +#include +class PCollection_HAsciiString; + + +class PDataStd_AsciiString : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PDataStd_AsciiString(); + + Standard_EXPORT PDataStd_AsciiString(const Handle(PCollection_HAsciiString)& V); + + Standard_EXPORT Handle(PCollection_HAsciiString) Get() const; + + Standard_EXPORT void Set (const Handle(PCollection_HAsciiString)& V) ; + +PDataStd_AsciiString(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + Handle(PCollection_HAsciiString) _CSFDB_GetPDataStd_AsciiStringmyValue() const { return myValue; } + void _CSFDB_SetPDataStd_AsciiStringmyValue(const Handle(PCollection_HAsciiString)& p) { myValue = p; } + + + + DEFINE_STANDARD_RTTI(PDataStd_AsciiString) + +protected: + + + + +private: + + + Handle(PCollection_HAsciiString) myValue; + + +}; + + + + + + + +#endif // _PDataStd_AsciiString_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDataStd_AsciiString.ixx b/src/FromOCCT/TKPLCAF/PDataStd_AsciiString.ixx new file mode 100644 index 000000000..6be8f883d --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_AsciiString.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PDataStd_AsciiString,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDataStd_AsciiString) + + + diff --git a/src/FromOCCT/TKPLCAF/PDataStd_AsciiString.jxx b/src/FromOCCT/TKPLCAF/PDataStd_AsciiString.jxx new file mode 100644 index 000000000..0ded1dbd7 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_AsciiString.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPLCAF/PDataStd_BooleanArray.cxx b/src/FromOCCT/TKPLCAF/PDataStd_BooleanArray.cxx new file mode 100644 index 000000000..c175a81fb --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_BooleanArray.cxx @@ -0,0 +1,81 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPLCAF/PDataStd_BooleanArray.hxx b/src/FromOCCT/TKPLCAF/PDataStd_BooleanArray.hxx new file mode 100644 index 000000000..dc195c8d3 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_BooleanArray.hxx @@ -0,0 +1,76 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataStd_BooleanArray_HeaderFile +#define _PDataStd_BooleanArray_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class PColStd_HArray1OfInteger; + + +class PDataStd_BooleanArray : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PDataStd_BooleanArray(); + + Standard_EXPORT void SetLower (const Standard_Integer lower) ; + + Standard_EXPORT void SetUpper (const Standard_Integer upper) ; + + Standard_EXPORT Standard_Integer Lower() const; + + Standard_EXPORT Standard_Integer Upper() const; + + Standard_EXPORT void Set (const Handle(PColStd_HArray1OfInteger)& values) ; + + Standard_EXPORT const Handle(PColStd_HArray1OfInteger)& Get() const; + +PDataStd_BooleanArray(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + Handle(PColStd_HArray1OfInteger) _CSFDB_GetPDataStd_BooleanArraymyValues() const { return myValues; } + void _CSFDB_SetPDataStd_BooleanArraymyValues(const Handle(PColStd_HArray1OfInteger)& p) { myValues = p; } + Standard_Integer _CSFDB_GetPDataStd_BooleanArraymyLower() const { return myLower; } + void _CSFDB_SetPDataStd_BooleanArraymyLower(const Standard_Integer p) { myLower = p; } + Standard_Integer _CSFDB_GetPDataStd_BooleanArraymyUpper() const { return myUpper; } + void _CSFDB_SetPDataStd_BooleanArraymyUpper(const Standard_Integer p) { myUpper = p; } + + + + DEFINE_STANDARD_RTTI(PDataStd_BooleanArray) + +protected: + + + + +private: + + + Handle(PColStd_HArray1OfInteger) myValues; + Standard_Integer myLower; + Standard_Integer myUpper; + + +}; + + + + + + + +#endif // _PDataStd_BooleanArray_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDataStd_BooleanArray.ixx b/src/FromOCCT/TKPLCAF/PDataStd_BooleanArray.ixx new file mode 100644 index 000000000..42f9cad9c --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_BooleanArray.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PDataStd_BooleanArray,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDataStd_BooleanArray) + + + diff --git a/src/FromOCCT/TKPLCAF/PDataStd_BooleanArray.jxx b/src/FromOCCT/TKPLCAF/PDataStd_BooleanArray.jxx new file mode 100644 index 000000000..2c767c854 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_BooleanArray.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPLCAF/PDataStd_BooleanList.cxx b/src/FromOCCT/TKPLCAF/PDataStd_BooleanList.cxx new file mode 100644 index 000000000..0d41d8d93 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_BooleanList.cxx @@ -0,0 +1,76 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPLCAF/PDataStd_BooleanList.hxx b/src/FromOCCT/TKPLCAF/PDataStd_BooleanList.hxx new file mode 100644 index 000000000..d55f42dc8 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_BooleanList.hxx @@ -0,0 +1,68 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataStd_BooleanList_HeaderFile +#define _PDataStd_BooleanList_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class PColStd_HArray1OfInteger; + + +class PDataStd_BooleanList : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PDataStd_BooleanList(); + + Standard_EXPORT void Init (const Standard_Integer lower, const Standard_Integer upper) ; + + Standard_EXPORT void SetValue (const Standard_Integer index, const Standard_Integer value) ; + + Standard_EXPORT Standard_Integer Value (const Standard_Integer index) const; + + Standard_EXPORT Standard_Integer Lower() const; + + Standard_EXPORT Standard_Integer Upper() const; + +PDataStd_BooleanList(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + Handle(PColStd_HArray1OfInteger) _CSFDB_GetPDataStd_BooleanListmyValue() const { return myValue; } + void _CSFDB_SetPDataStd_BooleanListmyValue(const Handle(PColStd_HArray1OfInteger)& p) { myValue = p; } + + + + DEFINE_STANDARD_RTTI(PDataStd_BooleanList) + +protected: + + + + +private: + + + Handle(PColStd_HArray1OfInteger) myValue; + + +}; + + + + + + + +#endif // _PDataStd_BooleanList_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDataStd_BooleanList.ixx b/src/FromOCCT/TKPLCAF/PDataStd_BooleanList.ixx new file mode 100644 index 000000000..14373cf15 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_BooleanList.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PDataStd_BooleanList,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDataStd_BooleanList) + + + diff --git a/src/FromOCCT/TKPLCAF/PDataStd_BooleanList.jxx b/src/FromOCCT/TKPLCAF/PDataStd_BooleanList.jxx new file mode 100644 index 000000000..78d2dd860 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_BooleanList.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPLCAF/PDataStd_ByteArray.cxx b/src/FromOCCT/TKPLCAF/PDataStd_ByteArray.cxx new file mode 100644 index 000000000..a952bf6dd --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_ByteArray.cxx @@ -0,0 +1,43 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPLCAF/PDataStd_ByteArray.hxx b/src/FromOCCT/TKPLCAF/PDataStd_ByteArray.hxx new file mode 100644 index 000000000..09c1bc7e6 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_ByteArray.hxx @@ -0,0 +1,61 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataStd_ByteArray_HeaderFile +#define _PDataStd_ByteArray_HeaderFile + +#include +#include +#include +#include + +#include +#include +class PColStd_HArray1OfInteger; + + +class PDataStd_ByteArray : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PDataStd_ByteArray(); + + Standard_EXPORT void Set (const Handle(PColStd_HArray1OfInteger)& values) ; + + Standard_EXPORT const Handle(PColStd_HArray1OfInteger)& Get() const; + +PDataStd_ByteArray(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + Handle(PColStd_HArray1OfInteger) _CSFDB_GetPDataStd_ByteArraymyValues() const { return myValues; } + void _CSFDB_SetPDataStd_ByteArraymyValues(const Handle(PColStd_HArray1OfInteger)& p) { myValues = p; } + + + + DEFINE_STANDARD_RTTI(PDataStd_ByteArray) + +protected: + + + + +private: + + + Handle(PColStd_HArray1OfInteger) myValues; + + +}; + + + + + + + +#endif // _PDataStd_ByteArray_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDataStd_ByteArray.ixx b/src/FromOCCT/TKPLCAF/PDataStd_ByteArray.ixx new file mode 100644 index 000000000..ef4836077 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_ByteArray.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PDataStd_ByteArray,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDataStd_ByteArray) + + + diff --git a/src/FromOCCT/TKPLCAF/PDataStd_ByteArray.jxx b/src/FromOCCT/TKPLCAF/PDataStd_ByteArray.jxx new file mode 100644 index 000000000..bb19ef581 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_ByteArray.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPLCAF/PDataStd_ByteArray_1.cxx b/src/FromOCCT/TKPLCAF/PDataStd_ByteArray_1.cxx new file mode 100644 index 000000000..b22cd036b --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_ByteArray_1.cxx @@ -0,0 +1,58 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPLCAF/PDataStd_ByteArray_1.hxx b/src/FromOCCT/TKPLCAF/PDataStd_ByteArray_1.hxx new file mode 100644 index 000000000..4c65afa9f --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_ByteArray_1.hxx @@ -0,0 +1,69 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataStd_ByteArray_1_HeaderFile +#define _PDataStd_ByteArray_1_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class PColStd_HArray1OfInteger; + + +class PDataStd_ByteArray_1 : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PDataStd_ByteArray_1(); + + Standard_EXPORT void Set (const Handle(PColStd_HArray1OfInteger)& values) ; + + Standard_EXPORT const Handle(PColStd_HArray1OfInteger)& Get() const; + + Standard_EXPORT void SetDelta (const Standard_Boolean delta) ; + + Standard_EXPORT Standard_Boolean GetDelta() const; + +PDataStd_ByteArray_1(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + Handle(PColStd_HArray1OfInteger) _CSFDB_GetPDataStd_ByteArray_1myValues() const { return myValues; } + void _CSFDB_SetPDataStd_ByteArray_1myValues(const Handle(PColStd_HArray1OfInteger)& p) { myValues = p; } + Standard_Boolean _CSFDB_GetPDataStd_ByteArray_1myDelta() const { return myDelta; } + void _CSFDB_SetPDataStd_ByteArray_1myDelta(const Standard_Boolean p) { myDelta = p; } + + + + DEFINE_STANDARD_RTTI(PDataStd_ByteArray_1) + +protected: + + + + +private: + + + Handle(PColStd_HArray1OfInteger) myValues; + Standard_Boolean myDelta; + + +}; + + + + + + + +#endif // _PDataStd_ByteArray_1_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDataStd_ByteArray_1.ixx b/src/FromOCCT/TKPLCAF/PDataStd_ByteArray_1.ixx new file mode 100644 index 000000000..b055aea91 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_ByteArray_1.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PDataStd_ByteArray_1,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDataStd_ByteArray_1) + + + diff --git a/src/FromOCCT/TKPLCAF/PDataStd_ByteArray_1.jxx b/src/FromOCCT/TKPLCAF/PDataStd_ByteArray_1.jxx new file mode 100644 index 000000000..dbfd8f626 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_ByteArray_1.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPLCAF/PDataStd_Comment.cxx b/src/FromOCCT/TKPLCAF/PDataStd_Comment.cxx new file mode 100644 index 000000000..3c53d8804 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_Comment.cxx @@ -0,0 +1,30 @@ +// 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::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/FromOCCT/TKPLCAF/PDataStd_Comment.hxx b/src/FromOCCT/TKPLCAF/PDataStd_Comment.hxx new file mode 100644 index 000000000..4be716102 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_Comment.hxx @@ -0,0 +1,63 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataStd_Comment_HeaderFile +#define _PDataStd_Comment_HeaderFile + +#include +#include +#include +#include + +#include +#include +class PCollection_HExtendedString; + + +class PDataStd_Comment : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PDataStd_Comment(); + + Standard_EXPORT PDataStd_Comment(const Handle(PCollection_HExtendedString)& V); + + Standard_EXPORT Handle(PCollection_HExtendedString) Get() const; + + Standard_EXPORT void Set (const Handle(PCollection_HExtendedString)& V) ; + +PDataStd_Comment(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + Handle(PCollection_HExtendedString) _CSFDB_GetPDataStd_CommentmyValue() const { return myValue; } + void _CSFDB_SetPDataStd_CommentmyValue(const Handle(PCollection_HExtendedString)& p) { myValue = p; } + + + + DEFINE_STANDARD_RTTI(PDataStd_Comment) + +protected: + + + + +private: + + + Handle(PCollection_HExtendedString) myValue; + + +}; + + + + + + + +#endif // _PDataStd_Comment_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDataStd_Comment.ixx b/src/FromOCCT/TKPLCAF/PDataStd_Comment.ixx new file mode 100644 index 000000000..9487eac00 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_Comment.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PDataStd_Comment,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDataStd_Comment) + + + diff --git a/src/FromOCCT/TKPLCAF/PDataStd_Comment.jxx b/src/FromOCCT/TKPLCAF/PDataStd_Comment.jxx new file mode 100644 index 000000000..cba9b5ff0 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_Comment.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPLCAF/PDataStd_Directory.cxx b/src/FromOCCT/TKPLCAF/PDataStd_Directory.cxx new file mode 100644 index 000000000..b0e91b030 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_Directory.cxx @@ -0,0 +1,17 @@ +// Copyright (c) 1999-2014 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the 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::PDataStd_Directory() {} + diff --git a/src/FromOCCT/TKPLCAF/PDataStd_Directory.hxx b/src/FromOCCT/TKPLCAF/PDataStd_Directory.hxx new file mode 100644 index 000000000..09f6cb46d --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_Directory.hxx @@ -0,0 +1,52 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataStd_Directory_HeaderFile +#define _PDataStd_Directory_HeaderFile + +#include +#include +#include +#include + +#include + + +class PDataStd_Directory : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PDataStd_Directory(); + +PDataStd_Directory(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + + + + DEFINE_STANDARD_RTTI(PDataStd_Directory) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PDataStd_Directory_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDataStd_Directory.ixx b/src/FromOCCT/TKPLCAF/PDataStd_Directory.ixx new file mode 100644 index 000000000..63f95a151 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_Directory.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PDataStd_Directory,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDataStd_Directory) + + + diff --git a/src/FromOCCT/TKPLCAF/PDataStd_Directory.jxx b/src/FromOCCT/TKPLCAF/PDataStd_Directory.jxx new file mode 100644 index 000000000..502dd73a0 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_Directory.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKPLCAF/PDataStd_Expression.cxx b/src/FromOCCT/TKPLCAF/PDataStd_Expression.cxx new file mode 100644 index 000000000..843320f5b --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_Expression.cxx @@ -0,0 +1,78 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPLCAF/PDataStd_Expression.hxx b/src/FromOCCT/TKPLCAF/PDataStd_Expression.hxx new file mode 100644 index 000000000..0e78c4f4b --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_Expression.hxx @@ -0,0 +1,72 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataStd_Expression_HeaderFile +#define _PDataStd_Expression_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class PCollection_HExtendedString; +class PDF_HAttributeArray1; + + +class PDataStd_Expression : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PDataStd_Expression(); + + Standard_EXPORT PDataStd_Expression(const Handle(PCollection_HExtendedString)& name); + + Standard_EXPORT Handle(PCollection_HExtendedString) GetName() const; + + Standard_EXPORT void SetName (const Handle(PCollection_HExtendedString)& name) ; + + Standard_EXPORT Handle(PDF_HAttributeArray1) GetVariables() const; + + Standard_EXPORT void SetVariables (const Handle(PDF_HAttributeArray1)& vars) ; + +PDataStd_Expression(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + Handle(PCollection_HExtendedString) _CSFDB_GetPDataStd_ExpressionmyName() const { return myName; } + void _CSFDB_SetPDataStd_ExpressionmyName(const Handle(PCollection_HExtendedString)& p) { myName = p; } + Handle(PDF_HAttributeArray1) _CSFDB_GetPDataStd_ExpressionmyVariables() const { return myVariables; } + void _CSFDB_SetPDataStd_ExpressionmyVariables(const Handle(PDF_HAttributeArray1)& p) { myVariables = p; } + + + + DEFINE_STANDARD_RTTI(PDataStd_Expression) + +protected: + + + + +private: + + + Handle(PCollection_HExtendedString) myName; + Handle(PDF_HAttributeArray1) myVariables; + + +}; + + + + + + + +#endif // _PDataStd_Expression_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDataStd_Expression.ixx b/src/FromOCCT/TKPLCAF/PDataStd_Expression.ixx new file mode 100644 index 000000000..047108aaf --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_Expression.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PDataStd_Expression,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDataStd_Expression) + + + diff --git a/src/FromOCCT/TKPLCAF/PDataStd_Expression.jxx b/src/FromOCCT/TKPLCAF/PDataStd_Expression.jxx new file mode 100644 index 000000000..16df15b44 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_Expression.jxx @@ -0,0 +1,3 @@ +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/PDataStd_ExtStringArray.cxx b/src/FromOCCT/TKPLCAF/PDataStd_ExtStringArray.cxx new file mode 100644 index 000000000..bbe795ef3 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_ExtStringArray.cxx @@ -0,0 +1,75 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPLCAF/PDataStd_ExtStringArray.hxx b/src/FromOCCT/TKPLCAF/PDataStd_ExtStringArray.hxx new file mode 100644 index 000000000..41162b3bc --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_ExtStringArray.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataStd_ExtStringArray_HeaderFile +#define _PDataStd_ExtStringArray_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +class PCollection_HExtendedString; +class PColStd_HArray1OfExtendedString; + + +class PDataStd_ExtStringArray : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PDataStd_ExtStringArray(); + + Standard_EXPORT void Init (const Standard_Integer lower, const Standard_Integer upper) ; + + Standard_EXPORT void SetValue (const Standard_Integer Index, const Handle(PCollection_HExtendedString)& Value) ; + + Standard_EXPORT Handle(PCollection_HExtendedString) Value (const Standard_Integer Index) const; + + Standard_EXPORT Standard_Integer Lower() const; + + Standard_EXPORT Standard_Integer Upper() const; + +PDataStd_ExtStringArray(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + Handle(PColStd_HArray1OfExtendedString) _CSFDB_GetPDataStd_ExtStringArraymyValue() const { return myValue; } + void _CSFDB_SetPDataStd_ExtStringArraymyValue(const Handle(PColStd_HArray1OfExtendedString)& p) { myValue = p; } + + + + DEFINE_STANDARD_RTTI(PDataStd_ExtStringArray) + +protected: + + + + +private: + + + Handle(PColStd_HArray1OfExtendedString) myValue; + + +}; + + + + + + + +#endif // _PDataStd_ExtStringArray_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDataStd_ExtStringArray.ixx b/src/FromOCCT/TKPLCAF/PDataStd_ExtStringArray.ixx new file mode 100644 index 000000000..a728d8a58 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_ExtStringArray.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PDataStd_ExtStringArray,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDataStd_ExtStringArray) + + + diff --git a/src/FromOCCT/TKPLCAF/PDataStd_ExtStringArray.jxx b/src/FromOCCT/TKPLCAF/PDataStd_ExtStringArray.jxx new file mode 100644 index 000000000..b8781672f --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_ExtStringArray.jxx @@ -0,0 +1,3 @@ +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/PDataStd_ExtStringArray_1.cxx b/src/FromOCCT/TKPLCAF/PDataStd_ExtStringArray_1.cxx new file mode 100644 index 000000000..30bcb6f86 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_ExtStringArray_1.cxx @@ -0,0 +1,94 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPLCAF/PDataStd_ExtStringArray_1.hxx b/src/FromOCCT/TKPLCAF/PDataStd_ExtStringArray_1.hxx new file mode 100644 index 000000000..7aa4850ae --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_ExtStringArray_1.hxx @@ -0,0 +1,78 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataStd_ExtStringArray_1_HeaderFile +#define _PDataStd_ExtStringArray_1_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +class PCollection_HExtendedString; +class PColStd_HArray1OfExtendedString; + + +class PDataStd_ExtStringArray_1 : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PDataStd_ExtStringArray_1(); + + Standard_EXPORT void Init (const Standard_Integer lower, const Standard_Integer upper) ; + + Standard_EXPORT void SetValue (const Standard_Integer Index, const Handle(PCollection_HExtendedString)& Value) ; + + Standard_EXPORT Handle(PCollection_HExtendedString) Value (const Standard_Integer Index) const; + + Standard_EXPORT Standard_Integer Lower() const; + + Standard_EXPORT Standard_Integer Upper() const; + + Standard_EXPORT void SetDelta (const Standard_Boolean delta) ; + + Standard_EXPORT Standard_Boolean GetDelta() const; + +PDataStd_ExtStringArray_1(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + Handle(PColStd_HArray1OfExtendedString) _CSFDB_GetPDataStd_ExtStringArray_1myValue() const { return myValue; } + void _CSFDB_SetPDataStd_ExtStringArray_1myValue(const Handle(PColStd_HArray1OfExtendedString)& p) { myValue = p; } + Standard_Boolean _CSFDB_GetPDataStd_ExtStringArray_1myDelta() const { return myDelta; } + void _CSFDB_SetPDataStd_ExtStringArray_1myDelta(const Standard_Boolean p) { myDelta = p; } + + + + DEFINE_STANDARD_RTTI(PDataStd_ExtStringArray_1) + +protected: + + + + +private: + + + Handle(PColStd_HArray1OfExtendedString) myValue; + Standard_Boolean myDelta; + + +}; + + + + + + + +#endif // _PDataStd_ExtStringArray_1_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDataStd_ExtStringArray_1.ixx b/src/FromOCCT/TKPLCAF/PDataStd_ExtStringArray_1.ixx new file mode 100644 index 000000000..a922c9341 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_ExtStringArray_1.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PDataStd_ExtStringArray_1,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDataStd_ExtStringArray_1) + + + diff --git a/src/FromOCCT/TKPLCAF/PDataStd_ExtStringArray_1.jxx b/src/FromOCCT/TKPLCAF/PDataStd_ExtStringArray_1.jxx new file mode 100644 index 000000000..166f0a21e --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_ExtStringArray_1.jxx @@ -0,0 +1,3 @@ +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/PDataStd_ExtStringList.cxx b/src/FromOCCT/TKPLCAF/PDataStd_ExtStringList.cxx new file mode 100644 index 000000000..35f37ec59 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_ExtStringList.cxx @@ -0,0 +1,76 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPLCAF/PDataStd_ExtStringList.hxx b/src/FromOCCT/TKPLCAF/PDataStd_ExtStringList.hxx new file mode 100644 index 000000000..045fbdbe4 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_ExtStringList.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataStd_ExtStringList_HeaderFile +#define _PDataStd_ExtStringList_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +class PCollection_HExtendedString; +class PColStd_HArray1OfExtendedString; + + +class PDataStd_ExtStringList : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PDataStd_ExtStringList(); + + Standard_EXPORT void Init (const Standard_Integer lower, const Standard_Integer upper) ; + + Standard_EXPORT void SetValue (const Standard_Integer index, const Handle(PCollection_HExtendedString)& value) ; + + Standard_EXPORT Handle(PCollection_HExtendedString) Value (const Standard_Integer index) const; + + Standard_EXPORT Standard_Integer Lower() const; + + Standard_EXPORT Standard_Integer Upper() const; + +PDataStd_ExtStringList(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + Handle(PColStd_HArray1OfExtendedString) _CSFDB_GetPDataStd_ExtStringListmyValue() const { return myValue; } + void _CSFDB_SetPDataStd_ExtStringListmyValue(const Handle(PColStd_HArray1OfExtendedString)& p) { myValue = p; } + + + + DEFINE_STANDARD_RTTI(PDataStd_ExtStringList) + +protected: + + + + +private: + + + Handle(PColStd_HArray1OfExtendedString) myValue; + + +}; + + + + + + + +#endif // _PDataStd_ExtStringList_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDataStd_ExtStringList.ixx b/src/FromOCCT/TKPLCAF/PDataStd_ExtStringList.ixx new file mode 100644 index 000000000..baa2a4f5c --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_ExtStringList.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PDataStd_ExtStringList,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDataStd_ExtStringList) + + + diff --git a/src/FromOCCT/TKPLCAF/PDataStd_ExtStringList.jxx b/src/FromOCCT/TKPLCAF/PDataStd_ExtStringList.jxx new file mode 100644 index 000000000..df3153096 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_ExtStringList.jxx @@ -0,0 +1,3 @@ +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/PDataStd_FieldOfHArray1OfByte.hxx b/src/FromOCCT/TKPLCAF/PDataStd_FieldOfHArray1OfByte.hxx new file mode 100644 index 000000000..b8192e3ad --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_FieldOfHArray1OfByte.hxx @@ -0,0 +1,90 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataStd_FieldOfHArray1OfByte_HeaderFile +#define _PDataStd_FieldOfHArray1OfByte_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +class Standard_NegativeValue; +class Standard_OutOfRange; +class Standard_DimensionMismatch; +class Standard_NullObject; +class PDataStd_VArrayNodeOfFieldOfHArray1OfByte; +class PDataStd_VArrayTNodeOfFieldOfHArray1OfByte; + + + +Standard_EXPORT const Handle(Standard_Type)& STANDARD_TYPE(PDataStd_FieldOfHArray1OfByte); + + +class PDataStd_FieldOfHArray1OfByte : public DBC_BaseArray +{ + +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT PDataStd_FieldOfHArray1OfByte(); + + Standard_EXPORT PDataStd_FieldOfHArray1OfByte(const Standard_Integer Size); + + Standard_EXPORT PDataStd_FieldOfHArray1OfByte(const PDataStd_FieldOfHArray1OfByte& Varray); + + Standard_EXPORT void Resize (const Standard_Integer Size) ; + + Standard_EXPORT void Assign (const PDataStd_FieldOfHArray1OfByte& Other) ; + void operator = (const PDataStd_FieldOfHArray1OfByte& Other) +{ + Assign(Other); +} + + Standard_EXPORT void SetValue (const Standard_Integer Index, const Standard_Byte& Value) ; + + Standard_EXPORT Standard_Byte& Value (const Standard_Integer Index) const; + Standard_Byte& operator () (const Standard_Integer Index) const +{ + return Value(Index); +} + + Standard_EXPORT void Destroy() ; +~PDataStd_FieldOfHArray1OfByte() +{ + Destroy(); +} + + + +protected: + + + + +private: + +#ifdef CSFDB +// DBC_VArray : field +// +#endif + + + +}; + + + + + + + +#endif // _PDataStd_FieldOfHArray1OfByte_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDataStd_FieldOfHArray1OfByte_0.cxx b/src/FromOCCT/TKPLCAF/PDataStd_FieldOfHArray1OfByte_0.cxx new file mode 100644 index 000000000..065918bf4 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_FieldOfHArray1OfByte_0.cxx @@ -0,0 +1,26 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + +#define Item Standard_Byte +#define Item_hxx +#define DBC_VArrayNode PDataStd_VArrayNodeOfFieldOfHArray1OfByte +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PDataStd_VArrayTNodeOfFieldOfHArray1OfByte +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfByte +#define DBC_VArrayNode_Type_() PDataStd_VArrayNodeOfFieldOfHArray1OfByte_Type_() +#define DBC_VArray PDataStd_FieldOfHArray1OfByte +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPLCAF/PDataStd_FieldOfHArray1OfHArray1OfInteger.hxx b/src/FromOCCT/TKPLCAF/PDataStd_FieldOfHArray1OfHArray1OfInteger.hxx new file mode 100644 index 000000000..dee0601dc --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_FieldOfHArray1OfHArray1OfInteger.hxx @@ -0,0 +1,91 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataStd_FieldOfHArray1OfHArray1OfInteger_HeaderFile +#define _PDataStd_FieldOfHArray1OfHArray1OfInteger_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +class Standard_NegativeValue; +class Standard_OutOfRange; +class Standard_DimensionMismatch; +class Standard_NullObject; +class PColStd_HArray1OfInteger; +class PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger; +class PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfInteger; + + + +Standard_EXPORT const Handle(Standard_Type)& STANDARD_TYPE(PDataStd_FieldOfHArray1OfHArray1OfInteger); + + +class PDataStd_FieldOfHArray1OfHArray1OfInteger : public DBC_BaseArray +{ + +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT PDataStd_FieldOfHArray1OfHArray1OfInteger(); + + Standard_EXPORT PDataStd_FieldOfHArray1OfHArray1OfInteger(const Standard_Integer Size); + + Standard_EXPORT PDataStd_FieldOfHArray1OfHArray1OfInteger(const PDataStd_FieldOfHArray1OfHArray1OfInteger& Varray); + + Standard_EXPORT void Resize (const Standard_Integer Size) ; + + Standard_EXPORT void Assign (const PDataStd_FieldOfHArray1OfHArray1OfInteger& Other) ; + void operator = (const PDataStd_FieldOfHArray1OfHArray1OfInteger& Other) +{ + Assign(Other); +} + + Standard_EXPORT void SetValue (const Standard_Integer Index, const Handle(PColStd_HArray1OfInteger)& Value) ; + + Standard_EXPORT Handle(PColStd_HArray1OfInteger)& Value (const Standard_Integer Index) const; + Handle(PColStd_HArray1OfInteger)& operator () (const Standard_Integer Index) const +{ + return Value(Index); +} + + Standard_EXPORT void Destroy() ; +~PDataStd_FieldOfHArray1OfHArray1OfInteger() +{ + Destroy(); +} + + + +protected: + + + + +private: + +#ifdef CSFDB +// DBC_VArray : field +// +#endif + + + +}; + + + + + + + +#endif // _PDataStd_FieldOfHArray1OfHArray1OfInteger_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDataStd_FieldOfHArray1OfHArray1OfInteger_0.cxx b/src/FromOCCT/TKPLCAF/PDataStd_FieldOfHArray1OfHArray1OfInteger_0.cxx new file mode 100644 index 000000000..57b71e48e --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_FieldOfHArray1OfHArray1OfInteger_0.cxx @@ -0,0 +1,27 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include +#include + +#define Item Handle(PColStd_HArray1OfInteger) +#define Item_hxx +#define DBC_VArrayNode PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfInteger +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger +#define DBC_VArrayNode_Type_() PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger_Type_() +#define DBC_VArray PDataStd_FieldOfHArray1OfHArray1OfInteger +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPLCAF/PDataStd_FieldOfHArray1OfHArray1OfReal.hxx b/src/FromOCCT/TKPLCAF/PDataStd_FieldOfHArray1OfHArray1OfReal.hxx new file mode 100644 index 000000000..6e343b6d7 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_FieldOfHArray1OfHArray1OfReal.hxx @@ -0,0 +1,91 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataStd_FieldOfHArray1OfHArray1OfReal_HeaderFile +#define _PDataStd_FieldOfHArray1OfHArray1OfReal_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +class Standard_NegativeValue; +class Standard_OutOfRange; +class Standard_DimensionMismatch; +class Standard_NullObject; +class PColStd_HArray1OfReal; +class PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal; +class PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfReal; + + + +Standard_EXPORT const Handle(Standard_Type)& STANDARD_TYPE(PDataStd_FieldOfHArray1OfHArray1OfReal); + + +class PDataStd_FieldOfHArray1OfHArray1OfReal : public DBC_BaseArray +{ + +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT PDataStd_FieldOfHArray1OfHArray1OfReal(); + + Standard_EXPORT PDataStd_FieldOfHArray1OfHArray1OfReal(const Standard_Integer Size); + + Standard_EXPORT PDataStd_FieldOfHArray1OfHArray1OfReal(const PDataStd_FieldOfHArray1OfHArray1OfReal& Varray); + + Standard_EXPORT void Resize (const Standard_Integer Size) ; + + Standard_EXPORT void Assign (const PDataStd_FieldOfHArray1OfHArray1OfReal& Other) ; + void operator = (const PDataStd_FieldOfHArray1OfHArray1OfReal& Other) +{ + Assign(Other); +} + + Standard_EXPORT void SetValue (const Standard_Integer Index, const Handle(PColStd_HArray1OfReal)& Value) ; + + Standard_EXPORT Handle(PColStd_HArray1OfReal)& Value (const Standard_Integer Index) const; + Handle(PColStd_HArray1OfReal)& operator () (const Standard_Integer Index) const +{ + return Value(Index); +} + + Standard_EXPORT void Destroy() ; +~PDataStd_FieldOfHArray1OfHArray1OfReal() +{ + Destroy(); +} + + + +protected: + + + + +private: + +#ifdef CSFDB +// DBC_VArray : field +// +#endif + + + +}; + + + + + + + +#endif // _PDataStd_FieldOfHArray1OfHArray1OfReal_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDataStd_FieldOfHArray1OfHArray1OfReal_0.cxx b/src/FromOCCT/TKPLCAF/PDataStd_FieldOfHArray1OfHArray1OfReal_0.cxx new file mode 100644 index 000000000..a9404b03e --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_FieldOfHArray1OfHArray1OfReal_0.cxx @@ -0,0 +1,27 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include +#include + +#define Item Handle(PColStd_HArray1OfReal) +#define Item_hxx +#define DBC_VArrayNode PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfReal +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal +#define DBC_VArrayNode_Type_() PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal_Type_() +#define DBC_VArray PDataStd_FieldOfHArray1OfHArray1OfReal +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPLCAF/PDataStd_FieldOfHArray1OfHAsciiString.hxx b/src/FromOCCT/TKPLCAF/PDataStd_FieldOfHArray1OfHAsciiString.hxx new file mode 100644 index 000000000..a578cbad1 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_FieldOfHArray1OfHAsciiString.hxx @@ -0,0 +1,91 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataStd_FieldOfHArray1OfHAsciiString_HeaderFile +#define _PDataStd_FieldOfHArray1OfHAsciiString_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +class Standard_NegativeValue; +class Standard_OutOfRange; +class Standard_DimensionMismatch; +class Standard_NullObject; +class PCollection_HAsciiString; +class PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString; +class PDataStd_VArrayTNodeOfFieldOfHArray1OfHAsciiString; + + + +Standard_EXPORT const Handle(Standard_Type)& STANDARD_TYPE(PDataStd_FieldOfHArray1OfHAsciiString); + + +class PDataStd_FieldOfHArray1OfHAsciiString : public DBC_BaseArray +{ + +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT PDataStd_FieldOfHArray1OfHAsciiString(); + + Standard_EXPORT PDataStd_FieldOfHArray1OfHAsciiString(const Standard_Integer Size); + + Standard_EXPORT PDataStd_FieldOfHArray1OfHAsciiString(const PDataStd_FieldOfHArray1OfHAsciiString& Varray); + + Standard_EXPORT void Resize (const Standard_Integer Size) ; + + Standard_EXPORT void Assign (const PDataStd_FieldOfHArray1OfHAsciiString& Other) ; + void operator = (const PDataStd_FieldOfHArray1OfHAsciiString& Other) +{ + Assign(Other); +} + + Standard_EXPORT void SetValue (const Standard_Integer Index, const Handle(PCollection_HAsciiString)& Value) ; + + Standard_EXPORT Handle(PCollection_HAsciiString)& Value (const Standard_Integer Index) const; + Handle(PCollection_HAsciiString)& operator () (const Standard_Integer Index) const +{ + return Value(Index); +} + + Standard_EXPORT void Destroy() ; +~PDataStd_FieldOfHArray1OfHAsciiString() +{ + Destroy(); +} + + + +protected: + + + + +private: + +#ifdef CSFDB +// DBC_VArray : field +// +#endif + + + +}; + + + + + + + +#endif // _PDataStd_FieldOfHArray1OfHAsciiString_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDataStd_FieldOfHArray1OfHAsciiString_0.cxx b/src/FromOCCT/TKPLCAF/PDataStd_FieldOfHArray1OfHAsciiString_0.cxx new file mode 100644 index 000000000..7473eee29 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_FieldOfHArray1OfHAsciiString_0.cxx @@ -0,0 +1,27 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include +#include + +#define Item Handle(PCollection_HAsciiString) +#define Item_hxx +#define DBC_VArrayNode PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PDataStd_VArrayTNodeOfFieldOfHArray1OfHAsciiString +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString +#define DBC_VArrayNode_Type_() PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString_Type_() +#define DBC_VArray PDataStd_FieldOfHArray1OfHAsciiString +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPLCAF/PDataStd_HArray1OfByte.hxx b/src/FromOCCT/TKPLCAF/PDataStd_HArray1OfByte.hxx new file mode 100644 index 000000000..aec3abca3 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_HArray1OfByte.hxx @@ -0,0 +1,131 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataStd_HArray1OfByte_HeaderFile +#define _PDataStd_HArray1OfByte_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class Standard_OutOfRange; +class Standard_RangeError; +class PDataStd_FieldOfHArray1OfByte; +class PDataStd_VArrayNodeOfFieldOfHArray1OfByte; +class PDataStd_VArrayTNodeOfFieldOfHArray1OfByte; + + +class PDataStd_HArray1OfByte : public Standard_Persistent +{ + +public: + + + Standard_EXPORT PDataStd_HArray1OfByte(const Standard_Integer Low, const Standard_Integer Up); + + Standard_EXPORT PDataStd_HArray1OfByte(const Standard_Integer Low, const Standard_Integer Up, const Standard_Byte& V); + + Standard_Integer Length() const; + + Standard_Integer Lower() const; + + Standard_EXPORT void SetValue (const Standard_Integer Index, const Standard_Byte& Value) ; + + Standard_Integer Upper() const; + + Standard_EXPORT Standard_Byte Value (const Standard_Integer Index) const; + +PDataStd_HArray1OfByte( ) +{ + +} +PDataStd_HArray1OfByte(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Standard_Integer _CSFDB_GetPDataStd_HArray1OfByteLowerBound() const { return LowerBound; } + void _CSFDB_SetPDataStd_HArray1OfByteLowerBound(const Standard_Integer p) { LowerBound = p; } + Standard_Integer _CSFDB_GetPDataStd_HArray1OfByteUpperBound() const { return UpperBound; } + void _CSFDB_SetPDataStd_HArray1OfByteUpperBound(const Standard_Integer p) { UpperBound = p; } + const PDataStd_FieldOfHArray1OfByte& _CSFDB_GetPDataStd_HArray1OfByteData() const { return Data; } + + + + DEFINE_STANDARD_RTTI(PDataStd_HArray1OfByte) + +protected: + + + + +private: + + + Standard_EXPORT PDataStd_FieldOfHArray1OfByte Field() const; + + Standard_EXPORT Standard_Address Datas() const; + + Standard_Integer LowerBound; + Standard_Integer UpperBound; + PDataStd_FieldOfHArray1OfByte Data; + + +}; + +#define Item Standard_Byte +#define Item_hxx +#define PCollection_FieldOfHArray1 PDataStd_FieldOfHArray1OfByte +#define PCollection_FieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PDataStd_VArrayNodeOfFieldOfHArray1OfByte +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PDataStd_VArrayTNodeOfFieldOfHArray1OfByte +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PDataStd_VArrayNodeOfFieldOfHArray1OfByte +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PDataStd_VArrayTNodeOfFieldOfHArray1OfByte +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfByte +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PDataStd_VArrayNodeOfFieldOfHArray1OfByte_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfByte +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PDataStd_VArrayNodeOfFieldOfHArray1OfByte_Type_() +#define PCollection_HArray1 PDataStd_HArray1OfByte +#define PCollection_HArray1_hxx +#define Handle_PCollection_HArray1 Handle_PDataStd_HArray1OfByte +#define PCollection_HArray1_Type_() PDataStd_HArray1OfByte_Type_() + +#include + +#undef Item +#undef Item_hxx +#undef PCollection_FieldOfHArray1 +#undef PCollection_FieldOfHArray1_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray1 +#undef PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray1 +#undef PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_Type_ +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_Type_ +#undef PCollection_HArray1 +#undef PCollection_HArray1_hxx +#undef Handle_PCollection_HArray1 +#undef PCollection_HArray1_Type_ + + + + +#endif // _PDataStd_HArray1OfByte_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDataStd_HArray1OfByte_0.cxx b/src/FromOCCT/TKPLCAF/PDataStd_HArray1OfByte_0.cxx new file mode 100644 index 000000000..32b64d8fd --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_HArray1OfByte_0.cxx @@ -0,0 +1,42 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PDataStd_HArray1OfByte,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDataStd_HArray1OfByte) + + +#define Item Standard_Byte +#define Item_hxx +#define PCollection_FieldOfHArray1 PDataStd_FieldOfHArray1OfByte +#define PCollection_FieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PDataStd_VArrayNodeOfFieldOfHArray1OfByte +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PDataStd_VArrayTNodeOfFieldOfHArray1OfByte +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PDataStd_VArrayNodeOfFieldOfHArray1OfByte +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PDataStd_VArrayTNodeOfFieldOfHArray1OfByte +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfByte +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PDataStd_VArrayNodeOfFieldOfHArray1OfByte_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfByte +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PDataStd_VArrayNodeOfFieldOfHArray1OfByte_Type_() +#define PCollection_HArray1 PDataStd_HArray1OfByte +#define PCollection_HArray1_hxx +#define Handle_PCollection_HArray1 Handle_PDataStd_HArray1OfByte +#define PCollection_HArray1_Type_() PDataStd_HArray1OfByte_Type_() +#include + diff --git a/src/FromOCCT/TKPLCAF/PDataStd_HArray1OfHArray1OfInteger.hxx b/src/FromOCCT/TKPLCAF/PDataStd_HArray1OfHArray1OfInteger.hxx new file mode 100644 index 000000000..ed8ad928e --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_HArray1OfHArray1OfInteger.hxx @@ -0,0 +1,132 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataStd_HArray1OfHArray1OfInteger_HeaderFile +#define _PDataStd_HArray1OfHArray1OfInteger_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class PColStd_HArray1OfInteger; +class Standard_OutOfRange; +class Standard_RangeError; +class PDataStd_FieldOfHArray1OfHArray1OfInteger; +class PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger; +class PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfInteger; + + +class PDataStd_HArray1OfHArray1OfInteger : public Standard_Persistent +{ + +public: + + + Standard_EXPORT PDataStd_HArray1OfHArray1OfInteger(const Standard_Integer Low, const Standard_Integer Up); + + Standard_EXPORT PDataStd_HArray1OfHArray1OfInteger(const Standard_Integer Low, const Standard_Integer Up, const Handle(PColStd_HArray1OfInteger)& V); + + Standard_Integer Length() const; + + Standard_Integer Lower() const; + + Standard_EXPORT void SetValue (const Standard_Integer Index, const Handle(PColStd_HArray1OfInteger)& Value) ; + + Standard_Integer Upper() const; + + Standard_EXPORT Handle(PColStd_HArray1OfInteger) Value (const Standard_Integer Index) const; + +PDataStd_HArray1OfHArray1OfInteger( ) +{ + +} +PDataStd_HArray1OfHArray1OfInteger(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Standard_Integer _CSFDB_GetPDataStd_HArray1OfHArray1OfIntegerLowerBound() const { return LowerBound; } + void _CSFDB_SetPDataStd_HArray1OfHArray1OfIntegerLowerBound(const Standard_Integer p) { LowerBound = p; } + Standard_Integer _CSFDB_GetPDataStd_HArray1OfHArray1OfIntegerUpperBound() const { return UpperBound; } + void _CSFDB_SetPDataStd_HArray1OfHArray1OfIntegerUpperBound(const Standard_Integer p) { UpperBound = p; } + const PDataStd_FieldOfHArray1OfHArray1OfInteger& _CSFDB_GetPDataStd_HArray1OfHArray1OfIntegerData() const { return Data; } + + + + DEFINE_STANDARD_RTTI(PDataStd_HArray1OfHArray1OfInteger) + +protected: + + + + +private: + + + Standard_EXPORT PDataStd_FieldOfHArray1OfHArray1OfInteger Field() const; + + Standard_EXPORT Standard_Address Datas() const; + + Standard_Integer LowerBound; + Standard_Integer UpperBound; + PDataStd_FieldOfHArray1OfHArray1OfInteger Data; + + +}; + +#define Item Handle(PColStd_HArray1OfInteger) +#define Item_hxx +#define PCollection_FieldOfHArray1 PDataStd_FieldOfHArray1OfHArray1OfInteger +#define PCollection_FieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfInteger +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfInteger +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger_Type_() +#define PCollection_HArray1 PDataStd_HArray1OfHArray1OfInteger +#define PCollection_HArray1_hxx +#define Handle_PCollection_HArray1 Handle_PDataStd_HArray1OfHArray1OfInteger +#define PCollection_HArray1_Type_() PDataStd_HArray1OfHArray1OfInteger_Type_() + +#include + +#undef Item +#undef Item_hxx +#undef PCollection_FieldOfHArray1 +#undef PCollection_FieldOfHArray1_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray1 +#undef PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray1 +#undef PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_Type_ +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_Type_ +#undef PCollection_HArray1 +#undef PCollection_HArray1_hxx +#undef Handle_PCollection_HArray1 +#undef PCollection_HArray1_Type_ + + + + +#endif // _PDataStd_HArray1OfHArray1OfInteger_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDataStd_HArray1OfHArray1OfInteger_0.cxx b/src/FromOCCT/TKPLCAF/PDataStd_HArray1OfHArray1OfInteger_0.cxx new file mode 100644 index 000000000..0227167ea --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_HArray1OfHArray1OfInteger_0.cxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PDataStd_HArray1OfHArray1OfInteger,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDataStd_HArray1OfHArray1OfInteger) + + +#define Item Handle(PColStd_HArray1OfInteger) +#define Item_hxx +#define PCollection_FieldOfHArray1 PDataStd_FieldOfHArray1OfHArray1OfInteger +#define PCollection_FieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfInteger +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfInteger +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger_Type_() +#define PCollection_HArray1 PDataStd_HArray1OfHArray1OfInteger +#define PCollection_HArray1_hxx +#define Handle_PCollection_HArray1 Handle_PDataStd_HArray1OfHArray1OfInteger +#define PCollection_HArray1_Type_() PDataStd_HArray1OfHArray1OfInteger_Type_() +#include + diff --git a/src/FromOCCT/TKPLCAF/PDataStd_HArray1OfHArray1OfReal.hxx b/src/FromOCCT/TKPLCAF/PDataStd_HArray1OfHArray1OfReal.hxx new file mode 100644 index 000000000..87001e0a9 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_HArray1OfHArray1OfReal.hxx @@ -0,0 +1,132 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataStd_HArray1OfHArray1OfReal_HeaderFile +#define _PDataStd_HArray1OfHArray1OfReal_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class PColStd_HArray1OfReal; +class Standard_OutOfRange; +class Standard_RangeError; +class PDataStd_FieldOfHArray1OfHArray1OfReal; +class PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal; +class PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfReal; + + +class PDataStd_HArray1OfHArray1OfReal : public Standard_Persistent +{ + +public: + + + Standard_EXPORT PDataStd_HArray1OfHArray1OfReal(const Standard_Integer Low, const Standard_Integer Up); + + Standard_EXPORT PDataStd_HArray1OfHArray1OfReal(const Standard_Integer Low, const Standard_Integer Up, const Handle(PColStd_HArray1OfReal)& V); + + Standard_Integer Length() const; + + Standard_Integer Lower() const; + + Standard_EXPORT void SetValue (const Standard_Integer Index, const Handle(PColStd_HArray1OfReal)& Value) ; + + Standard_Integer Upper() const; + + Standard_EXPORT Handle(PColStd_HArray1OfReal) Value (const Standard_Integer Index) const; + +PDataStd_HArray1OfHArray1OfReal( ) +{ + +} +PDataStd_HArray1OfHArray1OfReal(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Standard_Integer _CSFDB_GetPDataStd_HArray1OfHArray1OfRealLowerBound() const { return LowerBound; } + void _CSFDB_SetPDataStd_HArray1OfHArray1OfRealLowerBound(const Standard_Integer p) { LowerBound = p; } + Standard_Integer _CSFDB_GetPDataStd_HArray1OfHArray1OfRealUpperBound() const { return UpperBound; } + void _CSFDB_SetPDataStd_HArray1OfHArray1OfRealUpperBound(const Standard_Integer p) { UpperBound = p; } + const PDataStd_FieldOfHArray1OfHArray1OfReal& _CSFDB_GetPDataStd_HArray1OfHArray1OfRealData() const { return Data; } + + + + DEFINE_STANDARD_RTTI(PDataStd_HArray1OfHArray1OfReal) + +protected: + + + + +private: + + + Standard_EXPORT PDataStd_FieldOfHArray1OfHArray1OfReal Field() const; + + Standard_EXPORT Standard_Address Datas() const; + + Standard_Integer LowerBound; + Standard_Integer UpperBound; + PDataStd_FieldOfHArray1OfHArray1OfReal Data; + + +}; + +#define Item Handle(PColStd_HArray1OfReal) +#define Item_hxx +#define PCollection_FieldOfHArray1 PDataStd_FieldOfHArray1OfHArray1OfReal +#define PCollection_FieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfReal +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfReal +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal_Type_() +#define PCollection_HArray1 PDataStd_HArray1OfHArray1OfReal +#define PCollection_HArray1_hxx +#define Handle_PCollection_HArray1 Handle_PDataStd_HArray1OfHArray1OfReal +#define PCollection_HArray1_Type_() PDataStd_HArray1OfHArray1OfReal_Type_() + +#include + +#undef Item +#undef Item_hxx +#undef PCollection_FieldOfHArray1 +#undef PCollection_FieldOfHArray1_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray1 +#undef PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray1 +#undef PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_Type_ +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_Type_ +#undef PCollection_HArray1 +#undef PCollection_HArray1_hxx +#undef Handle_PCollection_HArray1 +#undef PCollection_HArray1_Type_ + + + + +#endif // _PDataStd_HArray1OfHArray1OfReal_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDataStd_HArray1OfHArray1OfReal_0.cxx b/src/FromOCCT/TKPLCAF/PDataStd_HArray1OfHArray1OfReal_0.cxx new file mode 100644 index 000000000..601d57549 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_HArray1OfHArray1OfReal_0.cxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PDataStd_HArray1OfHArray1OfReal,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDataStd_HArray1OfHArray1OfReal) + + +#define Item Handle(PColStd_HArray1OfReal) +#define Item_hxx +#define PCollection_FieldOfHArray1 PDataStd_FieldOfHArray1OfHArray1OfReal +#define PCollection_FieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfReal +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfReal +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal_Type_() +#define PCollection_HArray1 PDataStd_HArray1OfHArray1OfReal +#define PCollection_HArray1_hxx +#define Handle_PCollection_HArray1 Handle_PDataStd_HArray1OfHArray1OfReal +#define PCollection_HArray1_Type_() PDataStd_HArray1OfHArray1OfReal_Type_() +#include + diff --git a/src/FromOCCT/TKPLCAF/PDataStd_HArray1OfHAsciiString.hxx b/src/FromOCCT/TKPLCAF/PDataStd_HArray1OfHAsciiString.hxx new file mode 100644 index 000000000..9f4ddf274 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_HArray1OfHAsciiString.hxx @@ -0,0 +1,132 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataStd_HArray1OfHAsciiString_HeaderFile +#define _PDataStd_HArray1OfHAsciiString_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class PCollection_HAsciiString; +class Standard_OutOfRange; +class Standard_RangeError; +class PDataStd_FieldOfHArray1OfHAsciiString; +class PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString; +class PDataStd_VArrayTNodeOfFieldOfHArray1OfHAsciiString; + + +class PDataStd_HArray1OfHAsciiString : public Standard_Persistent +{ + +public: + + + Standard_EXPORT PDataStd_HArray1OfHAsciiString(const Standard_Integer Low, const Standard_Integer Up); + + Standard_EXPORT PDataStd_HArray1OfHAsciiString(const Standard_Integer Low, const Standard_Integer Up, const Handle(PCollection_HAsciiString)& V); + + Standard_Integer Length() const; + + Standard_Integer Lower() const; + + Standard_EXPORT void SetValue (const Standard_Integer Index, const Handle(PCollection_HAsciiString)& Value) ; + + Standard_Integer Upper() const; + + Standard_EXPORT Handle(PCollection_HAsciiString) Value (const Standard_Integer Index) const; + +PDataStd_HArray1OfHAsciiString( ) +{ + +} +PDataStd_HArray1OfHAsciiString(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Standard_Integer _CSFDB_GetPDataStd_HArray1OfHAsciiStringLowerBound() const { return LowerBound; } + void _CSFDB_SetPDataStd_HArray1OfHAsciiStringLowerBound(const Standard_Integer p) { LowerBound = p; } + Standard_Integer _CSFDB_GetPDataStd_HArray1OfHAsciiStringUpperBound() const { return UpperBound; } + void _CSFDB_SetPDataStd_HArray1OfHAsciiStringUpperBound(const Standard_Integer p) { UpperBound = p; } + const PDataStd_FieldOfHArray1OfHAsciiString& _CSFDB_GetPDataStd_HArray1OfHAsciiStringData() const { return Data; } + + + + DEFINE_STANDARD_RTTI(PDataStd_HArray1OfHAsciiString) + +protected: + + + + +private: + + + Standard_EXPORT PDataStd_FieldOfHArray1OfHAsciiString Field() const; + + Standard_EXPORT Standard_Address Datas() const; + + Standard_Integer LowerBound; + Standard_Integer UpperBound; + PDataStd_FieldOfHArray1OfHAsciiString Data; + + +}; + +#define Item Handle(PCollection_HAsciiString) +#define Item_hxx +#define PCollection_FieldOfHArray1 PDataStd_FieldOfHArray1OfHAsciiString +#define PCollection_FieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PDataStd_VArrayTNodeOfFieldOfHArray1OfHAsciiString +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PDataStd_VArrayTNodeOfFieldOfHArray1OfHAsciiString +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString_Type_() +#define PCollection_HArray1 PDataStd_HArray1OfHAsciiString +#define PCollection_HArray1_hxx +#define Handle_PCollection_HArray1 Handle_PDataStd_HArray1OfHAsciiString +#define PCollection_HArray1_Type_() PDataStd_HArray1OfHAsciiString_Type_() + +#include + +#undef Item +#undef Item_hxx +#undef PCollection_FieldOfHArray1 +#undef PCollection_FieldOfHArray1_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray1 +#undef PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray1 +#undef PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_Type_ +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_Type_ +#undef PCollection_HArray1 +#undef PCollection_HArray1_hxx +#undef Handle_PCollection_HArray1 +#undef PCollection_HArray1_Type_ + + + + +#endif // _PDataStd_HArray1OfHAsciiString_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDataStd_HArray1OfHAsciiString_0.cxx b/src/FromOCCT/TKPLCAF/PDataStd_HArray1OfHAsciiString_0.cxx new file mode 100644 index 000000000..63b404a48 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_HArray1OfHAsciiString_0.cxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PDataStd_HArray1OfHAsciiString,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDataStd_HArray1OfHAsciiString) + + +#define Item Handle(PCollection_HAsciiString) +#define Item_hxx +#define PCollection_FieldOfHArray1 PDataStd_FieldOfHArray1OfHAsciiString +#define PCollection_FieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PDataStd_VArrayTNodeOfFieldOfHArray1OfHAsciiString +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PDataStd_VArrayTNodeOfFieldOfHArray1OfHAsciiString +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString_Type_() +#define PCollection_HArray1 PDataStd_HArray1OfHAsciiString +#define PCollection_HArray1_hxx +#define Handle_PCollection_HArray1 Handle_PDataStd_HArray1OfHAsciiString +#define PCollection_HArray1_Type_() PDataStd_HArray1OfHAsciiString_Type_() +#include + diff --git a/src/FromOCCT/TKPLCAF/PDataStd_IntPackedMap.cxx b/src/FromOCCT/TKPLCAF/PDataStd_IntPackedMap.cxx new file mode 100644 index 000000000..016323c8b --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_IntPackedMap.cxx @@ -0,0 +1,80 @@ +// 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 +#include +//======================================================================= +//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/FromOCCT/TKPLCAF/PDataStd_IntPackedMap.hxx b/src/FromOCCT/TKPLCAF/PDataStd_IntPackedMap.hxx new file mode 100644 index 000000000..359f3300b --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_IntPackedMap.hxx @@ -0,0 +1,77 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataStd_IntPackedMap_HeaderFile +#define _PDataStd_IntPackedMap_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +class PColStd_HArray1OfInteger; + + +class PDataStd_IntPackedMap : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PDataStd_IntPackedMap(); + + //! Inits the internal container + //! if (upper - lower) == 0 and (upper | lower) == 0, the corresponding + //! array is empty (not requested) + Standard_EXPORT void Init (const Standard_Integer theLow, const Standard_Integer theUp) ; + + //! Returns true if the internal container is empty + Standard_EXPORT Standard_Boolean IsEmpty() const; + + //! Returns an upper bound of the internal container + Standard_EXPORT Standard_Integer Upper() const; + + //! Returns a lower bound of the internal container + Standard_EXPORT Standard_Integer Lower() const; + + Standard_EXPORT Standard_Integer GetValue (const Standard_Integer theIndex) const; + + Standard_EXPORT void SetValue (const Standard_Integer theIndex, const Standard_Integer theValue) ; + +PDataStd_IntPackedMap(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + Handle(PColStd_HArray1OfInteger) _CSFDB_GetPDataStd_IntPackedMapmyIntValues() const { return myIntValues; } + void _CSFDB_SetPDataStd_IntPackedMapmyIntValues(const Handle(PColStd_HArray1OfInteger)& p) { myIntValues = p; } + + + + DEFINE_STANDARD_RTTI(PDataStd_IntPackedMap) + +protected: + + + + +private: + + + Handle(PColStd_HArray1OfInteger) myIntValues; + + +}; + + + + + + + +#endif // _PDataStd_IntPackedMap_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDataStd_IntPackedMap.ixx b/src/FromOCCT/TKPLCAF/PDataStd_IntPackedMap.ixx new file mode 100644 index 000000000..9c49a1d66 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_IntPackedMap.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PDataStd_IntPackedMap,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDataStd_IntPackedMap) + + + diff --git a/src/FromOCCT/TKPLCAF/PDataStd_IntPackedMap.jxx b/src/FromOCCT/TKPLCAF/PDataStd_IntPackedMap.jxx new file mode 100644 index 000000000..594524353 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_IntPackedMap.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPLCAF/PDataStd_IntPackedMap_1.cxx b/src/FromOCCT/TKPLCAF/PDataStd_IntPackedMap_1.cxx new file mode 100644 index 000000000..c25cb6328 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_IntPackedMap_1.cxx @@ -0,0 +1,99 @@ +// 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 +#include + +//======================================================================= +//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/FromOCCT/TKPLCAF/PDataStd_IntPackedMap_1.hxx b/src/FromOCCT/TKPLCAF/PDataStd_IntPackedMap_1.hxx new file mode 100644 index 000000000..a98244934 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_IntPackedMap_1.hxx @@ -0,0 +1,84 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataStd_IntPackedMap_1_HeaderFile +#define _PDataStd_IntPackedMap_1_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +class PColStd_HArray1OfInteger; + + +class PDataStd_IntPackedMap_1 : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PDataStd_IntPackedMap_1(); + + //! Inits the internal container + //! if (upper - lower) == 0 and (upper | lower) == 0, the corresponding + //! array is empty (not requested) + Standard_EXPORT void Init (const Standard_Integer theLow, const Standard_Integer theUp) ; + + //! Returns true if the internal container is empty + Standard_EXPORT Standard_Boolean IsEmpty() const; + + //! Returns an upper bound of the internal container + Standard_EXPORT Standard_Integer Upper() const; + + //! Returns a lower bound of the internal container + Standard_EXPORT Standard_Integer Lower() const; + + Standard_EXPORT Standard_Integer GetValue (const Standard_Integer theIndex) const; + + Standard_EXPORT void SetValue (const Standard_Integer theIndex, const Standard_Integer theValue) ; + + Standard_EXPORT void SetDelta (const Standard_Boolean delta) ; + + Standard_EXPORT Standard_Boolean GetDelta() const; + +PDataStd_IntPackedMap_1(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + Handle(PColStd_HArray1OfInteger) _CSFDB_GetPDataStd_IntPackedMap_1myIntValues() const { return myIntValues; } + void _CSFDB_SetPDataStd_IntPackedMap_1myIntValues(const Handle(PColStd_HArray1OfInteger)& p) { myIntValues = p; } + Standard_Boolean _CSFDB_GetPDataStd_IntPackedMap_1myDelta() const { return myDelta; } + void _CSFDB_SetPDataStd_IntPackedMap_1myDelta(const Standard_Boolean p) { myDelta = p; } + + + + DEFINE_STANDARD_RTTI(PDataStd_IntPackedMap_1) + +protected: + + + + +private: + + + Handle(PColStd_HArray1OfInteger) myIntValues; + Standard_Boolean myDelta; + + +}; + + + + + + + +#endif // _PDataStd_IntPackedMap_1_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDataStd_IntPackedMap_1.ixx b/src/FromOCCT/TKPLCAF/PDataStd_IntPackedMap_1.ixx new file mode 100644 index 000000000..ee1058e2e --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_IntPackedMap_1.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PDataStd_IntPackedMap_1,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDataStd_IntPackedMap_1) + + + diff --git a/src/FromOCCT/TKPLCAF/PDataStd_IntPackedMap_1.jxx b/src/FromOCCT/TKPLCAF/PDataStd_IntPackedMap_1.jxx new file mode 100644 index 000000000..164b2266d --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_IntPackedMap_1.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPLCAF/PDataStd_Integer.cxx b/src/FromOCCT/TKPLCAF/PDataStd_Integer.cxx new file mode 100644 index 000000000..69c3af994 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_Integer.cxx @@ -0,0 +1,57 @@ +// 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 + + +//======================================================================= +//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/FromOCCT/TKPLCAF/PDataStd_Integer.hxx b/src/FromOCCT/TKPLCAF/PDataStd_Integer.hxx new file mode 100644 index 000000000..f95eb36ff --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_Integer.hxx @@ -0,0 +1,62 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataStd_Integer_HeaderFile +#define _PDataStd_Integer_HeaderFile + +#include +#include +#include +#include + +#include +#include + + +class PDataStd_Integer : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PDataStd_Integer(); + + Standard_EXPORT PDataStd_Integer(const Standard_Integer V); + + Standard_EXPORT Standard_Integer Get() const; + + Standard_EXPORT void Set (const Standard_Integer V) ; + +PDataStd_Integer(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + Standard_Integer _CSFDB_GetPDataStd_IntegermyValue() const { return myValue; } + void _CSFDB_SetPDataStd_IntegermyValue(const Standard_Integer p) { myValue = p; } + + + + DEFINE_STANDARD_RTTI(PDataStd_Integer) + +protected: + + + + +private: + + + Standard_Integer myValue; + + +}; + + + + + + + +#endif // _PDataStd_Integer_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDataStd_Integer.ixx b/src/FromOCCT/TKPLCAF/PDataStd_Integer.ixx new file mode 100644 index 000000000..193859009 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_Integer.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PDataStd_Integer,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDataStd_Integer) + + + diff --git a/src/FromOCCT/TKPLCAF/PDataStd_Integer.jxx b/src/FromOCCT/TKPLCAF/PDataStd_Integer.jxx new file mode 100644 index 000000000..d1e62b331 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_Integer.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKPLCAF/PDataStd_IntegerArray.cxx b/src/FromOCCT/TKPLCAF/PDataStd_IntegerArray.cxx new file mode 100644 index 000000000..f9c16c33d --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_IntegerArray.cxx @@ -0,0 +1,71 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPLCAF/PDataStd_IntegerArray.hxx b/src/FromOCCT/TKPLCAF/PDataStd_IntegerArray.hxx new file mode 100644 index 000000000..3fc3e30c1 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_IntegerArray.hxx @@ -0,0 +1,68 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataStd_IntegerArray_HeaderFile +#define _PDataStd_IntegerArray_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class PColStd_HArray1OfInteger; + + +class PDataStd_IntegerArray : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PDataStd_IntegerArray(); + + Standard_EXPORT void Init (const Standard_Integer lower, const Standard_Integer upper) ; + + Standard_EXPORT void SetValue (const Standard_Integer Index, const Standard_Integer Value) ; + + Standard_EXPORT Standard_Integer Value (const Standard_Integer Index) const; + + Standard_EXPORT Standard_Integer Lower() const; + + Standard_EXPORT Standard_Integer Upper() const; + +PDataStd_IntegerArray(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + Handle(PColStd_HArray1OfInteger) _CSFDB_GetPDataStd_IntegerArraymyValue() const { return myValue; } + void _CSFDB_SetPDataStd_IntegerArraymyValue(const Handle(PColStd_HArray1OfInteger)& p) { myValue = p; } + + + + DEFINE_STANDARD_RTTI(PDataStd_IntegerArray) + +protected: + + + + +private: + + + Handle(PColStd_HArray1OfInteger) myValue; + + +}; + + + + + + + +#endif // _PDataStd_IntegerArray_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDataStd_IntegerArray.ixx b/src/FromOCCT/TKPLCAF/PDataStd_IntegerArray.ixx new file mode 100644 index 000000000..ac72e3b3f --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_IntegerArray.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PDataStd_IntegerArray,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDataStd_IntegerArray) + + + diff --git a/src/FromOCCT/TKPLCAF/PDataStd_IntegerArray.jxx b/src/FromOCCT/TKPLCAF/PDataStd_IntegerArray.jxx new file mode 100644 index 000000000..ad7226a75 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_IntegerArray.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPLCAF/PDataStd_IntegerArray_1.cxx b/src/FromOCCT/TKPLCAF/PDataStd_IntegerArray_1.cxx new file mode 100644 index 000000000..7a10d437d --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_IntegerArray_1.cxx @@ -0,0 +1,90 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPLCAF/PDataStd_IntegerArray_1.hxx b/src/FromOCCT/TKPLCAF/PDataStd_IntegerArray_1.hxx new file mode 100644 index 000000000..170b3f9e9 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_IntegerArray_1.hxx @@ -0,0 +1,76 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataStd_IntegerArray_1_HeaderFile +#define _PDataStd_IntegerArray_1_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +class PColStd_HArray1OfInteger; + + +class PDataStd_IntegerArray_1 : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PDataStd_IntegerArray_1(); + + Standard_EXPORT void Init (const Standard_Integer lower, const Standard_Integer upper) ; + + Standard_EXPORT void SetValue (const Standard_Integer Index, const Standard_Integer Value) ; + + Standard_EXPORT Standard_Integer Value (const Standard_Integer Index) const; + + Standard_EXPORT Standard_Integer Lower() const; + + Standard_EXPORT Standard_Integer Upper() const; + + Standard_EXPORT void SetDelta (const Standard_Boolean delta) ; + + Standard_EXPORT Standard_Boolean GetDelta() const; + +PDataStd_IntegerArray_1(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + Handle(PColStd_HArray1OfInteger) _CSFDB_GetPDataStd_IntegerArray_1myValue() const { return myValue; } + void _CSFDB_SetPDataStd_IntegerArray_1myValue(const Handle(PColStd_HArray1OfInteger)& p) { myValue = p; } + Standard_Boolean _CSFDB_GetPDataStd_IntegerArray_1myDelta() const { return myDelta; } + void _CSFDB_SetPDataStd_IntegerArray_1myDelta(const Standard_Boolean p) { myDelta = p; } + + + + DEFINE_STANDARD_RTTI(PDataStd_IntegerArray_1) + +protected: + + + + +private: + + + Handle(PColStd_HArray1OfInteger) myValue; + Standard_Boolean myDelta; + + +}; + + + + + + + +#endif // _PDataStd_IntegerArray_1_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDataStd_IntegerArray_1.ixx b/src/FromOCCT/TKPLCAF/PDataStd_IntegerArray_1.ixx new file mode 100644 index 000000000..edf16a06f --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_IntegerArray_1.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PDataStd_IntegerArray_1,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDataStd_IntegerArray_1) + + + diff --git a/src/FromOCCT/TKPLCAF/PDataStd_IntegerArray_1.jxx b/src/FromOCCT/TKPLCAF/PDataStd_IntegerArray_1.jxx new file mode 100644 index 000000000..b03279487 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_IntegerArray_1.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPLCAF/PDataStd_IntegerList.cxx b/src/FromOCCT/TKPLCAF/PDataStd_IntegerList.cxx new file mode 100644 index 000000000..5697e009e --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_IntegerList.cxx @@ -0,0 +1,76 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPLCAF/PDataStd_IntegerList.hxx b/src/FromOCCT/TKPLCAF/PDataStd_IntegerList.hxx new file mode 100644 index 000000000..8143d6c84 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_IntegerList.hxx @@ -0,0 +1,68 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataStd_IntegerList_HeaderFile +#define _PDataStd_IntegerList_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class PColStd_HArray1OfInteger; + + +class PDataStd_IntegerList : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PDataStd_IntegerList(); + + Standard_EXPORT void Init (const Standard_Integer lower, const Standard_Integer upper) ; + + Standard_EXPORT void SetValue (const Standard_Integer index, const Standard_Integer value) ; + + Standard_EXPORT Standard_Integer Value (const Standard_Integer index) const; + + Standard_EXPORT Standard_Integer Lower() const; + + Standard_EXPORT Standard_Integer Upper() const; + +PDataStd_IntegerList(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + Handle(PColStd_HArray1OfInteger) _CSFDB_GetPDataStd_IntegerListmyValue() const { return myValue; } + void _CSFDB_SetPDataStd_IntegerListmyValue(const Handle(PColStd_HArray1OfInteger)& p) { myValue = p; } + + + + DEFINE_STANDARD_RTTI(PDataStd_IntegerList) + +protected: + + + + +private: + + + Handle(PColStd_HArray1OfInteger) myValue; + + +}; + + + + + + + +#endif // _PDataStd_IntegerList_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDataStd_IntegerList.ixx b/src/FromOCCT/TKPLCAF/PDataStd_IntegerList.ixx new file mode 100644 index 000000000..907cc78fe --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_IntegerList.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PDataStd_IntegerList,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDataStd_IntegerList) + + + diff --git a/src/FromOCCT/TKPLCAF/PDataStd_IntegerList.jxx b/src/FromOCCT/TKPLCAF/PDataStd_IntegerList.jxx new file mode 100644 index 000000000..1f09a6e6e --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_IntegerList.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPLCAF/PDataStd_Name.cxx b/src/FromOCCT/TKPLCAF/PDataStd_Name.cxx new file mode 100644 index 000000000..3fa954c0f --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_Name.cxx @@ -0,0 +1,27 @@ +// 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::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/FromOCCT/TKPLCAF/PDataStd_Name.hxx b/src/FromOCCT/TKPLCAF/PDataStd_Name.hxx new file mode 100644 index 000000000..02789fb56 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_Name.hxx @@ -0,0 +1,63 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataStd_Name_HeaderFile +#define _PDataStd_Name_HeaderFile + +#include +#include +#include +#include + +#include +#include +class PCollection_HExtendedString; + + +class PDataStd_Name : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PDataStd_Name(); + + Standard_EXPORT PDataStd_Name(const Handle(PCollection_HExtendedString)& V); + + Standard_EXPORT Handle(PCollection_HExtendedString) Get() const; + + Standard_EXPORT void Set (const Handle(PCollection_HExtendedString)& V) ; + +PDataStd_Name(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + Handle(PCollection_HExtendedString) _CSFDB_GetPDataStd_NamemyValue() const { return myValue; } + void _CSFDB_SetPDataStd_NamemyValue(const Handle(PCollection_HExtendedString)& p) { myValue = p; } + + + + DEFINE_STANDARD_RTTI(PDataStd_Name) + +protected: + + + + +private: + + + Handle(PCollection_HExtendedString) myValue; + + +}; + + + + + + + +#endif // _PDataStd_Name_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDataStd_Name.ixx b/src/FromOCCT/TKPLCAF/PDataStd_Name.ixx new file mode 100644 index 000000000..0537a34bc --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_Name.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PDataStd_Name,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDataStd_Name) + + + diff --git a/src/FromOCCT/TKPLCAF/PDataStd_Name.jxx b/src/FromOCCT/TKPLCAF/PDataStd_Name.jxx new file mode 100644 index 000000000..5dce6418b --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_Name.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPLCAF/PDataStd_NamedData.cxx b/src/FromOCCT/TKPLCAF/PDataStd_NamedData.cxx new file mode 100644 index 000000000..aa325835d --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_NamedData.cxx @@ -0,0 +1,405 @@ +// 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 +#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/FromOCCT/TKPLCAF/PDataStd_NamedData.hxx b/src/FromOCCT/TKPLCAF/PDataStd_NamedData.hxx new file mode 100644 index 000000000..529c34e90 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_NamedData.hxx @@ -0,0 +1,184 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataStd_NamedData_HeaderFile +#define _PDataStd_NamedData_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +class PCollection_HExtendedString; +class PColStd_HArray1OfInteger; +class PColStd_HArray1OfReal; +class PColStd_HArray2OfInteger; +class PColStd_HArray1OfExtendedString; +class PDataStd_HArray1OfByte; +class PDataStd_HArray1OfHArray1OfInteger; +class PDataStd_HArray1OfHArray1OfReal; +class TColStd_HArray2OfInteger; + + +class PDataStd_NamedData : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PDataStd_NamedData(); + + //! 6 pairs of (lower, upper) should be initialized + //! if (upper - lower) == 0 and (upper | lower) == 0, the corresponding + //! array is empty (not requested) + Standard_EXPORT void Init (const Handle(TColStd_HArray2OfInteger)& theDimension) ; + + Standard_EXPORT void SetIntDataItem (const Standard_Integer index, const Handle(PCollection_HExtendedString)& key, const Standard_Integer value) ; + + Standard_EXPORT Standard_Integer IntDataItemValue (const Standard_Integer index, Handle(PCollection_HExtendedString)& key) const; + + Standard_EXPORT void SetRealDataItem (const Standard_Integer index, const Handle(PCollection_HExtendedString)& key, const Standard_Real value) ; + + Standard_EXPORT Standard_Real RealDataItemValue (const Standard_Integer index, Handle(PCollection_HExtendedString)& key) const; + + Standard_EXPORT void SetStrDataItem (const Standard_Integer index, const Handle(PCollection_HExtendedString)& key, const Handle(PCollection_HExtendedString)& value) ; + + Standard_EXPORT Handle(PCollection_HExtendedString) StrDataItemValue (const Standard_Integer index, Handle(PCollection_HExtendedString)& key) const; + + Standard_EXPORT void SetByteDataItem (const Standard_Integer index, const Handle(PCollection_HExtendedString)& key, const Standard_Byte value) ; + + Standard_EXPORT Standard_Byte ByteDataItemValue (const Standard_Integer index, Handle(PCollection_HExtendedString)& key) const; + + Standard_EXPORT void SetArrIntDataItem (const Standard_Integer index, const Handle(PCollection_HExtendedString)& key, const Handle(PColStd_HArray1OfInteger)& value) ; + + Standard_EXPORT Handle(PColStd_HArray1OfInteger) ArrIntDataItemValue (const Standard_Integer index, Handle(PCollection_HExtendedString)& key) const; + + Standard_EXPORT void SetArrRealDataItem (const Standard_Integer index, const Handle(PCollection_HExtendedString)& key, const Handle(PColStd_HArray1OfReal)& value) ; + + Standard_EXPORT Handle(PColStd_HArray1OfReal) ArrRealDataItemValue (const Standard_Integer index, Handle(PCollection_HExtendedString)& key) const; + + Standard_EXPORT Standard_Integer LowerI() const; + + Standard_EXPORT Standard_Integer UpperI() const; + + Standard_EXPORT Standard_Integer LowerR() const; + + Standard_EXPORT Standard_Integer UpperR() const; + + Standard_EXPORT Standard_Integer LowerS() const; + + Standard_EXPORT Standard_Integer UpperS() const; + + Standard_EXPORT Standard_Integer LowerB() const; + + Standard_EXPORT Standard_Integer UpperB() const; + + Standard_EXPORT Standard_Integer LowerAI() const; + + Standard_EXPORT Standard_Integer UpperAI() const; + + Standard_EXPORT Standard_Integer LowerAR() const; + + Standard_EXPORT Standard_Integer UpperAR() const; + + //! Returns true if at least one named integer value is kept. + Standard_EXPORT Standard_Boolean HasIntegers() const; + + //! Returns true if at least one named real value is kept. + Standard_EXPORT Standard_Boolean HasReals() const; + + //! Returns true if at least one named string value is kept. + Standard_EXPORT Standard_Boolean HasStrings() const; + + //! Returns true if at least one named byte value is kept. + Standard_EXPORT Standard_Boolean HasBytes() const; + + //! Returns true if at least one named array of integer values is kept. + Standard_EXPORT Standard_Boolean HasArraysOfIntegers() const; + + //! Returns true if at least one named array of real values is kept. + Standard_EXPORT Standard_Boolean HasArraysOfReals() const; + +PDataStd_NamedData(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + Handle(PColStd_HArray2OfInteger) _CSFDB_GetPDataStd_NamedDatamyDimensions() const { return myDimensions; } + void _CSFDB_SetPDataStd_NamedDatamyDimensions(const Handle(PColStd_HArray2OfInteger)& p) { myDimensions = p; } + Handle(PColStd_HArray1OfExtendedString) _CSFDB_GetPDataStd_NamedDatamyIntKeys() const { return myIntKeys; } + void _CSFDB_SetPDataStd_NamedDatamyIntKeys(const Handle(PColStd_HArray1OfExtendedString)& p) { myIntKeys = p; } + Handle(PColStd_HArray1OfInteger) _CSFDB_GetPDataStd_NamedDatamyIntValues() const { return myIntValues; } + void _CSFDB_SetPDataStd_NamedDatamyIntValues(const Handle(PColStd_HArray1OfInteger)& p) { myIntValues = p; } + Handle(PColStd_HArray1OfExtendedString) _CSFDB_GetPDataStd_NamedDatamyRealKeys() const { return myRealKeys; } + void _CSFDB_SetPDataStd_NamedDatamyRealKeys(const Handle(PColStd_HArray1OfExtendedString)& p) { myRealKeys = p; } + Handle(PColStd_HArray1OfReal) _CSFDB_GetPDataStd_NamedDatamyRealValues() const { return myRealValues; } + void _CSFDB_SetPDataStd_NamedDatamyRealValues(const Handle(PColStd_HArray1OfReal)& p) { myRealValues = p; } + Handle(PColStd_HArray1OfExtendedString) _CSFDB_GetPDataStd_NamedDatamyStrKeys() const { return myStrKeys; } + void _CSFDB_SetPDataStd_NamedDatamyStrKeys(const Handle(PColStd_HArray1OfExtendedString)& p) { myStrKeys = p; } + Handle(PColStd_HArray1OfExtendedString) _CSFDB_GetPDataStd_NamedDatamyStrValues() const { return myStrValues; } + void _CSFDB_SetPDataStd_NamedDatamyStrValues(const Handle(PColStd_HArray1OfExtendedString)& p) { myStrValues = p; } + Handle(PColStd_HArray1OfExtendedString) _CSFDB_GetPDataStd_NamedDatamyByteKeys() const { return myByteKeys; } + void _CSFDB_SetPDataStd_NamedDatamyByteKeys(const Handle(PColStd_HArray1OfExtendedString)& p) { myByteKeys = p; } + Handle(PDataStd_HArray1OfByte) _CSFDB_GetPDataStd_NamedDatamyByteValues() const { return myByteValues; } + void _CSFDB_SetPDataStd_NamedDatamyByteValues(const Handle(PDataStd_HArray1OfByte)& p) { myByteValues = p; } + Handle(PColStd_HArray1OfExtendedString) _CSFDB_GetPDataStd_NamedDatamyArrIntKeys() const { return myArrIntKeys; } + void _CSFDB_SetPDataStd_NamedDatamyArrIntKeys(const Handle(PColStd_HArray1OfExtendedString)& p) { myArrIntKeys = p; } + Handle(PDataStd_HArray1OfHArray1OfInteger) _CSFDB_GetPDataStd_NamedDatamyArrIntValues() const { return myArrIntValues; } + void _CSFDB_SetPDataStd_NamedDatamyArrIntValues(const Handle(PDataStd_HArray1OfHArray1OfInteger)& p) { myArrIntValues = p; } + Handle(PColStd_HArray1OfExtendedString) _CSFDB_GetPDataStd_NamedDatamyArrRealKeys() const { return myArrRealKeys; } + void _CSFDB_SetPDataStd_NamedDatamyArrRealKeys(const Handle(PColStd_HArray1OfExtendedString)& p) { myArrRealKeys = p; } + Handle(PDataStd_HArray1OfHArray1OfReal) _CSFDB_GetPDataStd_NamedDatamyArrRealValues() const { return myArrRealValues; } + void _CSFDB_SetPDataStd_NamedDatamyArrRealValues(const Handle(PDataStd_HArray1OfHArray1OfReal)& p) { myArrRealValues = p; } + + + + DEFINE_STANDARD_RTTI(PDataStd_NamedData) + +protected: + + + + +private: + + + Handle(PColStd_HArray2OfInteger) myDimensions; + Handle(PColStd_HArray1OfExtendedString) myIntKeys; + Handle(PColStd_HArray1OfInteger) myIntValues; + Handle(PColStd_HArray1OfExtendedString) myRealKeys; + Handle(PColStd_HArray1OfReal) myRealValues; + Handle(PColStd_HArray1OfExtendedString) myStrKeys; + Handle(PColStd_HArray1OfExtendedString) myStrValues; + Handle(PColStd_HArray1OfExtendedString) myByteKeys; + Handle(PDataStd_HArray1OfByte) myByteValues; + Handle(PColStd_HArray1OfExtendedString) myArrIntKeys; + Handle(PDataStd_HArray1OfHArray1OfInteger) myArrIntValues; + Handle(PColStd_HArray1OfExtendedString) myArrRealKeys; + Handle(PDataStd_HArray1OfHArray1OfReal) myArrRealValues; + + +}; + + + + + + + +#endif // _PDataStd_NamedData_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDataStd_NamedData.ixx b/src/FromOCCT/TKPLCAF/PDataStd_NamedData.ixx new file mode 100644 index 000000000..8f120b390 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_NamedData.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PDataStd_NamedData,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDataStd_NamedData) + + + diff --git a/src/FromOCCT/TKPLCAF/PDataStd_NamedData.jxx b/src/FromOCCT/TKPLCAF/PDataStd_NamedData.jxx new file mode 100644 index 000000000..7c213fcbb --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_NamedData.jxx @@ -0,0 +1,10 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/PDataStd_NoteBook.cxx b/src/FromOCCT/TKPLCAF/PDataStd_NoteBook.cxx new file mode 100644 index 000000000..9e03eb24f --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_NoteBook.cxx @@ -0,0 +1,18 @@ +// 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::PDataStd_NoteBook() {} + diff --git a/src/FromOCCT/TKPLCAF/PDataStd_NoteBook.hxx b/src/FromOCCT/TKPLCAF/PDataStd_NoteBook.hxx new file mode 100644 index 000000000..898c5a7bc --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_NoteBook.hxx @@ -0,0 +1,52 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataStd_NoteBook_HeaderFile +#define _PDataStd_NoteBook_HeaderFile + +#include +#include +#include +#include + +#include + + +class PDataStd_NoteBook : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PDataStd_NoteBook(); + +PDataStd_NoteBook(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + + + + DEFINE_STANDARD_RTTI(PDataStd_NoteBook) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PDataStd_NoteBook_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDataStd_NoteBook.ixx b/src/FromOCCT/TKPLCAF/PDataStd_NoteBook.ixx new file mode 100644 index 000000000..136cd7c5d --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_NoteBook.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PDataStd_NoteBook,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDataStd_NoteBook) + + + diff --git a/src/FromOCCT/TKPLCAF/PDataStd_NoteBook.jxx b/src/FromOCCT/TKPLCAF/PDataStd_NoteBook.jxx new file mode 100644 index 000000000..556cf1a7f --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_NoteBook.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKPLCAF/PDataStd_Real.cxx b/src/FromOCCT/TKPLCAF/PDataStd_Real.cxx new file mode 100644 index 000000000..5c8718aff --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_Real.cxx @@ -0,0 +1,81 @@ +// 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 + + +//======================================================================= +//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/FromOCCT/TKPLCAF/PDataStd_Real.hxx b/src/FromOCCT/TKPLCAF/PDataStd_Real.hxx new file mode 100644 index 000000000..d3e948116 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_Real.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataStd_Real_HeaderFile +#define _PDataStd_Real_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include + + +class PDataStd_Real : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PDataStd_Real(); + + Standard_EXPORT PDataStd_Real(const Standard_Real Value, const Standard_Integer Dimension); + + Standard_EXPORT Standard_Real Get() const; + + Standard_EXPORT void Set (const Standard_Real V) ; + + Standard_EXPORT void SetDimension (const Standard_Integer DIM) ; + + Standard_EXPORT Standard_Integer GetDimension() const; + +PDataStd_Real(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + Standard_Real _CSFDB_GetPDataStd_RealmyValue() const { return myValue; } + void _CSFDB_SetPDataStd_RealmyValue(const Standard_Real p) { myValue = p; } + Standard_Integer _CSFDB_GetPDataStd_RealmyDimension() const { return myDimension; } + void _CSFDB_SetPDataStd_RealmyDimension(const Standard_Integer p) { myDimension = p; } + + + + DEFINE_STANDARD_RTTI(PDataStd_Real) + +protected: + + + + +private: + + + Standard_Real myValue; + Standard_Integer myDimension; + + +}; + + + + + + + +#endif // _PDataStd_Real_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDataStd_Real.ixx b/src/FromOCCT/TKPLCAF/PDataStd_Real.ixx new file mode 100644 index 000000000..25f3417f4 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_Real.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PDataStd_Real,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDataStd_Real) + + + diff --git a/src/FromOCCT/TKPLCAF/PDataStd_Real.jxx b/src/FromOCCT/TKPLCAF/PDataStd_Real.jxx new file mode 100644 index 000000000..f926d16dc --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_Real.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKPLCAF/PDataStd_RealArray.cxx b/src/FromOCCT/TKPLCAF/PDataStd_RealArray.cxx new file mode 100644 index 000000000..45a71f535 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_RealArray.cxx @@ -0,0 +1,71 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPLCAF/PDataStd_RealArray.hxx b/src/FromOCCT/TKPLCAF/PDataStd_RealArray.hxx new file mode 100644 index 000000000..c5f2c6bcb --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_RealArray.hxx @@ -0,0 +1,69 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataStd_RealArray_HeaderFile +#define _PDataStd_RealArray_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +class PColStd_HArray1OfReal; + + +class PDataStd_RealArray : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PDataStd_RealArray(); + + Standard_EXPORT void Init (const Standard_Integer lower, const Standard_Integer upper) ; + + Standard_EXPORT void SetValue (const Standard_Integer Index, const Standard_Real Value) ; + + Standard_EXPORT Standard_Real Value (const Standard_Integer Index) const; + + Standard_EXPORT Standard_Integer Lower() const; + + Standard_EXPORT Standard_Integer Upper() const; + +PDataStd_RealArray(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + Handle(PColStd_HArray1OfReal) _CSFDB_GetPDataStd_RealArraymyValue() const { return myValue; } + void _CSFDB_SetPDataStd_RealArraymyValue(const Handle(PColStd_HArray1OfReal)& p) { myValue = p; } + + + + DEFINE_STANDARD_RTTI(PDataStd_RealArray) + +protected: + + + + +private: + + + Handle(PColStd_HArray1OfReal) myValue; + + +}; + + + + + + + +#endif // _PDataStd_RealArray_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDataStd_RealArray.ixx b/src/FromOCCT/TKPLCAF/PDataStd_RealArray.ixx new file mode 100644 index 000000000..f99087b45 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_RealArray.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PDataStd_RealArray,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDataStd_RealArray) + + + diff --git a/src/FromOCCT/TKPLCAF/PDataStd_RealArray.jxx b/src/FromOCCT/TKPLCAF/PDataStd_RealArray.jxx new file mode 100644 index 000000000..ecd2d9ab4 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_RealArray.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPLCAF/PDataStd_RealArray_1.cxx b/src/FromOCCT/TKPLCAF/PDataStd_RealArray_1.cxx new file mode 100644 index 000000000..ec6527da4 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_RealArray_1.cxx @@ -0,0 +1,88 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPLCAF/PDataStd_RealArray_1.hxx b/src/FromOCCT/TKPLCAF/PDataStd_RealArray_1.hxx new file mode 100644 index 000000000..6c2497b9d --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_RealArray_1.hxx @@ -0,0 +1,77 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataStd_RealArray_1_HeaderFile +#define _PDataStd_RealArray_1_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +class PColStd_HArray1OfReal; + + +class PDataStd_RealArray_1 : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PDataStd_RealArray_1(); + + Standard_EXPORT void Init (const Standard_Integer lower, const Standard_Integer upper) ; + + Standard_EXPORT void SetValue (const Standard_Integer Index, const Standard_Real Value) ; + + Standard_EXPORT Standard_Real Value (const Standard_Integer Index) const; + + Standard_EXPORT Standard_Integer Lower() const; + + Standard_EXPORT Standard_Integer Upper() const; + + Standard_EXPORT void SetDelta (const Standard_Boolean delta) ; + + Standard_EXPORT Standard_Boolean GetDelta() const; + +PDataStd_RealArray_1(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + Handle(PColStd_HArray1OfReal) _CSFDB_GetPDataStd_RealArray_1myValue() const { return myValue; } + void _CSFDB_SetPDataStd_RealArray_1myValue(const Handle(PColStd_HArray1OfReal)& p) { myValue = p; } + Standard_Boolean _CSFDB_GetPDataStd_RealArray_1myDelta() const { return myDelta; } + void _CSFDB_SetPDataStd_RealArray_1myDelta(const Standard_Boolean p) { myDelta = p; } + + + + DEFINE_STANDARD_RTTI(PDataStd_RealArray_1) + +protected: + + + + +private: + + + Handle(PColStd_HArray1OfReal) myValue; + Standard_Boolean myDelta; + + +}; + + + + + + + +#endif // _PDataStd_RealArray_1_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDataStd_RealArray_1.ixx b/src/FromOCCT/TKPLCAF/PDataStd_RealArray_1.ixx new file mode 100644 index 000000000..d110c8aaa --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_RealArray_1.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PDataStd_RealArray_1,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDataStd_RealArray_1) + + + diff --git a/src/FromOCCT/TKPLCAF/PDataStd_RealArray_1.jxx b/src/FromOCCT/TKPLCAF/PDataStd_RealArray_1.jxx new file mode 100644 index 000000000..4921c82c0 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_RealArray_1.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPLCAF/PDataStd_RealList.cxx b/src/FromOCCT/TKPLCAF/PDataStd_RealList.cxx new file mode 100644 index 000000000..2f0f94d82 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_RealList.cxx @@ -0,0 +1,76 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPLCAF/PDataStd_RealList.hxx b/src/FromOCCT/TKPLCAF/PDataStd_RealList.hxx new file mode 100644 index 000000000..17dcc8bf8 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_RealList.hxx @@ -0,0 +1,69 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataStd_RealList_HeaderFile +#define _PDataStd_RealList_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +class PColStd_HArray1OfReal; + + +class PDataStd_RealList : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PDataStd_RealList(); + + Standard_EXPORT void Init (const Standard_Integer lower, const Standard_Integer upper) ; + + Standard_EXPORT void SetValue (const Standard_Integer index, const Standard_Real value) ; + + Standard_EXPORT Standard_Real Value (const Standard_Integer index) const; + + Standard_EXPORT Standard_Integer Lower() const; + + Standard_EXPORT Standard_Integer Upper() const; + +PDataStd_RealList(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + Handle(PColStd_HArray1OfReal) _CSFDB_GetPDataStd_RealListmyValue() const { return myValue; } + void _CSFDB_SetPDataStd_RealListmyValue(const Handle(PColStd_HArray1OfReal)& p) { myValue = p; } + + + + DEFINE_STANDARD_RTTI(PDataStd_RealList) + +protected: + + + + +private: + + + Handle(PColStd_HArray1OfReal) myValue; + + +}; + + + + + + + +#endif // _PDataStd_RealList_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDataStd_RealList.ixx b/src/FromOCCT/TKPLCAF/PDataStd_RealList.ixx new file mode 100644 index 000000000..c91bcac4c --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_RealList.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PDataStd_RealList,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDataStd_RealList) + + + diff --git a/src/FromOCCT/TKPLCAF/PDataStd_RealList.jxx b/src/FromOCCT/TKPLCAF/PDataStd_RealList.jxx new file mode 100644 index 000000000..067a4ff26 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_RealList.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPLCAF/PDataStd_ReferenceArray.cxx b/src/FromOCCT/TKPLCAF/PDataStd_ReferenceArray.cxx new file mode 100644 index 000000000..f49135ea2 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_ReferenceArray.cxx @@ -0,0 +1,76 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPLCAF/PDataStd_ReferenceArray.hxx b/src/FromOCCT/TKPLCAF/PDataStd_ReferenceArray.hxx new file mode 100644 index 000000000..29a438d6d --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_ReferenceArray.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataStd_ReferenceArray_HeaderFile +#define _PDataStd_ReferenceArray_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +class PCollection_HExtendedString; +class PColStd_HArray1OfExtendedString; + + +class PDataStd_ReferenceArray : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PDataStd_ReferenceArray(); + + Standard_EXPORT void Init (const Standard_Integer lower, const Standard_Integer upper) ; + + Standard_EXPORT void SetValue (const Standard_Integer index, const Handle(PCollection_HExtendedString)& value) ; + + Standard_EXPORT Handle(PCollection_HExtendedString) Value (const Standard_Integer index) const; + + Standard_EXPORT Standard_Integer Lower() const; + + Standard_EXPORT Standard_Integer Upper() const; + +PDataStd_ReferenceArray(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + Handle(PColStd_HArray1OfExtendedString) _CSFDB_GetPDataStd_ReferenceArraymyValue() const { return myValue; } + void _CSFDB_SetPDataStd_ReferenceArraymyValue(const Handle(PColStd_HArray1OfExtendedString)& p) { myValue = p; } + + + + DEFINE_STANDARD_RTTI(PDataStd_ReferenceArray) + +protected: + + + + +private: + + + Handle(PColStd_HArray1OfExtendedString) myValue; + + +}; + + + + + + + +#endif // _PDataStd_ReferenceArray_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDataStd_ReferenceArray.ixx b/src/FromOCCT/TKPLCAF/PDataStd_ReferenceArray.ixx new file mode 100644 index 000000000..517ec3a4e --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_ReferenceArray.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PDataStd_ReferenceArray,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDataStd_ReferenceArray) + + + diff --git a/src/FromOCCT/TKPLCAF/PDataStd_ReferenceArray.jxx b/src/FromOCCT/TKPLCAF/PDataStd_ReferenceArray.jxx new file mode 100644 index 000000000..19cd73f3b --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_ReferenceArray.jxx @@ -0,0 +1,3 @@ +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/PDataStd_ReferenceList.cxx b/src/FromOCCT/TKPLCAF/PDataStd_ReferenceList.cxx new file mode 100644 index 000000000..9dde96db2 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_ReferenceList.cxx @@ -0,0 +1,76 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPLCAF/PDataStd_ReferenceList.hxx b/src/FromOCCT/TKPLCAF/PDataStd_ReferenceList.hxx new file mode 100644 index 000000000..4ad625f4f --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_ReferenceList.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataStd_ReferenceList_HeaderFile +#define _PDataStd_ReferenceList_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +class PCollection_HExtendedString; +class PColStd_HArray1OfExtendedString; + + +class PDataStd_ReferenceList : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PDataStd_ReferenceList(); + + Standard_EXPORT void Init (const Standard_Integer lower, const Standard_Integer upper) ; + + Standard_EXPORT void SetValue (const Standard_Integer index, const Handle(PCollection_HExtendedString)& value) ; + + Standard_EXPORT Handle(PCollection_HExtendedString) Value (const Standard_Integer index) const; + + Standard_EXPORT Standard_Integer Lower() const; + + Standard_EXPORT Standard_Integer Upper() const; + +PDataStd_ReferenceList(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + Handle(PColStd_HArray1OfExtendedString) _CSFDB_GetPDataStd_ReferenceListmyValue() const { return myValue; } + void _CSFDB_SetPDataStd_ReferenceListmyValue(const Handle(PColStd_HArray1OfExtendedString)& p) { myValue = p; } + + + + DEFINE_STANDARD_RTTI(PDataStd_ReferenceList) + +protected: + + + + +private: + + + Handle(PColStd_HArray1OfExtendedString) myValue; + + +}; + + + + + + + +#endif // _PDataStd_ReferenceList_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDataStd_ReferenceList.ixx b/src/FromOCCT/TKPLCAF/PDataStd_ReferenceList.ixx new file mode 100644 index 000000000..e8415804a --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_ReferenceList.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PDataStd_ReferenceList,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDataStd_ReferenceList) + + + diff --git a/src/FromOCCT/TKPLCAF/PDataStd_ReferenceList.jxx b/src/FromOCCT/TKPLCAF/PDataStd_ReferenceList.jxx new file mode 100644 index 000000000..d37fa025c --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_ReferenceList.jxx @@ -0,0 +1,3 @@ +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/PDataStd_Relation.cxx b/src/FromOCCT/TKPLCAF/PDataStd_Relation.cxx new file mode 100644 index 000000000..2ade3f3ad --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_Relation.cxx @@ -0,0 +1,78 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPLCAF/PDataStd_Relation.hxx b/src/FromOCCT/TKPLCAF/PDataStd_Relation.hxx new file mode 100644 index 000000000..5bdaa1aa7 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_Relation.hxx @@ -0,0 +1,72 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataStd_Relation_HeaderFile +#define _PDataStd_Relation_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class PCollection_HExtendedString; +class PDF_HAttributeArray1; + + +class PDataStd_Relation : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PDataStd_Relation(); + + Standard_EXPORT PDataStd_Relation(const Handle(PCollection_HExtendedString)& name); + + Standard_EXPORT Handle(PCollection_HExtendedString) GetName() const; + + Standard_EXPORT void SetName (const Handle(PCollection_HExtendedString)& vars) ; + + Standard_EXPORT Handle(PDF_HAttributeArray1) GetVariables() const; + + Standard_EXPORT void SetVariables (const Handle(PDF_HAttributeArray1)& vars) ; + +PDataStd_Relation(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + Handle(PCollection_HExtendedString) _CSFDB_GetPDataStd_RelationmyName() const { return myName; } + void _CSFDB_SetPDataStd_RelationmyName(const Handle(PCollection_HExtendedString)& p) { myName = p; } + Handle(PDF_HAttributeArray1) _CSFDB_GetPDataStd_RelationmyVariables() const { return myVariables; } + void _CSFDB_SetPDataStd_RelationmyVariables(const Handle(PDF_HAttributeArray1)& p) { myVariables = p; } + + + + DEFINE_STANDARD_RTTI(PDataStd_Relation) + +protected: + + + + +private: + + + Handle(PCollection_HExtendedString) myName; + Handle(PDF_HAttributeArray1) myVariables; + + +}; + + + + + + + +#endif // _PDataStd_Relation_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDataStd_Relation.ixx b/src/FromOCCT/TKPLCAF/PDataStd_Relation.ixx new file mode 100644 index 000000000..86fb21adb --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_Relation.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PDataStd_Relation,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDataStd_Relation) + + + diff --git a/src/FromOCCT/TKPLCAF/PDataStd_Relation.jxx b/src/FromOCCT/TKPLCAF/PDataStd_Relation.jxx new file mode 100644 index 000000000..e0d446b4e --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_Relation.jxx @@ -0,0 +1,3 @@ +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/PDataStd_Tick.cxx b/src/FromOCCT/TKPLCAF/PDataStd_Tick.cxx new file mode 100644 index 000000000..b43a914a4 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_Tick.cxx @@ -0,0 +1,21 @@ +// 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::PDataStd_Tick() +{ + +} diff --git a/src/FromOCCT/TKPLCAF/PDataStd_Tick.hxx b/src/FromOCCT/TKPLCAF/PDataStd_Tick.hxx new file mode 100644 index 000000000..e17ce9730 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_Tick.hxx @@ -0,0 +1,52 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataStd_Tick_HeaderFile +#define _PDataStd_Tick_HeaderFile + +#include +#include +#include +#include + +#include + + +class PDataStd_Tick : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PDataStd_Tick(); + +PDataStd_Tick(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + + + + DEFINE_STANDARD_RTTI(PDataStd_Tick) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PDataStd_Tick_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDataStd_Tick.ixx b/src/FromOCCT/TKPLCAF/PDataStd_Tick.ixx new file mode 100644 index 000000000..a844ce956 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_Tick.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PDataStd_Tick,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDataStd_Tick) + + + diff --git a/src/FromOCCT/TKPLCAF/PDataStd_Tick.jxx b/src/FromOCCT/TKPLCAF/PDataStd_Tick.jxx new file mode 100644 index 000000000..464d276c9 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_Tick.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKPLCAF/PDataStd_TreeNode.cxx b/src/FromOCCT/TKPLCAF/PDataStd_TreeNode.cxx new file mode 100644 index 000000000..622a32ae6 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_TreeNode.cxx @@ -0,0 +1,51 @@ +// 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 +#include + +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/FromOCCT/TKPLCAF/PDataStd_TreeNode.hxx b/src/FromOCCT/TKPLCAF/PDataStd_TreeNode.hxx new file mode 100644 index 000000000..42e4d02b8 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_TreeNode.hxx @@ -0,0 +1,75 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataStd_TreeNode_HeaderFile +#define _PDataStd_TreeNode_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class Standard_GUID; + + +class PDataStd_TreeNode : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PDataStd_TreeNode(); + + Standard_EXPORT Handle(PDataStd_TreeNode) First() const; + + Standard_EXPORT void SetFirst (const Handle(PDataStd_TreeNode)& F) ; + + Standard_EXPORT Handle(PDataStd_TreeNode) Next() const; + + Standard_EXPORT void SetNext (const Handle(PDataStd_TreeNode)& F) ; + + Standard_EXPORT void SetTreeID (const Standard_GUID& GUID) ; + + Standard_EXPORT Standard_GUID GetTreeID() const; + +PDataStd_TreeNode(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + Handle(PDataStd_TreeNode) _CSFDB_GetPDataStd_TreeNodemyFirst() const { return myFirst; } + void _CSFDB_SetPDataStd_TreeNodemyFirst(const Handle(PDataStd_TreeNode)& p) { myFirst = p; } + Handle(PDataStd_TreeNode) _CSFDB_GetPDataStd_TreeNodemyNext() const { return myNext; } + void _CSFDB_SetPDataStd_TreeNodemyNext(const Handle(PDataStd_TreeNode)& p) { myNext = p; } + const Standard_GUID& _CSFDB_GetPDataStd_TreeNodemyTreeID() const { return myTreeID; } + + + + DEFINE_STANDARD_RTTI(PDataStd_TreeNode) + +protected: + + + + +private: + + + Handle(PDataStd_TreeNode) myFirst; + Handle(PDataStd_TreeNode) myNext; + Standard_GUID myTreeID; + + +}; + + + + + + + +#endif // _PDataStd_TreeNode_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDataStd_TreeNode.ixx b/src/FromOCCT/TKPLCAF/PDataStd_TreeNode.ixx new file mode 100644 index 000000000..251c80c97 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_TreeNode.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PDataStd_TreeNode,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDataStd_TreeNode) + + + diff --git a/src/FromOCCT/TKPLCAF/PDataStd_TreeNode.jxx b/src/FromOCCT/TKPLCAF/PDataStd_TreeNode.jxx new file mode 100644 index 000000000..495b5b88f --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_TreeNode.jxx @@ -0,0 +1,3 @@ +#include +#include +#include diff --git a/src/FromOCCT/TKPLCAF/PDataStd_UAttribute.cxx b/src/FromOCCT/TKPLCAF/PDataStd_UAttribute.cxx new file mode 100644 index 000000000..e83f510e7 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_UAttribute.cxx @@ -0,0 +1,46 @@ +// 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 +#include + +//======================================================================= +//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/FromOCCT/TKPLCAF/PDataStd_UAttribute.hxx b/src/FromOCCT/TKPLCAF/PDataStd_UAttribute.hxx new file mode 100644 index 000000000..aac110aa1 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_UAttribute.hxx @@ -0,0 +1,61 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataStd_UAttribute_HeaderFile +#define _PDataStd_UAttribute_HeaderFile + +#include +#include +#include +#include + +#include +#include +class PCollection_HExtendedString; + + +class PDataStd_UAttribute : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PDataStd_UAttribute(); + + Standard_EXPORT void SetID (const Handle(PCollection_HExtendedString)& guid) ; + + Standard_EXPORT Handle(PCollection_HExtendedString) GetID() const; + +PDataStd_UAttribute(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + Handle(PCollection_HExtendedString) _CSFDB_GetPDataStd_UAttributemyID() const { return myID; } + void _CSFDB_SetPDataStd_UAttributemyID(const Handle(PCollection_HExtendedString)& p) { myID = p; } + + + + DEFINE_STANDARD_RTTI(PDataStd_UAttribute) + +protected: + + + + +private: + + + Handle(PCollection_HExtendedString) myID; + + +}; + + + + + + + +#endif // _PDataStd_UAttribute_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDataStd_UAttribute.ixx b/src/FromOCCT/TKPLCAF/PDataStd_UAttribute.ixx new file mode 100644 index 000000000..34999407b --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_UAttribute.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PDataStd_UAttribute,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDataStd_UAttribute) + + + diff --git a/src/FromOCCT/TKPLCAF/PDataStd_UAttribute.jxx b/src/FromOCCT/TKPLCAF/PDataStd_UAttribute.jxx new file mode 100644 index 000000000..02f39a4e9 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_UAttribute.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPLCAF/PDataStd_VArrayNodeOfFieldOfHArray1OfByte.hxx b/src/FromOCCT/TKPLCAF/PDataStd_VArrayNodeOfFieldOfHArray1OfByte.hxx new file mode 100644 index 000000000..0f627e458 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_VArrayNodeOfFieldOfHArray1OfByte.hxx @@ -0,0 +1,65 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataStd_VArrayNodeOfFieldOfHArray1OfByte_HeaderFile +#define _PDataStd_VArrayNodeOfFieldOfHArray1OfByte_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class PDataStd_FieldOfHArray1OfByte; +class PDataStd_VArrayTNodeOfFieldOfHArray1OfByte; + + +class PDataStd_VArrayNodeOfFieldOfHArray1OfByte : public PStandard_ArrayNode +{ + +public: + + + Standard_EXPORT PDataStd_VArrayNodeOfFieldOfHArray1OfByte(); + + Standard_EXPORT PDataStd_VArrayNodeOfFieldOfHArray1OfByte(const Standard_Byte& aValue); + + Standard_EXPORT void SetValue (const Standard_Byte& aValue) ; + + Standard_EXPORT Standard_Address Value() const; + +PDataStd_VArrayNodeOfFieldOfHArray1OfByte(const Storage_stCONSTclCOM& a) : PStandard_ArrayNode(a) +{ + +} + Standard_Byte _CSFDB_GetPDataStd_VArrayNodeOfFieldOfHArray1OfBytemyValue() const { return myValue; } + void _CSFDB_SetPDataStd_VArrayNodeOfFieldOfHArray1OfBytemyValue(const Standard_Byte p) { myValue = p; } + + + + DEFINE_STANDARD_RTTI(PDataStd_VArrayNodeOfFieldOfHArray1OfByte) + +protected: + + + + +private: + + + Standard_Byte myValue; + + +}; + + + + + + + +#endif // _PDataStd_VArrayNodeOfFieldOfHArray1OfByte_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDataStd_VArrayNodeOfFieldOfHArray1OfByte_0.cxx b/src/FromOCCT/TKPLCAF/PDataStd_VArrayNodeOfFieldOfHArray1OfByte_0.cxx new file mode 100644 index 000000000..0bd50f43e --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_VArrayNodeOfFieldOfHArray1OfByte_0.cxx @@ -0,0 +1,29 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include + + + + +IMPLEMENT_DOWNCAST(PDataStd_VArrayNodeOfFieldOfHArray1OfByte,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDataStd_VArrayNodeOfFieldOfHArray1OfByte) + + +#define Item Standard_Byte +#define Item_hxx +#define DBC_VArrayNode PDataStd_VArrayNodeOfFieldOfHArray1OfByte +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PDataStd_VArrayTNodeOfFieldOfHArray1OfByte +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfByte +#define DBC_VArrayNode_Type_() PDataStd_VArrayNodeOfFieldOfHArray1OfByte_Type_() +#define DBC_VArray PDataStd_FieldOfHArray1OfByte +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPLCAF/PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger.hxx b/src/FromOCCT/TKPLCAF/PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger.hxx new file mode 100644 index 000000000..a055edc8b --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger.hxx @@ -0,0 +1,66 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger_HeaderFile +#define _PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class PColStd_HArray1OfInteger; +class PDataStd_FieldOfHArray1OfHArray1OfInteger; +class PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfInteger; + + +class PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger : public PStandard_ArrayNode +{ + +public: + + + Standard_EXPORT PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger(); + + Standard_EXPORT PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger(const Handle(PColStd_HArray1OfInteger)& aValue); + + Standard_EXPORT void SetValue (const Handle(PColStd_HArray1OfInteger)& aValue) ; + + Standard_EXPORT Standard_Address Value() const; + +PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger(const Storage_stCONSTclCOM& a) : PStandard_ArrayNode(a) +{ + +} + Handle(PColStd_HArray1OfInteger) _CSFDB_GetPDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfIntegermyValue() const { return myValue; } + void _CSFDB_SetPDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfIntegermyValue(const Handle(PColStd_HArray1OfInteger)& p) { myValue = p; } + + + + DEFINE_STANDARD_RTTI(PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger) + +protected: + + + + +private: + + + Handle(PColStd_HArray1OfInteger) myValue; + + +}; + + + + + + + +#endif // _PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger_0.cxx b/src/FromOCCT/TKPLCAF/PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger_0.cxx new file mode 100644 index 000000000..0a8b8539b --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger_0.cxx @@ -0,0 +1,30 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger) + + +#define Item Handle(PColStd_HArray1OfInteger) +#define Item_hxx +#define DBC_VArrayNode PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfInteger +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger +#define DBC_VArrayNode_Type_() PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger_Type_() +#define DBC_VArray PDataStd_FieldOfHArray1OfHArray1OfInteger +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPLCAF/PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal.hxx b/src/FromOCCT/TKPLCAF/PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal.hxx new file mode 100644 index 000000000..4e27148f9 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal.hxx @@ -0,0 +1,66 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal_HeaderFile +#define _PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class PColStd_HArray1OfReal; +class PDataStd_FieldOfHArray1OfHArray1OfReal; +class PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfReal; + + +class PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal : public PStandard_ArrayNode +{ + +public: + + + Standard_EXPORT PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal(); + + Standard_EXPORT PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal(const Handle(PColStd_HArray1OfReal)& aValue); + + Standard_EXPORT void SetValue (const Handle(PColStd_HArray1OfReal)& aValue) ; + + Standard_EXPORT Standard_Address Value() const; + +PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal(const Storage_stCONSTclCOM& a) : PStandard_ArrayNode(a) +{ + +} + Handle(PColStd_HArray1OfReal) _CSFDB_GetPDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfRealmyValue() const { return myValue; } + void _CSFDB_SetPDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfRealmyValue(const Handle(PColStd_HArray1OfReal)& p) { myValue = p; } + + + + DEFINE_STANDARD_RTTI(PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal) + +protected: + + + + +private: + + + Handle(PColStd_HArray1OfReal) myValue; + + +}; + + + + + + + +#endif // _PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal_0.cxx b/src/FromOCCT/TKPLCAF/PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal_0.cxx new file mode 100644 index 000000000..1951d2f98 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal_0.cxx @@ -0,0 +1,30 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal) + + +#define Item Handle(PColStd_HArray1OfReal) +#define Item_hxx +#define DBC_VArrayNode PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfReal +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal +#define DBC_VArrayNode_Type_() PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal_Type_() +#define DBC_VArray PDataStd_FieldOfHArray1OfHArray1OfReal +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPLCAF/PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString.hxx b/src/FromOCCT/TKPLCAF/PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString.hxx new file mode 100644 index 000000000..b02638feb --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString.hxx @@ -0,0 +1,66 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString_HeaderFile +#define _PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class PCollection_HAsciiString; +class PDataStd_FieldOfHArray1OfHAsciiString; +class PDataStd_VArrayTNodeOfFieldOfHArray1OfHAsciiString; + + +class PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString : public PStandard_ArrayNode +{ + +public: + + + Standard_EXPORT PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString(); + + Standard_EXPORT PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString(const Handle(PCollection_HAsciiString)& aValue); + + Standard_EXPORT void SetValue (const Handle(PCollection_HAsciiString)& aValue) ; + + Standard_EXPORT Standard_Address Value() const; + +PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString(const Storage_stCONSTclCOM& a) : PStandard_ArrayNode(a) +{ + +} + Handle(PCollection_HAsciiString) _CSFDB_GetPDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiStringmyValue() const { return myValue; } + void _CSFDB_SetPDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiStringmyValue(const Handle(PCollection_HAsciiString)& p) { myValue = p; } + + + + DEFINE_STANDARD_RTTI(PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString) + +protected: + + + + +private: + + + Handle(PCollection_HAsciiString) myValue; + + +}; + + + + + + + +#endif // _PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString_0.cxx b/src/FromOCCT/TKPLCAF/PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString_0.cxx new file mode 100644 index 000000000..b0bcf4d8f --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString_0.cxx @@ -0,0 +1,30 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString) + + +#define Item Handle(PCollection_HAsciiString) +#define Item_hxx +#define DBC_VArrayNode PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PDataStd_VArrayTNodeOfFieldOfHArray1OfHAsciiString +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString +#define DBC_VArrayNode_Type_() PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString_Type_() +#define DBC_VArray PDataStd_FieldOfHArray1OfHAsciiString +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPLCAF/PDataStd_VArrayTNodeOfFieldOfHArray1OfByte.hxx b/src/FromOCCT/TKPLCAF/PDataStd_VArrayTNodeOfFieldOfHArray1OfByte.hxx new file mode 100644 index 000000000..284f73d17 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_VArrayTNodeOfFieldOfHArray1OfByte.hxx @@ -0,0 +1,81 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataStd_VArrayTNodeOfFieldOfHArray1OfByte_HeaderFile +#define _PDataStd_VArrayTNodeOfFieldOfHArray1OfByte_HeaderFile + +#include +#include +#include + +#include +#include +#include +class PDataStd_FieldOfHArray1OfByte; +class PDataStd_VArrayNodeOfFieldOfHArray1OfByte; + + + +class PDataStd_VArrayTNodeOfFieldOfHArray1OfByte +{ +public: + + DEFINE_STANDARD_ALLOC + + + PDataStd_VArrayTNodeOfFieldOfHArray1OfByte(); + + PDataStd_VArrayTNodeOfFieldOfHArray1OfByte(const Standard_Byte& aValue); + + void SetValue (const Standard_Byte& aValue) ; + + Standard_Address Value() const; + + + + +protected: + + + + + +private: + + + + Standard_Byte myValue; + + +}; + +#define Item Standard_Byte +#define Item_hxx +#define DBC_VArrayNode PDataStd_VArrayNodeOfFieldOfHArray1OfByte +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PDataStd_VArrayTNodeOfFieldOfHArray1OfByte +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfByte +#define DBC_VArrayNode_Type_() PDataStd_VArrayNodeOfFieldOfHArray1OfByte_Type_() +#define DBC_VArray PDataStd_FieldOfHArray1OfByte +#define DBC_VArray_hxx + +#include + +#undef Item +#undef Item_hxx +#undef DBC_VArrayNode +#undef DBC_VArrayNode_hxx +#undef DBC_VArrayTNode +#undef DBC_VArrayTNode_hxx +#undef Handle_DBC_VArrayNode +#undef DBC_VArrayNode_Type_ +#undef DBC_VArray +#undef DBC_VArray_hxx + + + + +#endif // _PDataStd_VArrayTNodeOfFieldOfHArray1OfByte_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDataStd_VArrayTNodeOfFieldOfHArray1OfByte_0.cxx b/src/FromOCCT/TKPLCAF/PDataStd_VArrayTNodeOfFieldOfHArray1OfByte_0.cxx new file mode 100644 index 000000000..efd92abc0 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_VArrayTNodeOfFieldOfHArray1OfByte_0.cxx @@ -0,0 +1,23 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include + + +#define Item Standard_Byte +#define Item_hxx +#define DBC_VArrayNode PDataStd_VArrayNodeOfFieldOfHArray1OfByte +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PDataStd_VArrayTNodeOfFieldOfHArray1OfByte +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfByte +#define DBC_VArrayNode_Type_() PDataStd_VArrayNodeOfFieldOfHArray1OfByte_Type_() +#define DBC_VArray PDataStd_FieldOfHArray1OfByte +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPLCAF/PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfInteger.hxx b/src/FromOCCT/TKPLCAF/PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfInteger.hxx new file mode 100644 index 000000000..6160d25db --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfInteger.hxx @@ -0,0 +1,82 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfInteger_HeaderFile +#define _PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfInteger_HeaderFile + +#include +#include +#include + +#include +#include +#include +class PColStd_HArray1OfInteger; +class PDataStd_FieldOfHArray1OfHArray1OfInteger; +class PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger; + + + +class PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfInteger +{ +public: + + DEFINE_STANDARD_ALLOC + + + PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfInteger(); + + PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfInteger(const Handle(PColStd_HArray1OfInteger)& aValue); + + void SetValue (const Handle(PColStd_HArray1OfInteger)& aValue) ; + + Standard_Address Value() const; + + + + +protected: + + + + + +private: + + + + Handle(PColStd_HArray1OfInteger) myValue; + + +}; + +#define Item Handle(PColStd_HArray1OfInteger) +#define Item_hxx +#define DBC_VArrayNode PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfInteger +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger +#define DBC_VArrayNode_Type_() PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger_Type_() +#define DBC_VArray PDataStd_FieldOfHArray1OfHArray1OfInteger +#define DBC_VArray_hxx + +#include + +#undef Item +#undef Item_hxx +#undef DBC_VArrayNode +#undef DBC_VArrayNode_hxx +#undef DBC_VArrayTNode +#undef DBC_VArrayTNode_hxx +#undef Handle_DBC_VArrayNode +#undef DBC_VArrayNode_Type_ +#undef DBC_VArray +#undef DBC_VArray_hxx + + + + +#endif // _PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfInteger_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfInteger_0.cxx b/src/FromOCCT/TKPLCAF/PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfInteger_0.cxx new file mode 100644 index 000000000..52f65e2f9 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfInteger_0.cxx @@ -0,0 +1,24 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + +#define Item Handle(PColStd_HArray1OfInteger) +#define Item_hxx +#define DBC_VArrayNode PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfInteger +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger +#define DBC_VArrayNode_Type_() PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfInteger_Type_() +#define DBC_VArray PDataStd_FieldOfHArray1OfHArray1OfInteger +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPLCAF/PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfReal.hxx b/src/FromOCCT/TKPLCAF/PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfReal.hxx new file mode 100644 index 000000000..4a7a76907 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfReal.hxx @@ -0,0 +1,82 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfReal_HeaderFile +#define _PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfReal_HeaderFile + +#include +#include +#include + +#include +#include +#include +class PColStd_HArray1OfReal; +class PDataStd_FieldOfHArray1OfHArray1OfReal; +class PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal; + + + +class PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfReal +{ +public: + + DEFINE_STANDARD_ALLOC + + + PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfReal(); + + PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfReal(const Handle(PColStd_HArray1OfReal)& aValue); + + void SetValue (const Handle(PColStd_HArray1OfReal)& aValue) ; + + Standard_Address Value() const; + + + + +protected: + + + + + +private: + + + + Handle(PColStd_HArray1OfReal) myValue; + + +}; + +#define Item Handle(PColStd_HArray1OfReal) +#define Item_hxx +#define DBC_VArrayNode PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfReal +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal +#define DBC_VArrayNode_Type_() PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal_Type_() +#define DBC_VArray PDataStd_FieldOfHArray1OfHArray1OfReal +#define DBC_VArray_hxx + +#include + +#undef Item +#undef Item_hxx +#undef DBC_VArrayNode +#undef DBC_VArrayNode_hxx +#undef DBC_VArrayTNode +#undef DBC_VArrayTNode_hxx +#undef Handle_DBC_VArrayNode +#undef DBC_VArrayNode_Type_ +#undef DBC_VArray +#undef DBC_VArray_hxx + + + + +#endif // _PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfReal_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfReal_0.cxx b/src/FromOCCT/TKPLCAF/PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfReal_0.cxx new file mode 100644 index 000000000..7cf0ec820 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfReal_0.cxx @@ -0,0 +1,24 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + +#define Item Handle(PColStd_HArray1OfReal) +#define Item_hxx +#define DBC_VArrayNode PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PDataStd_VArrayTNodeOfFieldOfHArray1OfHArray1OfReal +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal +#define DBC_VArrayNode_Type_() PDataStd_VArrayNodeOfFieldOfHArray1OfHArray1OfReal_Type_() +#define DBC_VArray PDataStd_FieldOfHArray1OfHArray1OfReal +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPLCAF/PDataStd_VArrayTNodeOfFieldOfHArray1OfHAsciiString.hxx b/src/FromOCCT/TKPLCAF/PDataStd_VArrayTNodeOfFieldOfHArray1OfHAsciiString.hxx new file mode 100644 index 000000000..fd44480b8 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_VArrayTNodeOfFieldOfHArray1OfHAsciiString.hxx @@ -0,0 +1,82 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataStd_VArrayTNodeOfFieldOfHArray1OfHAsciiString_HeaderFile +#define _PDataStd_VArrayTNodeOfFieldOfHArray1OfHAsciiString_HeaderFile + +#include +#include +#include + +#include +#include +#include +class PCollection_HAsciiString; +class PDataStd_FieldOfHArray1OfHAsciiString; +class PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString; + + + +class PDataStd_VArrayTNodeOfFieldOfHArray1OfHAsciiString +{ +public: + + DEFINE_STANDARD_ALLOC + + + PDataStd_VArrayTNodeOfFieldOfHArray1OfHAsciiString(); + + PDataStd_VArrayTNodeOfFieldOfHArray1OfHAsciiString(const Handle(PCollection_HAsciiString)& aValue); + + void SetValue (const Handle(PCollection_HAsciiString)& aValue) ; + + Standard_Address Value() const; + + + + +protected: + + + + + +private: + + + + Handle(PCollection_HAsciiString) myValue; + + +}; + +#define Item Handle(PCollection_HAsciiString) +#define Item_hxx +#define DBC_VArrayNode PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PDataStd_VArrayTNodeOfFieldOfHArray1OfHAsciiString +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString +#define DBC_VArrayNode_Type_() PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString_Type_() +#define DBC_VArray PDataStd_FieldOfHArray1OfHAsciiString +#define DBC_VArray_hxx + +#include + +#undef Item +#undef Item_hxx +#undef DBC_VArrayNode +#undef DBC_VArrayNode_hxx +#undef DBC_VArrayTNode +#undef DBC_VArrayTNode_hxx +#undef Handle_DBC_VArrayNode +#undef DBC_VArrayNode_Type_ +#undef DBC_VArray +#undef DBC_VArray_hxx + + + + +#endif // _PDataStd_VArrayTNodeOfFieldOfHArray1OfHAsciiString_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDataStd_VArrayTNodeOfFieldOfHArray1OfHAsciiString_0.cxx b/src/FromOCCT/TKPLCAF/PDataStd_VArrayTNodeOfFieldOfHArray1OfHAsciiString_0.cxx new file mode 100644 index 000000000..f57def2bb --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_VArrayTNodeOfFieldOfHArray1OfHAsciiString_0.cxx @@ -0,0 +1,24 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + +#define Item Handle(PCollection_HAsciiString) +#define Item_hxx +#define DBC_VArrayNode PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PDataStd_VArrayTNodeOfFieldOfHArray1OfHAsciiString +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString +#define DBC_VArrayNode_Type_() PDataStd_VArrayNodeOfFieldOfHArray1OfHAsciiString_Type_() +#define DBC_VArray PDataStd_FieldOfHArray1OfHAsciiString +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPLCAF/PDataStd_Variable.cxx b/src/FromOCCT/TKPLCAF/PDataStd_Variable.cxx new file mode 100644 index 000000000..a7572426d --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_Variable.cxx @@ -0,0 +1,71 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPLCAF/PDataStd_Variable.hxx b/src/FromOCCT/TKPLCAF/PDataStd_Variable.hxx new file mode 100644 index 000000000..e4c9cfee8 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_Variable.hxx @@ -0,0 +1,71 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDataStd_Variable_HeaderFile +#define _PDataStd_Variable_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class PCollection_HAsciiString; + + +class PDataStd_Variable : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PDataStd_Variable(); + + Standard_EXPORT PDataStd_Variable(const Standard_Boolean constant); + + Standard_EXPORT void Constant (const Standard_Boolean status) ; + + Standard_EXPORT Standard_Boolean Constant() const; + + Standard_EXPORT void Unit (const Handle(PCollection_HAsciiString)& unit) ; + + Standard_EXPORT Handle(PCollection_HAsciiString) Unit() const; + +PDataStd_Variable(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + Standard_Boolean _CSFDB_GetPDataStd_VariableisConstant() const { return isConstant; } + void _CSFDB_SetPDataStd_VariableisConstant(const Standard_Boolean p) { isConstant = p; } + Handle(PCollection_HAsciiString) _CSFDB_GetPDataStd_VariablemyUnit() const { return myUnit; } + void _CSFDB_SetPDataStd_VariablemyUnit(const Handle(PCollection_HAsciiString)& p) { myUnit = p; } + + + + DEFINE_STANDARD_RTTI(PDataStd_Variable) + +protected: + + + + +private: + + + Standard_Boolean isConstant; + Handle(PCollection_HAsciiString) myUnit; + + +}; + + + + + + + +#endif // _PDataStd_Variable_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDataStd_Variable.ixx b/src/FromOCCT/TKPLCAF/PDataStd_Variable.ixx new file mode 100644 index 000000000..2e1382c4c --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_Variable.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PDataStd_Variable,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDataStd_Variable) + + + diff --git a/src/FromOCCT/TKPLCAF/PDataStd_Variable.jxx b/src/FromOCCT/TKPLCAF/PDataStd_Variable.jxx new file mode 100644 index 000000000..7ab76583d --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDataStd_Variable.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPLCAF/PDocStd_Document.cxx b/src/FromOCCT/TKPLCAF/PDocStd_Document.cxx new file mode 100644 index 000000000..18b4697c9 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDocStd_Document.cxx @@ -0,0 +1,58 @@ +// Copyright (c) 1999-2014 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + +#include + + + +//======================================================================= +//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/FromOCCT/TKPLCAF/PDocStd_Document.hxx b/src/FromOCCT/TKPLCAF/PDocStd_Document.hxx new file mode 100644 index 000000000..c4916ee44 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDocStd_Document.hxx @@ -0,0 +1,63 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDocStd_Document_HeaderFile +#define _PDocStd_Document_HeaderFile + +#include +#include +#include +#include + +#include +#include +class PDF_Data; + + +class PDocStd_Document : public PCDM_Document +{ + +public: + + + Standard_EXPORT PDocStd_Document(); + + Standard_EXPORT PDocStd_Document(const Handle(PDF_Data)& data); + + Standard_EXPORT void SetData (const Handle(PDF_Data)& data) ; + + Standard_EXPORT Handle(PDF_Data) GetData() const; + +PDocStd_Document(const Storage_stCONSTclCOM& a) : PCDM_Document(a) +{ + +} + Handle(PDF_Data) _CSFDB_GetPDocStd_DocumentmyData() const { return myData; } + void _CSFDB_SetPDocStd_DocumentmyData(const Handle(PDF_Data)& p) { myData = p; } + + + + DEFINE_STANDARD_RTTI(PDocStd_Document) + +protected: + + + + +private: + + + Handle(PDF_Data) myData; + + +}; + + + + + + + +#endif // _PDocStd_Document_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDocStd_Document.ixx b/src/FromOCCT/TKPLCAF/PDocStd_Document.ixx new file mode 100644 index 000000000..82c984f44 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDocStd_Document.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PDocStd_Document,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDocStd_Document) + + + diff --git a/src/FromOCCT/TKPLCAF/PDocStd_Document.jxx b/src/FromOCCT/TKPLCAF/PDocStd_Document.jxx new file mode 100644 index 000000000..048c8f96a --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDocStd_Document.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPLCAF/PDocStd_XLink.cxx b/src/FromOCCT/TKPLCAF/PDocStd_XLink.cxx new file mode 100644 index 000000000..ab0b02d2e --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDocStd_XLink.cxx @@ -0,0 +1,72 @@ +// 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 + + +//======================================================================= +//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/FromOCCT/TKPLCAF/PDocStd_XLink.hxx b/src/FromOCCT/TKPLCAF/PDocStd_XLink.hxx new file mode 100644 index 000000000..b35629992 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDocStd_XLink.hxx @@ -0,0 +1,73 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PDocStd_XLink_HeaderFile +#define _PDocStd_XLink_HeaderFile + +#include +#include +#include +#include + +#include +#include +class PCollection_HAsciiString; + + +class PDocStd_XLink : public PDF_Attribute +{ + +public: + + + //! Returns an empty persistent external reference. + Standard_EXPORT PDocStd_XLink(); + + //! Sets the field with . + Standard_EXPORT void DocumentEntry (const Handle(PCollection_HAsciiString)& aDocEntry) ; + + //! Returns the contents of the field . + Standard_EXPORT Handle(PCollection_HAsciiString) DocumentEntry() const; + + //! Sets the field with . + Standard_EXPORT void LabelEntry (const Handle(PCollection_HAsciiString)& aLabEntry) ; + + //! Returns the contents of the field . + Standard_EXPORT Handle(PCollection_HAsciiString) LabelEntry() const; + +PDocStd_XLink(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + Handle(PCollection_HAsciiString) _CSFDB_GetPDocStd_XLinkmyDocEntry() const { return myDocEntry; } + void _CSFDB_SetPDocStd_XLinkmyDocEntry(const Handle(PCollection_HAsciiString)& p) { myDocEntry = p; } + Handle(PCollection_HAsciiString) _CSFDB_GetPDocStd_XLinkmyLabEntry() const { return myLabEntry; } + void _CSFDB_SetPDocStd_XLinkmyLabEntry(const Handle(PCollection_HAsciiString)& p) { myLabEntry = p; } + + + + DEFINE_STANDARD_RTTI(PDocStd_XLink) + +protected: + + + + +private: + + + Handle(PCollection_HAsciiString) myDocEntry; + Handle(PCollection_HAsciiString) myLabEntry; + + +}; + + + + + + + +#endif // _PDocStd_XLink_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PDocStd_XLink.ixx b/src/FromOCCT/TKPLCAF/PDocStd_XLink.ixx new file mode 100644 index 000000000..e1e6aa0c3 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDocStd_XLink.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PDocStd_XLink,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PDocStd_XLink) + + + diff --git a/src/FromOCCT/TKPLCAF/PDocStd_XLink.jxx b/src/FromOCCT/TKPLCAF/PDocStd_XLink.jxx new file mode 100644 index 000000000..84897d74e --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PDocStd_XLink.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPLCAF/PFunction_Function.cxx b/src/FromOCCT/TKPLCAF/PFunction_Function.cxx new file mode 100644 index 000000000..c6d8ac526 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PFunction_Function.cxx @@ -0,0 +1,42 @@ +// 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 +#include + +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/FromOCCT/TKPLCAF/PFunction_Function.hxx b/src/FromOCCT/TKPLCAF/PFunction_Function.hxx new file mode 100644 index 000000000..610f67da5 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PFunction_Function.hxx @@ -0,0 +1,68 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PFunction_Function_HeaderFile +#define _PFunction_Function_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class Standard_GUID; + + +class PFunction_Function : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PFunction_Function(); + + Standard_EXPORT void SetDriverGUID (const Standard_GUID& driverGUID) ; + + Standard_EXPORT Standard_GUID GetDriverGUID() const; + + Standard_EXPORT Standard_Integer GetFailure() const; + + Standard_EXPORT void SetFailure (const Standard_Integer mode) ; + +PFunction_Function(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + const Standard_GUID& _CSFDB_GetPFunction_FunctionmyDriverGUID() const { return myDriverGUID; } + Standard_Integer _CSFDB_GetPFunction_FunctionmyFailure() const { return myFailure; } + void _CSFDB_SetPFunction_FunctionmyFailure(const Standard_Integer p) { myFailure = p; } + + + + DEFINE_STANDARD_RTTI(PFunction_Function) + +protected: + + + + +private: + + + Standard_GUID myDriverGUID; + Standard_Integer myFailure; + + +}; + + + + + + + +#endif // _PFunction_Function_HeaderFile diff --git a/src/FromOCCT/TKPLCAF/PFunction_Function.ixx b/src/FromOCCT/TKPLCAF/PFunction_Function.ixx new file mode 100644 index 000000000..c169c624a --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PFunction_Function.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PFunction_Function,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PFunction_Function) + + + diff --git a/src/FromOCCT/TKPLCAF/PFunction_Function.jxx b/src/FromOCCT/TKPLCAF/PFunction_Function.jxx new file mode 100644 index 000000000..db88473c7 --- /dev/null +++ b/src/FromOCCT/TKPLCAF/PFunction_Function.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPShape/CMakeLists.txt b/src/FromOCCT/TKPShape/CMakeLists.txt new file mode 100755 index 000000000..bcf1d35f1 --- /dev/null +++ b/src/FromOCCT/TKPShape/CMakeLists.txt @@ -0,0 +1,935 @@ +# Copyright (C) 2012-2015 CEA/DEN, EDF R&D, OPEN CASCADE +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# + +# --- options --- + +# additional include directories +INCLUDE_DIRECTORIES( + ${CAS_INCLUDE_DIRS} + ${PROJECT_SOURCE_DIR}/src/FromOCCT/PTKernel + ${CMAKE_CURRENT_SOURCE_DIR} +) + +# additional preprocessor / compiler flags +ADD_DEFINITIONS( + ${CAS_DEFINITIONS} + ) + +# libraries to link to +SET(_link_LIBRARIES + ${CAS_TKMath} ${CAS_TKernel} ${CAS_TKG2d} + ${CAS_TKG3d} ${CAS_TKBRep} + PTKernel + ) + +# --- headers --- + +SET(GEOM_HEADERS + Handle_MgtBRep_TranslateTool1.hxx + Handle_MgtBRep_TranslateTool.hxx + Handle_MgtTopoDS_TranslateTool1.hxx + Handle_MgtTopoDS_TranslateTool.hxx + Handle_PBRep_Curve3D.hxx + Handle_PBRep_CurveOn2Surfaces.hxx + Handle_PBRep_CurveOnClosedSurface.hxx + Handle_PBRep_CurveOnSurface.hxx + Handle_PBRep_CurveRepresentation.hxx + Handle_PBRep_GCurve.hxx + Handle_PBRep_PointOnCurve.hxx + Handle_PBRep_PointOnCurveOnSurface.hxx + Handle_PBRep_PointOnSurface.hxx + Handle_PBRep_PointRepresentation.hxx + Handle_PBRep_PointsOnSurface.hxx + Handle_PBRep_Polygon3D.hxx + Handle_PBRep_PolygonOnClosedSurface.hxx + Handle_PBRep_PolygonOnClosedTriangulation.hxx + Handle_PBRep_PolygonOnSurface.hxx + Handle_PBRep_PolygonOnTriangulation.hxx + Handle_PBRep_TEdge1.hxx + Handle_PBRep_TEdge.hxx + Handle_PBRep_TFace1.hxx + Handle_PBRep_TFace.hxx + Handle_PBRep_TVertex1.hxx + Handle_PBRep_TVertex.hxx + Handle_PColgp_HArray1OfCirc2d.hxx + Handle_PColgp_HArray1OfDir2d.hxx + Handle_PColgp_HArray1OfDir.hxx + Handle_PColgp_HArray1OfLin2d.hxx + Handle_PColgp_HArray1OfPnt2d.hxx + Handle_PColgp_HArray1OfPnt.hxx + Handle_PColgp_HArray1OfVec2d.hxx + Handle_PColgp_HArray1OfVec.hxx + Handle_PColgp_HArray1OfXY.hxx + Handle_PColgp_HArray1OfXYZ.hxx + Handle_PColgp_HArray2OfCirc2d.hxx + Handle_PColgp_HArray2OfDir2d.hxx + Handle_PColgp_HArray2OfDir.hxx + Handle_PColgp_HArray2OfLin2d.hxx + Handle_PColgp_HArray2OfPnt2d.hxx + Handle_PColgp_HArray2OfPnt.hxx + Handle_PColgp_HArray2OfVec2d.hxx + Handle_PColgp_HArray2OfVec.hxx + Handle_PColgp_HArray2OfXY.hxx + Handle_PColgp_HArray2OfXYZ.hxx + Handle_PColgp_HSequenceOfDir.hxx + Handle_PColgp_HSequenceOfPnt.hxx + Handle_PColgp_HSequenceOfVec.hxx + Handle_PColgp_HSequenceOfXYZ.hxx + Handle_PColgp_SeqNodeOfHSequenceOfDir.hxx + Handle_PColgp_SeqNodeOfHSequenceOfPnt.hxx + Handle_PColgp_SeqNodeOfHSequenceOfVec.hxx + Handle_PColgp_SeqNodeOfHSequenceOfXYZ.hxx + Handle_PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d.hxx + Handle_PColgp_VArrayNodeOfFieldOfHArray1OfDir2d.hxx + Handle_PColgp_VArrayNodeOfFieldOfHArray1OfDir.hxx + Handle_PColgp_VArrayNodeOfFieldOfHArray1OfLin2d.hxx + Handle_PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d.hxx + Handle_PColgp_VArrayNodeOfFieldOfHArray1OfPnt.hxx + Handle_PColgp_VArrayNodeOfFieldOfHArray1OfVec2d.hxx + Handle_PColgp_VArrayNodeOfFieldOfHArray1OfVec.hxx + Handle_PColgp_VArrayNodeOfFieldOfHArray1OfXY.hxx + Handle_PColgp_VArrayNodeOfFieldOfHArray1OfXYZ.hxx + Handle_PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d.hxx + Handle_PColgp_VArrayNodeOfFieldOfHArray2OfDir2d.hxx + Handle_PColgp_VArrayNodeOfFieldOfHArray2OfDir.hxx + Handle_PColgp_VArrayNodeOfFieldOfHArray2OfLin2d.hxx + Handle_PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d.hxx + Handle_PColgp_VArrayNodeOfFieldOfHArray2OfPnt.hxx + Handle_PColgp_VArrayNodeOfFieldOfHArray2OfVec2d.hxx + Handle_PColgp_VArrayNodeOfFieldOfHArray2OfVec.hxx + Handle_PColgp_VArrayNodeOfFieldOfHArray2OfXY.hxx + Handle_PColgp_VArrayNodeOfFieldOfHArray2OfXYZ.hxx + Handle_PGeom2d_AxisPlacement.hxx + Handle_PGeom2d_BezierCurve.hxx + Handle_PGeom2d_BoundedCurve.hxx + Handle_PGeom2d_BSplineCurve.hxx + Handle_PGeom2d_CartesianPoint.hxx + Handle_PGeom2d_Circle.hxx + Handle_PGeom2d_Conic.hxx + Handle_PGeom2d_Curve.hxx + Handle_PGeom2d_Direction.hxx + Handle_PGeom2d_Ellipse.hxx + Handle_PGeom2d_Geometry.hxx + Handle_PGeom2d_Hyperbola.hxx + Handle_PGeom2d_Line.hxx + Handle_PGeom2d_OffsetCurve.hxx + Handle_PGeom2d_Parabola.hxx + Handle_PGeom2d_Point.hxx + Handle_PGeom2d_Transformation.hxx + Handle_PGeom2d_TrimmedCurve.hxx + Handle_PGeom2d_Vector.hxx + Handle_PGeom2d_VectorWithMagnitude.hxx + Handle_PGeom_Axis1Placement.hxx + Handle_PGeom_Axis2Placement.hxx + Handle_PGeom_AxisPlacement.hxx + Handle_PGeom_BezierCurve.hxx + Handle_PGeom_BezierSurface.hxx + Handle_PGeom_BoundedCurve.hxx + Handle_PGeom_BoundedSurface.hxx + Handle_PGeom_BSplineCurve.hxx + Handle_PGeom_BSplineSurface.hxx + Handle_PGeom_CartesianPoint.hxx + Handle_PGeom_Circle.hxx + Handle_PGeom_ConicalSurface.hxx + Handle_PGeom_Conic.hxx + Handle_PGeom_Curve.hxx + Handle_PGeom_CylindricalSurface.hxx + Handle_PGeom_Direction.hxx + Handle_PGeom_ElementarySurface.hxx + Handle_PGeom_Ellipse.hxx + Handle_PGeom_Geometry.hxx + Handle_PGeom_Hyperbola.hxx + Handle_PGeom_Line.hxx + Handle_PGeom_OffsetCurve.hxx + Handle_PGeom_OffsetSurface.hxx + Handle_PGeom_Parabola.hxx + Handle_PGeom_Plane.hxx + Handle_PGeom_Point.hxx + Handle_PGeom_RectangularTrimmedSurface.hxx + Handle_PGeom_SphericalSurface.hxx + Handle_PGeom_Surface.hxx + Handle_PGeom_SurfaceOfLinearExtrusion.hxx + Handle_PGeom_SurfaceOfRevolution.hxx + Handle_PGeom_SweptSurface.hxx + Handle_PGeom_ToroidalSurface.hxx + Handle_PGeom_Transformation.hxx + Handle_PGeom_TrimmedCurve.hxx + Handle_PGeom_Vector.hxx + Handle_PGeom_VectorWithMagnitude.hxx + Handle_PPoly_HArray1OfTriangle.hxx + Handle_PPoly_Polygon2D.hxx + Handle_PPoly_Polygon3D.hxx + Handle_PPoly_PolygonOnTriangulation.hxx + Handle_PPoly_Triangulation.hxx + Handle_PPoly_VArrayNodeOfFieldOfHArray1OfTriangle.hxx + Handle_PTopLoc_Datum3D.hxx + Handle_PTopLoc_ItemLocation.hxx + Handle_PTopoDS_Compound.hxx + Handle_PTopoDS_CompSolid.hxx + Handle_PTopoDS_Edge.hxx + Handle_PTopoDS_Face.hxx + Handle_PTopoDS_HArray1OfHShape.hxx + Handle_PTopoDS_HArray1OfShape1.hxx + Handle_PTopoDS_HShape.hxx + Handle_PTopoDS_Shell.hxx + Handle_PTopoDS_Solid.hxx + Handle_PTopoDS_TCompound1.hxx + Handle_PTopoDS_TCompound.hxx + Handle_PTopoDS_TCompSolid1.hxx + Handle_PTopoDS_TCompSolid.hxx + Handle_PTopoDS_TEdge1.hxx + Handle_PTopoDS_TEdge.hxx + Handle_PTopoDS_TFace1.hxx + Handle_PTopoDS_TFace.hxx + Handle_PTopoDS_TShape1.hxx + Handle_PTopoDS_TShape.hxx + Handle_PTopoDS_TShell1.hxx + Handle_PTopoDS_TShell.hxx + Handle_PTopoDS_TSolid1.hxx + Handle_PTopoDS_TSolid.hxx + Handle_PTopoDS_TVertex1.hxx + Handle_PTopoDS_TVertex.hxx + Handle_PTopoDS_TWire1.hxx + Handle_PTopoDS_TWire.hxx + Handle_PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape.hxx + Handle_PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1.hxx + Handle_PTopoDS_Vertex.hxx + Handle_PTopoDS_Wire.hxx MgtBRep.hxx + MgtBRep.ixx + MgtBRep.jxx + MgtBRep_TranslateTool1.hxx + MgtBRep_TranslateTool1.ixx + MgtBRep_TranslateTool1.jxx + MgtBRep_TranslateTool.hxx + MgtBRep_TranslateTool.ixx + MgtBRep_TranslateTool.jxx + MgtBRep_TriangleMode.hxx + MgtGeom2d.hxx + MgtGeom2d.ixx + MgtGeom2d.jxx + MgtGeom.hxx + MgtGeom.ixx + MgtGeom.jxx + MgtPoly.hxx + MgtPoly.ixx + MgtPoly.jxx + MgtTopLoc.hxx + MgtTopLoc.ixx + MgtTopLoc.jxx + MgtTopoDS.hxx + MgtTopoDS.ixx + MgtTopoDS.jxx + MgtTopoDS_TranslateTool1.hxx + MgtTopoDS_TranslateTool1.ixx + MgtTopoDS_TranslateTool1.jxx + MgtTopoDS_TranslateTool.hxx + MgtTopoDS_TranslateTool.ixx + MgtTopoDS_TranslateTool.jxx + PBRep_Curve3D.hxx + PBRep_Curve3D.ixx + PBRep_Curve3D.jxx + PBRep_CurveOn2Surfaces.hxx + PBRep_CurveOn2Surfaces.ixx + PBRep_CurveOn2Surfaces.jxx + PBRep_CurveOnClosedSurface.hxx + PBRep_CurveOnClosedSurface.ixx + PBRep_CurveOnClosedSurface.jxx + PBRep_CurveOnSurface.hxx + PBRep_CurveOnSurface.ixx + PBRep_CurveOnSurface.jxx + PBRep_CurveRepresentation.hxx + PBRep_CurveRepresentation.ixx + PBRep_CurveRepresentation.jxx + PBRep_GCurve.hxx + PBRep_GCurve.ixx + PBRep_GCurve.jxx + PBRep_PointOnCurve.hxx + PBRep_PointOnCurve.ixx + PBRep_PointOnCurve.jxx + PBRep_PointOnCurveOnSurface.hxx + PBRep_PointOnCurveOnSurface.ixx + PBRep_PointOnCurveOnSurface.jxx + PBRep_PointOnSurface.hxx + PBRep_PointOnSurface.ixx + PBRep_PointOnSurface.jxx + PBRep_PointRepresentation.hxx + PBRep_PointRepresentation.ixx + PBRep_PointRepresentation.jxx + PBRep_PointsOnSurface.hxx + PBRep_PointsOnSurface.ixx + PBRep_PointsOnSurface.jxx + PBRep_Polygon3D.hxx + PBRep_Polygon3D.ixx + PBRep_Polygon3D.jxx + PBRep_PolygonOnClosedSurface.hxx + PBRep_PolygonOnClosedSurface.ixx + PBRep_PolygonOnClosedSurface.jxx + PBRep_PolygonOnClosedTriangulation.hxx + PBRep_PolygonOnClosedTriangulation.ixx + PBRep_PolygonOnClosedTriangulation.jxx + PBRep_PolygonOnSurface.hxx + PBRep_PolygonOnSurface.ixx + PBRep_PolygonOnSurface.jxx + PBRep_PolygonOnTriangulation.hxx + PBRep_PolygonOnTriangulation.ixx + PBRep_PolygonOnTriangulation.jxx + PBRep_TEdge1.hxx + PBRep_TEdge1.ixx + PBRep_TEdge1.jxx + PBRep_TEdge.hxx + PBRep_TEdge.ixx + PBRep_TEdge.jxx + PBRep_TFace1.hxx + PBRep_TFace1.ixx + PBRep_TFace1.jxx + PBRep_TFace.hxx + PBRep_TFace.ixx + PBRep_TFace.jxx + PBRep_TVertex1.hxx + PBRep_TVertex1.ixx + PBRep_TVertex1.jxx + PBRep_TVertex.hxx + PBRep_TVertex.ixx + PBRep_TVertex.jxx + PColgp_FieldOfHArray1OfCirc2d.hxx + PColgp_FieldOfHArray1OfDir2d.hxx + PColgp_FieldOfHArray1OfDir.hxx + PColgp_FieldOfHArray1OfLin2d.hxx + PColgp_FieldOfHArray1OfPnt2d.hxx + PColgp_FieldOfHArray1OfPnt.hxx + PColgp_FieldOfHArray1OfVec2d.hxx + PColgp_FieldOfHArray1OfVec.hxx + PColgp_FieldOfHArray1OfXY.hxx + PColgp_FieldOfHArray1OfXYZ.hxx + PColgp_FieldOfHArray2OfCirc2d.hxx + PColgp_FieldOfHArray2OfDir2d.hxx + PColgp_FieldOfHArray2OfDir.hxx + PColgp_FieldOfHArray2OfLin2d.hxx + PColgp_FieldOfHArray2OfPnt2d.hxx + PColgp_FieldOfHArray2OfPnt.hxx + PColgp_FieldOfHArray2OfVec2d.hxx + PColgp_FieldOfHArray2OfVec.hxx + PColgp_FieldOfHArray2OfXY.hxx + PColgp_FieldOfHArray2OfXYZ.hxx + PColgp_HArray1OfCirc2d.hxx + PColgp_HArray1OfDir2d.hxx + PColgp_HArray1OfDir.hxx + PColgp_HArray1OfLin2d.hxx + PColgp_HArray1OfPnt2d.hxx + PColgp_HArray1OfPnt.hxx + PColgp_HArray1OfVec2d.hxx + PColgp_HArray1OfVec.hxx + PColgp_HArray1OfXY.hxx + PColgp_HArray1OfXYZ.hxx + PColgp_HArray2OfCirc2d.hxx + PColgp_HArray2OfDir2d.hxx + PColgp_HArray2OfDir.hxx + PColgp_HArray2OfLin2d.hxx + PColgp_HArray2OfPnt2d.hxx + PColgp_HArray2OfPnt.hxx + PColgp_HArray2OfVec2d.hxx + PColgp_HArray2OfVec.hxx + PColgp_HArray2OfXY.hxx + PColgp_HArray2OfXYZ.hxx + PColgp_HSequenceOfDir.hxx + PColgp_HSequenceOfPnt.hxx + PColgp_HSequenceOfVec.hxx + PColgp_HSequenceOfXYZ.hxx + PColgp_SeqExplorerOfHSequenceOfDir.hxx + PColgp_SeqExplorerOfHSequenceOfPnt.hxx + PColgp_SeqExplorerOfHSequenceOfVec.hxx + PColgp_SeqExplorerOfHSequenceOfXYZ.hxx + PColgp_SeqNodeOfHSequenceOfDir.hxx + PColgp_SeqNodeOfHSequenceOfPnt.hxx + PColgp_SeqNodeOfHSequenceOfVec.hxx + PColgp_SeqNodeOfHSequenceOfXYZ.hxx + PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d.hxx + PColgp_VArrayNodeOfFieldOfHArray1OfDir2d.hxx + PColgp_VArrayNodeOfFieldOfHArray1OfDir.hxx + PColgp_VArrayNodeOfFieldOfHArray1OfLin2d.hxx + PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d.hxx + PColgp_VArrayNodeOfFieldOfHArray1OfPnt.hxx + PColgp_VArrayNodeOfFieldOfHArray1OfVec2d.hxx + PColgp_VArrayNodeOfFieldOfHArray1OfVec.hxx + PColgp_VArrayNodeOfFieldOfHArray1OfXY.hxx + PColgp_VArrayNodeOfFieldOfHArray1OfXYZ.hxx + PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d.hxx + PColgp_VArrayNodeOfFieldOfHArray2OfDir2d.hxx + PColgp_VArrayNodeOfFieldOfHArray2OfDir.hxx + PColgp_VArrayNodeOfFieldOfHArray2OfLin2d.hxx + PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d.hxx + PColgp_VArrayNodeOfFieldOfHArray2OfPnt.hxx + PColgp_VArrayNodeOfFieldOfHArray2OfVec2d.hxx + PColgp_VArrayNodeOfFieldOfHArray2OfVec.hxx + PColgp_VArrayNodeOfFieldOfHArray2OfXY.hxx + PColgp_VArrayNodeOfFieldOfHArray2OfXYZ.hxx + PColgp_VArrayTNodeOfFieldOfHArray1OfCirc2d.hxx + PColgp_VArrayTNodeOfFieldOfHArray1OfDir2d.hxx + PColgp_VArrayTNodeOfFieldOfHArray1OfDir.hxx + PColgp_VArrayTNodeOfFieldOfHArray1OfLin2d.hxx + PColgp_VArrayTNodeOfFieldOfHArray1OfPnt2d.hxx + PColgp_VArrayTNodeOfFieldOfHArray1OfPnt.hxx + PColgp_VArrayTNodeOfFieldOfHArray1OfVec2d.hxx + PColgp_VArrayTNodeOfFieldOfHArray1OfVec.hxx + PColgp_VArrayTNodeOfFieldOfHArray1OfXY.hxx + PColgp_VArrayTNodeOfFieldOfHArray1OfXYZ.hxx + PColgp_VArrayTNodeOfFieldOfHArray2OfCirc2d.hxx + PColgp_VArrayTNodeOfFieldOfHArray2OfDir2d.hxx + PColgp_VArrayTNodeOfFieldOfHArray2OfDir.hxx + PColgp_VArrayTNodeOfFieldOfHArray2OfLin2d.hxx + PColgp_VArrayTNodeOfFieldOfHArray2OfPnt2d.hxx + PColgp_VArrayTNodeOfFieldOfHArray2OfPnt.hxx + PColgp_VArrayTNodeOfFieldOfHArray2OfVec2d.hxx + PColgp_VArrayTNodeOfFieldOfHArray2OfVec.hxx + PColgp_VArrayTNodeOfFieldOfHArray2OfXY.hxx + PColgp_VArrayTNodeOfFieldOfHArray2OfXYZ.hxx + PGeom2d_AxisPlacement.hxx + PGeom2d_AxisPlacement.ixx + PGeom2d_AxisPlacement.jxx + PGeom2d_BezierCurve.hxx + PGeom2d_BezierCurve.ixx + PGeom2d_BezierCurve.jxx + PGeom2d_BoundedCurve.hxx + PGeom2d_BoundedCurve.ixx + PGeom2d_BoundedCurve.jxx + PGeom2d_BSplineCurve.hxx + PGeom2d_BSplineCurve.ixx + PGeom2d_BSplineCurve.jxx + PGeom2d_CartesianPoint.hxx + PGeom2d_CartesianPoint.ixx + PGeom2d_CartesianPoint.jxx + PGeom2d_Circle.hxx + PGeom2d_Circle.ixx + PGeom2d_Circle.jxx + PGeom2d_Conic.hxx + PGeom2d_Conic.ixx + PGeom2d_Conic.jxx + PGeom2d_Curve.hxx + PGeom2d_Curve.ixx + PGeom2d_Curve.jxx + PGeom2d_Direction.hxx + PGeom2d_Direction.ixx + PGeom2d_Direction.jxx + PGeom2d_Ellipse.hxx + PGeom2d_Ellipse.ixx + PGeom2d_Ellipse.jxx + PGeom2d_Geometry.hxx + PGeom2d_Geometry.ixx + PGeom2d_Geometry.jxx + PGeom2d_Hyperbola.hxx + PGeom2d_Hyperbola.ixx + PGeom2d_Hyperbola.jxx + PGeom2d_Line.hxx + PGeom2d_Line.ixx + PGeom2d_Line.jxx + PGeom2d_OffsetCurve.hxx + PGeom2d_OffsetCurve.ixx + PGeom2d_OffsetCurve.jxx + PGeom2d_Parabola.hxx + PGeom2d_Parabola.ixx + PGeom2d_Parabola.jxx + PGeom2d_Point.hxx + PGeom2d_Point.ixx + PGeom2d_Point.jxx + PGeom2d_Transformation.hxx + PGeom2d_Transformation.ixx + PGeom2d_Transformation.jxx + PGeom2d_TrimmedCurve.hxx + PGeom2d_TrimmedCurve.ixx + PGeom2d_TrimmedCurve.jxx + PGeom2d_Vector.hxx + PGeom2d_Vector.ixx + PGeom2d_Vector.jxx + PGeom2d_VectorWithMagnitude.hxx + PGeom2d_VectorWithMagnitude.ixx + PGeom2d_VectorWithMagnitude.jxx + PGeom_Axis1Placement.hxx + PGeom_Axis1Placement.ixx + PGeom_Axis1Placement.jxx + PGeom_Axis2Placement.hxx + PGeom_Axis2Placement.ixx + PGeom_Axis2Placement.jxx + PGeom_AxisPlacement.hxx + PGeom_AxisPlacement.ixx + PGeom_AxisPlacement.jxx + PGeom_BezierCurve.hxx + PGeom_BezierCurve.ixx + PGeom_BezierCurve.jxx + PGeom_BezierSurface.hxx + PGeom_BezierSurface.ixx + PGeom_BezierSurface.jxx + PGeom_BoundedCurve.hxx + PGeom_BoundedCurve.ixx + PGeom_BoundedCurve.jxx + PGeom_BoundedSurface.hxx + PGeom_BoundedSurface.ixx + PGeom_BoundedSurface.jxx + PGeom_BSplineCurve.hxx + PGeom_BSplineCurve.ixx + PGeom_BSplineCurve.jxx + PGeom_BSplineSurface.hxx + PGeom_BSplineSurface.ixx + PGeom_BSplineSurface.jxx + PGeom_CartesianPoint.hxx + PGeom_CartesianPoint.ixx + PGeom_CartesianPoint.jxx + PGeom_Circle.hxx + PGeom_Circle.ixx + PGeom_Circle.jxx + PGeom_ConicalSurface.hxx + PGeom_ConicalSurface.ixx + PGeom_ConicalSurface.jxx + PGeom_Conic.hxx + PGeom_Conic.ixx + PGeom_Conic.jxx + PGeom_Curve.hxx + PGeom_Curve.ixx + PGeom_Curve.jxx + PGeom_CylindricalSurface.hxx + PGeom_CylindricalSurface.ixx + PGeom_CylindricalSurface.jxx + PGeom_Direction.hxx + PGeom_Direction.ixx + PGeom_Direction.jxx + PGeom_ElementarySurface.hxx + PGeom_ElementarySurface.ixx + PGeom_ElementarySurface.jxx + PGeom_Ellipse.hxx + PGeom_Ellipse.ixx + PGeom_Ellipse.jxx + PGeom_Geometry.hxx + PGeom_Geometry.ixx + PGeom_Geometry.jxx + PGeom_Hyperbola.hxx + PGeom_Hyperbola.ixx + PGeom_Hyperbola.jxx + PGeom_Line.hxx + PGeom_Line.ixx + PGeom_Line.jxx + PGeom_OffsetCurve.hxx + PGeom_OffsetCurve.ixx + PGeom_OffsetCurve.jxx + PGeom_OffsetSurface.hxx + PGeom_OffsetSurface.ixx + PGeom_OffsetSurface.jxx + PGeom_Parabola.hxx + PGeom_Parabola.ixx + PGeom_Parabola.jxx + PGeom_Plane.hxx + PGeom_Plane.ixx + PGeom_Plane.jxx + PGeom_Point.hxx + PGeom_Point.ixx + PGeom_Point.jxx + PGeom_RectangularTrimmedSurface.hxx + PGeom_RectangularTrimmedSurface.ixx + PGeom_RectangularTrimmedSurface.jxx + PGeom_SphericalSurface.hxx + PGeom_SphericalSurface.ixx + PGeom_SphericalSurface.jxx + PGeom_Surface.hxx + PGeom_Surface.ixx + PGeom_Surface.jxx + PGeom_SurfaceOfLinearExtrusion.hxx + PGeom_SurfaceOfLinearExtrusion.ixx + PGeom_SurfaceOfLinearExtrusion.jxx + PGeom_SurfaceOfRevolution.hxx + PGeom_SurfaceOfRevolution.ixx + PGeom_SurfaceOfRevolution.jxx + PGeom_SweptSurface.hxx + PGeom_SweptSurface.ixx + PGeom_SweptSurface.jxx + PGeom_ToroidalSurface.hxx + PGeom_ToroidalSurface.ixx + PGeom_ToroidalSurface.jxx + PGeom_Transformation.hxx + PGeom_Transformation.ixx + PGeom_Transformation.jxx + PGeom_TrimmedCurve.hxx + PGeom_TrimmedCurve.ixx + PGeom_TrimmedCurve.jxx + PGeom_Vector.hxx + PGeom_Vector.ixx + PGeom_Vector.jxx + PGeom_VectorWithMagnitude.hxx + PGeom_VectorWithMagnitude.ixx + PGeom_VectorWithMagnitude.jxx + PPoly_FieldOfHArray1OfTriangle.hxx + PPoly_HArray1OfTriangle.hxx + PPoly_Polygon2D.hxx + PPoly_Polygon2D.ixx + PPoly_Polygon2D.jxx + PPoly_Polygon3D.hxx + PPoly_Polygon3D.ixx + PPoly_Polygon3D.jxx + PPoly_PolygonOnTriangulation.hxx + PPoly_PolygonOnTriangulation.ixx + PPoly_PolygonOnTriangulation.jxx + PPoly_Triangle.hxx + PPoly_Triangle.ixx + PPoly_Triangle.jxx + PPoly_Triangulation.hxx + PPoly_Triangulation.ixx + PPoly_Triangulation.jxx + PPoly_VArrayNodeOfFieldOfHArray1OfTriangle.hxx + PPoly_VArrayTNodeOfFieldOfHArray1OfTriangle.hxx + PTopLoc_Datum3D.hxx + PTopLoc_Datum3D.ixx + PTopLoc_Datum3D.jxx + PTopLoc_ItemLocation.hxx + PTopLoc_ItemLocation.ixx + PTopLoc_ItemLocation.jxx + PTopLoc_Location.hxx + PTopLoc_Location.ixx + PTopLoc_Location.jxx + PTopoDS_Compound.hxx + PTopoDS_Compound.ixx + PTopoDS_Compound.jxx + PTopoDS_CompSolid.hxx + PTopoDS_CompSolid.ixx + PTopoDS_CompSolid.jxx + PTopoDS_Edge.hxx + PTopoDS_Edge.ixx + PTopoDS_Edge.jxx + PTopoDS_Face.hxx + PTopoDS_Face.ixx + PTopoDS_Face.jxx + PTopoDS_FieldOfHArray1OfHShape.hxx + PTopoDS_FieldOfHArray1OfShape1.hxx + PTopoDS_HArray1OfHShape.hxx + PTopoDS_HArray1OfShape1.hxx + PTopoDS_HShape.hxx + PTopoDS_HShape.ixx + PTopoDS_HShape.jxx + PTopoDS_Shape1.hxx + PTopoDS_Shape1.ixx + PTopoDS_Shape1.jxx + PTopoDS_Shell.hxx + PTopoDS_Shell.ixx + PTopoDS_Shell.jxx + PTopoDS_Solid.hxx + PTopoDS_Solid.ixx + PTopoDS_Solid.jxx + PTopoDS_TCompound1.hxx + PTopoDS_TCompound1.ixx + PTopoDS_TCompound1.jxx + PTopoDS_TCompound.hxx + PTopoDS_TCompound.ixx + PTopoDS_TCompound.jxx + PTopoDS_TCompSolid1.hxx + PTopoDS_TCompSolid1.ixx + PTopoDS_TCompSolid1.jxx + PTopoDS_TCompSolid.hxx + PTopoDS_TCompSolid.ixx + PTopoDS_TCompSolid.jxx + PTopoDS_TEdge1.hxx + PTopoDS_TEdge1.ixx + PTopoDS_TEdge1.jxx + PTopoDS_TEdge.hxx + PTopoDS_TEdge.ixx + PTopoDS_TEdge.jxx + PTopoDS_TFace1.hxx + PTopoDS_TFace1.ixx + PTopoDS_TFace1.jxx + PTopoDS_TFace.hxx + PTopoDS_TFace.ixx + PTopoDS_TFace.jxx + PTopoDS_TShape1.hxx + PTopoDS_TShape1.ixx + PTopoDS_TShape1.jxx + PTopoDS_TShape.hxx + PTopoDS_TShape.ixx + PTopoDS_TShape.jxx + PTopoDS_TShell1.hxx + PTopoDS_TShell1.ixx + PTopoDS_TShell1.jxx + PTopoDS_TShell.hxx + PTopoDS_TShell.ixx + PTopoDS_TShell.jxx + PTopoDS_TSolid1.hxx + PTopoDS_TSolid1.ixx + PTopoDS_TSolid1.jxx + PTopoDS_TSolid.hxx + PTopoDS_TSolid.ixx + PTopoDS_TSolid.jxx + PTopoDS_TVertex1.hxx + PTopoDS_TVertex1.ixx + PTopoDS_TVertex1.jxx + PTopoDS_TVertex.hxx + PTopoDS_TVertex.ixx + PTopoDS_TVertex.jxx + PTopoDS_TWire1.hxx + PTopoDS_TWire1.ixx + PTopoDS_TWire1.jxx + PTopoDS_TWire.hxx + PTopoDS_TWire.ixx + PTopoDS_TWire.jxx + PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape.hxx + PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1.hxx + PTopoDS_VArrayTNodeOfFieldOfHArray1OfHShape.hxx + PTopoDS_VArrayTNodeOfFieldOfHArray1OfShape1.hxx + PTopoDS_Vertex.hxx + PTopoDS_Vertex.ixx + PTopoDS_Vertex.jxx + PTopoDS_Wire.hxx + PTopoDS_Wire.ixx + PTopoDS_Wire.jxx + ) + +# --- sources --- + +SET(GEOM_SOURCES + MgtBRep.cxx + MgtBRep_TranslateTool1.cxx + MgtBRep_TranslateTool.cxx + MgtGeom2d.cxx + MgtGeom.cxx + MgtPoly.cxx + MgtTopLoc.cxx + MgtTopoDS.cxx + MgtTopoDS_TranslateTool1.cxx + MgtTopoDS_TranslateTool.cxx + PBRep_Curve3D.cxx + PBRep_CurveOn2Surfaces.cxx + PBRep_CurveOnClosedSurface.cxx + PBRep_CurveOnSurface.cxx + PBRep_CurveRepresentation.cxx + PBRep_GCurve.cxx + PBRep_PointOnCurve.cxx + PBRep_PointOnCurveOnSurface.cxx + PBRep_PointOnSurface.cxx + PBRep_PointRepresentation.cxx + PBRep_PointsOnSurface.cxx + PBRep_Polygon3D.cxx + PBRep_PolygonOnClosedSurface.cxx + PBRep_PolygonOnClosedTriangulation.cxx + PBRep_PolygonOnSurface.cxx + PBRep_PolygonOnTriangulation.cxx + PBRep_TEdge1.cxx + PBRep_TEdge.cxx + PBRep_TFace1.cxx + PBRep_TFace.cxx + PBRep_TVertex1.cxx + PBRep_TVertex.cxx + PColgp_FieldOfHArray1OfCirc2d_0.cxx + PColgp_FieldOfHArray1OfDir_0.cxx + PColgp_FieldOfHArray1OfDir2d_0.cxx + PColgp_FieldOfHArray1OfLin2d_0.cxx + PColgp_FieldOfHArray1OfPnt_0.cxx + PColgp_FieldOfHArray1OfPnt2d_0.cxx + PColgp_FieldOfHArray1OfVec_0.cxx + PColgp_FieldOfHArray1OfVec2d_0.cxx + PColgp_FieldOfHArray1OfXY_0.cxx + PColgp_FieldOfHArray1OfXYZ_0.cxx + PColgp_FieldOfHArray2OfCirc2d_0.cxx + PColgp_FieldOfHArray2OfDir_0.cxx + PColgp_FieldOfHArray2OfDir2d_0.cxx + PColgp_FieldOfHArray2OfLin2d_0.cxx + PColgp_FieldOfHArray2OfPnt_0.cxx + PColgp_FieldOfHArray2OfPnt2d_0.cxx + PColgp_FieldOfHArray2OfVec_0.cxx + PColgp_FieldOfHArray2OfVec2d_0.cxx + PColgp_FieldOfHArray2OfXY_0.cxx + PColgp_FieldOfHArray2OfXYZ_0.cxx + PColgp_HArray1OfCirc2d_0.cxx + PColgp_HArray1OfDir_0.cxx + PColgp_HArray1OfDir2d_0.cxx + PColgp_HArray1OfLin2d_0.cxx + PColgp_HArray1OfPnt_0.cxx + PColgp_HArray1OfPnt2d_0.cxx + PColgp_HArray1OfVec_0.cxx + PColgp_HArray1OfVec2d_0.cxx + PColgp_HArray1OfXY_0.cxx + PColgp_HArray1OfXYZ_0.cxx + PColgp_HArray2OfCirc2d_0.cxx + PColgp_HArray2OfDir_0.cxx + PColgp_HArray2OfDir2d_0.cxx + PColgp_HArray2OfLin2d_0.cxx + PColgp_HArray2OfPnt_0.cxx + PColgp_HArray2OfPnt2d_0.cxx + PColgp_HArray2OfVec_0.cxx + PColgp_HArray2OfVec2d_0.cxx + PColgp_HArray2OfXY_0.cxx + PColgp_HArray2OfXYZ_0.cxx + PColgp_HSequenceOfDir_0.cxx + PColgp_HSequenceOfPnt_0.cxx + PColgp_HSequenceOfVec_0.cxx + PColgp_HSequenceOfXYZ_0.cxx + PColgp_SeqExplorerOfHSequenceOfDir_0.cxx + PColgp_SeqExplorerOfHSequenceOfPnt_0.cxx + PColgp_SeqExplorerOfHSequenceOfVec_0.cxx + PColgp_SeqExplorerOfHSequenceOfXYZ_0.cxx + PColgp_SeqNodeOfHSequenceOfDir_0.cxx + PColgp_SeqNodeOfHSequenceOfPnt_0.cxx + PColgp_SeqNodeOfHSequenceOfVec_0.cxx + PColgp_SeqNodeOfHSequenceOfXYZ_0.cxx + PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d_0.cxx + PColgp_VArrayNodeOfFieldOfHArray1OfDir_0.cxx + PColgp_VArrayNodeOfFieldOfHArray1OfDir2d_0.cxx + PColgp_VArrayNodeOfFieldOfHArray1OfLin2d_0.cxx + PColgp_VArrayNodeOfFieldOfHArray1OfPnt_0.cxx + PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d_0.cxx + PColgp_VArrayNodeOfFieldOfHArray1OfVec_0.cxx + PColgp_VArrayNodeOfFieldOfHArray1OfVec2d_0.cxx + PColgp_VArrayNodeOfFieldOfHArray1OfXY_0.cxx + PColgp_VArrayNodeOfFieldOfHArray1OfXYZ_0.cxx + PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d_0.cxx + PColgp_VArrayNodeOfFieldOfHArray2OfDir_0.cxx + PColgp_VArrayNodeOfFieldOfHArray2OfDir2d_0.cxx + PColgp_VArrayNodeOfFieldOfHArray2OfLin2d_0.cxx + PColgp_VArrayNodeOfFieldOfHArray2OfPnt_0.cxx + PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d_0.cxx + PColgp_VArrayNodeOfFieldOfHArray2OfVec_0.cxx + PColgp_VArrayNodeOfFieldOfHArray2OfVec2d_0.cxx + PColgp_VArrayNodeOfFieldOfHArray2OfXY_0.cxx + PColgp_VArrayNodeOfFieldOfHArray2OfXYZ_0.cxx + PColgp_VArrayTNodeOfFieldOfHArray1OfCirc2d_0.cxx + PColgp_VArrayTNodeOfFieldOfHArray1OfDir_0.cxx + PColgp_VArrayTNodeOfFieldOfHArray1OfDir2d_0.cxx + PColgp_VArrayTNodeOfFieldOfHArray1OfLin2d_0.cxx + PColgp_VArrayTNodeOfFieldOfHArray1OfPnt_0.cxx + PColgp_VArrayTNodeOfFieldOfHArray1OfPnt2d_0.cxx + PColgp_VArrayTNodeOfFieldOfHArray1OfVec_0.cxx + PColgp_VArrayTNodeOfFieldOfHArray1OfVec2d_0.cxx + PColgp_VArrayTNodeOfFieldOfHArray1OfXY_0.cxx + PColgp_VArrayTNodeOfFieldOfHArray1OfXYZ_0.cxx + PColgp_VArrayTNodeOfFieldOfHArray2OfCirc2d_0.cxx + PColgp_VArrayTNodeOfFieldOfHArray2OfDir_0.cxx + PColgp_VArrayTNodeOfFieldOfHArray2OfDir2d_0.cxx + PColgp_VArrayTNodeOfFieldOfHArray2OfLin2d_0.cxx + PColgp_VArrayTNodeOfFieldOfHArray2OfPnt_0.cxx + PColgp_VArrayTNodeOfFieldOfHArray2OfPnt2d_0.cxx + PColgp_VArrayTNodeOfFieldOfHArray2OfVec_0.cxx + PColgp_VArrayTNodeOfFieldOfHArray2OfVec2d_0.cxx + PColgp_VArrayTNodeOfFieldOfHArray2OfXY_0.cxx + PColgp_VArrayTNodeOfFieldOfHArray2OfXYZ_0.cxx + PGeom2d_AxisPlacement.cxx + PGeom2d_BezierCurve.cxx + PGeom2d_BoundedCurve.cxx + PGeom2d_BSplineCurve.cxx + PGeom2d_CartesianPoint.cxx + PGeom2d_Circle.cxx + PGeom2d_Conic.cxx + PGeom2d_Curve.cxx + PGeom2d_Direction.cxx + PGeom2d_Ellipse.cxx + PGeom2d_Geometry.cxx + PGeom2d_Hyperbola.cxx + PGeom2d_Line.cxx + PGeom2d_OffsetCurve.cxx + PGeom2d_Parabola.cxx + PGeom2d_Point.cxx + PGeom2d_Transformation.cxx + PGeom2d_TrimmedCurve.cxx + PGeom2d_Vector.cxx + PGeom2d_VectorWithMagnitude.cxx + PGeom_Axis1Placement.cxx + PGeom_Axis2Placement.cxx + PGeom_AxisPlacement.cxx + PGeom_BezierCurve.cxx + PGeom_BezierSurface.cxx + PGeom_BoundedCurve.cxx + PGeom_BoundedSurface.cxx + PGeom_BSplineCurve.cxx + PGeom_BSplineSurface.cxx + PGeom_CartesianPoint.cxx + PGeom_Circle.cxx + PGeom_ConicalSurface.cxx + PGeom_Conic.cxx + PGeom_Curve.cxx + PGeom_CylindricalSurface.cxx + PGeom_Direction.cxx + PGeom_ElementarySurface.cxx + PGeom_Ellipse.cxx + PGeom_Geometry.cxx + PGeom_Hyperbola.cxx + PGeom_Line.cxx + PGeom_OffsetCurve.cxx + PGeom_OffsetSurface.cxx + PGeom_Parabola.cxx + PGeom_Plane.cxx + PGeom_Point.cxx + PGeom_RectangularTrimmedSurface.cxx + PGeom_SphericalSurface.cxx + PGeom_Surface.cxx + PGeom_SurfaceOfLinearExtrusion.cxx + PGeom_SurfaceOfRevolution.cxx + PGeom_SweptSurface.cxx + PGeom_ToroidalSurface.cxx + PGeom_Transformation.cxx + PGeom_TrimmedCurve.cxx + PGeom_Vector.cxx + PGeom_VectorWithMagnitude.cxx + PPoly_FieldOfHArray1OfTriangle_0.cxx + PPoly_HArray1OfTriangle_0.cxx + PPoly_Polygon2D.cxx + PPoly_Polygon3D.cxx + PPoly_PolygonOnTriangulation.cxx + PPoly_Triangle.cxx + PPoly_Triangulation.cxx + PPoly_VArrayNodeOfFieldOfHArray1OfTriangle_0.cxx + PPoly_VArrayTNodeOfFieldOfHArray1OfTriangle_0.cxx + PTopLoc_Datum3D.cxx + PTopLoc_ItemLocation.cxx + PTopLoc_Location.cxx + PTopoDS_Compound.cxx + PTopoDS_CompSolid.cxx + PTopoDS_Edge.cxx + PTopoDS_Face.cxx + PTopoDS_FieldOfHArray1OfHShape_0.cxx + PTopoDS_FieldOfHArray1OfShape1_0.cxx + PTopoDS_HArray1OfHShape_0.cxx + PTopoDS_HArray1OfShape1_0.cxx + PTopoDS_HShape.cxx + PTopoDS_Shape1.cxx + PTopoDS_Shell.cxx + PTopoDS_Solid.cxx + PTopoDS_TCompound1.cxx + PTopoDS_TCompound.cxx + PTopoDS_TCompSolid1.cxx + PTopoDS_TCompSolid.cxx + PTopoDS_TEdge1.cxx + PTopoDS_TEdge.cxx + PTopoDS_TFace1.cxx + PTopoDS_TFace.cxx + PTopoDS_TShape1.cxx + PTopoDS_TShape.cxx + PTopoDS_TShell1.cxx + PTopoDS_TShell.cxx + PTopoDS_TSolid1.cxx + PTopoDS_TSolid.cxx + PTopoDS_TVertex1.cxx + PTopoDS_TVertex.cxx + PTopoDS_TWire1.cxx + PTopoDS_TWire.cxx + PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape_0.cxx + PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1_0.cxx + PTopoDS_VArrayTNodeOfFieldOfHArray1OfHShape_0.cxx + PTopoDS_VArrayTNodeOfFieldOfHArray1OfShape1_0.cxx + PTopoDS_Vertex.cxx + PTopoDS_Wire.cxx + ) + +# --- rules --- + +ADD_LIBRARY(TKPShape ${GEOM_SOURCES}) +TARGET_LINK_LIBRARIES(TKPShape ${_link_LIBRARIES}) +INSTALL(TARGETS TKPShape EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) + +INSTALL(FILES ${GEOM_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) diff --git a/src/FromOCCT/TKPShape/Handle_MgtBRep_TranslateTool.hxx b/src/FromOCCT/TKPShape/Handle_MgtBRep_TranslateTool.hxx new file mode 100644 index 000000000..972d23563 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_MgtBRep_TranslateTool.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MgtBRep_TranslateTool_HeaderFile +#define _Handle_MgtBRep_TranslateTool_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MgtTopoDS_TranslateTool); +class MgtBRep_TranslateTool; + +DEFINE_STANDARD_HANDLE(MgtBRep_TranslateTool, MgtTopoDS_TranslateTool) + +#endif // _Handle_MgtBRep_TranslateTool_HeaderFile diff --git a/src/FromOCCT/TKPShape/Handle_MgtBRep_TranslateTool1.hxx b/src/FromOCCT/TKPShape/Handle_MgtBRep_TranslateTool1.hxx new file mode 100644 index 000000000..ea4646e96 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_MgtBRep_TranslateTool1.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MgtBRep_TranslateTool1_HeaderFile +#define _Handle_MgtBRep_TranslateTool1_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MgtTopoDS_TranslateTool1); +class MgtBRep_TranslateTool1; + +DEFINE_STANDARD_HANDLE(MgtBRep_TranslateTool1, MgtTopoDS_TranslateTool1) + +#endif // _Handle_MgtBRep_TranslateTool1_HeaderFile diff --git a/src/FromOCCT/TKPShape/Handle_MgtTopoDS_TranslateTool.hxx b/src/FromOCCT/TKPShape/Handle_MgtTopoDS_TranslateTool.hxx new file mode 100644 index 000000000..d2b58a158 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_MgtTopoDS_TranslateTool.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MgtTopoDS_TranslateTool_HeaderFile +#define _Handle_MgtTopoDS_TranslateTool_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MMgt_TShared); +class MgtTopoDS_TranslateTool; + +DEFINE_STANDARD_HANDLE(MgtTopoDS_TranslateTool, MMgt_TShared) + +#endif // _Handle_MgtTopoDS_TranslateTool_HeaderFile diff --git a/src/FromOCCT/TKPShape/Handle_MgtTopoDS_TranslateTool1.hxx b/src/FromOCCT/TKPShape/Handle_MgtTopoDS_TranslateTool1.hxx new file mode 100644 index 000000000..98a9c8d3a --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_MgtTopoDS_TranslateTool1.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MgtTopoDS_TranslateTool1_HeaderFile +#define _Handle_MgtTopoDS_TranslateTool1_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MMgt_TShared); +class MgtTopoDS_TranslateTool1; + +DEFINE_STANDARD_HANDLE(MgtTopoDS_TranslateTool1, MMgt_TShared) + +#endif // _Handle_MgtTopoDS_TranslateTool1_HeaderFile diff --git a/src/FromOCCT/TKPShape/Handle_PBRep_Curve3D.hxx b/src/FromOCCT/TKPShape/Handle_PBRep_Curve3D.hxx new file mode 100644 index 000000000..9b6acced7 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PBRep_Curve3D.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PBRep_Curve3D_HeaderFile +#define _Handle_PBRep_Curve3D_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PBRep_GCurve); +class PBRep_Curve3D; + +DEFINE_STANDARD_PHANDLE(PBRep_Curve3D,PBRep_GCurve) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PBRep_CurveOn2Surfaces.hxx b/src/FromOCCT/TKPShape/Handle_PBRep_CurveOn2Surfaces.hxx new file mode 100644 index 000000000..ace8f8d36 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PBRep_CurveOn2Surfaces.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PBRep_CurveOn2Surfaces_HeaderFile +#define _Handle_PBRep_CurveOn2Surfaces_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PBRep_CurveRepresentation); +class PBRep_CurveOn2Surfaces; + +DEFINE_STANDARD_PHANDLE(PBRep_CurveOn2Surfaces,PBRep_CurveRepresentation) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PBRep_CurveOnClosedSurface.hxx b/src/FromOCCT/TKPShape/Handle_PBRep_CurveOnClosedSurface.hxx new file mode 100644 index 000000000..ead35dce8 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PBRep_CurveOnClosedSurface.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PBRep_CurveOnClosedSurface_HeaderFile +#define _Handle_PBRep_CurveOnClosedSurface_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PBRep_CurveOnSurface); +class PBRep_CurveOnClosedSurface; + +DEFINE_STANDARD_PHANDLE(PBRep_CurveOnClosedSurface,PBRep_CurveOnSurface) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PBRep_CurveOnSurface.hxx b/src/FromOCCT/TKPShape/Handle_PBRep_CurveOnSurface.hxx new file mode 100644 index 000000000..858abaae8 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PBRep_CurveOnSurface.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PBRep_CurveOnSurface_HeaderFile +#define _Handle_PBRep_CurveOnSurface_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PBRep_GCurve); +class PBRep_CurveOnSurface; + +DEFINE_STANDARD_PHANDLE(PBRep_CurveOnSurface,PBRep_GCurve) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PBRep_CurveRepresentation.hxx b/src/FromOCCT/TKPShape/Handle_PBRep_CurveRepresentation.hxx new file mode 100644 index 000000000..5a4e7e8da --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PBRep_CurveRepresentation.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PBRep_CurveRepresentation_HeaderFile +#define _Handle_PBRep_CurveRepresentation_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PBRep_CurveRepresentation; + +DEFINE_STANDARD_PHANDLE(PBRep_CurveRepresentation,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PBRep_GCurve.hxx b/src/FromOCCT/TKPShape/Handle_PBRep_GCurve.hxx new file mode 100644 index 000000000..d09b18b3a --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PBRep_GCurve.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PBRep_GCurve_HeaderFile +#define _Handle_PBRep_GCurve_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PBRep_CurveRepresentation); +class PBRep_GCurve; + +DEFINE_STANDARD_PHANDLE(PBRep_GCurve,PBRep_CurveRepresentation) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PBRep_PointOnCurve.hxx b/src/FromOCCT/TKPShape/Handle_PBRep_PointOnCurve.hxx new file mode 100644 index 000000000..4d922ea94 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PBRep_PointOnCurve.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PBRep_PointOnCurve_HeaderFile +#define _Handle_PBRep_PointOnCurve_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PBRep_PointRepresentation); +class PBRep_PointOnCurve; + +DEFINE_STANDARD_PHANDLE(PBRep_PointOnCurve,PBRep_PointRepresentation) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PBRep_PointOnCurveOnSurface.hxx b/src/FromOCCT/TKPShape/Handle_PBRep_PointOnCurveOnSurface.hxx new file mode 100644 index 000000000..2d051ac36 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PBRep_PointOnCurveOnSurface.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PBRep_PointOnCurveOnSurface_HeaderFile +#define _Handle_PBRep_PointOnCurveOnSurface_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PBRep_PointsOnSurface); +class PBRep_PointOnCurveOnSurface; + +DEFINE_STANDARD_PHANDLE(PBRep_PointOnCurveOnSurface,PBRep_PointsOnSurface) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PBRep_PointOnSurface.hxx b/src/FromOCCT/TKPShape/Handle_PBRep_PointOnSurface.hxx new file mode 100644 index 000000000..90d7b09dd --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PBRep_PointOnSurface.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PBRep_PointOnSurface_HeaderFile +#define _Handle_PBRep_PointOnSurface_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PBRep_PointsOnSurface); +class PBRep_PointOnSurface; + +DEFINE_STANDARD_PHANDLE(PBRep_PointOnSurface,PBRep_PointsOnSurface) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PBRep_PointRepresentation.hxx b/src/FromOCCT/TKPShape/Handle_PBRep_PointRepresentation.hxx new file mode 100644 index 000000000..e9550fb98 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PBRep_PointRepresentation.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PBRep_PointRepresentation_HeaderFile +#define _Handle_PBRep_PointRepresentation_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PBRep_PointRepresentation; + +DEFINE_STANDARD_PHANDLE(PBRep_PointRepresentation,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PBRep_PointsOnSurface.hxx b/src/FromOCCT/TKPShape/Handle_PBRep_PointsOnSurface.hxx new file mode 100644 index 000000000..31ae8356d --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PBRep_PointsOnSurface.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PBRep_PointsOnSurface_HeaderFile +#define _Handle_PBRep_PointsOnSurface_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PBRep_PointRepresentation); +class PBRep_PointsOnSurface; + +DEFINE_STANDARD_PHANDLE(PBRep_PointsOnSurface,PBRep_PointRepresentation) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PBRep_Polygon3D.hxx b/src/FromOCCT/TKPShape/Handle_PBRep_Polygon3D.hxx new file mode 100644 index 000000000..9351550cd --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PBRep_Polygon3D.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PBRep_Polygon3D_HeaderFile +#define _Handle_PBRep_Polygon3D_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PBRep_CurveRepresentation); +class PBRep_Polygon3D; + +DEFINE_STANDARD_PHANDLE(PBRep_Polygon3D,PBRep_CurveRepresentation) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PBRep_PolygonOnClosedSurface.hxx b/src/FromOCCT/TKPShape/Handle_PBRep_PolygonOnClosedSurface.hxx new file mode 100644 index 000000000..0cf35f9b0 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PBRep_PolygonOnClosedSurface.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PBRep_PolygonOnClosedSurface_HeaderFile +#define _Handle_PBRep_PolygonOnClosedSurface_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PBRep_PolygonOnSurface); +class PBRep_PolygonOnClosedSurface; + +DEFINE_STANDARD_PHANDLE(PBRep_PolygonOnClosedSurface,PBRep_PolygonOnSurface) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PBRep_PolygonOnClosedTriangulation.hxx b/src/FromOCCT/TKPShape/Handle_PBRep_PolygonOnClosedTriangulation.hxx new file mode 100644 index 000000000..370e1dcdb --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PBRep_PolygonOnClosedTriangulation.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PBRep_PolygonOnClosedTriangulation_HeaderFile +#define _Handle_PBRep_PolygonOnClosedTriangulation_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PBRep_PolygonOnTriangulation); +class PBRep_PolygonOnClosedTriangulation; + +DEFINE_STANDARD_PHANDLE(PBRep_PolygonOnClosedTriangulation,PBRep_PolygonOnTriangulation) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PBRep_PolygonOnSurface.hxx b/src/FromOCCT/TKPShape/Handle_PBRep_PolygonOnSurface.hxx new file mode 100644 index 000000000..4745b259a --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PBRep_PolygonOnSurface.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PBRep_PolygonOnSurface_HeaderFile +#define _Handle_PBRep_PolygonOnSurface_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PBRep_CurveRepresentation); +class PBRep_PolygonOnSurface; + +DEFINE_STANDARD_PHANDLE(PBRep_PolygonOnSurface,PBRep_CurveRepresentation) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PBRep_PolygonOnTriangulation.hxx b/src/FromOCCT/TKPShape/Handle_PBRep_PolygonOnTriangulation.hxx new file mode 100644 index 000000000..4ddee517f --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PBRep_PolygonOnTriangulation.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PBRep_PolygonOnTriangulation_HeaderFile +#define _Handle_PBRep_PolygonOnTriangulation_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PBRep_CurveRepresentation); +class PBRep_PolygonOnTriangulation; + +DEFINE_STANDARD_PHANDLE(PBRep_PolygonOnTriangulation,PBRep_CurveRepresentation) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PBRep_TEdge.hxx b/src/FromOCCT/TKPShape/Handle_PBRep_TEdge.hxx new file mode 100644 index 000000000..fceea29ca --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PBRep_TEdge.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PBRep_TEdge_HeaderFile +#define _Handle_PBRep_TEdge_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PTopoDS_TEdge); +class PBRep_TEdge; + +DEFINE_STANDARD_PHANDLE(PBRep_TEdge,PTopoDS_TEdge) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PBRep_TEdge1.hxx b/src/FromOCCT/TKPShape/Handle_PBRep_TEdge1.hxx new file mode 100644 index 000000000..ec578a198 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PBRep_TEdge1.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PBRep_TEdge1_HeaderFile +#define _Handle_PBRep_TEdge1_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PTopoDS_TEdge1); +class PBRep_TEdge1; + +DEFINE_STANDARD_PHANDLE(PBRep_TEdge1,PTopoDS_TEdge1) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PBRep_TFace.hxx b/src/FromOCCT/TKPShape/Handle_PBRep_TFace.hxx new file mode 100644 index 000000000..778dd0e6c --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PBRep_TFace.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PBRep_TFace_HeaderFile +#define _Handle_PBRep_TFace_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PTopoDS_TFace); +class PBRep_TFace; + +DEFINE_STANDARD_PHANDLE(PBRep_TFace,PTopoDS_TFace) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PBRep_TFace1.hxx b/src/FromOCCT/TKPShape/Handle_PBRep_TFace1.hxx new file mode 100644 index 000000000..4dfa92c95 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PBRep_TFace1.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PBRep_TFace1_HeaderFile +#define _Handle_PBRep_TFace1_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PTopoDS_TFace1); +class PBRep_TFace1; + +DEFINE_STANDARD_PHANDLE(PBRep_TFace1,PTopoDS_TFace1) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PBRep_TVertex.hxx b/src/FromOCCT/TKPShape/Handle_PBRep_TVertex.hxx new file mode 100644 index 000000000..883c4ba32 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PBRep_TVertex.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PBRep_TVertex_HeaderFile +#define _Handle_PBRep_TVertex_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PTopoDS_TVertex); +class PBRep_TVertex; + +DEFINE_STANDARD_PHANDLE(PBRep_TVertex,PTopoDS_TVertex) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PBRep_TVertex1.hxx b/src/FromOCCT/TKPShape/Handle_PBRep_TVertex1.hxx new file mode 100644 index 000000000..2e2212530 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PBRep_TVertex1.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PBRep_TVertex1_HeaderFile +#define _Handle_PBRep_TVertex1_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PTopoDS_TVertex1); +class PBRep_TVertex1; + +DEFINE_STANDARD_PHANDLE(PBRep_TVertex1,PTopoDS_TVertex1) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PColgp_HArray1OfCirc2d.hxx b/src/FromOCCT/TKPShape/Handle_PColgp_HArray1OfCirc2d.hxx new file mode 100644 index 000000000..5061d158a --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PColgp_HArray1OfCirc2d.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColgp_HArray1OfCirc2d_HeaderFile +#define _Handle_PColgp_HArray1OfCirc2d_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PColgp_HArray1OfCirc2d; + +DEFINE_STANDARD_PHANDLE(PColgp_HArray1OfCirc2d,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PColgp_HArray1OfDir.hxx b/src/FromOCCT/TKPShape/Handle_PColgp_HArray1OfDir.hxx new file mode 100644 index 000000000..802826251 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PColgp_HArray1OfDir.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColgp_HArray1OfDir_HeaderFile +#define _Handle_PColgp_HArray1OfDir_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PColgp_HArray1OfDir; + +DEFINE_STANDARD_PHANDLE(PColgp_HArray1OfDir,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PColgp_HArray1OfDir2d.hxx b/src/FromOCCT/TKPShape/Handle_PColgp_HArray1OfDir2d.hxx new file mode 100644 index 000000000..11e355f54 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PColgp_HArray1OfDir2d.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColgp_HArray1OfDir2d_HeaderFile +#define _Handle_PColgp_HArray1OfDir2d_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PColgp_HArray1OfDir2d; + +DEFINE_STANDARD_PHANDLE(PColgp_HArray1OfDir2d,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PColgp_HArray1OfLin2d.hxx b/src/FromOCCT/TKPShape/Handle_PColgp_HArray1OfLin2d.hxx new file mode 100644 index 000000000..9cddfc470 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PColgp_HArray1OfLin2d.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColgp_HArray1OfLin2d_HeaderFile +#define _Handle_PColgp_HArray1OfLin2d_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PColgp_HArray1OfLin2d; + +DEFINE_STANDARD_PHANDLE(PColgp_HArray1OfLin2d,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PColgp_HArray1OfPnt.hxx b/src/FromOCCT/TKPShape/Handle_PColgp_HArray1OfPnt.hxx new file mode 100644 index 000000000..7dd3340e8 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PColgp_HArray1OfPnt.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColgp_HArray1OfPnt_HeaderFile +#define _Handle_PColgp_HArray1OfPnt_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PColgp_HArray1OfPnt; + +DEFINE_STANDARD_PHANDLE(PColgp_HArray1OfPnt,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PColgp_HArray1OfPnt2d.hxx b/src/FromOCCT/TKPShape/Handle_PColgp_HArray1OfPnt2d.hxx new file mode 100644 index 000000000..200d365ae --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PColgp_HArray1OfPnt2d.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColgp_HArray1OfPnt2d_HeaderFile +#define _Handle_PColgp_HArray1OfPnt2d_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PColgp_HArray1OfPnt2d; + +DEFINE_STANDARD_PHANDLE(PColgp_HArray1OfPnt2d,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PColgp_HArray1OfVec.hxx b/src/FromOCCT/TKPShape/Handle_PColgp_HArray1OfVec.hxx new file mode 100644 index 000000000..fcd5302bc --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PColgp_HArray1OfVec.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColgp_HArray1OfVec_HeaderFile +#define _Handle_PColgp_HArray1OfVec_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PColgp_HArray1OfVec; + +DEFINE_STANDARD_PHANDLE(PColgp_HArray1OfVec,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PColgp_HArray1OfVec2d.hxx b/src/FromOCCT/TKPShape/Handle_PColgp_HArray1OfVec2d.hxx new file mode 100644 index 000000000..73485516f --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PColgp_HArray1OfVec2d.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColgp_HArray1OfVec2d_HeaderFile +#define _Handle_PColgp_HArray1OfVec2d_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PColgp_HArray1OfVec2d; + +DEFINE_STANDARD_PHANDLE(PColgp_HArray1OfVec2d,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PColgp_HArray1OfXY.hxx b/src/FromOCCT/TKPShape/Handle_PColgp_HArray1OfXY.hxx new file mode 100644 index 000000000..5b8f1e6cf --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PColgp_HArray1OfXY.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColgp_HArray1OfXY_HeaderFile +#define _Handle_PColgp_HArray1OfXY_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PColgp_HArray1OfXY; + +DEFINE_STANDARD_PHANDLE(PColgp_HArray1OfXY,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PColgp_HArray1OfXYZ.hxx b/src/FromOCCT/TKPShape/Handle_PColgp_HArray1OfXYZ.hxx new file mode 100644 index 000000000..a0c3b7046 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PColgp_HArray1OfXYZ.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColgp_HArray1OfXYZ_HeaderFile +#define _Handle_PColgp_HArray1OfXYZ_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PColgp_HArray1OfXYZ; + +DEFINE_STANDARD_PHANDLE(PColgp_HArray1OfXYZ,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PColgp_HArray2OfCirc2d.hxx b/src/FromOCCT/TKPShape/Handle_PColgp_HArray2OfCirc2d.hxx new file mode 100644 index 000000000..59ee34736 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PColgp_HArray2OfCirc2d.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColgp_HArray2OfCirc2d_HeaderFile +#define _Handle_PColgp_HArray2OfCirc2d_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PColgp_HArray2OfCirc2d; + +DEFINE_STANDARD_PHANDLE(PColgp_HArray2OfCirc2d,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PColgp_HArray2OfDir.hxx b/src/FromOCCT/TKPShape/Handle_PColgp_HArray2OfDir.hxx new file mode 100644 index 000000000..92e1f67e0 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PColgp_HArray2OfDir.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColgp_HArray2OfDir_HeaderFile +#define _Handle_PColgp_HArray2OfDir_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PColgp_HArray2OfDir; + +DEFINE_STANDARD_PHANDLE(PColgp_HArray2OfDir,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PColgp_HArray2OfDir2d.hxx b/src/FromOCCT/TKPShape/Handle_PColgp_HArray2OfDir2d.hxx new file mode 100644 index 000000000..dd681b6ce --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PColgp_HArray2OfDir2d.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColgp_HArray2OfDir2d_HeaderFile +#define _Handle_PColgp_HArray2OfDir2d_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PColgp_HArray2OfDir2d; + +DEFINE_STANDARD_PHANDLE(PColgp_HArray2OfDir2d,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PColgp_HArray2OfLin2d.hxx b/src/FromOCCT/TKPShape/Handle_PColgp_HArray2OfLin2d.hxx new file mode 100644 index 000000000..aa17951f6 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PColgp_HArray2OfLin2d.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColgp_HArray2OfLin2d_HeaderFile +#define _Handle_PColgp_HArray2OfLin2d_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PColgp_HArray2OfLin2d; + +DEFINE_STANDARD_PHANDLE(PColgp_HArray2OfLin2d,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PColgp_HArray2OfPnt.hxx b/src/FromOCCT/TKPShape/Handle_PColgp_HArray2OfPnt.hxx new file mode 100644 index 000000000..ebd41e91a --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PColgp_HArray2OfPnt.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColgp_HArray2OfPnt_HeaderFile +#define _Handle_PColgp_HArray2OfPnt_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PColgp_HArray2OfPnt; + +DEFINE_STANDARD_PHANDLE(PColgp_HArray2OfPnt,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PColgp_HArray2OfPnt2d.hxx b/src/FromOCCT/TKPShape/Handle_PColgp_HArray2OfPnt2d.hxx new file mode 100644 index 000000000..6c48edfcc --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PColgp_HArray2OfPnt2d.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColgp_HArray2OfPnt2d_HeaderFile +#define _Handle_PColgp_HArray2OfPnt2d_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PColgp_HArray2OfPnt2d; + +DEFINE_STANDARD_PHANDLE(PColgp_HArray2OfPnt2d,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PColgp_HArray2OfVec.hxx b/src/FromOCCT/TKPShape/Handle_PColgp_HArray2OfVec.hxx new file mode 100644 index 000000000..fa1d3157f --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PColgp_HArray2OfVec.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColgp_HArray2OfVec_HeaderFile +#define _Handle_PColgp_HArray2OfVec_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PColgp_HArray2OfVec; + +DEFINE_STANDARD_PHANDLE(PColgp_HArray2OfVec,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PColgp_HArray2OfVec2d.hxx b/src/FromOCCT/TKPShape/Handle_PColgp_HArray2OfVec2d.hxx new file mode 100644 index 000000000..542656a4b --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PColgp_HArray2OfVec2d.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColgp_HArray2OfVec2d_HeaderFile +#define _Handle_PColgp_HArray2OfVec2d_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PColgp_HArray2OfVec2d; + +DEFINE_STANDARD_PHANDLE(PColgp_HArray2OfVec2d,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PColgp_HArray2OfXY.hxx b/src/FromOCCT/TKPShape/Handle_PColgp_HArray2OfXY.hxx new file mode 100644 index 000000000..22de0fdb4 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PColgp_HArray2OfXY.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColgp_HArray2OfXY_HeaderFile +#define _Handle_PColgp_HArray2OfXY_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PColgp_HArray2OfXY; + +DEFINE_STANDARD_PHANDLE(PColgp_HArray2OfXY,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PColgp_HArray2OfXYZ.hxx b/src/FromOCCT/TKPShape/Handle_PColgp_HArray2OfXYZ.hxx new file mode 100644 index 000000000..4d105b991 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PColgp_HArray2OfXYZ.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColgp_HArray2OfXYZ_HeaderFile +#define _Handle_PColgp_HArray2OfXYZ_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PColgp_HArray2OfXYZ; + +DEFINE_STANDARD_PHANDLE(PColgp_HArray2OfXYZ,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PColgp_HSequenceOfDir.hxx b/src/FromOCCT/TKPShape/Handle_PColgp_HSequenceOfDir.hxx new file mode 100644 index 000000000..590fc4712 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PColgp_HSequenceOfDir.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColgp_HSequenceOfDir_HeaderFile +#define _Handle_PColgp_HSequenceOfDir_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PColgp_HSequenceOfDir; + +DEFINE_STANDARD_PHANDLE(PColgp_HSequenceOfDir,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PColgp_HSequenceOfPnt.hxx b/src/FromOCCT/TKPShape/Handle_PColgp_HSequenceOfPnt.hxx new file mode 100644 index 000000000..d54059f2d --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PColgp_HSequenceOfPnt.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColgp_HSequenceOfPnt_HeaderFile +#define _Handle_PColgp_HSequenceOfPnt_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PColgp_HSequenceOfPnt; + +DEFINE_STANDARD_PHANDLE(PColgp_HSequenceOfPnt,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PColgp_HSequenceOfVec.hxx b/src/FromOCCT/TKPShape/Handle_PColgp_HSequenceOfVec.hxx new file mode 100644 index 000000000..3b80f5388 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PColgp_HSequenceOfVec.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColgp_HSequenceOfVec_HeaderFile +#define _Handle_PColgp_HSequenceOfVec_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PColgp_HSequenceOfVec; + +DEFINE_STANDARD_PHANDLE(PColgp_HSequenceOfVec,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PColgp_HSequenceOfXYZ.hxx b/src/FromOCCT/TKPShape/Handle_PColgp_HSequenceOfXYZ.hxx new file mode 100644 index 000000000..495481582 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PColgp_HSequenceOfXYZ.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColgp_HSequenceOfXYZ_HeaderFile +#define _Handle_PColgp_HSequenceOfXYZ_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PColgp_HSequenceOfXYZ; + +DEFINE_STANDARD_PHANDLE(PColgp_HSequenceOfXYZ,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PColgp_SeqNodeOfHSequenceOfDir.hxx b/src/FromOCCT/TKPShape/Handle_PColgp_SeqNodeOfHSequenceOfDir.hxx new file mode 100644 index 000000000..e45596fde --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PColgp_SeqNodeOfHSequenceOfDir.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColgp_SeqNodeOfHSequenceOfDir_HeaderFile +#define _Handle_PColgp_SeqNodeOfHSequenceOfDir_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PMMgt_PManaged); +class PColgp_SeqNodeOfHSequenceOfDir; + +DEFINE_STANDARD_PHANDLE(PColgp_SeqNodeOfHSequenceOfDir,PMMgt_PManaged) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PColgp_SeqNodeOfHSequenceOfPnt.hxx b/src/FromOCCT/TKPShape/Handle_PColgp_SeqNodeOfHSequenceOfPnt.hxx new file mode 100644 index 000000000..ed3eb8dd7 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PColgp_SeqNodeOfHSequenceOfPnt.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColgp_SeqNodeOfHSequenceOfPnt_HeaderFile +#define _Handle_PColgp_SeqNodeOfHSequenceOfPnt_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PMMgt_PManaged); +class PColgp_SeqNodeOfHSequenceOfPnt; + +DEFINE_STANDARD_PHANDLE(PColgp_SeqNodeOfHSequenceOfPnt,PMMgt_PManaged) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PColgp_SeqNodeOfHSequenceOfVec.hxx b/src/FromOCCT/TKPShape/Handle_PColgp_SeqNodeOfHSequenceOfVec.hxx new file mode 100644 index 000000000..b85c0dff9 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PColgp_SeqNodeOfHSequenceOfVec.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColgp_SeqNodeOfHSequenceOfVec_HeaderFile +#define _Handle_PColgp_SeqNodeOfHSequenceOfVec_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PMMgt_PManaged); +class PColgp_SeqNodeOfHSequenceOfVec; + +DEFINE_STANDARD_PHANDLE(PColgp_SeqNodeOfHSequenceOfVec,PMMgt_PManaged) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PColgp_SeqNodeOfHSequenceOfXYZ.hxx b/src/FromOCCT/TKPShape/Handle_PColgp_SeqNodeOfHSequenceOfXYZ.hxx new file mode 100644 index 000000000..aed155d9b --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PColgp_SeqNodeOfHSequenceOfXYZ.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColgp_SeqNodeOfHSequenceOfXYZ_HeaderFile +#define _Handle_PColgp_SeqNodeOfHSequenceOfXYZ_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PMMgt_PManaged); +class PColgp_SeqNodeOfHSequenceOfXYZ; + +DEFINE_STANDARD_PHANDLE(PColgp_SeqNodeOfHSequenceOfXYZ,PMMgt_PManaged) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d.hxx b/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d.hxx new file mode 100644 index 000000000..a7f83d010 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d_HeaderFile +#define _Handle_PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PStandard_ArrayNode); +class PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d; + +DEFINE_STANDARD_PHANDLE(PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d,PStandard_ArrayNode) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray1OfDir.hxx b/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray1OfDir.hxx new file mode 100644 index 000000000..08beeff82 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray1OfDir.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColgp_VArrayNodeOfFieldOfHArray1OfDir_HeaderFile +#define _Handle_PColgp_VArrayNodeOfFieldOfHArray1OfDir_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PStandard_ArrayNode); +class PColgp_VArrayNodeOfFieldOfHArray1OfDir; + +DEFINE_STANDARD_PHANDLE(PColgp_VArrayNodeOfFieldOfHArray1OfDir,PStandard_ArrayNode) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray1OfDir2d.hxx b/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray1OfDir2d.hxx new file mode 100644 index 000000000..f0bc2794a --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray1OfDir2d.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColgp_VArrayNodeOfFieldOfHArray1OfDir2d_HeaderFile +#define _Handle_PColgp_VArrayNodeOfFieldOfHArray1OfDir2d_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PStandard_ArrayNode); +class PColgp_VArrayNodeOfFieldOfHArray1OfDir2d; + +DEFINE_STANDARD_PHANDLE(PColgp_VArrayNodeOfFieldOfHArray1OfDir2d,PStandard_ArrayNode) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray1OfLin2d.hxx b/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray1OfLin2d.hxx new file mode 100644 index 000000000..6e20eb681 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray1OfLin2d.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColgp_VArrayNodeOfFieldOfHArray1OfLin2d_HeaderFile +#define _Handle_PColgp_VArrayNodeOfFieldOfHArray1OfLin2d_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PStandard_ArrayNode); +class PColgp_VArrayNodeOfFieldOfHArray1OfLin2d; + +DEFINE_STANDARD_PHANDLE(PColgp_VArrayNodeOfFieldOfHArray1OfLin2d,PStandard_ArrayNode) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray1OfPnt.hxx b/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray1OfPnt.hxx new file mode 100644 index 000000000..43a5ce796 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray1OfPnt.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColgp_VArrayNodeOfFieldOfHArray1OfPnt_HeaderFile +#define _Handle_PColgp_VArrayNodeOfFieldOfHArray1OfPnt_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PStandard_ArrayNode); +class PColgp_VArrayNodeOfFieldOfHArray1OfPnt; + +DEFINE_STANDARD_PHANDLE(PColgp_VArrayNodeOfFieldOfHArray1OfPnt,PStandard_ArrayNode) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d.hxx b/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d.hxx new file mode 100644 index 000000000..f5b818a49 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d_HeaderFile +#define _Handle_PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PStandard_ArrayNode); +class PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d; + +DEFINE_STANDARD_PHANDLE(PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d,PStandard_ArrayNode) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray1OfVec.hxx b/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray1OfVec.hxx new file mode 100644 index 000000000..4b9c74068 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray1OfVec.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColgp_VArrayNodeOfFieldOfHArray1OfVec_HeaderFile +#define _Handle_PColgp_VArrayNodeOfFieldOfHArray1OfVec_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PStandard_ArrayNode); +class PColgp_VArrayNodeOfFieldOfHArray1OfVec; + +DEFINE_STANDARD_PHANDLE(PColgp_VArrayNodeOfFieldOfHArray1OfVec,PStandard_ArrayNode) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray1OfVec2d.hxx b/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray1OfVec2d.hxx new file mode 100644 index 000000000..a80b2967c --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray1OfVec2d.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColgp_VArrayNodeOfFieldOfHArray1OfVec2d_HeaderFile +#define _Handle_PColgp_VArrayNodeOfFieldOfHArray1OfVec2d_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PStandard_ArrayNode); +class PColgp_VArrayNodeOfFieldOfHArray1OfVec2d; + +DEFINE_STANDARD_PHANDLE(PColgp_VArrayNodeOfFieldOfHArray1OfVec2d,PStandard_ArrayNode) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray1OfXY.hxx b/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray1OfXY.hxx new file mode 100644 index 000000000..ec1c11eb9 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray1OfXY.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColgp_VArrayNodeOfFieldOfHArray1OfXY_HeaderFile +#define _Handle_PColgp_VArrayNodeOfFieldOfHArray1OfXY_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PStandard_ArrayNode); +class PColgp_VArrayNodeOfFieldOfHArray1OfXY; + +DEFINE_STANDARD_PHANDLE(PColgp_VArrayNodeOfFieldOfHArray1OfXY,PStandard_ArrayNode) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray1OfXYZ.hxx b/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray1OfXYZ.hxx new file mode 100644 index 000000000..bfd9f3101 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray1OfXYZ.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColgp_VArrayNodeOfFieldOfHArray1OfXYZ_HeaderFile +#define _Handle_PColgp_VArrayNodeOfFieldOfHArray1OfXYZ_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PStandard_ArrayNode); +class PColgp_VArrayNodeOfFieldOfHArray1OfXYZ; + +DEFINE_STANDARD_PHANDLE(PColgp_VArrayNodeOfFieldOfHArray1OfXYZ,PStandard_ArrayNode) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d.hxx b/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d.hxx new file mode 100644 index 000000000..e7dbe1929 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d_HeaderFile +#define _Handle_PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PStandard_ArrayNode); +class PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d; + +DEFINE_STANDARD_PHANDLE(PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d,PStandard_ArrayNode) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray2OfDir.hxx b/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray2OfDir.hxx new file mode 100644 index 000000000..d68228b6b --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray2OfDir.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColgp_VArrayNodeOfFieldOfHArray2OfDir_HeaderFile +#define _Handle_PColgp_VArrayNodeOfFieldOfHArray2OfDir_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PStandard_ArrayNode); +class PColgp_VArrayNodeOfFieldOfHArray2OfDir; + +DEFINE_STANDARD_PHANDLE(PColgp_VArrayNodeOfFieldOfHArray2OfDir,PStandard_ArrayNode) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray2OfDir2d.hxx b/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray2OfDir2d.hxx new file mode 100644 index 000000000..5e7ef5513 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray2OfDir2d.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColgp_VArrayNodeOfFieldOfHArray2OfDir2d_HeaderFile +#define _Handle_PColgp_VArrayNodeOfFieldOfHArray2OfDir2d_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PStandard_ArrayNode); +class PColgp_VArrayNodeOfFieldOfHArray2OfDir2d; + +DEFINE_STANDARD_PHANDLE(PColgp_VArrayNodeOfFieldOfHArray2OfDir2d,PStandard_ArrayNode) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray2OfLin2d.hxx b/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray2OfLin2d.hxx new file mode 100644 index 000000000..322da2ea3 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray2OfLin2d.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColgp_VArrayNodeOfFieldOfHArray2OfLin2d_HeaderFile +#define _Handle_PColgp_VArrayNodeOfFieldOfHArray2OfLin2d_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PStandard_ArrayNode); +class PColgp_VArrayNodeOfFieldOfHArray2OfLin2d; + +DEFINE_STANDARD_PHANDLE(PColgp_VArrayNodeOfFieldOfHArray2OfLin2d,PStandard_ArrayNode) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray2OfPnt.hxx b/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray2OfPnt.hxx new file mode 100644 index 000000000..30628f70c --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray2OfPnt.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColgp_VArrayNodeOfFieldOfHArray2OfPnt_HeaderFile +#define _Handle_PColgp_VArrayNodeOfFieldOfHArray2OfPnt_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PStandard_ArrayNode); +class PColgp_VArrayNodeOfFieldOfHArray2OfPnt; + +DEFINE_STANDARD_PHANDLE(PColgp_VArrayNodeOfFieldOfHArray2OfPnt,PStandard_ArrayNode) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d.hxx b/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d.hxx new file mode 100644 index 000000000..60370bff6 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d_HeaderFile +#define _Handle_PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PStandard_ArrayNode); +class PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d; + +DEFINE_STANDARD_PHANDLE(PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d,PStandard_ArrayNode) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray2OfVec.hxx b/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray2OfVec.hxx new file mode 100644 index 000000000..5ff16d923 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray2OfVec.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColgp_VArrayNodeOfFieldOfHArray2OfVec_HeaderFile +#define _Handle_PColgp_VArrayNodeOfFieldOfHArray2OfVec_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PStandard_ArrayNode); +class PColgp_VArrayNodeOfFieldOfHArray2OfVec; + +DEFINE_STANDARD_PHANDLE(PColgp_VArrayNodeOfFieldOfHArray2OfVec,PStandard_ArrayNode) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray2OfVec2d.hxx b/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray2OfVec2d.hxx new file mode 100644 index 000000000..4b8919eb3 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray2OfVec2d.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColgp_VArrayNodeOfFieldOfHArray2OfVec2d_HeaderFile +#define _Handle_PColgp_VArrayNodeOfFieldOfHArray2OfVec2d_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PStandard_ArrayNode); +class PColgp_VArrayNodeOfFieldOfHArray2OfVec2d; + +DEFINE_STANDARD_PHANDLE(PColgp_VArrayNodeOfFieldOfHArray2OfVec2d,PStandard_ArrayNode) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray2OfXY.hxx b/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray2OfXY.hxx new file mode 100644 index 000000000..366fae2f4 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray2OfXY.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColgp_VArrayNodeOfFieldOfHArray2OfXY_HeaderFile +#define _Handle_PColgp_VArrayNodeOfFieldOfHArray2OfXY_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PStandard_ArrayNode); +class PColgp_VArrayNodeOfFieldOfHArray2OfXY; + +DEFINE_STANDARD_PHANDLE(PColgp_VArrayNodeOfFieldOfHArray2OfXY,PStandard_ArrayNode) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray2OfXYZ.hxx b/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray2OfXYZ.hxx new file mode 100644 index 000000000..1639804c2 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PColgp_VArrayNodeOfFieldOfHArray2OfXYZ.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PColgp_VArrayNodeOfFieldOfHArray2OfXYZ_HeaderFile +#define _Handle_PColgp_VArrayNodeOfFieldOfHArray2OfXYZ_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PStandard_ArrayNode); +class PColgp_VArrayNodeOfFieldOfHArray2OfXYZ; + +DEFINE_STANDARD_PHANDLE(PColgp_VArrayNodeOfFieldOfHArray2OfXYZ,PStandard_ArrayNode) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom2d_AxisPlacement.hxx b/src/FromOCCT/TKPShape/Handle_PGeom2d_AxisPlacement.hxx new file mode 100644 index 000000000..8b9867b8a --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom2d_AxisPlacement.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom2d_AxisPlacement_HeaderFile +#define _Handle_PGeom2d_AxisPlacement_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom2d_Geometry); +class PGeom2d_AxisPlacement; + +DEFINE_STANDARD_PHANDLE(PGeom2d_AxisPlacement,PGeom2d_Geometry) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom2d_BSplineCurve.hxx b/src/FromOCCT/TKPShape/Handle_PGeom2d_BSplineCurve.hxx new file mode 100644 index 000000000..2f4e57bde --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom2d_BSplineCurve.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom2d_BSplineCurve_HeaderFile +#define _Handle_PGeom2d_BSplineCurve_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom2d_BoundedCurve); +class PGeom2d_BSplineCurve; + +DEFINE_STANDARD_PHANDLE(PGeom2d_BSplineCurve,PGeom2d_BoundedCurve) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom2d_BezierCurve.hxx b/src/FromOCCT/TKPShape/Handle_PGeom2d_BezierCurve.hxx new file mode 100644 index 000000000..c927b55a9 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom2d_BezierCurve.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom2d_BezierCurve_HeaderFile +#define _Handle_PGeom2d_BezierCurve_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom2d_BoundedCurve); +class PGeom2d_BezierCurve; + +DEFINE_STANDARD_PHANDLE(PGeom2d_BezierCurve,PGeom2d_BoundedCurve) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom2d_BoundedCurve.hxx b/src/FromOCCT/TKPShape/Handle_PGeom2d_BoundedCurve.hxx new file mode 100644 index 000000000..336fb32eb --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom2d_BoundedCurve.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom2d_BoundedCurve_HeaderFile +#define _Handle_PGeom2d_BoundedCurve_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom2d_Curve); +class PGeom2d_BoundedCurve; + +DEFINE_STANDARD_PHANDLE(PGeom2d_BoundedCurve,PGeom2d_Curve) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom2d_CartesianPoint.hxx b/src/FromOCCT/TKPShape/Handle_PGeom2d_CartesianPoint.hxx new file mode 100644 index 000000000..dfec4e26a --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom2d_CartesianPoint.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom2d_CartesianPoint_HeaderFile +#define _Handle_PGeom2d_CartesianPoint_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom2d_Point); +class PGeom2d_CartesianPoint; + +DEFINE_STANDARD_PHANDLE(PGeom2d_CartesianPoint,PGeom2d_Point) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom2d_Circle.hxx b/src/FromOCCT/TKPShape/Handle_PGeom2d_Circle.hxx new file mode 100644 index 000000000..921f888eb --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom2d_Circle.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom2d_Circle_HeaderFile +#define _Handle_PGeom2d_Circle_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom2d_Conic); +class PGeom2d_Circle; + +DEFINE_STANDARD_PHANDLE(PGeom2d_Circle,PGeom2d_Conic) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom2d_Conic.hxx b/src/FromOCCT/TKPShape/Handle_PGeom2d_Conic.hxx new file mode 100644 index 000000000..1b3e42e34 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom2d_Conic.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom2d_Conic_HeaderFile +#define _Handle_PGeom2d_Conic_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom2d_Curve); +class PGeom2d_Conic; + +DEFINE_STANDARD_PHANDLE(PGeom2d_Conic,PGeom2d_Curve) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom2d_Curve.hxx b/src/FromOCCT/TKPShape/Handle_PGeom2d_Curve.hxx new file mode 100644 index 000000000..f48cb8a69 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom2d_Curve.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom2d_Curve_HeaderFile +#define _Handle_PGeom2d_Curve_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom2d_Geometry); +class PGeom2d_Curve; + +DEFINE_STANDARD_PHANDLE(PGeom2d_Curve,PGeom2d_Geometry) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom2d_Direction.hxx b/src/FromOCCT/TKPShape/Handle_PGeom2d_Direction.hxx new file mode 100644 index 000000000..9440bdc17 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom2d_Direction.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom2d_Direction_HeaderFile +#define _Handle_PGeom2d_Direction_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom2d_Vector); +class PGeom2d_Direction; + +DEFINE_STANDARD_PHANDLE(PGeom2d_Direction,PGeom2d_Vector) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom2d_Ellipse.hxx b/src/FromOCCT/TKPShape/Handle_PGeom2d_Ellipse.hxx new file mode 100644 index 000000000..0c0b9b9d2 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom2d_Ellipse.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom2d_Ellipse_HeaderFile +#define _Handle_PGeom2d_Ellipse_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom2d_Conic); +class PGeom2d_Ellipse; + +DEFINE_STANDARD_PHANDLE(PGeom2d_Ellipse,PGeom2d_Conic) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom2d_Geometry.hxx b/src/FromOCCT/TKPShape/Handle_PGeom2d_Geometry.hxx new file mode 100644 index 000000000..038dde9c8 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom2d_Geometry.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom2d_Geometry_HeaderFile +#define _Handle_PGeom2d_Geometry_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PGeom2d_Geometry; + +DEFINE_STANDARD_PHANDLE(PGeom2d_Geometry,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom2d_Hyperbola.hxx b/src/FromOCCT/TKPShape/Handle_PGeom2d_Hyperbola.hxx new file mode 100644 index 000000000..01f124a7d --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom2d_Hyperbola.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom2d_Hyperbola_HeaderFile +#define _Handle_PGeom2d_Hyperbola_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom2d_Conic); +class PGeom2d_Hyperbola; + +DEFINE_STANDARD_PHANDLE(PGeom2d_Hyperbola,PGeom2d_Conic) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom2d_Line.hxx b/src/FromOCCT/TKPShape/Handle_PGeom2d_Line.hxx new file mode 100644 index 000000000..5bf06c65d --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom2d_Line.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom2d_Line_HeaderFile +#define _Handle_PGeom2d_Line_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom2d_Curve); +class PGeom2d_Line; + +DEFINE_STANDARD_PHANDLE(PGeom2d_Line,PGeom2d_Curve) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom2d_OffsetCurve.hxx b/src/FromOCCT/TKPShape/Handle_PGeom2d_OffsetCurve.hxx new file mode 100644 index 000000000..ed4b7d406 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom2d_OffsetCurve.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom2d_OffsetCurve_HeaderFile +#define _Handle_PGeom2d_OffsetCurve_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom2d_Curve); +class PGeom2d_OffsetCurve; + +DEFINE_STANDARD_PHANDLE(PGeom2d_OffsetCurve,PGeom2d_Curve) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom2d_Parabola.hxx b/src/FromOCCT/TKPShape/Handle_PGeom2d_Parabola.hxx new file mode 100644 index 000000000..858dfeba7 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom2d_Parabola.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom2d_Parabola_HeaderFile +#define _Handle_PGeom2d_Parabola_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom2d_Conic); +class PGeom2d_Parabola; + +DEFINE_STANDARD_PHANDLE(PGeom2d_Parabola,PGeom2d_Conic) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom2d_Point.hxx b/src/FromOCCT/TKPShape/Handle_PGeom2d_Point.hxx new file mode 100644 index 000000000..0a56bc3eb --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom2d_Point.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom2d_Point_HeaderFile +#define _Handle_PGeom2d_Point_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom2d_Geometry); +class PGeom2d_Point; + +DEFINE_STANDARD_PHANDLE(PGeom2d_Point,PGeom2d_Geometry) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom2d_Transformation.hxx b/src/FromOCCT/TKPShape/Handle_PGeom2d_Transformation.hxx new file mode 100644 index 000000000..24a77c458 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom2d_Transformation.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom2d_Transformation_HeaderFile +#define _Handle_PGeom2d_Transformation_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PGeom2d_Transformation; + +DEFINE_STANDARD_PHANDLE(PGeom2d_Transformation,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom2d_TrimmedCurve.hxx b/src/FromOCCT/TKPShape/Handle_PGeom2d_TrimmedCurve.hxx new file mode 100644 index 000000000..eb94b84fb --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom2d_TrimmedCurve.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom2d_TrimmedCurve_HeaderFile +#define _Handle_PGeom2d_TrimmedCurve_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom2d_BoundedCurve); +class PGeom2d_TrimmedCurve; + +DEFINE_STANDARD_PHANDLE(PGeom2d_TrimmedCurve,PGeom2d_BoundedCurve) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom2d_Vector.hxx b/src/FromOCCT/TKPShape/Handle_PGeom2d_Vector.hxx new file mode 100644 index 000000000..1400574cc --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom2d_Vector.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom2d_Vector_HeaderFile +#define _Handle_PGeom2d_Vector_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom2d_Geometry); +class PGeom2d_Vector; + +DEFINE_STANDARD_PHANDLE(PGeom2d_Vector,PGeom2d_Geometry) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom2d_VectorWithMagnitude.hxx b/src/FromOCCT/TKPShape/Handle_PGeom2d_VectorWithMagnitude.hxx new file mode 100644 index 000000000..886794cf8 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom2d_VectorWithMagnitude.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom2d_VectorWithMagnitude_HeaderFile +#define _Handle_PGeom2d_VectorWithMagnitude_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom2d_Vector); +class PGeom2d_VectorWithMagnitude; + +DEFINE_STANDARD_PHANDLE(PGeom2d_VectorWithMagnitude,PGeom2d_Vector) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom_Axis1Placement.hxx b/src/FromOCCT/TKPShape/Handle_PGeom_Axis1Placement.hxx new file mode 100644 index 000000000..2cd7b960d --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom_Axis1Placement.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom_Axis1Placement_HeaderFile +#define _Handle_PGeom_Axis1Placement_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom_AxisPlacement); +class PGeom_Axis1Placement; + +DEFINE_STANDARD_PHANDLE(PGeom_Axis1Placement,PGeom_AxisPlacement) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom_Axis2Placement.hxx b/src/FromOCCT/TKPShape/Handle_PGeom_Axis2Placement.hxx new file mode 100644 index 000000000..7d8c633e2 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom_Axis2Placement.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom_Axis2Placement_HeaderFile +#define _Handle_PGeom_Axis2Placement_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom_AxisPlacement); +class PGeom_Axis2Placement; + +DEFINE_STANDARD_PHANDLE(PGeom_Axis2Placement,PGeom_AxisPlacement) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom_AxisPlacement.hxx b/src/FromOCCT/TKPShape/Handle_PGeom_AxisPlacement.hxx new file mode 100644 index 000000000..f21d6bd4e --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom_AxisPlacement.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom_AxisPlacement_HeaderFile +#define _Handle_PGeom_AxisPlacement_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom_Geometry); +class PGeom_AxisPlacement; + +DEFINE_STANDARD_PHANDLE(PGeom_AxisPlacement,PGeom_Geometry) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom_BSplineCurve.hxx b/src/FromOCCT/TKPShape/Handle_PGeom_BSplineCurve.hxx new file mode 100644 index 000000000..d27a48404 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom_BSplineCurve.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom_BSplineCurve_HeaderFile +#define _Handle_PGeom_BSplineCurve_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom_BoundedCurve); +class PGeom_BSplineCurve; + +DEFINE_STANDARD_PHANDLE(PGeom_BSplineCurve,PGeom_BoundedCurve) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom_BSplineSurface.hxx b/src/FromOCCT/TKPShape/Handle_PGeom_BSplineSurface.hxx new file mode 100644 index 000000000..e60d9884f --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom_BSplineSurface.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom_BSplineSurface_HeaderFile +#define _Handle_PGeom_BSplineSurface_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom_BoundedSurface); +class PGeom_BSplineSurface; + +DEFINE_STANDARD_PHANDLE(PGeom_BSplineSurface,PGeom_BoundedSurface) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom_BezierCurve.hxx b/src/FromOCCT/TKPShape/Handle_PGeom_BezierCurve.hxx new file mode 100644 index 000000000..d8b3749d0 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom_BezierCurve.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom_BezierCurve_HeaderFile +#define _Handle_PGeom_BezierCurve_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom_BoundedCurve); +class PGeom_BezierCurve; + +DEFINE_STANDARD_PHANDLE(PGeom_BezierCurve,PGeom_BoundedCurve) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom_BezierSurface.hxx b/src/FromOCCT/TKPShape/Handle_PGeom_BezierSurface.hxx new file mode 100644 index 000000000..a1dbe5e81 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom_BezierSurface.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom_BezierSurface_HeaderFile +#define _Handle_PGeom_BezierSurface_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom_BoundedSurface); +class PGeom_BezierSurface; + +DEFINE_STANDARD_PHANDLE(PGeom_BezierSurface,PGeom_BoundedSurface) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom_BoundedCurve.hxx b/src/FromOCCT/TKPShape/Handle_PGeom_BoundedCurve.hxx new file mode 100644 index 000000000..9023f417c --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom_BoundedCurve.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom_BoundedCurve_HeaderFile +#define _Handle_PGeom_BoundedCurve_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom_Curve); +class PGeom_BoundedCurve; + +DEFINE_STANDARD_PHANDLE(PGeom_BoundedCurve,PGeom_Curve) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom_BoundedSurface.hxx b/src/FromOCCT/TKPShape/Handle_PGeom_BoundedSurface.hxx new file mode 100644 index 000000000..01abb91c2 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom_BoundedSurface.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom_BoundedSurface_HeaderFile +#define _Handle_PGeom_BoundedSurface_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom_Surface); +class PGeom_BoundedSurface; + +DEFINE_STANDARD_PHANDLE(PGeom_BoundedSurface,PGeom_Surface) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom_CartesianPoint.hxx b/src/FromOCCT/TKPShape/Handle_PGeom_CartesianPoint.hxx new file mode 100644 index 000000000..36f07df79 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom_CartesianPoint.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom_CartesianPoint_HeaderFile +#define _Handle_PGeom_CartesianPoint_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom_Point); +class PGeom_CartesianPoint; + +DEFINE_STANDARD_PHANDLE(PGeom_CartesianPoint,PGeom_Point) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom_Circle.hxx b/src/FromOCCT/TKPShape/Handle_PGeom_Circle.hxx new file mode 100644 index 000000000..fe0aff002 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom_Circle.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom_Circle_HeaderFile +#define _Handle_PGeom_Circle_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom_Conic); +class PGeom_Circle; + +DEFINE_STANDARD_PHANDLE(PGeom_Circle,PGeom_Conic) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom_Conic.hxx b/src/FromOCCT/TKPShape/Handle_PGeom_Conic.hxx new file mode 100644 index 000000000..8ea846c83 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom_Conic.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom_Conic_HeaderFile +#define _Handle_PGeom_Conic_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom_Curve); +class PGeom_Conic; + +DEFINE_STANDARD_PHANDLE(PGeom_Conic,PGeom_Curve) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom_ConicalSurface.hxx b/src/FromOCCT/TKPShape/Handle_PGeom_ConicalSurface.hxx new file mode 100644 index 000000000..269fb8ce6 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom_ConicalSurface.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom_ConicalSurface_HeaderFile +#define _Handle_PGeom_ConicalSurface_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom_ElementarySurface); +class PGeom_ConicalSurface; + +DEFINE_STANDARD_PHANDLE(PGeom_ConicalSurface,PGeom_ElementarySurface) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom_Curve.hxx b/src/FromOCCT/TKPShape/Handle_PGeom_Curve.hxx new file mode 100644 index 000000000..dddee681d --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom_Curve.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom_Curve_HeaderFile +#define _Handle_PGeom_Curve_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom_Geometry); +class PGeom_Curve; + +DEFINE_STANDARD_PHANDLE(PGeom_Curve,PGeom_Geometry) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom_CylindricalSurface.hxx b/src/FromOCCT/TKPShape/Handle_PGeom_CylindricalSurface.hxx new file mode 100644 index 000000000..8ad588697 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom_CylindricalSurface.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom_CylindricalSurface_HeaderFile +#define _Handle_PGeom_CylindricalSurface_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom_ElementarySurface); +class PGeom_CylindricalSurface; + +DEFINE_STANDARD_PHANDLE(PGeom_CylindricalSurface,PGeom_ElementarySurface) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom_Direction.hxx b/src/FromOCCT/TKPShape/Handle_PGeom_Direction.hxx new file mode 100644 index 000000000..f89be2428 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom_Direction.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom_Direction_HeaderFile +#define _Handle_PGeom_Direction_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom_Vector); +class PGeom_Direction; + +DEFINE_STANDARD_PHANDLE(PGeom_Direction,PGeom_Vector) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom_ElementarySurface.hxx b/src/FromOCCT/TKPShape/Handle_PGeom_ElementarySurface.hxx new file mode 100644 index 000000000..384014c66 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom_ElementarySurface.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom_ElementarySurface_HeaderFile +#define _Handle_PGeom_ElementarySurface_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom_Surface); +class PGeom_ElementarySurface; + +DEFINE_STANDARD_PHANDLE(PGeom_ElementarySurface,PGeom_Surface) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom_Ellipse.hxx b/src/FromOCCT/TKPShape/Handle_PGeom_Ellipse.hxx new file mode 100644 index 000000000..9766dff0d --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom_Ellipse.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom_Ellipse_HeaderFile +#define _Handle_PGeom_Ellipse_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom_Conic); +class PGeom_Ellipse; + +DEFINE_STANDARD_PHANDLE(PGeom_Ellipse,PGeom_Conic) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom_Geometry.hxx b/src/FromOCCT/TKPShape/Handle_PGeom_Geometry.hxx new file mode 100644 index 000000000..4702d5b85 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom_Geometry.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom_Geometry_HeaderFile +#define _Handle_PGeom_Geometry_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PGeom_Geometry; + +DEFINE_STANDARD_PHANDLE(PGeom_Geometry,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom_Hyperbola.hxx b/src/FromOCCT/TKPShape/Handle_PGeom_Hyperbola.hxx new file mode 100644 index 000000000..dc17b820d --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom_Hyperbola.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom_Hyperbola_HeaderFile +#define _Handle_PGeom_Hyperbola_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom_Conic); +class PGeom_Hyperbola; + +DEFINE_STANDARD_PHANDLE(PGeom_Hyperbola,PGeom_Conic) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom_Line.hxx b/src/FromOCCT/TKPShape/Handle_PGeom_Line.hxx new file mode 100644 index 000000000..7f39e193b --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom_Line.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom_Line_HeaderFile +#define _Handle_PGeom_Line_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom_Curve); +class PGeom_Line; + +DEFINE_STANDARD_PHANDLE(PGeom_Line,PGeom_Curve) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom_OffsetCurve.hxx b/src/FromOCCT/TKPShape/Handle_PGeom_OffsetCurve.hxx new file mode 100644 index 000000000..56b8534da --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom_OffsetCurve.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom_OffsetCurve_HeaderFile +#define _Handle_PGeom_OffsetCurve_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom_Curve); +class PGeom_OffsetCurve; + +DEFINE_STANDARD_PHANDLE(PGeom_OffsetCurve,PGeom_Curve) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom_OffsetSurface.hxx b/src/FromOCCT/TKPShape/Handle_PGeom_OffsetSurface.hxx new file mode 100644 index 000000000..7451ba93f --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom_OffsetSurface.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom_OffsetSurface_HeaderFile +#define _Handle_PGeom_OffsetSurface_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom_Surface); +class PGeom_OffsetSurface; + +DEFINE_STANDARD_PHANDLE(PGeom_OffsetSurface,PGeom_Surface) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom_Parabola.hxx b/src/FromOCCT/TKPShape/Handle_PGeom_Parabola.hxx new file mode 100644 index 000000000..abbaa54b6 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom_Parabola.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom_Parabola_HeaderFile +#define _Handle_PGeom_Parabola_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom_Conic); +class PGeom_Parabola; + +DEFINE_STANDARD_PHANDLE(PGeom_Parabola,PGeom_Conic) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom_Plane.hxx b/src/FromOCCT/TKPShape/Handle_PGeom_Plane.hxx new file mode 100644 index 000000000..310634a10 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom_Plane.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom_Plane_HeaderFile +#define _Handle_PGeom_Plane_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom_ElementarySurface); +class PGeom_Plane; + +DEFINE_STANDARD_PHANDLE(PGeom_Plane,PGeom_ElementarySurface) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom_Point.hxx b/src/FromOCCT/TKPShape/Handle_PGeom_Point.hxx new file mode 100644 index 000000000..dc5a5be35 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom_Point.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom_Point_HeaderFile +#define _Handle_PGeom_Point_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom_Geometry); +class PGeom_Point; + +DEFINE_STANDARD_PHANDLE(PGeom_Point,PGeom_Geometry) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom_RectangularTrimmedSurface.hxx b/src/FromOCCT/TKPShape/Handle_PGeom_RectangularTrimmedSurface.hxx new file mode 100644 index 000000000..5c7852e72 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom_RectangularTrimmedSurface.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom_RectangularTrimmedSurface_HeaderFile +#define _Handle_PGeom_RectangularTrimmedSurface_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom_BoundedSurface); +class PGeom_RectangularTrimmedSurface; + +DEFINE_STANDARD_PHANDLE(PGeom_RectangularTrimmedSurface,PGeom_BoundedSurface) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom_SphericalSurface.hxx b/src/FromOCCT/TKPShape/Handle_PGeom_SphericalSurface.hxx new file mode 100644 index 000000000..5246012ac --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom_SphericalSurface.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom_SphericalSurface_HeaderFile +#define _Handle_PGeom_SphericalSurface_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom_ElementarySurface); +class PGeom_SphericalSurface; + +DEFINE_STANDARD_PHANDLE(PGeom_SphericalSurface,PGeom_ElementarySurface) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom_Surface.hxx b/src/FromOCCT/TKPShape/Handle_PGeom_Surface.hxx new file mode 100644 index 000000000..b331cb73f --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom_Surface.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom_Surface_HeaderFile +#define _Handle_PGeom_Surface_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom_Geometry); +class PGeom_Surface; + +DEFINE_STANDARD_PHANDLE(PGeom_Surface,PGeom_Geometry) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom_SurfaceOfLinearExtrusion.hxx b/src/FromOCCT/TKPShape/Handle_PGeom_SurfaceOfLinearExtrusion.hxx new file mode 100644 index 000000000..0567dbc03 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom_SurfaceOfLinearExtrusion.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom_SurfaceOfLinearExtrusion_HeaderFile +#define _Handle_PGeom_SurfaceOfLinearExtrusion_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom_SweptSurface); +class PGeom_SurfaceOfLinearExtrusion; + +DEFINE_STANDARD_PHANDLE(PGeom_SurfaceOfLinearExtrusion,PGeom_SweptSurface) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom_SurfaceOfRevolution.hxx b/src/FromOCCT/TKPShape/Handle_PGeom_SurfaceOfRevolution.hxx new file mode 100644 index 000000000..796255d71 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom_SurfaceOfRevolution.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom_SurfaceOfRevolution_HeaderFile +#define _Handle_PGeom_SurfaceOfRevolution_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom_SweptSurface); +class PGeom_SurfaceOfRevolution; + +DEFINE_STANDARD_PHANDLE(PGeom_SurfaceOfRevolution,PGeom_SweptSurface) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom_SweptSurface.hxx b/src/FromOCCT/TKPShape/Handle_PGeom_SweptSurface.hxx new file mode 100644 index 000000000..825cbd325 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom_SweptSurface.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom_SweptSurface_HeaderFile +#define _Handle_PGeom_SweptSurface_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom_Surface); +class PGeom_SweptSurface; + +DEFINE_STANDARD_PHANDLE(PGeom_SweptSurface,PGeom_Surface) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom_ToroidalSurface.hxx b/src/FromOCCT/TKPShape/Handle_PGeom_ToroidalSurface.hxx new file mode 100644 index 000000000..b81b3e994 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom_ToroidalSurface.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom_ToroidalSurface_HeaderFile +#define _Handle_PGeom_ToroidalSurface_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom_ElementarySurface); +class PGeom_ToroidalSurface; + +DEFINE_STANDARD_PHANDLE(PGeom_ToroidalSurface,PGeom_ElementarySurface) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom_Transformation.hxx b/src/FromOCCT/TKPShape/Handle_PGeom_Transformation.hxx new file mode 100644 index 000000000..842cd1520 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom_Transformation.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom_Transformation_HeaderFile +#define _Handle_PGeom_Transformation_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PGeom_Transformation; + +DEFINE_STANDARD_PHANDLE(PGeom_Transformation,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom_TrimmedCurve.hxx b/src/FromOCCT/TKPShape/Handle_PGeom_TrimmedCurve.hxx new file mode 100644 index 000000000..2cd85d3fc --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom_TrimmedCurve.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom_TrimmedCurve_HeaderFile +#define _Handle_PGeom_TrimmedCurve_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom_BoundedCurve); +class PGeom_TrimmedCurve; + +DEFINE_STANDARD_PHANDLE(PGeom_TrimmedCurve,PGeom_BoundedCurve) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom_Vector.hxx b/src/FromOCCT/TKPShape/Handle_PGeom_Vector.hxx new file mode 100644 index 000000000..b1365923d --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom_Vector.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom_Vector_HeaderFile +#define _Handle_PGeom_Vector_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom_Geometry); +class PGeom_Vector; + +DEFINE_STANDARD_PHANDLE(PGeom_Vector,PGeom_Geometry) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PGeom_VectorWithMagnitude.hxx b/src/FromOCCT/TKPShape/Handle_PGeom_VectorWithMagnitude.hxx new file mode 100644 index 000000000..b1be07c98 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PGeom_VectorWithMagnitude.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PGeom_VectorWithMagnitude_HeaderFile +#define _Handle_PGeom_VectorWithMagnitude_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PGeom_Vector); +class PGeom_VectorWithMagnitude; + +DEFINE_STANDARD_PHANDLE(PGeom_VectorWithMagnitude,PGeom_Vector) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PPoly_HArray1OfTriangle.hxx b/src/FromOCCT/TKPShape/Handle_PPoly_HArray1OfTriangle.hxx new file mode 100644 index 000000000..0f9f765fb --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PPoly_HArray1OfTriangle.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PPoly_HArray1OfTriangle_HeaderFile +#define _Handle_PPoly_HArray1OfTriangle_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PPoly_HArray1OfTriangle; + +DEFINE_STANDARD_PHANDLE(PPoly_HArray1OfTriangle,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PPoly_Polygon2D.hxx b/src/FromOCCT/TKPShape/Handle_PPoly_Polygon2D.hxx new file mode 100644 index 000000000..458d4678a --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PPoly_Polygon2D.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PPoly_Polygon2D_HeaderFile +#define _Handle_PPoly_Polygon2D_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PPoly_Polygon2D; + +DEFINE_STANDARD_PHANDLE(PPoly_Polygon2D,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PPoly_Polygon3D.hxx b/src/FromOCCT/TKPShape/Handle_PPoly_Polygon3D.hxx new file mode 100644 index 000000000..e9fcba01c --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PPoly_Polygon3D.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PPoly_Polygon3D_HeaderFile +#define _Handle_PPoly_Polygon3D_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PPoly_Polygon3D; + +DEFINE_STANDARD_PHANDLE(PPoly_Polygon3D,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PPoly_PolygonOnTriangulation.hxx b/src/FromOCCT/TKPShape/Handle_PPoly_PolygonOnTriangulation.hxx new file mode 100644 index 000000000..21b366c84 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PPoly_PolygonOnTriangulation.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PPoly_PolygonOnTriangulation_HeaderFile +#define _Handle_PPoly_PolygonOnTriangulation_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PPoly_PolygonOnTriangulation; + +DEFINE_STANDARD_PHANDLE(PPoly_PolygonOnTriangulation,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PPoly_Triangulation.hxx b/src/FromOCCT/TKPShape/Handle_PPoly_Triangulation.hxx new file mode 100644 index 000000000..adcff74c9 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PPoly_Triangulation.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PPoly_Triangulation_HeaderFile +#define _Handle_PPoly_Triangulation_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PPoly_Triangulation; + +DEFINE_STANDARD_PHANDLE(PPoly_Triangulation,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PPoly_VArrayNodeOfFieldOfHArray1OfTriangle.hxx b/src/FromOCCT/TKPShape/Handle_PPoly_VArrayNodeOfFieldOfHArray1OfTriangle.hxx new file mode 100644 index 000000000..d032c7c98 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PPoly_VArrayNodeOfFieldOfHArray1OfTriangle.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PPoly_VArrayNodeOfFieldOfHArray1OfTriangle_HeaderFile +#define _Handle_PPoly_VArrayNodeOfFieldOfHArray1OfTriangle_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PStandard_ArrayNode); +class PPoly_VArrayNodeOfFieldOfHArray1OfTriangle; + +DEFINE_STANDARD_PHANDLE(PPoly_VArrayNodeOfFieldOfHArray1OfTriangle,PStandard_ArrayNode) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PTopLoc_Datum3D.hxx b/src/FromOCCT/TKPShape/Handle_PTopLoc_Datum3D.hxx new file mode 100644 index 000000000..b4154d40c --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PTopLoc_Datum3D.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PTopLoc_Datum3D_HeaderFile +#define _Handle_PTopLoc_Datum3D_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PTopLoc_Datum3D; + +DEFINE_STANDARD_PHANDLE(PTopLoc_Datum3D,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PTopLoc_ItemLocation.hxx b/src/FromOCCT/TKPShape/Handle_PTopLoc_ItemLocation.hxx new file mode 100644 index 000000000..306e57a2a --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PTopLoc_ItemLocation.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PTopLoc_ItemLocation_HeaderFile +#define _Handle_PTopLoc_ItemLocation_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PTopLoc_ItemLocation; + +DEFINE_STANDARD_PHANDLE(PTopLoc_ItemLocation,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PTopoDS_CompSolid.hxx b/src/FromOCCT/TKPShape/Handle_PTopoDS_CompSolid.hxx new file mode 100644 index 000000000..628d3d03b --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PTopoDS_CompSolid.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PTopoDS_CompSolid_HeaderFile +#define _Handle_PTopoDS_CompSolid_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PTopoDS_HShape); +class PTopoDS_CompSolid; + +DEFINE_STANDARD_PHANDLE(PTopoDS_CompSolid,PTopoDS_HShape) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PTopoDS_Compound.hxx b/src/FromOCCT/TKPShape/Handle_PTopoDS_Compound.hxx new file mode 100644 index 000000000..9a626f243 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PTopoDS_Compound.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PTopoDS_Compound_HeaderFile +#define _Handle_PTopoDS_Compound_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PTopoDS_HShape); +class PTopoDS_Compound; + +DEFINE_STANDARD_PHANDLE(PTopoDS_Compound,PTopoDS_HShape) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PTopoDS_Edge.hxx b/src/FromOCCT/TKPShape/Handle_PTopoDS_Edge.hxx new file mode 100644 index 000000000..76c361d1e --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PTopoDS_Edge.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PTopoDS_Edge_HeaderFile +#define _Handle_PTopoDS_Edge_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PTopoDS_HShape); +class PTopoDS_Edge; + +DEFINE_STANDARD_PHANDLE(PTopoDS_Edge,PTopoDS_HShape) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PTopoDS_Face.hxx b/src/FromOCCT/TKPShape/Handle_PTopoDS_Face.hxx new file mode 100644 index 000000000..aacbe8ba7 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PTopoDS_Face.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PTopoDS_Face_HeaderFile +#define _Handle_PTopoDS_Face_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PTopoDS_HShape); +class PTopoDS_Face; + +DEFINE_STANDARD_PHANDLE(PTopoDS_Face,PTopoDS_HShape) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PTopoDS_HArray1OfHShape.hxx b/src/FromOCCT/TKPShape/Handle_PTopoDS_HArray1OfHShape.hxx new file mode 100644 index 000000000..cde408af1 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PTopoDS_HArray1OfHShape.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PTopoDS_HArray1OfHShape_HeaderFile +#define _Handle_PTopoDS_HArray1OfHShape_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PTopoDS_HArray1OfHShape; + +DEFINE_STANDARD_PHANDLE(PTopoDS_HArray1OfHShape,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PTopoDS_HArray1OfShape1.hxx b/src/FromOCCT/TKPShape/Handle_PTopoDS_HArray1OfShape1.hxx new file mode 100644 index 000000000..7629f82f8 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PTopoDS_HArray1OfShape1.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PTopoDS_HArray1OfShape1_HeaderFile +#define _Handle_PTopoDS_HArray1OfShape1_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PTopoDS_HArray1OfShape1; + +DEFINE_STANDARD_PHANDLE(PTopoDS_HArray1OfShape1,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PTopoDS_HShape.hxx b/src/FromOCCT/TKPShape/Handle_PTopoDS_HShape.hxx new file mode 100644 index 000000000..390223de6 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PTopoDS_HShape.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PTopoDS_HShape_HeaderFile +#define _Handle_PTopoDS_HShape_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(ObjMgt_ExternShareable); +class PTopoDS_HShape; + +DEFINE_STANDARD_PHANDLE(PTopoDS_HShape,ObjMgt_ExternShareable) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PTopoDS_Shell.hxx b/src/FromOCCT/TKPShape/Handle_PTopoDS_Shell.hxx new file mode 100644 index 000000000..8d864cd7a --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PTopoDS_Shell.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PTopoDS_Shell_HeaderFile +#define _Handle_PTopoDS_Shell_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PTopoDS_HShape); +class PTopoDS_Shell; + +DEFINE_STANDARD_PHANDLE(PTopoDS_Shell,PTopoDS_HShape) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PTopoDS_Solid.hxx b/src/FromOCCT/TKPShape/Handle_PTopoDS_Solid.hxx new file mode 100644 index 000000000..7ab34e043 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PTopoDS_Solid.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PTopoDS_Solid_HeaderFile +#define _Handle_PTopoDS_Solid_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PTopoDS_HShape); +class PTopoDS_Solid; + +DEFINE_STANDARD_PHANDLE(PTopoDS_Solid,PTopoDS_HShape) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PTopoDS_TCompSolid.hxx b/src/FromOCCT/TKPShape/Handle_PTopoDS_TCompSolid.hxx new file mode 100644 index 000000000..91b6a6653 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PTopoDS_TCompSolid.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PTopoDS_TCompSolid_HeaderFile +#define _Handle_PTopoDS_TCompSolid_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PTopoDS_TShape); +class PTopoDS_TCompSolid; + +DEFINE_STANDARD_PHANDLE(PTopoDS_TCompSolid,PTopoDS_TShape) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PTopoDS_TCompSolid1.hxx b/src/FromOCCT/TKPShape/Handle_PTopoDS_TCompSolid1.hxx new file mode 100644 index 000000000..205b3976e --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PTopoDS_TCompSolid1.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PTopoDS_TCompSolid1_HeaderFile +#define _Handle_PTopoDS_TCompSolid1_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PTopoDS_TShape1); +class PTopoDS_TCompSolid1; + +DEFINE_STANDARD_PHANDLE(PTopoDS_TCompSolid1,PTopoDS_TShape1) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PTopoDS_TCompound.hxx b/src/FromOCCT/TKPShape/Handle_PTopoDS_TCompound.hxx new file mode 100644 index 000000000..a8a11a877 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PTopoDS_TCompound.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PTopoDS_TCompound_HeaderFile +#define _Handle_PTopoDS_TCompound_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PTopoDS_TShape); +class PTopoDS_TCompound; + +DEFINE_STANDARD_PHANDLE(PTopoDS_TCompound,PTopoDS_TShape) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PTopoDS_TCompound1.hxx b/src/FromOCCT/TKPShape/Handle_PTopoDS_TCompound1.hxx new file mode 100644 index 000000000..60ae4deca --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PTopoDS_TCompound1.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PTopoDS_TCompound1_HeaderFile +#define _Handle_PTopoDS_TCompound1_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PTopoDS_TShape1); +class PTopoDS_TCompound1; + +DEFINE_STANDARD_PHANDLE(PTopoDS_TCompound1,PTopoDS_TShape1) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PTopoDS_TEdge.hxx b/src/FromOCCT/TKPShape/Handle_PTopoDS_TEdge.hxx new file mode 100644 index 000000000..648efdee7 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PTopoDS_TEdge.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PTopoDS_TEdge_HeaderFile +#define _Handle_PTopoDS_TEdge_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PTopoDS_TShape); +class PTopoDS_TEdge; + +DEFINE_STANDARD_PHANDLE(PTopoDS_TEdge,PTopoDS_TShape) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PTopoDS_TEdge1.hxx b/src/FromOCCT/TKPShape/Handle_PTopoDS_TEdge1.hxx new file mode 100644 index 000000000..89c69fae8 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PTopoDS_TEdge1.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PTopoDS_TEdge1_HeaderFile +#define _Handle_PTopoDS_TEdge1_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PTopoDS_TShape1); +class PTopoDS_TEdge1; + +DEFINE_STANDARD_PHANDLE(PTopoDS_TEdge1,PTopoDS_TShape1) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PTopoDS_TFace.hxx b/src/FromOCCT/TKPShape/Handle_PTopoDS_TFace.hxx new file mode 100644 index 000000000..5f74f5c3d --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PTopoDS_TFace.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PTopoDS_TFace_HeaderFile +#define _Handle_PTopoDS_TFace_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PTopoDS_TShape); +class PTopoDS_TFace; + +DEFINE_STANDARD_PHANDLE(PTopoDS_TFace,PTopoDS_TShape) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PTopoDS_TFace1.hxx b/src/FromOCCT/TKPShape/Handle_PTopoDS_TFace1.hxx new file mode 100644 index 000000000..d2e3913cc --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PTopoDS_TFace1.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PTopoDS_TFace1_HeaderFile +#define _Handle_PTopoDS_TFace1_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PTopoDS_TShape1); +class PTopoDS_TFace1; + +DEFINE_STANDARD_PHANDLE(PTopoDS_TFace1,PTopoDS_TShape1) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PTopoDS_TShape.hxx b/src/FromOCCT/TKPShape/Handle_PTopoDS_TShape.hxx new file mode 100644 index 000000000..3bc93048e --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PTopoDS_TShape.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PTopoDS_TShape_HeaderFile +#define _Handle_PTopoDS_TShape_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PTopoDS_TShape; + +DEFINE_STANDARD_PHANDLE(PTopoDS_TShape,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PTopoDS_TShape1.hxx b/src/FromOCCT/TKPShape/Handle_PTopoDS_TShape1.hxx new file mode 100644 index 000000000..8636edea7 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PTopoDS_TShape1.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PTopoDS_TShape1_HeaderFile +#define _Handle_PTopoDS_TShape1_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PTopoDS_TShape1; + +DEFINE_STANDARD_PHANDLE(PTopoDS_TShape1,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PTopoDS_TShell.hxx b/src/FromOCCT/TKPShape/Handle_PTopoDS_TShell.hxx new file mode 100644 index 000000000..d825ce636 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PTopoDS_TShell.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PTopoDS_TShell_HeaderFile +#define _Handle_PTopoDS_TShell_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PTopoDS_TShape); +class PTopoDS_TShell; + +DEFINE_STANDARD_PHANDLE(PTopoDS_TShell,PTopoDS_TShape) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PTopoDS_TShell1.hxx b/src/FromOCCT/TKPShape/Handle_PTopoDS_TShell1.hxx new file mode 100644 index 000000000..07659f509 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PTopoDS_TShell1.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PTopoDS_TShell1_HeaderFile +#define _Handle_PTopoDS_TShell1_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PTopoDS_TShape1); +class PTopoDS_TShell1; + +DEFINE_STANDARD_PHANDLE(PTopoDS_TShell1,PTopoDS_TShape1) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PTopoDS_TSolid.hxx b/src/FromOCCT/TKPShape/Handle_PTopoDS_TSolid.hxx new file mode 100644 index 000000000..ad907bd19 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PTopoDS_TSolid.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PTopoDS_TSolid_HeaderFile +#define _Handle_PTopoDS_TSolid_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PTopoDS_TShape); +class PTopoDS_TSolid; + +DEFINE_STANDARD_PHANDLE(PTopoDS_TSolid,PTopoDS_TShape) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PTopoDS_TSolid1.hxx b/src/FromOCCT/TKPShape/Handle_PTopoDS_TSolid1.hxx new file mode 100644 index 000000000..72364a78c --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PTopoDS_TSolid1.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PTopoDS_TSolid1_HeaderFile +#define _Handle_PTopoDS_TSolid1_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PTopoDS_TShape1); +class PTopoDS_TSolid1; + +DEFINE_STANDARD_PHANDLE(PTopoDS_TSolid1,PTopoDS_TShape1) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PTopoDS_TVertex.hxx b/src/FromOCCT/TKPShape/Handle_PTopoDS_TVertex.hxx new file mode 100644 index 000000000..36e1c5d4b --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PTopoDS_TVertex.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PTopoDS_TVertex_HeaderFile +#define _Handle_PTopoDS_TVertex_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PTopoDS_TShape); +class PTopoDS_TVertex; + +DEFINE_STANDARD_PHANDLE(PTopoDS_TVertex,PTopoDS_TShape) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PTopoDS_TVertex1.hxx b/src/FromOCCT/TKPShape/Handle_PTopoDS_TVertex1.hxx new file mode 100644 index 000000000..86524e050 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PTopoDS_TVertex1.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PTopoDS_TVertex1_HeaderFile +#define _Handle_PTopoDS_TVertex1_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PTopoDS_TShape1); +class PTopoDS_TVertex1; + +DEFINE_STANDARD_PHANDLE(PTopoDS_TVertex1,PTopoDS_TShape1) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PTopoDS_TWire.hxx b/src/FromOCCT/TKPShape/Handle_PTopoDS_TWire.hxx new file mode 100644 index 000000000..ef02f13b9 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PTopoDS_TWire.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PTopoDS_TWire_HeaderFile +#define _Handle_PTopoDS_TWire_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PTopoDS_TShape); +class PTopoDS_TWire; + +DEFINE_STANDARD_PHANDLE(PTopoDS_TWire,PTopoDS_TShape) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PTopoDS_TWire1.hxx b/src/FromOCCT/TKPShape/Handle_PTopoDS_TWire1.hxx new file mode 100644 index 000000000..3619e981a --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PTopoDS_TWire1.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PTopoDS_TWire1_HeaderFile +#define _Handle_PTopoDS_TWire1_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PTopoDS_TShape1); +class PTopoDS_TWire1; + +DEFINE_STANDARD_PHANDLE(PTopoDS_TWire1,PTopoDS_TShape1) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape.hxx b/src/FromOCCT/TKPShape/Handle_PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape.hxx new file mode 100644 index 000000000..a87dd2a5d --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape_HeaderFile +#define _Handle_PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PStandard_ArrayNode); +class PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape; + +DEFINE_STANDARD_PHANDLE(PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape,PStandard_ArrayNode) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1.hxx b/src/FromOCCT/TKPShape/Handle_PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1.hxx new file mode 100644 index 000000000..fea6d5a2b --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1_HeaderFile +#define _Handle_PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PStandard_ArrayNode); +class PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1; + +DEFINE_STANDARD_PHANDLE(PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1,PStandard_ArrayNode) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PTopoDS_Vertex.hxx b/src/FromOCCT/TKPShape/Handle_PTopoDS_Vertex.hxx new file mode 100644 index 000000000..8438a6d07 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PTopoDS_Vertex.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PTopoDS_Vertex_HeaderFile +#define _Handle_PTopoDS_Vertex_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PTopoDS_HShape); +class PTopoDS_Vertex; + +DEFINE_STANDARD_PHANDLE(PTopoDS_Vertex,PTopoDS_HShape) + +#endif diff --git a/src/FromOCCT/TKPShape/Handle_PTopoDS_Wire.hxx b/src/FromOCCT/TKPShape/Handle_PTopoDS_Wire.hxx new file mode 100644 index 000000000..d3d855c97 --- /dev/null +++ b/src/FromOCCT/TKPShape/Handle_PTopoDS_Wire.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PTopoDS_Wire_HeaderFile +#define _Handle_PTopoDS_Wire_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PTopoDS_HShape); +class PTopoDS_Wire; + +DEFINE_STANDARD_PHANDLE(PTopoDS_Wire,PTopoDS_HShape) + +#endif diff --git a/src/FromOCCT/TKPShape/MgtBRep.cxx b/src/FromOCCT/TKPShape/MgtBRep.cxx new file mode 100644 index 000000000..afc00078a --- /dev/null +++ b/src/FromOCCT/TKPShape/MgtBRep.cxx @@ -0,0 +1,88 @@ +// 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 + +#include +#include +#include + +#include +#include +#include + +#include + +#include + +//======================================================================= +//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/FromOCCT/TKPShape/MgtBRep.hxx b/src/FromOCCT/TKPShape/MgtBRep.hxx new file mode 100644 index 000000000..49ebcd3c1 --- /dev/null +++ b/src/FromOCCT/TKPShape/MgtBRep.hxx @@ -0,0 +1,118 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MgtBRep_HeaderFile +#define _MgtBRep_HeaderFile + +#include +#include +#include + +#include +#include +class PTopoDS_HShape; +class TopoDS_Shape; +class PTColStd_TransientPersistentMap; +class PTopoDS_Shape1; +class PTColStd_PersistentTransientMap; +class MgtBRep_TranslateTool; +class MgtBRep_TranslateTool1; + + +//! 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. +class MgtBRep +{ +public: + + DEFINE_STANDARD_ALLOC + + + //! Translate a transient Shape to a persistent Shape. + //! he translation is performed according + //! to the map aMap and the triangulation + //! specified by aTriMode + Standard_EXPORT static Handle(PTopoDS_HShape) Translate (const TopoDS_Shape& aShape, PTColStd_TransientPersistentMap& aMap, const MgtBRep_TriangleMode aTriMode) ; + + //! 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. + Standard_EXPORT static void Translate1 (const TopoDS_Shape& aShape, PTColStd_TransientPersistentMap& aMap, PTopoDS_Shape1& aResult, const MgtBRep_TriangleMode aTriMode) ; + + //! Translate a persistent Shape to a transient Shape. + //! Used for upwards compatibility. + Standard_EXPORT static void Translate (const Handle(PTopoDS_HShape)& aShape, PTColStd_PersistentTransientMap& aMap, TopoDS_Shape& aResult, const MgtBRep_TriangleMode aTriMode) ; + + //! Translate a persistent Shape to a transient Shape. + Standard_EXPORT static void Translate1 (const PTopoDS_Shape1& aShape, PTColStd_PersistentTransientMap& aMap, TopoDS_Shape& aResult, const MgtBRep_TriangleMode aTriMode) ; + + + + +protected: + + + + + +private: + + + + +friend class MgtBRep_TranslateTool; +friend class MgtBRep_TranslateTool1; + +}; + + + + + + + +#endif // _MgtBRep_HeaderFile diff --git a/src/FromOCCT/TKPShape/MgtBRep.ixx b/src/FromOCCT/TKPShape/MgtBRep.ixx new file mode 100644 index 000000000..c5edeb673 --- /dev/null +++ b/src/FromOCCT/TKPShape/MgtBRep.ixx @@ -0,0 +1,10 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + + + + diff --git a/src/FromOCCT/TKPShape/MgtBRep.jxx b/src/FromOCCT/TKPShape/MgtBRep.jxx new file mode 100644 index 000000000..9e594d23d --- /dev/null +++ b/src/FromOCCT/TKPShape/MgtBRep.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPShape/MgtBRep_TranslateTool.cxx b/src/FromOCCT/TKPShape/MgtBRep_TranslateTool.cxx new file mode 100644 index 000000000..a033f10e9 --- /dev/null +++ b/src/FromOCCT/TKPShape/MgtBRep_TranslateTool.cxx @@ -0,0 +1,1034 @@ +// 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 +#include +#include +#include +#include + +#include + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include + +#include +#include +#include +#include +#include + +#include +#include +#include + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include + +#include + +// szy 23.01.2014 (bug 24565) correction for edge which has null 3d curve representation + +// Used for testing DownCast time + +#ifdef chrono +#include +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/FromOCCT/TKPShape/MgtBRep_TranslateTool.hxx b/src/FromOCCT/TKPShape/MgtBRep_TranslateTool.hxx new file mode 100644 index 000000000..48a3a1885 --- /dev/null +++ b/src/FromOCCT/TKPShape/MgtBRep_TranslateTool.hxx @@ -0,0 +1,135 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MgtBRep_TranslateTool_HeaderFile +#define _MgtBRep_TranslateTool_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +class Standard_TypeMismatch; +class PGeom_Curve; +class Geom_Curve; +class PTColStd_TransientPersistentMap; +class PTColStd_PersistentTransientMap; +class PGeom2d_Curve; +class Geom2d_Curve; +class PGeom_Surface; +class Geom_Surface; +class TopoDS_Shape; +class PTopoDS_HShape; + + +//! The TranslateTool class is provided to support the +//! translation of BRep topological data structures. +//! Used to call the MgtTopoDS methods. +class MgtBRep_TranslateTool : public MgtTopoDS_TranslateTool +{ + +public: + + + //! Creates a new TranslateTool + Standard_EXPORT MgtBRep_TranslateTool(const MgtBRep_TriangleMode aTriMode); + + Standard_EXPORT void Add (TopoDS_Shape& S1, const TopoDS_Shape& S2) const; + + Standard_EXPORT void MakeVertex (TopoDS_Shape& S) const; + + Standard_EXPORT void MakeVertex (const Handle(PTopoDS_HShape)& S) const; + + Standard_EXPORT void MakeEdge (TopoDS_Shape& S) const; + + Standard_EXPORT void MakeEdge (const Handle(PTopoDS_HShape)& S) const; + + Standard_EXPORT void MakeWire (TopoDS_Shape& S) const; + + Standard_EXPORT void MakeWire (const Handle(PTopoDS_HShape)& S) const; + + Standard_EXPORT void MakeFace (TopoDS_Shape& S) const; + + Standard_EXPORT void MakeFace (const Handle(PTopoDS_HShape)& S) const; + + Standard_EXPORT void MakeShell (TopoDS_Shape& S) const; + + Standard_EXPORT void MakeShell (const Handle(PTopoDS_HShape)& S) const; + + Standard_EXPORT void MakeSolid (TopoDS_Shape& S) const; + + Standard_EXPORT void MakeSolid (const Handle(PTopoDS_HShape)& S) const; + + Standard_EXPORT void MakeCompSolid (TopoDS_Shape& S) const; + + Standard_EXPORT void MakeCompSolid (const Handle(PTopoDS_HShape)& S) const; + + Standard_EXPORT void MakeCompound (TopoDS_Shape& S) const; + + Standard_EXPORT void MakeCompound (const Handle(PTopoDS_HShape)& S) const; + + Standard_EXPORT virtual void UpdateVertex (const TopoDS_Shape& S1, const Handle(PTopoDS_HShape)& S2, PTColStd_TransientPersistentMap& M) const; + + Standard_EXPORT virtual void UpdateVertex (const Handle(PTopoDS_HShape)& S1, TopoDS_Shape& S2, PTColStd_PersistentTransientMap& M) const; + + Standard_EXPORT virtual void UpdateEdge (const TopoDS_Shape& S1, const Handle(PTopoDS_HShape)& S2, PTColStd_TransientPersistentMap& M) const; + + Standard_EXPORT virtual void UpdateEdge (const Handle(PTopoDS_HShape)& S1, TopoDS_Shape& S2, PTColStd_PersistentTransientMap& M) const; + + Standard_EXPORT virtual void UpdateFace (const TopoDS_Shape& S1, const Handle(PTopoDS_HShape)& S2, PTColStd_TransientPersistentMap& M) const; + + Standard_EXPORT virtual void UpdateFace (const Handle(PTopoDS_HShape)& S1, TopoDS_Shape& S2, PTColStd_PersistentTransientMap& M) const; + + + + + DEFINE_STANDARD_RTTI(MgtBRep_TranslateTool) + +protected: + + + //! Translates a Transient Curve onto a Persistent Curve + Standard_EXPORT Handle(PGeom_Curve) Translate (const Handle(Geom_Curve)& TC, PTColStd_TransientPersistentMap& M) const; + + //! Translates a Persistent Curve onto a Transient Curve + Standard_EXPORT Handle(Geom_Curve) Translate (const Handle(PGeom_Curve)& PC, PTColStd_PersistentTransientMap& M) const; + + //! Translates a Transient Curve2d onto a Persistent Curve + Standard_EXPORT Handle(PGeom2d_Curve) Translate (const Handle(Geom2d_Curve)& TC, PTColStd_TransientPersistentMap& M) const; + + //! Translates a Persistent Curve2d onto a Transient Curve + Standard_EXPORT Handle(Geom2d_Curve) Translate (const Handle(PGeom2d_Curve)& PC, PTColStd_PersistentTransientMap& M) const; + + //! Translates a Transient Surface onto a Persistent Curve + Standard_EXPORT Handle(PGeom_Surface) Translate (const Handle(Geom_Surface)& TS, PTColStd_TransientPersistentMap& M) const; + + //! Translates a Persistent Surface onto a Transient Curve + Standard_EXPORT Handle(Geom_Surface) Translate (const Handle(PGeom_Surface)& PS, PTColStd_PersistentTransientMap& M) const; + + + +private: + + + MgtBRep_TriangleMode myTriangleMode; + + +}; + + + + + + + +#endif // _MgtBRep_TranslateTool_HeaderFile diff --git a/src/FromOCCT/TKPShape/MgtBRep_TranslateTool.ixx b/src/FromOCCT/TKPShape/MgtBRep_TranslateTool.ixx new file mode 100644 index 000000000..7135121db --- /dev/null +++ b/src/FromOCCT/TKPShape/MgtBRep_TranslateTool.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MgtBRep_TranslateTool) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MgtTopoDS_TranslateTool), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MgtBRep_TranslateTool) + + +IMPLEMENT_DOWNCAST(MgtBRep_TranslateTool,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MgtBRep_TranslateTool) + + + diff --git a/src/FromOCCT/TKPShape/MgtBRep_TranslateTool.jxx b/src/FromOCCT/TKPShape/MgtBRep_TranslateTool.jxx new file mode 100644 index 000000000..e92f504d3 --- /dev/null +++ b/src/FromOCCT/TKPShape/MgtBRep_TranslateTool.jxx @@ -0,0 +1,12 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPShape/MgtBRep_TranslateTool1.cxx b/src/FromOCCT/TKPShape/MgtBRep_TranslateTool1.cxx new file mode 100644 index 000000000..1045220f7 --- /dev/null +++ b/src/FromOCCT/TKPShape/MgtBRep_TranslateTool1.cxx @@ -0,0 +1,1007 @@ +// 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 + +#include +#include +#include +#include + +#include + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include + +#include +#include +#include +#include +#include + +#include +#include +#include + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include + +#include + + +#ifdef chrono +#include +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/FromOCCT/TKPShape/MgtBRep_TranslateTool1.hxx b/src/FromOCCT/TKPShape/MgtBRep_TranslateTool1.hxx new file mode 100644 index 000000000..5f3bf787a --- /dev/null +++ b/src/FromOCCT/TKPShape/MgtBRep_TranslateTool1.hxx @@ -0,0 +1,134 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MgtBRep_TranslateTool1_HeaderFile +#define _MgtBRep_TranslateTool1_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +class Standard_TypeMismatch; +class PGeom_Curve; +class Geom_Curve; +class PTColStd_TransientPersistentMap; +class PTColStd_PersistentTransientMap; +class PGeom2d_Curve; +class Geom2d_Curve; +class PGeom_Surface; +class Geom_Surface; +class TopoDS_Shape; +class PTopoDS_Shape1; + + +//! The TranslateTool1 class is provided to support the +//! translation of BRep topological data structures. +//! Used to call the MgtTopoDS methods. +class MgtBRep_TranslateTool1 : public MgtTopoDS_TranslateTool1 +{ + +public: + + + //! Creates a new TranslateTool1 + Standard_EXPORT MgtBRep_TranslateTool1(const MgtBRep_TriangleMode aTriMode); + + Standard_EXPORT void Add (TopoDS_Shape& S1, const TopoDS_Shape& S2) const; + + Standard_EXPORT void MakeVertex (TopoDS_Shape& S) const; + + Standard_EXPORT void MakeVertex (PTopoDS_Shape1& S) const; + + Standard_EXPORT void MakeEdge (TopoDS_Shape& S) const; + + Standard_EXPORT void MakeEdge (PTopoDS_Shape1& S) const; + + Standard_EXPORT void MakeWire (TopoDS_Shape& S) const; + + Standard_EXPORT void MakeWire (PTopoDS_Shape1& S) const; + + Standard_EXPORT void MakeFace (TopoDS_Shape& S) const; + + Standard_EXPORT void MakeFace (PTopoDS_Shape1& S) const; + + Standard_EXPORT void MakeShell (TopoDS_Shape& S) const; + + Standard_EXPORT void MakeShell (PTopoDS_Shape1& S) const; + + Standard_EXPORT void MakeSolid (TopoDS_Shape& S) const; + + Standard_EXPORT void MakeSolid (PTopoDS_Shape1& S) const; + + Standard_EXPORT void MakeCompSolid (TopoDS_Shape& S) const; + + Standard_EXPORT void MakeCompSolid (PTopoDS_Shape1& S) const; + + Standard_EXPORT void MakeCompound (TopoDS_Shape& S) const; + + Standard_EXPORT void MakeCompound (PTopoDS_Shape1& S) const; + + Standard_EXPORT virtual void UpdateVertex (const TopoDS_Shape& S1, PTopoDS_Shape1& S2, PTColStd_TransientPersistentMap& M) const; + + Standard_EXPORT virtual void UpdateVertex (const PTopoDS_Shape1& S1, TopoDS_Shape& S2, PTColStd_PersistentTransientMap& M) const; + + Standard_EXPORT virtual void UpdateEdge (const TopoDS_Shape& S1, PTopoDS_Shape1& S2, PTColStd_TransientPersistentMap& M) const; + + Standard_EXPORT virtual void UpdateEdge (const PTopoDS_Shape1& S1, TopoDS_Shape& S2, PTColStd_PersistentTransientMap& M) const; + + Standard_EXPORT virtual void UpdateFace (const TopoDS_Shape& S1, PTopoDS_Shape1& S2, PTColStd_TransientPersistentMap& M) const; + + Standard_EXPORT virtual void UpdateFace (const PTopoDS_Shape1& S1, TopoDS_Shape& S2, PTColStd_PersistentTransientMap& M) const; + + + + + DEFINE_STANDARD_RTTI(MgtBRep_TranslateTool1) + +protected: + + + //! Translates a Transient Curve onto a Persistent Curve + Standard_EXPORT Handle(PGeom_Curve) Translate (const Handle(Geom_Curve)& TC, PTColStd_TransientPersistentMap& M) const; + + //! Translates a Persistent Curve onto a Transient Curve + Standard_EXPORT Handle(Geom_Curve) Translate (const Handle(PGeom_Curve)& PC, PTColStd_PersistentTransientMap& M) const; + + //! Translates a Transient Curve2d onto a Persistent Curve + Standard_EXPORT Handle(PGeom2d_Curve) Translate (const Handle(Geom2d_Curve)& TC, PTColStd_TransientPersistentMap& M) const; + + //! Translates a Persistent Curve2d onto a Transient Curve + Standard_EXPORT Handle(Geom2d_Curve) Translate (const Handle(PGeom2d_Curve)& PC, PTColStd_PersistentTransientMap& M) const; + + //! Translates a Transient Surface onto a Persistent Curve + Standard_EXPORT Handle(PGeom_Surface) Translate (const Handle(Geom_Surface)& TS, PTColStd_TransientPersistentMap& M) const; + + //! Translates a Persistent Surface onto a Transient Curve + Standard_EXPORT Handle(Geom_Surface) Translate (const Handle(PGeom_Surface)& PS, PTColStd_PersistentTransientMap& M) const; + + + +private: + + + MgtBRep_TriangleMode myTriangleMode; + + +}; + + + + + + + +#endif // _MgtBRep_TranslateTool1_HeaderFile diff --git a/src/FromOCCT/TKPShape/MgtBRep_TranslateTool1.ixx b/src/FromOCCT/TKPShape/MgtBRep_TranslateTool1.ixx new file mode 100644 index 000000000..196389cdf --- /dev/null +++ b/src/FromOCCT/TKPShape/MgtBRep_TranslateTool1.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MgtBRep_TranslateTool1) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MgtTopoDS_TranslateTool1), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MgtBRep_TranslateTool1) + + +IMPLEMENT_DOWNCAST(MgtBRep_TranslateTool1,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MgtBRep_TranslateTool1) + + + diff --git a/src/FromOCCT/TKPShape/MgtBRep_TranslateTool1.jxx b/src/FromOCCT/TKPShape/MgtBRep_TranslateTool1.jxx new file mode 100644 index 000000000..af0c59f89 --- /dev/null +++ b/src/FromOCCT/TKPShape/MgtBRep_TranslateTool1.jxx @@ -0,0 +1,12 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPShape/MgtBRep_TriangleMode.hxx b/src/FromOCCT/TKPShape/MgtBRep_TriangleMode.hxx new file mode 100644 index 000000000..213a851db --- /dev/null +++ b/src/FromOCCT/TKPShape/MgtBRep_TriangleMode.hxx @@ -0,0 +1,18 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MgtBRep_TriangleMode_HeaderFile +#define _MgtBRep_TriangleMode_HeaderFile + +#include + + +enum MgtBRep_TriangleMode +{ +MgtBRep_WithTriangle, +MgtBRep_WithoutTriangle +}; + +#endif // _MgtBRep_TriangleMode_HeaderFile diff --git a/src/FromOCCT/TKPShape/MgtGeom.cxx b/src/FromOCCT/TKPShape/MgtGeom.cxx new file mode 100644 index 000000000..3fafb89ca --- /dev/null +++ b/src/FromOCCT/TKPShape/MgtGeom.cxx @@ -0,0 +1,1522 @@ +// 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 + +#include + +#include +#include +#include +#include + +#include +#include +#include + +#include +#include +#include +#include + +#include +#include +#include +#include + +#include +#include + +#include +#include +#include + +//modif wok++ +#include +#include +#include + +// ******************************************************************* +// 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 ????"<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 ????"<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 ????"<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/FromOCCT/TKPShape/MgtGeom.hxx b/src/FromOCCT/TKPShape/MgtGeom.hxx new file mode 100644 index 000000000..39637b23a --- /dev/null +++ b/src/FromOCCT/TKPShape/MgtGeom.hxx @@ -0,0 +1,348 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MgtGeom_HeaderFile +#define _MgtGeom_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +class Geom_Axis1Placement; +class PGeom_Axis1Placement; +class Geom_Axis2Placement; +class PGeom_Axis2Placement; +class Geom_BSplineCurve; +class PGeom_BSplineCurve; +class Geom_BSplineSurface; +class PGeom_BSplineSurface; +class Geom_BezierCurve; +class PGeom_BezierCurve; +class Geom_BezierSurface; +class PGeom_BezierSurface; +class Geom_CartesianPoint; +class PGeom_CartesianPoint; +class Geom_Circle; +class PGeom_Circle; +class Geom_ConicalSurface; +class PGeom_ConicalSurface; +class Geom_Curve; +class PGeom_Curve; +class Geom_CylindricalSurface; +class PGeom_CylindricalSurface; +class Geom_Direction; +class PGeom_Direction; +class Geom_Ellipse; +class PGeom_Ellipse; +class Geom_Hyperbola; +class PGeom_Hyperbola; +class Geom_Line; +class PGeom_Line; +class Geom_OffsetCurve; +class PGeom_OffsetCurve; +class Geom_OffsetSurface; +class PGeom_OffsetSurface; +class Geom_Parabola; +class PGeom_Parabola; +class Geom_Plane; +class PGeom_Plane; +class Geom_Point; +class PGeom_Point; +class Geom_RectangularTrimmedSurface; +class PGeom_RectangularTrimmedSurface; +class Geom_SphericalSurface; +class PGeom_SphericalSurface; +class Geom_Surface; +class PGeom_Surface; +class Geom_SurfaceOfLinearExtrusion; +class PGeom_SurfaceOfLinearExtrusion; +class Geom_SurfaceOfRevolution; +class PGeom_SurfaceOfRevolution; +class Geom_ToroidalSurface; +class PGeom_ToroidalSurface; +class Geom_Transformation; +class PGeom_Transformation; +class Geom_TrimmedCurve; +class PGeom_TrimmedCurve; +class Geom_VectorWithMagnitude; +class PGeom_VectorWithMagnitude; + + +//! 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. +class MgtGeom +{ +public: + + DEFINE_STANDARD_ALLOC + + + //! Translate to its Transient equivalent from Geom. + Standard_EXPORT static Handle(Geom_Axis1Placement) Translate (const Handle(PGeom_Axis1Placement)& PObj) ; + + //! Translate to its Persistent equivalent from PGeom. + Standard_EXPORT static Handle(PGeom_Axis1Placement) Translate (const Handle(Geom_Axis1Placement)& TObj) ; + + //! Translate to its Transient equivalent from Geom. + Standard_EXPORT static Handle(Geom_Axis2Placement) Translate (const Handle(PGeom_Axis2Placement)& PObj) ; + + //! Translate to its Persistent equivalent from PGeom. + Standard_EXPORT static Handle(PGeom_Axis2Placement) Translate (const Handle(Geom_Axis2Placement)& TObj) ; + + //! Translate to its Transient equivalent from Geom. + Standard_EXPORT static Handle(Geom_BSplineCurve) Translate (const Handle(PGeom_BSplineCurve)& PObj) ; + + //! Translate to its Persistent equivalent from PGeom. + Standard_EXPORT static Handle(PGeom_BSplineCurve) Translate (const Handle(Geom_BSplineCurve)& TObj) ; + + //! Translate to its Transient equivalent from Geom. + Standard_EXPORT static Handle(Geom_BSplineSurface) Translate (const Handle(PGeom_BSplineSurface)& PObj) ; + + //! Translate to its Persistent equivalent from PGeom. + Standard_EXPORT static Handle(PGeom_BSplineSurface) Translate (const Handle(Geom_BSplineSurface)& TObj) ; + + //! Translate to its Transient equivalent from Geom. + Standard_EXPORT static Handle(Geom_BezierCurve) Translate (const Handle(PGeom_BezierCurve)& PObj) ; + + //! Translate to its Persistent equivalent from PGeom. + Standard_EXPORT static Handle(PGeom_BezierCurve) Translate (const Handle(Geom_BezierCurve)& TObj) ; + + //! Translate to its Transient equivalent from Geom. + Standard_EXPORT static Handle(Geom_BezierSurface) Translate (const Handle(PGeom_BezierSurface)& PObj) ; + + //! Translate to its Persistent equivalent from PGeom. + Standard_EXPORT static Handle(PGeom_BezierSurface) Translate (const Handle(Geom_BezierSurface)& TObj) ; + + //! Translate to its Transient equivalent from Geom. + Standard_EXPORT static Handle(Geom_CartesianPoint) Translate (const Handle(PGeom_CartesianPoint)& PObj) ; + + //! Translate to its Persistent equivalent from PGeom. + Standard_EXPORT static Handle(PGeom_CartesianPoint) Translate (const Handle(Geom_CartesianPoint)& TObj) ; + + //! Translate to its Transient equivalent from Geom. + Standard_EXPORT static Handle(Geom_Circle) Translate (const Handle(PGeom_Circle)& PObj) ; + + //! Translate to its Persistent equivalent from PGeom. + Standard_EXPORT static Handle(PGeom_Circle) Translate (const Handle(Geom_Circle)& TObj) ; + + //! Translate to its Transient equivalent from Geom. + Standard_EXPORT static Handle(Geom_ConicalSurface) Translate (const Handle(PGeom_ConicalSurface)& PObj) ; + + //! Translate to its Persistent equivalent from PGeom. + Standard_EXPORT static Handle(PGeom_ConicalSurface) Translate (const Handle(Geom_ConicalSurface)& TObj) ; + + //! Translate to its Transient equivalent from Geom. + //! Raises NullObject if the PObj type has no mapping + Standard_EXPORT static Handle(Geom_Curve) Translate (const Handle(PGeom_Curve)& PObj) ; + + //! Translate to its Persistent equivalent from PGeom. + //! Raises NullObject if the TObj type has no mapping + Standard_EXPORT static Handle(PGeom_Curve) Translate (const Handle(Geom_Curve)& TObj) ; + + //! Translate to its Transient equivalent from Geom. + Standard_EXPORT static Handle(Geom_CylindricalSurface) Translate (const Handle(PGeom_CylindricalSurface)& PObj) ; + + //! Translate to its Persistent equivalent from PGeom. + Standard_EXPORT static Handle(PGeom_CylindricalSurface) Translate (const Handle(Geom_CylindricalSurface)& TObj) ; + + //! Translate to its Transient equivalent from Geom. + Standard_EXPORT static Handle(Geom_Direction) Translate (const Handle(PGeom_Direction)& PObj) ; + + //! Translate to its Persistent equivalent from PGeom. + Standard_EXPORT static Handle(PGeom_Direction) Translate (const Handle(Geom_Direction)& TObj) ; + + //! Translate to its Transient equivalent from Geom. + Standard_EXPORT static Handle(Geom_Ellipse) Translate (const Handle(PGeom_Ellipse)& PObj) ; + + //! Translate to its Persistent equivalent from PGeom. + Standard_EXPORT static Handle(PGeom_Ellipse) Translate (const Handle(Geom_Ellipse)& TObj) ; + + //! Translate to its Transient equivalent from Geom. + Standard_EXPORT static Handle(Geom_Hyperbola) Translate (const Handle(PGeom_Hyperbola)& PObj) ; + + //! Translate to its Persistent equivalent from PGeom. + Standard_EXPORT static Handle(PGeom_Hyperbola) Translate (const Handle(Geom_Hyperbola)& TObj) ; + + //! Translate to its Transient equivalent from Geom. + Standard_EXPORT static Handle(Geom_Line) Translate (const Handle(PGeom_Line)& PObj) ; + + //! Translate to its Persistent equivalent from PGeom. + Standard_EXPORT static Handle(PGeom_Line) Translate (const Handle(Geom_Line)& TObj) ; + + //! Translate to its Transient equivalent from Geom. + Standard_EXPORT static Handle(Geom_OffsetCurve) Translate (const Handle(PGeom_OffsetCurve)& PObj) ; + + //! Translate to its Persistent equivalent from PGeom. + Standard_EXPORT static Handle(PGeom_OffsetCurve) Translate (const Handle(Geom_OffsetCurve)& TObj) ; + + //! Translate to its Transient equivalent from Geom. + Standard_EXPORT static Handle(Geom_OffsetSurface) Translate (const Handle(PGeom_OffsetSurface)& PObj) ; + + //! Translate to its Persistent equivalent from PGeom. + Standard_EXPORT static Handle(PGeom_OffsetSurface) Translate (const Handle(Geom_OffsetSurface)& TObj) ; + + //! Translate to its Transient equivalent from Geom. + Standard_EXPORT static Handle(Geom_Parabola) Translate (const Handle(PGeom_Parabola)& PObj) ; + + //! Translate to its Persistent equivalent from PGeom. + Standard_EXPORT static Handle(PGeom_Parabola) Translate (const Handle(Geom_Parabola)& TObj) ; + + //! Translate to its Transient equivalent from Geom. + Standard_EXPORT static Handle(Geom_Plane) Translate (const Handle(PGeom_Plane)& PObj) ; + + //! Translate to its Persistent equivalent from PGeom. + Standard_EXPORT static Handle(PGeom_Plane) Translate (const Handle(Geom_Plane)& TObj) ; + + //! Translate to its Transient equivalent from Geom. + Standard_EXPORT static Handle(Geom_Point) Translate (const Handle(PGeom_Point)& PObj) ; + + //! Translate to its Persistent equivalent from PGeom. + Standard_EXPORT static Handle(PGeom_Point) Translate (const Handle(Geom_Point)& TObj) ; + + //! Translate to its Transient equivalent from Geom. + Standard_EXPORT static Handle(Geom_RectangularTrimmedSurface) Translate (const Handle(PGeom_RectangularTrimmedSurface)& PObj) ; + + //! Translate to its Persistent equivalent from PGeom. + Standard_EXPORT static Handle(PGeom_RectangularTrimmedSurface) Translate (const Handle(Geom_RectangularTrimmedSurface)& TObj) ; + + //! Translate to its Transient equivalent from Geom. + Standard_EXPORT static Handle(Geom_SphericalSurface) Translate (const Handle(PGeom_SphericalSurface)& PObj) ; + + //! Translate to its Persistent equivalent from PGeom. + Standard_EXPORT static Handle(PGeom_SphericalSurface) Translate (const Handle(Geom_SphericalSurface)& TObj) ; + + //! Translate to its Transient equivalent from Geom. + //! Raises NullObject if the PObj type has no mapping + Standard_EXPORT static Handle(Geom_Surface) Translate (const Handle(PGeom_Surface)& PObj) ; + + //! Translate to its Persistent equivalent from PGeom. + //! Raises NullObject if the TObj type has no mapping + Standard_EXPORT static Handle(PGeom_Surface) Translate (const Handle(Geom_Surface)& TObj) ; + + //! Translate to its Transient equivalent from Geom. + Standard_EXPORT static Handle(Geom_SurfaceOfLinearExtrusion) Translate (const Handle(PGeom_SurfaceOfLinearExtrusion)& PObj) ; + + //! Translate to its Persistent equivalent from PGeom. + Standard_EXPORT static Handle(PGeom_SurfaceOfLinearExtrusion) Translate (const Handle(Geom_SurfaceOfLinearExtrusion)& TObj) ; + + //! Translate to its Transient equivalent from Geom. + Standard_EXPORT static Handle(Geom_SurfaceOfRevolution) Translate (const Handle(PGeom_SurfaceOfRevolution)& PObj) ; + + //! Translate to its Persistent equivalent from PGeom. + Standard_EXPORT static Handle(PGeom_SurfaceOfRevolution) Translate (const Handle(Geom_SurfaceOfRevolution)& TObj) ; + + //! Translate to its Transient equivalent from Geom. + Standard_EXPORT static Handle(Geom_ToroidalSurface) Translate (const Handle(PGeom_ToroidalSurface)& PObj) ; + + //! Translate to its Persistent equivalent from PGeom. + Standard_EXPORT static Handle(PGeom_ToroidalSurface) Translate (const Handle(Geom_ToroidalSurface)& TObj) ; + + //! Translate to its Transient equivalent from Geom. + Standard_EXPORT static Handle(Geom_Transformation) Translate (const Handle(PGeom_Transformation)& PObj) ; + + //! Translate to its Persistent equivalent from PGeom. + Standard_EXPORT static Handle(PGeom_Transformation) Translate (const Handle(Geom_Transformation)& TObj) ; + + //! Translate to its Transient equivalent from Geom. + Standard_EXPORT static Handle(Geom_TrimmedCurve) Translate (const Handle(PGeom_TrimmedCurve)& PObj) ; + + //! Translate to its Persistent equivalent from PGeom. + Standard_EXPORT static Handle(PGeom_TrimmedCurve) Translate (const Handle(Geom_TrimmedCurve)& TObj) ; + + //! Translate to its Transient equivalent from Geom. + Standard_EXPORT static Handle(Geom_VectorWithMagnitude) Translate (const Handle(PGeom_VectorWithMagnitude)& PObj) ; + + //! Translate to its Persistent equivalent from PGeom. + Standard_EXPORT static Handle(PGeom_VectorWithMagnitude) Translate (const Handle(Geom_VectorWithMagnitude)& TObj) ; + + + + +protected: + + + + + +private: + + + + + +}; + + + + + + + +#endif // _MgtGeom_HeaderFile diff --git a/src/FromOCCT/TKPShape/MgtGeom.ixx b/src/FromOCCT/TKPShape/MgtGeom.ixx new file mode 100644 index 000000000..c12ca6f57 --- /dev/null +++ b/src/FromOCCT/TKPShape/MgtGeom.ixx @@ -0,0 +1,10 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + + + + diff --git a/src/FromOCCT/TKPShape/MgtGeom.jxx b/src/FromOCCT/TKPShape/MgtGeom.jxx new file mode 100644 index 000000000..c2685d19e --- /dev/null +++ b/src/FromOCCT/TKPShape/MgtGeom.jxx @@ -0,0 +1,59 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPShape/MgtGeom2d.cxx b/src/FromOCCT/TKPShape/MgtGeom2d.cxx new file mode 100644 index 000000000..e91e08e31 --- /dev/null +++ b/src/FromOCCT/TKPShape/MgtGeom2d.cxx @@ -0,0 +1,812 @@ +// 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 + +#include + +#include +#include +#include +#include + +#include +#include +#include + +#include +#include +#include +#include + +#include +#include +#include +#include + +#include +#include + +#include +#include + +//modif wok++ +#include +#include +#include + +// ******************************************************************* +// 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/FromOCCT/TKPShape/MgtGeom2d.hxx b/src/FromOCCT/TKPShape/MgtGeom2d.hxx new file mode 100644 index 000000000..5b7271717 --- /dev/null +++ b/src/FromOCCT/TKPShape/MgtGeom2d.hxx @@ -0,0 +1,216 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MgtGeom2d_HeaderFile +#define _MgtGeom2d_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +class Geom2d_AxisPlacement; +class PGeom2d_AxisPlacement; +class Geom2d_BSplineCurve; +class PGeom2d_BSplineCurve; +class Geom2d_BezierCurve; +class PGeom2d_BezierCurve; +class Geom2d_CartesianPoint; +class PGeom2d_CartesianPoint; +class Geom2d_Circle; +class PGeom2d_Circle; +class Geom2d_Curve; +class PGeom2d_Curve; +class Geom2d_Direction; +class PGeom2d_Direction; +class Geom2d_Ellipse; +class PGeom2d_Ellipse; +class Geom2d_Hyperbola; +class PGeom2d_Hyperbola; +class Geom2d_Line; +class PGeom2d_Line; +class Geom2d_OffsetCurve; +class PGeom2d_OffsetCurve; +class Geom2d_Parabola; +class PGeom2d_Parabola; +class Geom2d_Point; +class PGeom2d_Point; +class Geom2d_Transformation; +class PGeom2d_Transformation; +class Geom2d_TrimmedCurve; +class PGeom2d_TrimmedCurve; +class Geom2d_VectorWithMagnitude; +class PGeom2d_VectorWithMagnitude; + + +//! 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. +class MgtGeom2d +{ +public: + + DEFINE_STANDARD_ALLOC + + + //! Translate to its Transient equivalent from Geom2d. + Standard_EXPORT static Handle(Geom2d_AxisPlacement) Translate (const Handle(PGeom2d_AxisPlacement)& PObj) ; + + //! Translate to its Persistent equivalent from PGeom2d. + Standard_EXPORT static Handle(PGeom2d_AxisPlacement) Translate (const Handle(Geom2d_AxisPlacement)& TObj) ; + + //! Translate to its Transient equivalent from Geom2d. + Standard_EXPORT static Handle(Geom2d_BSplineCurve) Translate (const Handle(PGeom2d_BSplineCurve)& PObj) ; + + //! Translate to its Persistent equivalent from PGeom2d. + Standard_EXPORT static Handle(PGeom2d_BSplineCurve) Translate (const Handle(Geom2d_BSplineCurve)& TObj) ; + + //! Translate to its Transient equivalent from Geom2d. + Standard_EXPORT static Handle(Geom2d_BezierCurve) Translate (const Handle(PGeom2d_BezierCurve)& PObj) ; + + //! Translate to its Persistent equivalent from PGeom2d. + Standard_EXPORT static Handle(PGeom2d_BezierCurve) Translate (const Handle(Geom2d_BezierCurve)& TObj) ; + + //! Translate to its Transient equivalent from Geom2d. + Standard_EXPORT static Handle(Geom2d_CartesianPoint) Translate (const Handle(PGeom2d_CartesianPoint)& PObj) ; + + //! Translate to its Persistent equivalent from PGeom2d. + Standard_EXPORT static Handle(PGeom2d_CartesianPoint) Translate (const Handle(Geom2d_CartesianPoint)& TObj) ; + + //! Translate to its Transient equivalent from Geom2d. + Standard_EXPORT static Handle(Geom2d_Circle) Translate (const Handle(PGeom2d_Circle)& PObj) ; + + //! Translate to its Persistent equivalent from PGeom2d. + Standard_EXPORT static Handle(PGeom2d_Circle) Translate (const Handle(Geom2d_Circle)& TObj) ; + + //! Translate to its Transient equivalent from Geom2d. + //! Raises Null Object if PObj has no mapping + Standard_EXPORT static Handle(Geom2d_Curve) Translate (const Handle(PGeom2d_Curve)& PObj) ; + + //! Translate to its Persistent equivalent from PGeom2d. + //! Raises NullObject if TObj has no mapping + Standard_EXPORT static Handle(PGeom2d_Curve) Translate (const Handle(Geom2d_Curve)& TObj) ; + + //! Translate to its Transient equivalent from Geom2d. + Standard_EXPORT static Handle(Geom2d_Direction) Translate (const Handle(PGeom2d_Direction)& PObj) ; + + //! Translate to its Persistent equivalent from PGeom2d. + Standard_EXPORT static Handle(PGeom2d_Direction) Translate (const Handle(Geom2d_Direction)& TObj) ; + + //! Translate to its Transient equivalent from Geom2d. + Standard_EXPORT static Handle(Geom2d_Ellipse) Translate (const Handle(PGeom2d_Ellipse)& PObj) ; + + //! Translate to its Persistent equivalent from PGeom2d. + Standard_EXPORT static Handle(PGeom2d_Ellipse) Translate (const Handle(Geom2d_Ellipse)& TObj) ; + + //! Translate to its Transient equivalent from Geom2d. + Standard_EXPORT static Handle(Geom2d_Hyperbola) Translate (const Handle(PGeom2d_Hyperbola)& PObj) ; + + //! Translate to its Persistent equivalent from PGeom2d. + Standard_EXPORT static Handle(PGeom2d_Hyperbola) Translate (const Handle(Geom2d_Hyperbola)& TObj) ; + + //! Translate to its Transient equivalent from Geom2d. + Standard_EXPORT static Handle(Geom2d_Line) Translate (const Handle(PGeom2d_Line)& PObj) ; + + //! Translate to its Persistent equivalent from PGeom2d. + Standard_EXPORT static Handle(PGeom2d_Line) Translate (const Handle(Geom2d_Line)& TObj) ; + + //! Translate to its Transient equivalent from Geom2d. + Standard_EXPORT static Handle(Geom2d_OffsetCurve) Translate (const Handle(PGeom2d_OffsetCurve)& PObj) ; + + //! Translate to its Persistent equivalent from PGeom2d. + Standard_EXPORT static Handle(PGeom2d_OffsetCurve) Translate (const Handle(Geom2d_OffsetCurve)& TObj) ; + + //! Translate to its Transient equivalent from Geom2d. + Standard_EXPORT static Handle(Geom2d_Parabola) Translate (const Handle(PGeom2d_Parabola)& PObj) ; + + //! Translate to its Persistent equivalent from PGeom2d. + Standard_EXPORT static Handle(PGeom2d_Parabola) Translate (const Handle(Geom2d_Parabola)& TObj) ; + + //! Translate to its Transient equivalent from Geom2d. + Standard_EXPORT static Handle(Geom2d_Point) Translate (const Handle(PGeom2d_Point)& PObj) ; + + //! Translate to its Persistent equivalent from PGeom2d. + Standard_EXPORT static Handle(PGeom2d_Point) Translate (const Handle(Geom2d_Point)& TObj) ; + + //! Translate to its Transient equivalent from Geom2d. + Standard_EXPORT static Handle(Geom2d_Transformation) Translate (const Handle(PGeom2d_Transformation)& PObj) ; + + //! Translate to its Persistent equivalent from PGeom2d. + Standard_EXPORT static Handle(PGeom2d_Transformation) Translate (const Handle(Geom2d_Transformation)& TObj) ; + + //! Translate to its Transient equivalent from Geom2d. + Standard_EXPORT static Handle(Geom2d_TrimmedCurve) Translate (const Handle(PGeom2d_TrimmedCurve)& PObj) ; + + //! Translate to its Persistent equivalent from PGeom2d. + Standard_EXPORT static Handle(PGeom2d_TrimmedCurve) Translate (const Handle(Geom2d_TrimmedCurve)& TObj) ; + + //! Translate to its Transient equivalent from Geom2d. + Standard_EXPORT static Handle(Geom2d_VectorWithMagnitude) Translate (const Handle(PGeom2d_VectorWithMagnitude)& PObj) ; + + //! Translate to its Persistent equivalent from PGeom2d. + Standard_EXPORT static Handle(PGeom2d_VectorWithMagnitude) Translate (const Handle(Geom2d_VectorWithMagnitude)& TObj) ; + + + + +protected: + + + + + +private: + + + + + +}; + + + + + + + +#endif // _MgtGeom2d_HeaderFile diff --git a/src/FromOCCT/TKPShape/MgtGeom2d.ixx b/src/FromOCCT/TKPShape/MgtGeom2d.ixx new file mode 100644 index 000000000..c09461f8c --- /dev/null +++ b/src/FromOCCT/TKPShape/MgtGeom2d.ixx @@ -0,0 +1,10 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + + + + diff --git a/src/FromOCCT/TKPShape/MgtGeom2d.jxx b/src/FromOCCT/TKPShape/MgtGeom2d.jxx new file mode 100644 index 000000000..483530012 --- /dev/null +++ b/src/FromOCCT/TKPShape/MgtGeom2d.jxx @@ -0,0 +1,33 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPShape/MgtPoly.cxx b/src/FromOCCT/TKPShape/MgtPoly.cxx new file mode 100644 index 000000000..bd860ffc0 --- /dev/null +++ b/src/FromOCCT/TKPShape/MgtPoly.cxx @@ -0,0 +1,569 @@ +// 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 + +#include +#include +#include +#include + +#include +#include +#include +#include +#include + +#include +#include + +//======================================================================= +//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/FromOCCT/TKPShape/MgtPoly.hxx b/src/FromOCCT/TKPShape/MgtPoly.hxx new file mode 100644 index 000000000..ec3cddab1 --- /dev/null +++ b/src/FromOCCT/TKPShape/MgtPoly.hxx @@ -0,0 +1,100 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MgtPoly_HeaderFile +#define _MgtPoly_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +class Poly_Triangle; +class PPoly_Triangle; +class Poly_Triangulation; +class PPoly_Triangulation; +class PTColStd_PersistentTransientMap; +class PTColStd_TransientPersistentMap; +class Poly_Polygon3D; +class PPoly_Polygon3D; +class Poly_Polygon2D; +class PPoly_Polygon2D; +class Poly_PolygonOnTriangulation; +class PPoly_PolygonOnTriangulation; + + +//! 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. +class MgtPoly +{ +public: + + DEFINE_STANDARD_ALLOC + + + //! translates Transient -> Persistent + Standard_EXPORT static Poly_Triangle Translate (const PPoly_Triangle& POjb) ; + + //! translates Persistent -> Transient + Standard_EXPORT static PPoly_Triangle Translate (const Poly_Triangle& TObj) ; + + //! translates Persistent -> Transient + Standard_EXPORT static Handle(Poly_Triangulation) Translate (const Handle(PPoly_Triangulation)& PObj, PTColStd_PersistentTransientMap& aMap) ; + + //! translates Transient -> Persistent + Standard_EXPORT static Handle(PPoly_Triangulation) Translate (const Handle(Poly_Triangulation)& TObj, PTColStd_TransientPersistentMap& aMap) ; + + //! translates Persistent -> Transient + Standard_EXPORT static Handle(Poly_Polygon3D) Translate (const Handle(PPoly_Polygon3D)& PObj, PTColStd_PersistentTransientMap& aMap) ; + + //! translates Transient -> Persistent + Standard_EXPORT static Handle(PPoly_Polygon3D) Translate (const Handle(Poly_Polygon3D)& TObj, PTColStd_TransientPersistentMap& aMap) ; + + //! translates Persistent -> Transient + Standard_EXPORT static Handle(Poly_Polygon2D) Translate (const Handle(PPoly_Polygon2D)& PObj, PTColStd_PersistentTransientMap& aMap) ; + + //! translates Transient -> Persistent + Standard_EXPORT static Handle(PPoly_Polygon2D) Translate (const Handle(Poly_Polygon2D)& TObj, PTColStd_TransientPersistentMap& aMap) ; + + //! translates Persistent -> Transient + Standard_EXPORT static Handle(Poly_PolygonOnTriangulation) Translate (const Handle(PPoly_PolygonOnTriangulation)& PObj, PTColStd_PersistentTransientMap& aMap) ; + + //! translates Transient -> Persistent + Standard_EXPORT static Handle(PPoly_PolygonOnTriangulation) Translate (const Handle(Poly_PolygonOnTriangulation)& TObj, PTColStd_TransientPersistentMap& aMap) ; + + + + +protected: + + + + + +private: + + + + + +}; + + + + + + + +#endif // _MgtPoly_HeaderFile diff --git a/src/FromOCCT/TKPShape/MgtPoly.ixx b/src/FromOCCT/TKPShape/MgtPoly.ixx new file mode 100644 index 000000000..25748e1bf --- /dev/null +++ b/src/FromOCCT/TKPShape/MgtPoly.ixx @@ -0,0 +1,10 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + + + + diff --git a/src/FromOCCT/TKPShape/MgtPoly.jxx b/src/FromOCCT/TKPShape/MgtPoly.jxx new file mode 100644 index 000000000..927fd0cf5 --- /dev/null +++ b/src/FromOCCT/TKPShape/MgtPoly.jxx @@ -0,0 +1,13 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPShape/MgtTopLoc.cxx b/src/FromOCCT/TKPShape/MgtTopLoc.cxx new file mode 100644 index 000000000..e5cdfc4e6 --- /dev/null +++ b/src/FromOCCT/TKPShape/MgtTopLoc.cxx @@ -0,0 +1,128 @@ +// 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 + +// Used for testing DownCast time +#define MgtTopLocSpeedDownCast + +#ifdef chrono +#include +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/FromOCCT/TKPShape/MgtTopLoc.hxx b/src/FromOCCT/TKPShape/MgtTopLoc.hxx new file mode 100644 index 000000000..eb3546de6 --- /dev/null +++ b/src/FromOCCT/TKPShape/MgtTopLoc.hxx @@ -0,0 +1,97 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MgtTopLoc_HeaderFile +#define _MgtTopLoc_HeaderFile + +#include +#include +#include + +#include +#include +class PTopLoc_Datum3D; +class TopLoc_Datum3D; +class PTColStd_TransientPersistentMap; +class PTColStd_PersistentTransientMap; +class PTopLoc_Location; +class TopLoc_Location; + + +//! 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. +class MgtTopLoc +{ +public: + + DEFINE_STANDARD_ALLOC + + + //! Translate a transient Datum3D to a persistant + //! Datum3D. + Standard_EXPORT static Handle(PTopLoc_Datum3D) Translate (const Handle(TopLoc_Datum3D)& D, PTColStd_TransientPersistentMap& M) ; + + //! Translate a persistant Datum3D to a transient + //! Datum3D. + Standard_EXPORT static Handle(TopLoc_Datum3D) Translate (const Handle(PTopLoc_Datum3D)& D, PTColStd_PersistentTransientMap& M) ; + + //! Translate a non storable Location to a storable + //! Location. + Standard_EXPORT static PTopLoc_Location Translate (const TopLoc_Location& L, PTColStd_TransientPersistentMap& M) ; + + //! Translate a storable Location to a non storable + //! Location. + Standard_EXPORT static TopLoc_Location Translate (const PTopLoc_Location& L, PTColStd_PersistentTransientMap& M) ; + + + + +protected: + + + + + +private: + + + + + +}; + + + + + + + +#endif // _MgtTopLoc_HeaderFile diff --git a/src/FromOCCT/TKPShape/MgtTopLoc.ixx b/src/FromOCCT/TKPShape/MgtTopLoc.ixx new file mode 100644 index 000000000..3066b1844 --- /dev/null +++ b/src/FromOCCT/TKPShape/MgtTopLoc.ixx @@ -0,0 +1,10 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + + + + diff --git a/src/FromOCCT/TKPShape/MgtTopLoc.jxx b/src/FromOCCT/TKPShape/MgtTopLoc.jxx new file mode 100644 index 000000000..2a950431a --- /dev/null +++ b/src/FromOCCT/TKPShape/MgtTopLoc.jxx @@ -0,0 +1,7 @@ +#include +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPShape/MgtTopoDS.cxx b/src/FromOCCT/TKPShape/MgtTopoDS.cxx new file mode 100644 index 000000000..76220619f --- /dev/null +++ b/src/FromOCCT/TKPShape/MgtTopoDS.cxx @@ -0,0 +1,507 @@ +// 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 +#include + +#include +#include +#include +#include + +#include +#include +#include + +#include +#include + +#include + +#include +#include + +#ifdef chrono +#include +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 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 + 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 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 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 + + 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 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/FromOCCT/TKPShape/MgtTopoDS.hxx b/src/FromOCCT/TKPShape/MgtTopoDS.hxx new file mode 100644 index 000000000..c78a9f02c --- /dev/null +++ b/src/FromOCCT/TKPShape/MgtTopoDS.hxx @@ -0,0 +1,107 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MgtTopoDS_HeaderFile +#define _MgtTopoDS_HeaderFile + +#include +#include +#include + +#include +#include +#include +class PTopoDS_HShape; +class TopoDS_Shape; +class MgtTopoDS_TranslateTool; +class PTColStd_TransientPersistentMap; +class PTColStd_PersistentTransientMap; +class MgtTopoDS_TranslateTool1; +class PTopoDS_Shape1; +class MgtTopoDS_TranslateTool; +class MgtTopoDS_TranslateTool1; + + +//! 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. +class MgtTopoDS +{ +public: + + DEFINE_STANDARD_ALLOC + + + //! Translates a Transient Shape onto a Persistent Shape + Standard_EXPORT static Handle(PTopoDS_HShape) Translate (const TopoDS_Shape& S, const Handle(MgtTopoDS_TranslateTool)& T, PTColStd_TransientPersistentMap& M) ; + + //! Translates a Persistent Shape onto a Transient Shape + Standard_EXPORT static void Translate (const Handle(PTopoDS_HShape)& S, const Handle(MgtTopoDS_TranslateTool)& T, PTColStd_PersistentTransientMap& M, TopoDS_Shape& Sh) ; + + //! Translates a Transient Shape onto a Persistent Shape + Standard_EXPORT static void Translate1 (const TopoDS_Shape& aShape, const Handle(MgtTopoDS_TranslateTool1)& T, PTColStd_TransientPersistentMap& M, PTopoDS_Shape1& aPShape) ; + + //! Translates a Persistent Shape onto a Transient Shape + Standard_EXPORT static void Translate1 (const PTopoDS_Shape1& aPShape, const Handle(MgtTopoDS_TranslateTool1)& T, PTColStd_PersistentTransientMap& M, TopoDS_Shape& aShape) ; + + + + +protected: + + + + + +private: + + + + +friend class MgtTopoDS_TranslateTool; +friend class MgtTopoDS_TranslateTool1; + +}; + + + + + + + +#endif // _MgtTopoDS_HeaderFile diff --git a/src/FromOCCT/TKPShape/MgtTopoDS.ixx b/src/FromOCCT/TKPShape/MgtTopoDS.ixx new file mode 100644 index 000000000..4e22c9f35 --- /dev/null +++ b/src/FromOCCT/TKPShape/MgtTopoDS.ixx @@ -0,0 +1,10 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + + + + diff --git a/src/FromOCCT/TKPShape/MgtTopoDS.jxx b/src/FromOCCT/TKPShape/MgtTopoDS.jxx new file mode 100644 index 000000000..bc95d77f6 --- /dev/null +++ b/src/FromOCCT/TKPShape/MgtTopoDS.jxx @@ -0,0 +1,8 @@ +#include +#include +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPShape/MgtTopoDS_TranslateTool.cxx b/src/FromOCCT/TKPShape/MgtTopoDS_TranslateTool.cxx new file mode 100644 index 000000000..aa1822ca1 --- /dev/null +++ b/src/FromOCCT/TKPShape/MgtTopoDS_TranslateTool.cxx @@ -0,0 +1,267 @@ +// 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 +#include +#include + + +//======================================================================= +//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/FromOCCT/TKPShape/MgtTopoDS_TranslateTool.hxx b/src/FromOCCT/TKPShape/MgtTopoDS_TranslateTool.hxx new file mode 100644 index 000000000..1f2993367 --- /dev/null +++ b/src/FromOCCT/TKPShape/MgtTopoDS_TranslateTool.hxx @@ -0,0 +1,127 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MgtTopoDS_TranslateTool_HeaderFile +#define _MgtTopoDS_TranslateTool_HeaderFile + +#include +#include +#include + +#include +#include +class Standard_TypeMismatch; +class TopoDS_Shape; +class PTopoDS_HShape; +class PTColStd_TransientPersistentMap; +class PTColStd_PersistentTransientMap; + + +//! The TranslateTool class is provided to support the +//! translation of inherited parts of topological data +//! structures. +//! Root of all translation tools. +class MgtTopoDS_TranslateTool : public MMgt_TShared +{ + +public: + + + Standard_EXPORT virtual void Add (TopoDS_Shape& S1, const TopoDS_Shape& S2) const = 0; + + Standard_EXPORT virtual void MakeVertex (TopoDS_Shape& S) const = 0; + + Standard_EXPORT virtual void MakeVertex (const Handle(PTopoDS_HShape)& S) const = 0; + + Standard_EXPORT virtual void MakeEdge (TopoDS_Shape& S) const = 0; + + Standard_EXPORT virtual void MakeEdge (const Handle(PTopoDS_HShape)& S) const = 0; + + Standard_EXPORT virtual void MakeWire (TopoDS_Shape& S) const = 0; + + Standard_EXPORT virtual void MakeWire (const Handle(PTopoDS_HShape)& S) const = 0; + + Standard_EXPORT virtual void MakeFace (TopoDS_Shape& S) const = 0; + + Standard_EXPORT virtual void MakeFace (const Handle(PTopoDS_HShape)& S) const = 0; + + Standard_EXPORT virtual void MakeShell (TopoDS_Shape& S) const = 0; + + Standard_EXPORT virtual void MakeShell (const Handle(PTopoDS_HShape)& S) const = 0; + + Standard_EXPORT virtual void MakeSolid (TopoDS_Shape& S) const = 0; + + Standard_EXPORT virtual void MakeSolid (const Handle(PTopoDS_HShape)& S) const = 0; + + Standard_EXPORT virtual void MakeCompSolid (TopoDS_Shape& S) const = 0; + + Standard_EXPORT virtual void MakeCompSolid (const Handle(PTopoDS_HShape)& S) const = 0; + + Standard_EXPORT virtual void MakeCompound (TopoDS_Shape& S) const = 0; + + Standard_EXPORT virtual void MakeCompound (const Handle(PTopoDS_HShape)& S) const = 0; + + //! Basic update method + Standard_EXPORT void UpdateShape (const TopoDS_Shape& S1, const Handle(PTopoDS_HShape)& S2) const; + + //! Basic update method + Standard_EXPORT void UpdateShape (const Handle(PTopoDS_HShape)& S1, TopoDS_Shape& S2) const; + + Standard_EXPORT virtual void UpdateVertex (const TopoDS_Shape& S1, const Handle(PTopoDS_HShape)& S2, PTColStd_TransientPersistentMap& M) const; + + Standard_EXPORT virtual void UpdateVertex (const Handle(PTopoDS_HShape)& S1, TopoDS_Shape& S2, PTColStd_PersistentTransientMap& M) const; + + Standard_EXPORT virtual void UpdateEdge (const TopoDS_Shape& S1, const Handle(PTopoDS_HShape)& S2, PTColStd_TransientPersistentMap& M) const; + + Standard_EXPORT virtual void UpdateEdge (const Handle(PTopoDS_HShape)& S1, TopoDS_Shape& S2, PTColStd_PersistentTransientMap& M) const; + + Standard_EXPORT virtual void UpdateWire (const TopoDS_Shape& S1, const Handle(PTopoDS_HShape)& S2) const; + + Standard_EXPORT virtual void UpdateWire (const Handle(PTopoDS_HShape)& S1, TopoDS_Shape& S2) const; + + Standard_EXPORT virtual void UpdateFace (const TopoDS_Shape& S1, const Handle(PTopoDS_HShape)& S2, PTColStd_TransientPersistentMap& M) const; + + Standard_EXPORT virtual void UpdateFace (const Handle(PTopoDS_HShape)& S1, TopoDS_Shape& S2, PTColStd_PersistentTransientMap& M) const; + + Standard_EXPORT virtual void UpdateShell (const TopoDS_Shape& S1, const Handle(PTopoDS_HShape)& S2) const; + + Standard_EXPORT virtual void UpdateShell (const Handle(PTopoDS_HShape)& S1, TopoDS_Shape& S2) const; + + Standard_EXPORT virtual void UpdateSolid (const TopoDS_Shape& S1, const Handle(PTopoDS_HShape)& S2) const; + + Standard_EXPORT virtual void UpdateSolid (const Handle(PTopoDS_HShape)& S1, TopoDS_Shape& S2) const; + + Standard_EXPORT virtual void UpdateCompSolid (const TopoDS_Shape& S1, const Handle(PTopoDS_HShape)& S2) const; + + Standard_EXPORT virtual void UpdateCompSolid (const Handle(PTopoDS_HShape)& S1, TopoDS_Shape& S2) const; + + Standard_EXPORT virtual void UpdateCompound (const TopoDS_Shape& S1, const Handle(PTopoDS_HShape)& S2) const; + + Standard_EXPORT virtual void UpdateCompound (const Handle(PTopoDS_HShape)& S1, TopoDS_Shape& S2) const; + + + + + DEFINE_STANDARD_RTTI(MgtTopoDS_TranslateTool) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MgtTopoDS_TranslateTool_HeaderFile diff --git a/src/FromOCCT/TKPShape/MgtTopoDS_TranslateTool.ixx b/src/FromOCCT/TKPShape/MgtTopoDS_TranslateTool.ixx new file mode 100644 index 000000000..6e795f6a3 --- /dev/null +++ b/src/FromOCCT/TKPShape/MgtTopoDS_TranslateTool.ixx @@ -0,0 +1,27 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MgtTopoDS_TranslateTool) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MgtTopoDS_TranslateTool) + + +IMPLEMENT_DOWNCAST(MgtTopoDS_TranslateTool,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MgtTopoDS_TranslateTool) + + + diff --git a/src/FromOCCT/TKPShape/MgtTopoDS_TranslateTool.jxx b/src/FromOCCT/TKPShape/MgtTopoDS_TranslateTool.jxx new file mode 100644 index 000000000..63be5b18b --- /dev/null +++ b/src/FromOCCT/TKPShape/MgtTopoDS_TranslateTool.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPShape/MgtTopoDS_TranslateTool1.cxx b/src/FromOCCT/TKPShape/MgtTopoDS_TranslateTool1.cxx new file mode 100644 index 000000000..fdf577d34 --- /dev/null +++ b/src/FromOCCT/TKPShape/MgtTopoDS_TranslateTool1.cxx @@ -0,0 +1,248 @@ +// 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 + +#include +#include + + +//======================================================================= +//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); } diff --git a/src/FromOCCT/TKPShape/MgtTopoDS_TranslateTool1.hxx b/src/FromOCCT/TKPShape/MgtTopoDS_TranslateTool1.hxx new file mode 100644 index 000000000..bfdc2aea4 --- /dev/null +++ b/src/FromOCCT/TKPShape/MgtTopoDS_TranslateTool1.hxx @@ -0,0 +1,126 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MgtTopoDS_TranslateTool1_HeaderFile +#define _MgtTopoDS_TranslateTool1_HeaderFile + +#include +#include +#include + +#include +class Standard_TypeMismatch; +class TopoDS_Shape; +class PTopoDS_Shape1; +class PTColStd_TransientPersistentMap; +class PTColStd_PersistentTransientMap; + + +//! The TranslateTool1 class is provided to support the +//! translation of inherited parts of topological data +//! structures. +//! Root of all translation tools. +class MgtTopoDS_TranslateTool1 : public MMgt_TShared +{ + +public: + + + Standard_EXPORT virtual void Add (TopoDS_Shape& S1, const TopoDS_Shape& S2) const = 0; + + Standard_EXPORT virtual void MakeVertex (TopoDS_Shape& S) const = 0; + + Standard_EXPORT virtual void MakeVertex (PTopoDS_Shape1& S) const = 0; + + Standard_EXPORT virtual void MakeEdge (TopoDS_Shape& S) const = 0; + + Standard_EXPORT virtual void MakeEdge (PTopoDS_Shape1& S) const = 0; + + Standard_EXPORT virtual void MakeWire (TopoDS_Shape& S) const = 0; + + Standard_EXPORT virtual void MakeWire (PTopoDS_Shape1& S) const = 0; + + Standard_EXPORT virtual void MakeFace (TopoDS_Shape& S) const = 0; + + Standard_EXPORT virtual void MakeFace (PTopoDS_Shape1& S) const = 0; + + Standard_EXPORT virtual void MakeShell (TopoDS_Shape& S) const = 0; + + Standard_EXPORT virtual void MakeShell (PTopoDS_Shape1& S) const = 0; + + Standard_EXPORT virtual void MakeSolid (TopoDS_Shape& S) const = 0; + + Standard_EXPORT virtual void MakeSolid (PTopoDS_Shape1& S) const = 0; + + Standard_EXPORT virtual void MakeCompSolid (TopoDS_Shape& S) const = 0; + + Standard_EXPORT virtual void MakeCompSolid (PTopoDS_Shape1& S) const = 0; + + Standard_EXPORT virtual void MakeCompound (TopoDS_Shape& S) const = 0; + + Standard_EXPORT virtual void MakeCompound (PTopoDS_Shape1& S) const = 0; + + //! Basic update method + Standard_EXPORT void UpdateShape (const TopoDS_Shape& S1, PTopoDS_Shape1& S2) const; + + //! Basic update method + Standard_EXPORT void UpdateShape (const PTopoDS_Shape1& S1, TopoDS_Shape& S2) const; + + Standard_EXPORT virtual void UpdateVertex (const TopoDS_Shape& S1, PTopoDS_Shape1& S2, PTColStd_TransientPersistentMap& M) const; + + Standard_EXPORT virtual void UpdateVertex (const PTopoDS_Shape1& S1, TopoDS_Shape& S2, PTColStd_PersistentTransientMap& M) const; + + Standard_EXPORT virtual void UpdateEdge (const TopoDS_Shape& S1, PTopoDS_Shape1& S2, PTColStd_TransientPersistentMap& M) const; + + Standard_EXPORT virtual void UpdateEdge (const PTopoDS_Shape1& S1, TopoDS_Shape& S2, PTColStd_PersistentTransientMap& M) const; + + Standard_EXPORT virtual void UpdateWire (const TopoDS_Shape& S1, PTopoDS_Shape1& S2) const; + + Standard_EXPORT virtual void UpdateWire (const PTopoDS_Shape1& S1, TopoDS_Shape& S2) const; + + Standard_EXPORT virtual void UpdateFace (const TopoDS_Shape& S1, PTopoDS_Shape1& S2, PTColStd_TransientPersistentMap& M) const; + + Standard_EXPORT virtual void UpdateFace (const PTopoDS_Shape1& S1, TopoDS_Shape& S2, PTColStd_PersistentTransientMap& M) const; + + Standard_EXPORT virtual void UpdateShell (const TopoDS_Shape& S1, PTopoDS_Shape1& S2) const; + + Standard_EXPORT virtual void UpdateShell (const PTopoDS_Shape1& S1, TopoDS_Shape& S2) const; + + Standard_EXPORT virtual void UpdateSolid (const TopoDS_Shape& S1, PTopoDS_Shape1& S2) const; + + Standard_EXPORT virtual void UpdateSolid (const PTopoDS_Shape1& S1, TopoDS_Shape& S2) const; + + Standard_EXPORT virtual void UpdateCompSolid (const TopoDS_Shape& S1, PTopoDS_Shape1& S2) const; + + Standard_EXPORT virtual void UpdateCompSolid (const PTopoDS_Shape1& S1, TopoDS_Shape& S2) const; + + Standard_EXPORT virtual void UpdateCompound (const TopoDS_Shape& S1, PTopoDS_Shape1& S2) const; + + Standard_EXPORT virtual void UpdateCompound (const PTopoDS_Shape1& S1, TopoDS_Shape& S2) const; + + + + + DEFINE_STANDARD_RTTI(MgtTopoDS_TranslateTool1) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MgtTopoDS_TranslateTool1_HeaderFile diff --git a/src/FromOCCT/TKPShape/MgtTopoDS_TranslateTool1.ixx b/src/FromOCCT/TKPShape/MgtTopoDS_TranslateTool1.ixx new file mode 100644 index 000000000..f584617f3 --- /dev/null +++ b/src/FromOCCT/TKPShape/MgtTopoDS_TranslateTool1.ixx @@ -0,0 +1,27 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MgtTopoDS_TranslateTool1) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MgtTopoDS_TranslateTool1) + + +IMPLEMENT_DOWNCAST(MgtTopoDS_TranslateTool1,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MgtTopoDS_TranslateTool1) + + + diff --git a/src/FromOCCT/TKPShape/MgtTopoDS_TranslateTool1.jxx b/src/FromOCCT/TKPShape/MgtTopoDS_TranslateTool1.jxx new file mode 100644 index 000000000..9131b122d --- /dev/null +++ b/src/FromOCCT/TKPShape/MgtTopoDS_TranslateTool1.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPShape/PBRep_Curve3D.cxx b/src/FromOCCT/TKPShape/PBRep_Curve3D.cxx new file mode 100644 index 000000000..53f24f2ba --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_Curve3D.cxx @@ -0,0 +1,56 @@ +// 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 + + +//======================================================================= +//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/FromOCCT/TKPShape/PBRep_Curve3D.hxx b/src/FromOCCT/TKPShape/PBRep_Curve3D.hxx new file mode 100644 index 000000000..2b20c7164 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_Curve3D.hxx @@ -0,0 +1,73 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PBRep_Curve3D_HeaderFile +#define _PBRep_Curve3D_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +class PGeom_Curve; +class PTopLoc_Location; + + +class PBRep_Curve3D : public PBRep_GCurve +{ + +public: + + + //! 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 + Standard_EXPORT PBRep_Curve3D(const Handle(PGeom_Curve)& C, const Standard_Real CF, const Standard_Real CL, const PTopLoc_Location& L); + + Standard_EXPORT Handle(PGeom_Curve) Curve3D() const; + + //! Returns True. + Standard_EXPORT virtual Standard_Boolean IsCurve3D() const; + +PBRep_Curve3D( ) +{ + +} +PBRep_Curve3D(const Storage_stCONSTclCOM& a) : PBRep_GCurve(a) +{ + +} + Handle(PGeom_Curve) _CSFDB_GetPBRep_Curve3DmyCurve3D() const { return myCurve3D; } + void _CSFDB_SetPBRep_Curve3DmyCurve3D(const Handle(PGeom_Curve)& p) { myCurve3D = p; } + + + + DEFINE_STANDARD_RTTI(PBRep_Curve3D) + +protected: + + + + +private: + + + Handle(PGeom_Curve) myCurve3D; + + +}; + + + + + + + +#endif // _PBRep_Curve3D_HeaderFile diff --git a/src/FromOCCT/TKPShape/PBRep_Curve3D.ixx b/src/FromOCCT/TKPShape/PBRep_Curve3D.ixx new file mode 100644 index 000000000..9ca491b40 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_Curve3D.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PBRep_Curve3D,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PBRep_Curve3D) + + + diff --git a/src/FromOCCT/TKPShape/PBRep_Curve3D.jxx b/src/FromOCCT/TKPShape/PBRep_Curve3D.jxx new file mode 100644 index 000000000..29503ea04 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_Curve3D.jxx @@ -0,0 +1,3 @@ +#include +#include +#include diff --git a/src/FromOCCT/TKPShape/PBRep_CurveOn2Surfaces.cxx b/src/FromOCCT/TKPShape/PBRep_CurveOn2Surfaces.cxx new file mode 100644 index 000000000..66d6e04b0 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_CurveOn2Surfaces.cxx @@ -0,0 +1,93 @@ +// 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 + + +//======================================================================= +//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/FromOCCT/TKPShape/PBRep_CurveOn2Surfaces.hxx b/src/FromOCCT/TKPShape/PBRep_CurveOn2Surfaces.hxx new file mode 100644 index 000000000..82794281e --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_CurveOn2Surfaces.hxx @@ -0,0 +1,85 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PBRep_CurveOn2Surfaces_HeaderFile +#define _PBRep_CurveOn2Surfaces_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +class PGeom_Surface; +class Standard_NullObject; +class PTopLoc_Location; + + +class PBRep_CurveOn2Surfaces : public PBRep_CurveRepresentation +{ + +public: + + + Standard_EXPORT PBRep_CurveOn2Surfaces(const Handle(PGeom_Surface)& S1, const Handle(PGeom_Surface)& S2, const PTopLoc_Location& L1, const PTopLoc_Location& L2, const GeomAbs_Shape C); + + Standard_EXPORT Handle(PGeom_Surface) Surface() const; + + Standard_EXPORT Handle(PGeom_Surface) Surface2() const; + + Standard_EXPORT PTopLoc_Location Location2() const; + + Standard_EXPORT GeomAbs_Shape Continuity() const; + + //! Returns True. + Standard_EXPORT virtual Standard_Boolean IsRegularity() const; + +PBRep_CurveOn2Surfaces( ) +{ + +} +PBRep_CurveOn2Surfaces(const Storage_stCONSTclCOM& a) : PBRep_CurveRepresentation(a) +{ + +} + Handle(PGeom_Surface) _CSFDB_GetPBRep_CurveOn2SurfacesmySurface() const { return mySurface; } + void _CSFDB_SetPBRep_CurveOn2SurfacesmySurface(const Handle(PGeom_Surface)& p) { mySurface = p; } + Handle(PGeom_Surface) _CSFDB_GetPBRep_CurveOn2SurfacesmySurface2() const { return mySurface2; } + void _CSFDB_SetPBRep_CurveOn2SurfacesmySurface2(const Handle(PGeom_Surface)& p) { mySurface2 = p; } + const PTopLoc_Location& _CSFDB_GetPBRep_CurveOn2SurfacesmyLocation2() const { return myLocation2; } + GeomAbs_Shape _CSFDB_GetPBRep_CurveOn2SurfacesmyContinuity() const { return myContinuity; } + void _CSFDB_SetPBRep_CurveOn2SurfacesmyContinuity(const GeomAbs_Shape p) { myContinuity = p; } + + + + DEFINE_STANDARD_RTTI(PBRep_CurveOn2Surfaces) + +protected: + + + + +private: + + + Handle(PGeom_Surface) mySurface; + Handle(PGeom_Surface) mySurface2; + PTopLoc_Location myLocation2; + GeomAbs_Shape myContinuity; + + +}; + + + + + + + +#endif // _PBRep_CurveOn2Surfaces_HeaderFile diff --git a/src/FromOCCT/TKPShape/PBRep_CurveOn2Surfaces.ixx b/src/FromOCCT/TKPShape/PBRep_CurveOn2Surfaces.ixx new file mode 100644 index 000000000..e30e3b1a2 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_CurveOn2Surfaces.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PBRep_CurveOn2Surfaces,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PBRep_CurveOn2Surfaces) + + + diff --git a/src/FromOCCT/TKPShape/PBRep_CurveOn2Surfaces.jxx b/src/FromOCCT/TKPShape/PBRep_CurveOn2Surfaces.jxx new file mode 100644 index 000000000..834d67b66 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_CurveOn2Surfaces.jxx @@ -0,0 +1,4 @@ +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPShape/PBRep_CurveOnClosedSurface.cxx b/src/FromOCCT/TKPShape/PBRep_CurveOnClosedSurface.cxx new file mode 100644 index 000000000..515b9571a --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_CurveOnClosedSurface.cxx @@ -0,0 +1,112 @@ +// 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 + + +//======================================================================= +//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/FromOCCT/TKPShape/PBRep_CurveOnClosedSurface.hxx b/src/FromOCCT/TKPShape/PBRep_CurveOnClosedSurface.hxx new file mode 100644 index 000000000..17fc21035 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_CurveOnClosedSurface.hxx @@ -0,0 +1,97 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PBRep_CurveOnClosedSurface_HeaderFile +#define _PBRep_CurveOnClosedSurface_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class PGeom2d_Curve; +class PGeom_Surface; +class PTopLoc_Location; +class gp_Pnt2d; + + +class PBRep_CurveOnClosedSurface : public PBRep_CurveOnSurface +{ + +public: + + + //! 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 + Standard_EXPORT 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); + + Standard_EXPORT Handle(PGeom2d_Curve) PCurve2() const; + + Standard_EXPORT GeomAbs_Shape Continuity() const; + + //! Returns True. + Standard_EXPORT virtual Standard_Boolean IsCurveOnClosedSurface() const; + + //! Returns True + Standard_EXPORT virtual Standard_Boolean IsRegularity() const; + + Standard_EXPORT void SetUVPoints2 (const gp_Pnt2d& Pnt1, const gp_Pnt2d& Pnt2) ; + + Standard_EXPORT gp_Pnt2d FirstUV2() const; + + Standard_EXPORT gp_Pnt2d LastUV2() const; + +PBRep_CurveOnClosedSurface( ) +{ + +} +PBRep_CurveOnClosedSurface(const Storage_stCONSTclCOM& a) : PBRep_CurveOnSurface(a) +{ + +} + Handle(PGeom2d_Curve) _CSFDB_GetPBRep_CurveOnClosedSurfacemyPCurve2() const { return myPCurve2; } + void _CSFDB_SetPBRep_CurveOnClosedSurfacemyPCurve2(const Handle(PGeom2d_Curve)& p) { myPCurve2 = p; } + GeomAbs_Shape _CSFDB_GetPBRep_CurveOnClosedSurfacemyContinuity() const { return myContinuity; } + void _CSFDB_SetPBRep_CurveOnClosedSurfacemyContinuity(const GeomAbs_Shape p) { myContinuity = p; } + const gp_Pnt2d& _CSFDB_GetPBRep_CurveOnClosedSurfacemyUV21() const { return myUV21; } + const gp_Pnt2d& _CSFDB_GetPBRep_CurveOnClosedSurfacemyUV22() const { return myUV22; } + + + + DEFINE_STANDARD_RTTI(PBRep_CurveOnClosedSurface) + +protected: + + + + +private: + + + Handle(PGeom2d_Curve) myPCurve2; + GeomAbs_Shape myContinuity; + gp_Pnt2d myUV21; + gp_Pnt2d myUV22; + + +}; + + + + + + + +#endif // _PBRep_CurveOnClosedSurface_HeaderFile diff --git a/src/FromOCCT/TKPShape/PBRep_CurveOnClosedSurface.ixx b/src/FromOCCT/TKPShape/PBRep_CurveOnClosedSurface.ixx new file mode 100644 index 000000000..436b33954 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_CurveOnClosedSurface.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PBRep_CurveOnClosedSurface,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PBRep_CurveOnClosedSurface) + + + diff --git a/src/FromOCCT/TKPShape/PBRep_CurveOnClosedSurface.jxx b/src/FromOCCT/TKPShape/PBRep_CurveOnClosedSurface.jxx new file mode 100644 index 000000000..90a54b296 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_CurveOnClosedSurface.jxx @@ -0,0 +1,5 @@ +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPShape/PBRep_CurveOnSurface.cxx b/src/FromOCCT/TKPShape/PBRep_CurveOnSurface.cxx new file mode 100644 index 000000000..44fb188de --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_CurveOnSurface.cxx @@ -0,0 +1,102 @@ +// 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 + + +//======================================================================= +//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/FromOCCT/TKPShape/PBRep_CurveOnSurface.hxx b/src/FromOCCT/TKPShape/PBRep_CurveOnSurface.hxx new file mode 100644 index 000000000..6f4239a88 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_CurveOnSurface.hxx @@ -0,0 +1,92 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PBRep_CurveOnSurface_HeaderFile +#define _PBRep_CurveOnSurface_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class PGeom_Surface; +class PGeom2d_Curve; +class PTopLoc_Location; +class gp_Pnt2d; + + +class PBRep_CurveOnSurface : public PBRep_GCurve +{ + +public: + + + //! 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 + Standard_EXPORT PBRep_CurveOnSurface(const Handle(PGeom2d_Curve)& PC, const Standard_Real CF, const Standard_Real CL, const Handle(PGeom_Surface)& S, const PTopLoc_Location& L); + + Standard_EXPORT Handle(PGeom_Surface) Surface() const; + + Standard_EXPORT Handle(PGeom2d_Curve) PCurve() const; + + //! Returns True. + Standard_EXPORT virtual Standard_Boolean IsCurveOnSurface() const; + + Standard_EXPORT void SetUVPoints (const gp_Pnt2d& Pnt1, const gp_Pnt2d& Pnt2) ; + + Standard_EXPORT gp_Pnt2d FirstUV() const; + + Standard_EXPORT gp_Pnt2d LastUV() const; + +PBRep_CurveOnSurface( ) +{ + +} +PBRep_CurveOnSurface(const Storage_stCONSTclCOM& a) : PBRep_GCurve(a) +{ + +} + Handle(PGeom2d_Curve) _CSFDB_GetPBRep_CurveOnSurfacemyPCurve() const { return myPCurve; } + void _CSFDB_SetPBRep_CurveOnSurfacemyPCurve(const Handle(PGeom2d_Curve)& p) { myPCurve = p; } + Handle(PGeom_Surface) _CSFDB_GetPBRep_CurveOnSurfacemySurface() const { return mySurface; } + void _CSFDB_SetPBRep_CurveOnSurfacemySurface(const Handle(PGeom_Surface)& p) { mySurface = p; } + const gp_Pnt2d& _CSFDB_GetPBRep_CurveOnSurfacemyUV1() const { return myUV1; } + const gp_Pnt2d& _CSFDB_GetPBRep_CurveOnSurfacemyUV2() const { return myUV2; } + + + + DEFINE_STANDARD_RTTI(PBRep_CurveOnSurface) + +protected: + + + + +private: + + + Handle(PGeom2d_Curve) myPCurve; + Handle(PGeom_Surface) mySurface; + gp_Pnt2d myUV1; + gp_Pnt2d myUV2; + + +}; + + + + + + + +#endif // _PBRep_CurveOnSurface_HeaderFile diff --git a/src/FromOCCT/TKPShape/PBRep_CurveOnSurface.ixx b/src/FromOCCT/TKPShape/PBRep_CurveOnSurface.ixx new file mode 100644 index 000000000..f891bd6b0 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_CurveOnSurface.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PBRep_CurveOnSurface,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PBRep_CurveOnSurface) + + + diff --git a/src/FromOCCT/TKPShape/PBRep_CurveOnSurface.jxx b/src/FromOCCT/TKPShape/PBRep_CurveOnSurface.jxx new file mode 100644 index 000000000..3cf0c7718 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_CurveOnSurface.jxx @@ -0,0 +1,5 @@ +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPShape/PBRep_CurveRepresentation.cxx b/src/FromOCCT/TKPShape/PBRep_CurveRepresentation.cxx new file mode 100644 index 000000000..f6a24b1af --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_CurveRepresentation.cxx @@ -0,0 +1,165 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PBRep_CurveRepresentation.hxx b/src/FromOCCT/TKPShape/PBRep_CurveRepresentation.hxx new file mode 100644 index 000000000..226e11844 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_CurveRepresentation.hxx @@ -0,0 +1,96 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PBRep_CurveRepresentation_HeaderFile +#define _PBRep_CurveRepresentation_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +class PTopLoc_Location; + + +class PBRep_CurveRepresentation : public Standard_Persistent +{ + +public: + + + Standard_EXPORT PTopLoc_Location Location() const; + + Standard_EXPORT Handle(PBRep_CurveRepresentation) Next() const; + + Standard_EXPORT void Next (const Handle(PBRep_CurveRepresentation)& N) ; + + //! A 3D curve representation. + Standard_EXPORT virtual Standard_Boolean IsCurve3D() const; + + //! A curve in the parametric space of a surface. + Standard_EXPORT virtual Standard_Boolean IsCurveOnSurface() const; + + //! A continuity between two surfaces. + Standard_EXPORT virtual Standard_Boolean IsRegularity() const; + + //! A curve with two parametric curves on the same + //! surface. + Standard_EXPORT virtual Standard_Boolean IsCurveOnClosedSurface() const; + + Standard_EXPORT virtual Standard_Boolean IsGCurve() const; + + Standard_EXPORT virtual Standard_Boolean IsPolygon3D() const; + + Standard_EXPORT virtual Standard_Boolean IsPolygonOnTriangulation() const; + + Standard_EXPORT virtual Standard_Boolean IsPolygonOnClosedTriangulation() const; + + Standard_EXPORT virtual Standard_Boolean IsPolygonOnSurface() const; + + Standard_EXPORT virtual Standard_Boolean IsPolygonOnClosedSurface() const; + +PBRep_CurveRepresentation( ) +{ + +} +PBRep_CurveRepresentation(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + const PTopLoc_Location& _CSFDB_GetPBRep_CurveRepresentationmyLocation() const { return myLocation; } + Handle(PBRep_CurveRepresentation) _CSFDB_GetPBRep_CurveRepresentationmyNext() const { return myNext; } + void _CSFDB_SetPBRep_CurveRepresentationmyNext(const Handle(PBRep_CurveRepresentation)& p) { myNext = p; } + + + + DEFINE_STANDARD_RTTI(PBRep_CurveRepresentation) + +protected: + + + Standard_EXPORT PBRep_CurveRepresentation(const PTopLoc_Location& L); + + + +private: + + + PTopLoc_Location myLocation; + Handle(PBRep_CurveRepresentation) myNext; + + +}; + + + + + + + +#endif // _PBRep_CurveRepresentation_HeaderFile diff --git a/src/FromOCCT/TKPShape/PBRep_CurveRepresentation.ixx b/src/FromOCCT/TKPShape/PBRep_CurveRepresentation.ixx new file mode 100644 index 000000000..238fcbab3 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_CurveRepresentation.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PBRep_CurveRepresentation,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PBRep_CurveRepresentation) + + + diff --git a/src/FromOCCT/TKPShape/PBRep_CurveRepresentation.jxx b/src/FromOCCT/TKPShape/PBRep_CurveRepresentation.jxx new file mode 100644 index 000000000..1242d392d --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_CurveRepresentation.jxx @@ -0,0 +1,3 @@ +#include +#include +#include diff --git a/src/FromOCCT/TKPShape/PBRep_GCurve.cxx b/src/FromOCCT/TKPShape/PBRep_GCurve.cxx new file mode 100644 index 000000000..1fd0805e0 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_GCurve.cxx @@ -0,0 +1,85 @@ +// 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 + + +//======================================================================= +//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/FromOCCT/TKPShape/PBRep_GCurve.hxx b/src/FromOCCT/TKPShape/PBRep_GCurve.hxx new file mode 100644 index 000000000..5e210c702 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_GCurve.hxx @@ -0,0 +1,76 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PBRep_GCurve_HeaderFile +#define _PBRep_GCurve_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class PTopLoc_Location; + + +class PBRep_GCurve : public PBRep_CurveRepresentation +{ + +public: + + + Standard_EXPORT Standard_Real First() const; + + Standard_EXPORT Standard_Real Last() const; + + Standard_EXPORT void First (const Standard_Real F) ; + + Standard_EXPORT void Last (const Standard_Real L) ; + + //! returns TRUE + Standard_EXPORT virtual Standard_Boolean IsGCurve() const; + +PBRep_GCurve( ) +{ + +} +PBRep_GCurve(const Storage_stCONSTclCOM& a) : PBRep_CurveRepresentation(a) +{ + +} + Standard_Real _CSFDB_GetPBRep_GCurvemyFirst() const { return myFirst; } + void _CSFDB_SetPBRep_GCurvemyFirst(const Standard_Real p) { myFirst = p; } + Standard_Real _CSFDB_GetPBRep_GCurvemyLast() const { return myLast; } + void _CSFDB_SetPBRep_GCurvemyLast(const Standard_Real p) { myLast = p; } + + + + DEFINE_STANDARD_RTTI(PBRep_GCurve) + +protected: + + + Standard_EXPORT PBRep_GCurve(const PTopLoc_Location& L, const Standard_Real First, const Standard_Real Last); + + + +private: + + + Standard_Real myFirst; + Standard_Real myLast; + + +}; + + + + + + + +#endif // _PBRep_GCurve_HeaderFile diff --git a/src/FromOCCT/TKPShape/PBRep_GCurve.ixx b/src/FromOCCT/TKPShape/PBRep_GCurve.ixx new file mode 100644 index 000000000..77baf40b7 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_GCurve.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PBRep_GCurve,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PBRep_GCurve) + + + diff --git a/src/FromOCCT/TKPShape/PBRep_GCurve.jxx b/src/FromOCCT/TKPShape/PBRep_GCurve.jxx new file mode 100644 index 000000000..8920ac4ce --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_GCurve.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPShape/PBRep_PointOnCurve.cxx b/src/FromOCCT/TKPShape/PBRep_PointOnCurve.cxx new file mode 100644 index 000000000..bf821ce3f --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_PointOnCurve.cxx @@ -0,0 +1,52 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PBRep_PointOnCurve.hxx b/src/FromOCCT/TKPShape/PBRep_PointOnCurve.hxx new file mode 100644 index 000000000..d58ca685d --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_PointOnCurve.hxx @@ -0,0 +1,69 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PBRep_PointOnCurve_HeaderFile +#define _PBRep_PointOnCurve_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +class PGeom_Curve; +class PTopLoc_Location; + + +class PBRep_PointOnCurve : public PBRep_PointRepresentation +{ + +public: + + + Standard_EXPORT PBRep_PointOnCurve(const Standard_Real P, const Handle(PGeom_Curve)& C, const PTopLoc_Location& L); + + Standard_EXPORT Handle(PGeom_Curve) Curve() const; + + //! Returns True; + Standard_EXPORT virtual Standard_Boolean IsPointOnCurve() const; + +PBRep_PointOnCurve( ) +{ + +} +PBRep_PointOnCurve(const Storage_stCONSTclCOM& a) : PBRep_PointRepresentation(a) +{ + +} + Handle(PGeom_Curve) _CSFDB_GetPBRep_PointOnCurvemyCurve() const { return myCurve; } + void _CSFDB_SetPBRep_PointOnCurvemyCurve(const Handle(PGeom_Curve)& p) { myCurve = p; } + + + + DEFINE_STANDARD_RTTI(PBRep_PointOnCurve) + +protected: + + + + +private: + + + Handle(PGeom_Curve) myCurve; + + +}; + + + + + + + +#endif // _PBRep_PointOnCurve_HeaderFile diff --git a/src/FromOCCT/TKPShape/PBRep_PointOnCurve.ixx b/src/FromOCCT/TKPShape/PBRep_PointOnCurve.ixx new file mode 100644 index 000000000..07312a3cb --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_PointOnCurve.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PBRep_PointOnCurve,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PBRep_PointOnCurve) + + + diff --git a/src/FromOCCT/TKPShape/PBRep_PointOnCurve.jxx b/src/FromOCCT/TKPShape/PBRep_PointOnCurve.jxx new file mode 100644 index 000000000..9eb71d44a --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_PointOnCurve.jxx @@ -0,0 +1,3 @@ +#include +#include +#include diff --git a/src/FromOCCT/TKPShape/PBRep_PointOnCurveOnSurface.cxx b/src/FromOCCT/TKPShape/PBRep_PointOnCurveOnSurface.cxx new file mode 100644 index 000000000..0f124e266 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_PointOnCurveOnSurface.cxx @@ -0,0 +1,55 @@ +// 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 + + +//======================================================================= +//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/FromOCCT/TKPShape/PBRep_PointOnCurveOnSurface.hxx b/src/FromOCCT/TKPShape/PBRep_PointOnCurveOnSurface.hxx new file mode 100644 index 000000000..83aa3786f --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_PointOnCurveOnSurface.hxx @@ -0,0 +1,71 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PBRep_PointOnCurveOnSurface_HeaderFile +#define _PBRep_PointOnCurveOnSurface_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +class PGeom2d_Curve; +class PGeom_Surface; +class PTopLoc_Location; + + +class PBRep_PointOnCurveOnSurface : public PBRep_PointsOnSurface +{ + +public: + + + Standard_EXPORT PBRep_PointOnCurveOnSurface(const Standard_Real P, const Handle(PGeom2d_Curve)& C, const Handle(PGeom_Surface)& S, const PTopLoc_Location& L); + + Standard_EXPORT Handle(PGeom2d_Curve) PCurve() const; + + //! Returns True + Standard_EXPORT virtual Standard_Boolean IsPointOnCurveOnSurface() const; + +PBRep_PointOnCurveOnSurface( ) +{ + +} +PBRep_PointOnCurveOnSurface(const Storage_stCONSTclCOM& a) : PBRep_PointsOnSurface(a) +{ + +} + Handle(PGeom2d_Curve) _CSFDB_GetPBRep_PointOnCurveOnSurfacemyPCurve() const { return myPCurve; } + void _CSFDB_SetPBRep_PointOnCurveOnSurfacemyPCurve(const Handle(PGeom2d_Curve)& p) { myPCurve = p; } + + + + DEFINE_STANDARD_RTTI(PBRep_PointOnCurveOnSurface) + +protected: + + + + +private: + + + Handle(PGeom2d_Curve) myPCurve; + + +}; + + + + + + + +#endif // _PBRep_PointOnCurveOnSurface_HeaderFile diff --git a/src/FromOCCT/TKPShape/PBRep_PointOnCurveOnSurface.ixx b/src/FromOCCT/TKPShape/PBRep_PointOnCurveOnSurface.ixx new file mode 100644 index 000000000..933e8c431 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_PointOnCurveOnSurface.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PBRep_PointOnCurveOnSurface,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PBRep_PointOnCurveOnSurface) + + + diff --git a/src/FromOCCT/TKPShape/PBRep_PointOnCurveOnSurface.jxx b/src/FromOCCT/TKPShape/PBRep_PointOnCurveOnSurface.jxx new file mode 100644 index 000000000..663796bdc --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_PointOnCurveOnSurface.jxx @@ -0,0 +1,4 @@ +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPShape/PBRep_PointOnSurface.cxx b/src/FromOCCT/TKPShape/PBRep_PointOnSurface.cxx new file mode 100644 index 000000000..58b0f551e --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_PointOnSurface.cxx @@ -0,0 +1,54 @@ +// 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 + + +//======================================================================= +//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/FromOCCT/TKPShape/PBRep_PointOnSurface.hxx b/src/FromOCCT/TKPShape/PBRep_PointOnSurface.hxx new file mode 100644 index 000000000..83425aed9 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_PointOnSurface.hxx @@ -0,0 +1,69 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PBRep_PointOnSurface_HeaderFile +#define _PBRep_PointOnSurface_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +class PGeom_Surface; +class PTopLoc_Location; + + +class PBRep_PointOnSurface : public PBRep_PointsOnSurface +{ + +public: + + + Standard_EXPORT PBRep_PointOnSurface(const Standard_Real P1, const Standard_Real P2, const Handle(PGeom_Surface)& S, const PTopLoc_Location& L); + + Standard_EXPORT Standard_Real Parameter2() const; + + //! Returns True + Standard_EXPORT virtual Standard_Boolean IsPointOnSurface() const; + +PBRep_PointOnSurface( ) +{ + +} +PBRep_PointOnSurface(const Storage_stCONSTclCOM& a) : PBRep_PointsOnSurface(a) +{ + +} + Standard_Real _CSFDB_GetPBRep_PointOnSurfacemyParameter2() const { return myParameter2; } + void _CSFDB_SetPBRep_PointOnSurfacemyParameter2(const Standard_Real p) { myParameter2 = p; } + + + + DEFINE_STANDARD_RTTI(PBRep_PointOnSurface) + +protected: + + + + +private: + + + Standard_Real myParameter2; + + +}; + + + + + + + +#endif // _PBRep_PointOnSurface_HeaderFile diff --git a/src/FromOCCT/TKPShape/PBRep_PointOnSurface.ixx b/src/FromOCCT/TKPShape/PBRep_PointOnSurface.ixx new file mode 100644 index 000000000..bad1be83e --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_PointOnSurface.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PBRep_PointOnSurface,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PBRep_PointOnSurface) + + + diff --git a/src/FromOCCT/TKPShape/PBRep_PointOnSurface.jxx b/src/FromOCCT/TKPShape/PBRep_PointOnSurface.jxx new file mode 100644 index 000000000..f53f9f8db --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_PointOnSurface.jxx @@ -0,0 +1,3 @@ +#include +#include +#include diff --git a/src/FromOCCT/TKPShape/PBRep_PointRepresentation.cxx b/src/FromOCCT/TKPShape/PBRep_PointRepresentation.cxx new file mode 100644 index 000000000..c6fcd4319 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_PointRepresentation.cxx @@ -0,0 +1,116 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PBRep_PointRepresentation.hxx b/src/FromOCCT/TKPShape/PBRep_PointRepresentation.hxx new file mode 100644 index 000000000..9debdacbc --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_PointRepresentation.hxx @@ -0,0 +1,88 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PBRep_PointRepresentation_HeaderFile +#define _PBRep_PointRepresentation_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +class PTopLoc_Location; + + +class PBRep_PointRepresentation : public Standard_Persistent +{ + +public: + + + Standard_EXPORT PTopLoc_Location Location() const; + + Standard_EXPORT Standard_Real Parameter() const; + + Standard_EXPORT void Parameter (const Standard_Real P) ; + + Standard_EXPORT Handle(PBRep_PointRepresentation) Next() const; + + Standard_EXPORT void Next (const Handle(PBRep_PointRepresentation)& N) ; + + //! A point on a 3d curve. + Standard_EXPORT virtual Standard_Boolean IsPointOnCurve() const; + + //! A point on a 2d curve on a surface. + Standard_EXPORT virtual Standard_Boolean IsPointOnCurveOnSurface() const; + + //! A point on a surface. + Standard_EXPORT virtual Standard_Boolean IsPointOnSurface() const; + +PBRep_PointRepresentation( ) +{ + +} +PBRep_PointRepresentation(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + const PTopLoc_Location& _CSFDB_GetPBRep_PointRepresentationmyLocation() const { return myLocation; } + Standard_Real _CSFDB_GetPBRep_PointRepresentationmyParameter() const { return myParameter; } + void _CSFDB_SetPBRep_PointRepresentationmyParameter(const Standard_Real p) { myParameter = p; } + Handle(PBRep_PointRepresentation) _CSFDB_GetPBRep_PointRepresentationmyNext() const { return myNext; } + void _CSFDB_SetPBRep_PointRepresentationmyNext(const Handle(PBRep_PointRepresentation)& p) { myNext = p; } + + + + DEFINE_STANDARD_RTTI(PBRep_PointRepresentation) + +protected: + + + Standard_EXPORT PBRep_PointRepresentation(const Standard_Real P, const PTopLoc_Location& L); + + + +private: + + + PTopLoc_Location myLocation; + Standard_Real myParameter; + Handle(PBRep_PointRepresentation) myNext; + + +}; + + + + + + + +#endif // _PBRep_PointRepresentation_HeaderFile diff --git a/src/FromOCCT/TKPShape/PBRep_PointRepresentation.ixx b/src/FromOCCT/TKPShape/PBRep_PointRepresentation.ixx new file mode 100644 index 000000000..6cb85648c --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_PointRepresentation.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PBRep_PointRepresentation,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PBRep_PointRepresentation) + + + diff --git a/src/FromOCCT/TKPShape/PBRep_PointRepresentation.jxx b/src/FromOCCT/TKPShape/PBRep_PointRepresentation.jxx new file mode 100644 index 000000000..04d42cb36 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_PointRepresentation.jxx @@ -0,0 +1,3 @@ +#include +#include +#include diff --git a/src/FromOCCT/TKPShape/PBRep_PointsOnSurface.cxx b/src/FromOCCT/TKPShape/PBRep_PointsOnSurface.cxx new file mode 100644 index 000000000..fef29308e --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_PointsOnSurface.cxx @@ -0,0 +1,44 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PBRep_PointsOnSurface.hxx b/src/FromOCCT/TKPShape/PBRep_PointsOnSurface.hxx new file mode 100644 index 000000000..7c0abaa69 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_PointsOnSurface.hxx @@ -0,0 +1,65 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PBRep_PointsOnSurface_HeaderFile +#define _PBRep_PointsOnSurface_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class PGeom_Surface; +class PTopLoc_Location; + + +class PBRep_PointsOnSurface : public PBRep_PointRepresentation +{ + +public: + + + Standard_EXPORT Handle(PGeom_Surface) Surface() const; + +PBRep_PointsOnSurface( ) +{ + +} +PBRep_PointsOnSurface(const Storage_stCONSTclCOM& a) : PBRep_PointRepresentation(a) +{ + +} + Handle(PGeom_Surface) _CSFDB_GetPBRep_PointsOnSurfacemySurface() const { return mySurface; } + void _CSFDB_SetPBRep_PointsOnSurfacemySurface(const Handle(PGeom_Surface)& p) { mySurface = p; } + + + + DEFINE_STANDARD_RTTI(PBRep_PointsOnSurface) + +protected: + + + Standard_EXPORT PBRep_PointsOnSurface(const Standard_Real P, const Handle(PGeom_Surface)& S, const PTopLoc_Location& L); + + + +private: + + + Handle(PGeom_Surface) mySurface; + + +}; + + + + + + + +#endif // _PBRep_PointsOnSurface_HeaderFile diff --git a/src/FromOCCT/TKPShape/PBRep_PointsOnSurface.ixx b/src/FromOCCT/TKPShape/PBRep_PointsOnSurface.ixx new file mode 100644 index 000000000..cd1c6ef10 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_PointsOnSurface.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PBRep_PointsOnSurface,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PBRep_PointsOnSurface) + + + diff --git a/src/FromOCCT/TKPShape/PBRep_PointsOnSurface.jxx b/src/FromOCCT/TKPShape/PBRep_PointsOnSurface.jxx new file mode 100644 index 000000000..649f10f08 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_PointsOnSurface.jxx @@ -0,0 +1,3 @@ +#include +#include +#include diff --git a/src/FromOCCT/TKPShape/PBRep_Polygon3D.cxx b/src/FromOCCT/TKPShape/PBRep_Polygon3D.cxx new file mode 100644 index 000000000..fb9ab7727 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_Polygon3D.cxx @@ -0,0 +1,51 @@ +// 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 + + + +//======================================================================= +//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/FromOCCT/TKPShape/PBRep_Polygon3D.hxx b/src/FromOCCT/TKPShape/PBRep_Polygon3D.hxx new file mode 100644 index 000000000..5b967c792 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_Polygon3D.hxx @@ -0,0 +1,68 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PBRep_Polygon3D_HeaderFile +#define _PBRep_Polygon3D_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class PPoly_Polygon3D; +class PTopLoc_Location; + + +class PBRep_Polygon3D : public PBRep_CurveRepresentation +{ + +public: + + + Standard_EXPORT PBRep_Polygon3D(const Handle(PPoly_Polygon3D)& P, const PTopLoc_Location& L); + + //! Returns True. + Standard_EXPORT virtual Standard_Boolean IsPolygon3D() const; + + Standard_EXPORT Handle(PPoly_Polygon3D) Polygon3D() const; + +PBRep_Polygon3D( ) +{ + +} +PBRep_Polygon3D(const Storage_stCONSTclCOM& a) : PBRep_CurveRepresentation(a) +{ + +} + Handle(PPoly_Polygon3D) _CSFDB_GetPBRep_Polygon3DmyPolygon3D() const { return myPolygon3D; } + void _CSFDB_SetPBRep_Polygon3DmyPolygon3D(const Handle(PPoly_Polygon3D)& p) { myPolygon3D = p; } + + + + DEFINE_STANDARD_RTTI(PBRep_Polygon3D) + +protected: + + + + +private: + + + Handle(PPoly_Polygon3D) myPolygon3D; + + +}; + + + + + + + +#endif // _PBRep_Polygon3D_HeaderFile diff --git a/src/FromOCCT/TKPShape/PBRep_Polygon3D.ixx b/src/FromOCCT/TKPShape/PBRep_Polygon3D.ixx new file mode 100644 index 000000000..5bbdd14ed --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_Polygon3D.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PBRep_Polygon3D,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PBRep_Polygon3D) + + + diff --git a/src/FromOCCT/TKPShape/PBRep_Polygon3D.jxx b/src/FromOCCT/TKPShape/PBRep_Polygon3D.jxx new file mode 100644 index 000000000..45afdb910 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_Polygon3D.jxx @@ -0,0 +1,3 @@ +#include +#include +#include diff --git a/src/FromOCCT/TKPShape/PBRep_PolygonOnClosedSurface.cxx b/src/FromOCCT/TKPShape/PBRep_PolygonOnClosedSurface.cxx new file mode 100644 index 000000000..a5afb58a1 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_PolygonOnClosedSurface.cxx @@ -0,0 +1,52 @@ +// 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 + + +//======================================================================= +//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/FromOCCT/TKPShape/PBRep_PolygonOnClosedSurface.hxx b/src/FromOCCT/TKPShape/PBRep_PolygonOnClosedSurface.hxx new file mode 100644 index 000000000..c0deb9174 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_PolygonOnClosedSurface.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PBRep_PolygonOnClosedSurface_HeaderFile +#define _PBRep_PolygonOnClosedSurface_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +class PPoly_Polygon2D; +class PGeom_Surface; +class PTopLoc_Location; + + +class PBRep_PolygonOnClosedSurface : public PBRep_PolygonOnSurface +{ + +public: + + + Standard_EXPORT PBRep_PolygonOnClosedSurface(const Handle(PPoly_Polygon2D)& P1, const Handle(PPoly_Polygon2D)& P2, const Handle(PGeom_Surface)& S, const PTopLoc_Location& L); + + //! returns True. + Standard_EXPORT virtual Standard_Boolean IsPolygonOnClosedSurface() const; + + Standard_EXPORT Handle(PPoly_Polygon2D) Polygon2() const; + +PBRep_PolygonOnClosedSurface( ) +{ + +} +PBRep_PolygonOnClosedSurface(const Storage_stCONSTclCOM& a) : PBRep_PolygonOnSurface(a) +{ + +} + Handle(PPoly_Polygon2D) _CSFDB_GetPBRep_PolygonOnClosedSurfacemyPolygon2() const { return myPolygon2; } + void _CSFDB_SetPBRep_PolygonOnClosedSurfacemyPolygon2(const Handle(PPoly_Polygon2D)& p) { myPolygon2 = p; } + + + + DEFINE_STANDARD_RTTI(PBRep_PolygonOnClosedSurface) + +protected: + + + + +private: + + + Handle(PPoly_Polygon2D) myPolygon2; + + +}; + + + + + + + +#endif // _PBRep_PolygonOnClosedSurface_HeaderFile diff --git a/src/FromOCCT/TKPShape/PBRep_PolygonOnClosedSurface.ixx b/src/FromOCCT/TKPShape/PBRep_PolygonOnClosedSurface.ixx new file mode 100644 index 000000000..8d7187312 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_PolygonOnClosedSurface.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PBRep_PolygonOnClosedSurface,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PBRep_PolygonOnClosedSurface) + + + diff --git a/src/FromOCCT/TKPShape/PBRep_PolygonOnClosedSurface.jxx b/src/FromOCCT/TKPShape/PBRep_PolygonOnClosedSurface.jxx new file mode 100644 index 000000000..a31122fb1 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_PolygonOnClosedSurface.jxx @@ -0,0 +1,4 @@ +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPShape/PBRep_PolygonOnClosedTriangulation.cxx b/src/FromOCCT/TKPShape/PBRep_PolygonOnClosedTriangulation.cxx new file mode 100644 index 000000000..0fb450692 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_PolygonOnClosedTriangulation.cxx @@ -0,0 +1,53 @@ +// 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 + + +//======================================================================= +//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/FromOCCT/TKPShape/PBRep_PolygonOnClosedTriangulation.hxx b/src/FromOCCT/TKPShape/PBRep_PolygonOnClosedTriangulation.hxx new file mode 100644 index 000000000..509f9ab15 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_PolygonOnClosedTriangulation.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PBRep_PolygonOnClosedTriangulation_HeaderFile +#define _PBRep_PolygonOnClosedTriangulation_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +class PPoly_PolygonOnTriangulation; +class PPoly_Triangulation; +class PTopLoc_Location; + + +class PBRep_PolygonOnClosedTriangulation : public PBRep_PolygonOnTriangulation +{ + +public: + + + Standard_EXPORT PBRep_PolygonOnClosedTriangulation(const Handle(PPoly_PolygonOnTriangulation)& P1, const Handle(PPoly_PolygonOnTriangulation)& P2, const Handle(PPoly_Triangulation)& S, const PTopLoc_Location& L); + + //! Returns True. + Standard_EXPORT virtual Standard_Boolean IsPolygonOnClosedTriangulation() const; + + Standard_EXPORT Handle(PPoly_PolygonOnTriangulation) PolygonOnTriangulation2() const; + +PBRep_PolygonOnClosedTriangulation( ) +{ + +} +PBRep_PolygonOnClosedTriangulation(const Storage_stCONSTclCOM& a) : PBRep_PolygonOnTriangulation(a) +{ + +} + Handle(PPoly_PolygonOnTriangulation) _CSFDB_GetPBRep_PolygonOnClosedTriangulationmyPolygon2() const { return myPolygon2; } + void _CSFDB_SetPBRep_PolygonOnClosedTriangulationmyPolygon2(const Handle(PPoly_PolygonOnTriangulation)& p) { myPolygon2 = p; } + + + + DEFINE_STANDARD_RTTI(PBRep_PolygonOnClosedTriangulation) + +protected: + + + + +private: + + + Handle(PPoly_PolygonOnTriangulation) myPolygon2; + + +}; + + + + + + + +#endif // _PBRep_PolygonOnClosedTriangulation_HeaderFile diff --git a/src/FromOCCT/TKPShape/PBRep_PolygonOnClosedTriangulation.ixx b/src/FromOCCT/TKPShape/PBRep_PolygonOnClosedTriangulation.ixx new file mode 100644 index 000000000..0f91329c2 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_PolygonOnClosedTriangulation.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PBRep_PolygonOnClosedTriangulation,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PBRep_PolygonOnClosedTriangulation) + + + diff --git a/src/FromOCCT/TKPShape/PBRep_PolygonOnClosedTriangulation.jxx b/src/FromOCCT/TKPShape/PBRep_PolygonOnClosedTriangulation.jxx new file mode 100644 index 000000000..f1e5bd189 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_PolygonOnClosedTriangulation.jxx @@ -0,0 +1,4 @@ +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPShape/PBRep_PolygonOnSurface.cxx b/src/FromOCCT/TKPShape/PBRep_PolygonOnSurface.cxx new file mode 100644 index 000000000..148180c14 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_PolygonOnSurface.cxx @@ -0,0 +1,63 @@ +// 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 + + +//======================================================================= +//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/FromOCCT/TKPShape/PBRep_PolygonOnSurface.hxx b/src/FromOCCT/TKPShape/PBRep_PolygonOnSurface.hxx new file mode 100644 index 000000000..6bfc609f3 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_PolygonOnSurface.hxx @@ -0,0 +1,76 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PBRep_PolygonOnSurface_HeaderFile +#define _PBRep_PolygonOnSurface_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +class PGeom_Surface; +class PPoly_Polygon2D; +class PTopLoc_Location; + + +class PBRep_PolygonOnSurface : public PBRep_CurveRepresentation +{ + +public: + + + Standard_EXPORT PBRep_PolygonOnSurface(const Handle(PPoly_Polygon2D)& P, const Handle(PGeom_Surface)& S, const PTopLoc_Location& L); + + //! A 2D polygon representation in the parametric + //! space of a surface. + Standard_EXPORT virtual Standard_Boolean IsPolygonOnSurface() const; + + Standard_EXPORT Handle(PGeom_Surface) Surface() const; + + Standard_EXPORT Handle(PPoly_Polygon2D) Polygon() const; + +PBRep_PolygonOnSurface( ) +{ + +} +PBRep_PolygonOnSurface(const Storage_stCONSTclCOM& a) : PBRep_CurveRepresentation(a) +{ + +} + Handle(PPoly_Polygon2D) _CSFDB_GetPBRep_PolygonOnSurfacemyPolygon2D() const { return myPolygon2D; } + void _CSFDB_SetPBRep_PolygonOnSurfacemyPolygon2D(const Handle(PPoly_Polygon2D)& p) { myPolygon2D = p; } + Handle(PGeom_Surface) _CSFDB_GetPBRep_PolygonOnSurfacemySurface() const { return mySurface; } + void _CSFDB_SetPBRep_PolygonOnSurfacemySurface(const Handle(PGeom_Surface)& p) { mySurface = p; } + + + + DEFINE_STANDARD_RTTI(PBRep_PolygonOnSurface) + +protected: + + + + +private: + + + Handle(PPoly_Polygon2D) myPolygon2D; + Handle(PGeom_Surface) mySurface; + + +}; + + + + + + + +#endif // _PBRep_PolygonOnSurface_HeaderFile diff --git a/src/FromOCCT/TKPShape/PBRep_PolygonOnSurface.ixx b/src/FromOCCT/TKPShape/PBRep_PolygonOnSurface.ixx new file mode 100644 index 000000000..777a0f1a4 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_PolygonOnSurface.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PBRep_PolygonOnSurface,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PBRep_PolygonOnSurface) + + + diff --git a/src/FromOCCT/TKPShape/PBRep_PolygonOnSurface.jxx b/src/FromOCCT/TKPShape/PBRep_PolygonOnSurface.jxx new file mode 100644 index 000000000..50d72b31a --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_PolygonOnSurface.jxx @@ -0,0 +1,4 @@ +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPShape/PBRep_PolygonOnTriangulation.cxx b/src/FromOCCT/TKPShape/PBRep_PolygonOnTriangulation.cxx new file mode 100644 index 000000000..68e43cf1b --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_PolygonOnTriangulation.cxx @@ -0,0 +1,66 @@ +// 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 + + +//======================================================================= +//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/FromOCCT/TKPShape/PBRep_PolygonOnTriangulation.hxx b/src/FromOCCT/TKPShape/PBRep_PolygonOnTriangulation.hxx new file mode 100644 index 000000000..d256c9a78 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_PolygonOnTriangulation.hxx @@ -0,0 +1,75 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PBRep_PolygonOnTriangulation_HeaderFile +#define _PBRep_PolygonOnTriangulation_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +class PPoly_PolygonOnTriangulation; +class PPoly_Triangulation; +class PTopLoc_Location; + + +class PBRep_PolygonOnTriangulation : public PBRep_CurveRepresentation +{ + +public: + + + Standard_EXPORT PBRep_PolygonOnTriangulation(const Handle(PPoly_PolygonOnTriangulation)& P, const Handle(PPoly_Triangulation)& T, const PTopLoc_Location& L); + + //! returns True. + Standard_EXPORT virtual Standard_Boolean IsPolygonOnTriangulation() const; + + Standard_EXPORT Handle(PPoly_PolygonOnTriangulation) PolygonOnTriangulation() const; + + Standard_EXPORT Handle(PPoly_Triangulation) Triangulation() const; + +PBRep_PolygonOnTriangulation( ) +{ + +} +PBRep_PolygonOnTriangulation(const Storage_stCONSTclCOM& a) : PBRep_CurveRepresentation(a) +{ + +} + Handle(PPoly_PolygonOnTriangulation) _CSFDB_GetPBRep_PolygonOnTriangulationmyPolygon() const { return myPolygon; } + void _CSFDB_SetPBRep_PolygonOnTriangulationmyPolygon(const Handle(PPoly_PolygonOnTriangulation)& p) { myPolygon = p; } + Handle(PPoly_Triangulation) _CSFDB_GetPBRep_PolygonOnTriangulationmyTriangulation() const { return myTriangulation; } + void _CSFDB_SetPBRep_PolygonOnTriangulationmyTriangulation(const Handle(PPoly_Triangulation)& p) { myTriangulation = p; } + + + + DEFINE_STANDARD_RTTI(PBRep_PolygonOnTriangulation) + +protected: + + + + +private: + + + Handle(PPoly_PolygonOnTriangulation) myPolygon; + Handle(PPoly_Triangulation) myTriangulation; + + +}; + + + + + + + +#endif // _PBRep_PolygonOnTriangulation_HeaderFile diff --git a/src/FromOCCT/TKPShape/PBRep_PolygonOnTriangulation.ixx b/src/FromOCCT/TKPShape/PBRep_PolygonOnTriangulation.ixx new file mode 100644 index 000000000..3eefbd2c9 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_PolygonOnTriangulation.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PBRep_PolygonOnTriangulation,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PBRep_PolygonOnTriangulation) + + + diff --git a/src/FromOCCT/TKPShape/PBRep_PolygonOnTriangulation.jxx b/src/FromOCCT/TKPShape/PBRep_PolygonOnTriangulation.jxx new file mode 100644 index 000000000..e3c0df56a --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_PolygonOnTriangulation.jxx @@ -0,0 +1,4 @@ +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPShape/PBRep_TEdge.cxx b/src/FromOCCT/TKPShape/PBRep_TEdge.cxx new file mode 100644 index 000000000..ed86f97a5 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_TEdge.cxx @@ -0,0 +1,145 @@ +// 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 + +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/FromOCCT/TKPShape/PBRep_TEdge.hxx b/src/FromOCCT/TKPShape/PBRep_TEdge.hxx new file mode 100644 index 000000000..b43448346 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_TEdge.hxx @@ -0,0 +1,87 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PBRep_TEdge_HeaderFile +#define _PBRep_TEdge_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +class PBRep_CurveRepresentation; + + +class PBRep_TEdge : public PTopoDS_TEdge +{ + +public: + + + //! Creates an empty TEdge. + Standard_EXPORT PBRep_TEdge(); + + Standard_EXPORT Standard_Real Tolerance() const; + + Standard_EXPORT void Tolerance (const Standard_Real T) ; + + Standard_EXPORT Standard_Boolean SameParameter() const; + + Standard_EXPORT void SameParameter (const Standard_Boolean S) ; + + Standard_EXPORT Standard_Boolean SameRange() const; + + Standard_EXPORT void SameRange (const Standard_Boolean S) ; + + Standard_EXPORT Standard_Boolean Degenerated() const; + + Standard_EXPORT void Degenerated (const Standard_Boolean S) ; + + Standard_EXPORT Handle(PBRep_CurveRepresentation) Curves() const; + + Standard_EXPORT void Curves (const Handle(PBRep_CurveRepresentation)& C) ; + +PBRep_TEdge(const Storage_stCONSTclCOM& a) : PTopoDS_TEdge(a) +{ + +} + Standard_Real _CSFDB_GetPBRep_TEdgemyTolerance() const { return myTolerance; } + void _CSFDB_SetPBRep_TEdgemyTolerance(const Standard_Real p) { myTolerance = p; } + Standard_Integer _CSFDB_GetPBRep_TEdgemyFlags() const { return myFlags; } + void _CSFDB_SetPBRep_TEdgemyFlags(const Standard_Integer p) { myFlags = p; } + Handle(PBRep_CurveRepresentation) _CSFDB_GetPBRep_TEdgemyCurves() const { return myCurves; } + void _CSFDB_SetPBRep_TEdgemyCurves(const Handle(PBRep_CurveRepresentation)& p) { myCurves = p; } + + + + DEFINE_STANDARD_RTTI(PBRep_TEdge) + +protected: + + + + +private: + + + Standard_Real myTolerance; + Standard_Integer myFlags; + Handle(PBRep_CurveRepresentation) myCurves; + + +}; + + + + + + + +#endif // _PBRep_TEdge_HeaderFile diff --git a/src/FromOCCT/TKPShape/PBRep_TEdge.ixx b/src/FromOCCT/TKPShape/PBRep_TEdge.ixx new file mode 100644 index 000000000..595fd5233 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_TEdge.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PBRep_TEdge,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PBRep_TEdge) + + + diff --git a/src/FromOCCT/TKPShape/PBRep_TEdge.jxx b/src/FromOCCT/TKPShape/PBRep_TEdge.jxx new file mode 100644 index 000000000..b037b6291 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_TEdge.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPShape/PBRep_TEdge1.cxx b/src/FromOCCT/TKPShape/PBRep_TEdge1.cxx new file mode 100644 index 000000000..4fefd2183 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_TEdge1.cxx @@ -0,0 +1,148 @@ +// 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 + +// 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/FromOCCT/TKPShape/PBRep_TEdge1.hxx b/src/FromOCCT/TKPShape/PBRep_TEdge1.hxx new file mode 100644 index 000000000..af4527ad7 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_TEdge1.hxx @@ -0,0 +1,87 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PBRep_TEdge1_HeaderFile +#define _PBRep_TEdge1_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +class PBRep_CurveRepresentation; + + +class PBRep_TEdge1 : public PTopoDS_TEdge1 +{ + +public: + + + //! Creates an empty TEdge1. + Standard_EXPORT PBRep_TEdge1(); + + Standard_EXPORT Standard_Real Tolerance() const; + + Standard_EXPORT void Tolerance (const Standard_Real T) ; + + Standard_EXPORT Standard_Boolean SameParameter() const; + + Standard_EXPORT void SameParameter (const Standard_Boolean S) ; + + Standard_EXPORT Standard_Boolean SameRange() const; + + Standard_EXPORT void SameRange (const Standard_Boolean S) ; + + Standard_EXPORT Standard_Boolean Degenerated() const; + + Standard_EXPORT void Degenerated (const Standard_Boolean S) ; + + Standard_EXPORT Handle(PBRep_CurveRepresentation) Curves() const; + + Standard_EXPORT void Curves (const Handle(PBRep_CurveRepresentation)& C) ; + +PBRep_TEdge1(const Storage_stCONSTclCOM& a) : PTopoDS_TEdge1(a) +{ + +} + Standard_Real _CSFDB_GetPBRep_TEdge1myTolerance() const { return myTolerance; } + void _CSFDB_SetPBRep_TEdge1myTolerance(const Standard_Real p) { myTolerance = p; } + Standard_Integer _CSFDB_GetPBRep_TEdge1myFlags() const { return myFlags; } + void _CSFDB_SetPBRep_TEdge1myFlags(const Standard_Integer p) { myFlags = p; } + Handle(PBRep_CurveRepresentation) _CSFDB_GetPBRep_TEdge1myCurves() const { return myCurves; } + void _CSFDB_SetPBRep_TEdge1myCurves(const Handle(PBRep_CurveRepresentation)& p) { myCurves = p; } + + + + DEFINE_STANDARD_RTTI(PBRep_TEdge1) + +protected: + + + + +private: + + + Standard_Real myTolerance; + Standard_Integer myFlags; + Handle(PBRep_CurveRepresentation) myCurves; + + +}; + + + + + + + +#endif // _PBRep_TEdge1_HeaderFile diff --git a/src/FromOCCT/TKPShape/PBRep_TEdge1.ixx b/src/FromOCCT/TKPShape/PBRep_TEdge1.ixx new file mode 100644 index 000000000..2b917611c --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_TEdge1.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PBRep_TEdge1,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PBRep_TEdge1) + + + diff --git a/src/FromOCCT/TKPShape/PBRep_TEdge1.jxx b/src/FromOCCT/TKPShape/PBRep_TEdge1.jxx new file mode 100644 index 000000000..d7e406a2d --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_TEdge1.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPShape/PBRep_TFace.cxx b/src/FromOCCT/TKPShape/PBRep_TFace.cxx new file mode 100644 index 000000000..10ab6eed3 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_TFace.cxx @@ -0,0 +1,137 @@ +// 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 + + +//======================================================================= +//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/FromOCCT/TKPShape/PBRep_TFace.hxx b/src/FromOCCT/TKPShape/PBRep_TFace.hxx new file mode 100644 index 000000000..e48020eda --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_TFace.hxx @@ -0,0 +1,95 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PBRep_TFace_HeaderFile +#define _PBRep_TFace_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class PGeom_Surface; +class PPoly_Triangulation; +class PTopLoc_Location; + + +class PBRep_TFace : public PTopoDS_TFace +{ + +public: + + + //! Creates an empty TFace. + Standard_EXPORT PBRep_TFace(); + + Standard_EXPORT Handle(PGeom_Surface) Surface() const; + + Standard_EXPORT Handle(PPoly_Triangulation) Triangulation() const; + + Standard_EXPORT PTopLoc_Location Location() const; + + Standard_EXPORT Standard_Real Tolerance() const; + + Standard_EXPORT void Surface (const Handle(PGeom_Surface)& S) ; + + Standard_EXPORT void Triangulation (const Handle(PPoly_Triangulation)& T) ; + + Standard_EXPORT void Location (const PTopLoc_Location& L) ; + + Standard_EXPORT void Tolerance (const Standard_Real T) ; + + Standard_EXPORT Standard_Boolean NaturalRestriction() const; + + Standard_EXPORT void NaturalRestriction (const Standard_Boolean N) ; + +PBRep_TFace(const Storage_stCONSTclCOM& a) : PTopoDS_TFace(a) +{ + +} + Handle(PGeom_Surface) _CSFDB_GetPBRep_TFacemySurface() const { return mySurface; } + void _CSFDB_SetPBRep_TFacemySurface(const Handle(PGeom_Surface)& p) { mySurface = p; } + Handle(PPoly_Triangulation) _CSFDB_GetPBRep_TFacemyTriangulation() const { return myTriangulation; } + void _CSFDB_SetPBRep_TFacemyTriangulation(const Handle(PPoly_Triangulation)& p) { myTriangulation = p; } + const PTopLoc_Location& _CSFDB_GetPBRep_TFacemyLocation() const { return myLocation; } + Standard_Real _CSFDB_GetPBRep_TFacemyTolerance() const { return myTolerance; } + void _CSFDB_SetPBRep_TFacemyTolerance(const Standard_Real p) { myTolerance = p; } + Standard_Boolean _CSFDB_GetPBRep_TFacemyNaturalRestriction() const { return myNaturalRestriction; } + void _CSFDB_SetPBRep_TFacemyNaturalRestriction(const Standard_Boolean p) { myNaturalRestriction = p; } + + + + DEFINE_STANDARD_RTTI(PBRep_TFace) + +protected: + + + + +private: + + + Handle(PGeom_Surface) mySurface; + Handle(PPoly_Triangulation) myTriangulation; + PTopLoc_Location myLocation; + Standard_Real myTolerance; + Standard_Boolean myNaturalRestriction; + + +}; + + + + + + + +#endif // _PBRep_TFace_HeaderFile diff --git a/src/FromOCCT/TKPShape/PBRep_TFace.ixx b/src/FromOCCT/TKPShape/PBRep_TFace.ixx new file mode 100644 index 000000000..25b2ec754 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_TFace.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PBRep_TFace,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PBRep_TFace) + + + diff --git a/src/FromOCCT/TKPShape/PBRep_TFace.jxx b/src/FromOCCT/TKPShape/PBRep_TFace.jxx new file mode 100644 index 000000000..d85de405d --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_TFace.jxx @@ -0,0 +1,4 @@ +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPShape/PBRep_TFace1.cxx b/src/FromOCCT/TKPShape/PBRep_TFace1.cxx new file mode 100644 index 000000000..11d2934a2 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_TFace1.cxx @@ -0,0 +1,137 @@ +// 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 + + +//======================================================================= +//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/FromOCCT/TKPShape/PBRep_TFace1.hxx b/src/FromOCCT/TKPShape/PBRep_TFace1.hxx new file mode 100644 index 000000000..379788425 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_TFace1.hxx @@ -0,0 +1,95 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PBRep_TFace1_HeaderFile +#define _PBRep_TFace1_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class PGeom_Surface; +class PPoly_Triangulation; +class PTopLoc_Location; + + +class PBRep_TFace1 : public PTopoDS_TFace1 +{ + +public: + + + //! Creates an empty TFace1. + Standard_EXPORT PBRep_TFace1(); + + Standard_EXPORT Handle(PGeom_Surface) Surface() const; + + Standard_EXPORT Handle(PPoly_Triangulation) Triangulation() const; + + Standard_EXPORT PTopLoc_Location Location() const; + + Standard_EXPORT Standard_Real Tolerance() const; + + Standard_EXPORT void Surface (const Handle(PGeom_Surface)& S) ; + + Standard_EXPORT void Triangulation (const Handle(PPoly_Triangulation)& T) ; + + Standard_EXPORT void Location (const PTopLoc_Location& L) ; + + Standard_EXPORT void Tolerance (const Standard_Real T) ; + + Standard_EXPORT Standard_Boolean NaturalRestriction() const; + + Standard_EXPORT void NaturalRestriction (const Standard_Boolean N) ; + +PBRep_TFace1(const Storage_stCONSTclCOM& a) : PTopoDS_TFace1(a) +{ + +} + Handle(PGeom_Surface) _CSFDB_GetPBRep_TFace1mySurface() const { return mySurface; } + void _CSFDB_SetPBRep_TFace1mySurface(const Handle(PGeom_Surface)& p) { mySurface = p; } + Handle(PPoly_Triangulation) _CSFDB_GetPBRep_TFace1myTriangulation() const { return myTriangulation; } + void _CSFDB_SetPBRep_TFace1myTriangulation(const Handle(PPoly_Triangulation)& p) { myTriangulation = p; } + const PTopLoc_Location& _CSFDB_GetPBRep_TFace1myLocation() const { return myLocation; } + Standard_Real _CSFDB_GetPBRep_TFace1myTolerance() const { return myTolerance; } + void _CSFDB_SetPBRep_TFace1myTolerance(const Standard_Real p) { myTolerance = p; } + Standard_Boolean _CSFDB_GetPBRep_TFace1myNaturalRestriction() const { return myNaturalRestriction; } + void _CSFDB_SetPBRep_TFace1myNaturalRestriction(const Standard_Boolean p) { myNaturalRestriction = p; } + + + + DEFINE_STANDARD_RTTI(PBRep_TFace1) + +protected: + + + + +private: + + + Handle(PGeom_Surface) mySurface; + Handle(PPoly_Triangulation) myTriangulation; + PTopLoc_Location myLocation; + Standard_Real myTolerance; + Standard_Boolean myNaturalRestriction; + + +}; + + + + + + + +#endif // _PBRep_TFace1_HeaderFile diff --git a/src/FromOCCT/TKPShape/PBRep_TFace1.ixx b/src/FromOCCT/TKPShape/PBRep_TFace1.ixx new file mode 100644 index 000000000..7646f86b3 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_TFace1.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PBRep_TFace1,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PBRep_TFace1) + + + diff --git a/src/FromOCCT/TKPShape/PBRep_TFace1.jxx b/src/FromOCCT/TKPShape/PBRep_TFace1.jxx new file mode 100644 index 000000000..06f9670ef --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_TFace1.jxx @@ -0,0 +1,4 @@ +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPShape/PBRep_TVertex.cxx b/src/FromOCCT/TKPShape/PBRep_TVertex.cxx new file mode 100644 index 000000000..44c6efa95 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_TVertex.cxx @@ -0,0 +1,94 @@ +// 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 + + +//======================================================================= +//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/FromOCCT/TKPShape/PBRep_TVertex.hxx b/src/FromOCCT/TKPShape/PBRep_TVertex.hxx new file mode 100644 index 000000000..d51c18e89 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_TVertex.hxx @@ -0,0 +1,77 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PBRep_TVertex_HeaderFile +#define _PBRep_TVertex_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +class PBRep_PointRepresentation; +class gp_Pnt; + + +class PBRep_TVertex : public PTopoDS_TVertex +{ + +public: + + + Standard_EXPORT PBRep_TVertex(); + + Standard_EXPORT Standard_Real Tolerance() const; + + Standard_EXPORT void Tolerance (const Standard_Real T) ; + + Standard_EXPORT gp_Pnt Pnt() const; + + Standard_EXPORT void Pnt (const gp_Pnt& P) ; + + Standard_EXPORT Handle(PBRep_PointRepresentation) Points() const; + + Standard_EXPORT void Points (const Handle(PBRep_PointRepresentation)& P) ; + +PBRep_TVertex(const Storage_stCONSTclCOM& a) : PTopoDS_TVertex(a) +{ + +} + Standard_Real _CSFDB_GetPBRep_TVertexmyTolerance() const { return myTolerance; } + void _CSFDB_SetPBRep_TVertexmyTolerance(const Standard_Real p) { myTolerance = p; } + const gp_Pnt& _CSFDB_GetPBRep_TVertexmyPnt() const { return myPnt; } + Handle(PBRep_PointRepresentation) _CSFDB_GetPBRep_TVertexmyPoints() const { return myPoints; } + void _CSFDB_SetPBRep_TVertexmyPoints(const Handle(PBRep_PointRepresentation)& p) { myPoints = p; } + + + + DEFINE_STANDARD_RTTI(PBRep_TVertex) + +protected: + + + + +private: + + + Standard_Real myTolerance; + gp_Pnt myPnt; + Handle(PBRep_PointRepresentation) myPoints; + + +}; + + + + + + + +#endif // _PBRep_TVertex_HeaderFile diff --git a/src/FromOCCT/TKPShape/PBRep_TVertex.ixx b/src/FromOCCT/TKPShape/PBRep_TVertex.ixx new file mode 100644 index 000000000..70bc29cb2 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_TVertex.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PBRep_TVertex,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PBRep_TVertex) + + + diff --git a/src/FromOCCT/TKPShape/PBRep_TVertex.jxx b/src/FromOCCT/TKPShape/PBRep_TVertex.jxx new file mode 100644 index 000000000..452df671b --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_TVertex.jxx @@ -0,0 +1,3 @@ +#include +#include +#include diff --git a/src/FromOCCT/TKPShape/PBRep_TVertex1.cxx b/src/FromOCCT/TKPShape/PBRep_TVertex1.cxx new file mode 100644 index 000000000..d5e0b8db2 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_TVertex1.cxx @@ -0,0 +1,94 @@ +// 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 + + +//======================================================================= +//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/FromOCCT/TKPShape/PBRep_TVertex1.hxx b/src/FromOCCT/TKPShape/PBRep_TVertex1.hxx new file mode 100644 index 000000000..cb60583ac --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_TVertex1.hxx @@ -0,0 +1,77 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PBRep_TVertex1_HeaderFile +#define _PBRep_TVertex1_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +class PBRep_PointRepresentation; +class gp_Pnt; + + +class PBRep_TVertex1 : public PTopoDS_TVertex1 +{ + +public: + + + Standard_EXPORT PBRep_TVertex1(); + + Standard_EXPORT Standard_Real Tolerance() const; + + Standard_EXPORT void Tolerance (const Standard_Real T) ; + + Standard_EXPORT gp_Pnt Pnt() const; + + Standard_EXPORT void Pnt (const gp_Pnt& P) ; + + Standard_EXPORT Handle(PBRep_PointRepresentation) Points() const; + + Standard_EXPORT void Points (const Handle(PBRep_PointRepresentation)& P) ; + +PBRep_TVertex1(const Storage_stCONSTclCOM& a) : PTopoDS_TVertex1(a) +{ + +} + Standard_Real _CSFDB_GetPBRep_TVertex1myTolerance() const { return myTolerance; } + void _CSFDB_SetPBRep_TVertex1myTolerance(const Standard_Real p) { myTolerance = p; } + const gp_Pnt& _CSFDB_GetPBRep_TVertex1myPnt() const { return myPnt; } + Handle(PBRep_PointRepresentation) _CSFDB_GetPBRep_TVertex1myPoints() const { return myPoints; } + void _CSFDB_SetPBRep_TVertex1myPoints(const Handle(PBRep_PointRepresentation)& p) { myPoints = p; } + + + + DEFINE_STANDARD_RTTI(PBRep_TVertex1) + +protected: + + + + +private: + + + Standard_Real myTolerance; + gp_Pnt myPnt; + Handle(PBRep_PointRepresentation) myPoints; + + +}; + + + + + + + +#endif // _PBRep_TVertex1_HeaderFile diff --git a/src/FromOCCT/TKPShape/PBRep_TVertex1.ixx b/src/FromOCCT/TKPShape/PBRep_TVertex1.ixx new file mode 100644 index 000000000..691224a43 --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_TVertex1.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PBRep_TVertex1,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PBRep_TVertex1) + + + diff --git a/src/FromOCCT/TKPShape/PBRep_TVertex1.jxx b/src/FromOCCT/TKPShape/PBRep_TVertex1.jxx new file mode 100644 index 000000000..155edad2e --- /dev/null +++ b/src/FromOCCT/TKPShape/PBRep_TVertex1.jxx @@ -0,0 +1,3 @@ +#include +#include +#include diff --git a/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfCirc2d.hxx b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfCirc2d.hxx new file mode 100644 index 000000000..e44f0455f --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfCirc2d.hxx @@ -0,0 +1,90 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_FieldOfHArray1OfCirc2d_HeaderFile +#define _PColgp_FieldOfHArray1OfCirc2d_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class Standard_NegativeValue; +class Standard_OutOfRange; +class Standard_DimensionMismatch; +class Standard_NullObject; +class gp_Circ2d; +class PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d; +class PColgp_VArrayTNodeOfFieldOfHArray1OfCirc2d; + + + +Standard_EXPORT const Handle(Standard_Type)& STANDARD_TYPE(PColgp_FieldOfHArray1OfCirc2d); + + +class PColgp_FieldOfHArray1OfCirc2d : public DBC_BaseArray +{ + +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT PColgp_FieldOfHArray1OfCirc2d(); + + Standard_EXPORT PColgp_FieldOfHArray1OfCirc2d(const Standard_Integer Size); + + Standard_EXPORT PColgp_FieldOfHArray1OfCirc2d(const PColgp_FieldOfHArray1OfCirc2d& Varray); + + Standard_EXPORT void Resize (const Standard_Integer Size) ; + + Standard_EXPORT void Assign (const PColgp_FieldOfHArray1OfCirc2d& Other) ; + void operator = (const PColgp_FieldOfHArray1OfCirc2d& Other) +{ + Assign(Other); +} + + Standard_EXPORT void SetValue (const Standard_Integer Index, const gp_Circ2d& Value) ; + + Standard_EXPORT gp_Circ2d& Value (const Standard_Integer Index) const; + gp_Circ2d& operator () (const Standard_Integer Index) const +{ + return Value(Index); +} + + Standard_EXPORT void Destroy() ; +~PColgp_FieldOfHArray1OfCirc2d() +{ + Destroy(); +} + + + +protected: + + + + +private: + +#ifdef CSFDB +// DBC_VArray : field +// +#endif + + + +}; + + + + + + + +#endif // _PColgp_FieldOfHArray1OfCirc2d_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfCirc2d_0.cxx b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfCirc2d_0.cxx new file mode 100644 index 000000000..d4a04bf64 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfCirc2d_0.cxx @@ -0,0 +1,27 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include +#include + +#define Item gp_Circ2d +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray1OfCirc2d +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d_Type_() +#define DBC_VArray PColgp_FieldOfHArray1OfCirc2d +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfDir.hxx b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfDir.hxx new file mode 100644 index 000000000..1232e9fbe --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfDir.hxx @@ -0,0 +1,90 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_FieldOfHArray1OfDir_HeaderFile +#define _PColgp_FieldOfHArray1OfDir_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class Standard_NegativeValue; +class Standard_OutOfRange; +class Standard_DimensionMismatch; +class Standard_NullObject; +class gp_Dir; +class PColgp_VArrayNodeOfFieldOfHArray1OfDir; +class PColgp_VArrayTNodeOfFieldOfHArray1OfDir; + + + +Standard_EXPORT const Handle(Standard_Type)& STANDARD_TYPE(PColgp_FieldOfHArray1OfDir); + + +class PColgp_FieldOfHArray1OfDir : public DBC_BaseArray +{ + +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT PColgp_FieldOfHArray1OfDir(); + + Standard_EXPORT PColgp_FieldOfHArray1OfDir(const Standard_Integer Size); + + Standard_EXPORT PColgp_FieldOfHArray1OfDir(const PColgp_FieldOfHArray1OfDir& Varray); + + Standard_EXPORT void Resize (const Standard_Integer Size) ; + + Standard_EXPORT void Assign (const PColgp_FieldOfHArray1OfDir& Other) ; + void operator = (const PColgp_FieldOfHArray1OfDir& Other) +{ + Assign(Other); +} + + Standard_EXPORT void SetValue (const Standard_Integer Index, const gp_Dir& Value) ; + + Standard_EXPORT gp_Dir& Value (const Standard_Integer Index) const; + gp_Dir& operator () (const Standard_Integer Index) const +{ + return Value(Index); +} + + Standard_EXPORT void Destroy() ; +~PColgp_FieldOfHArray1OfDir() +{ + Destroy(); +} + + + +protected: + + + + +private: + +#ifdef CSFDB +// DBC_VArray : field +// +#endif + + + +}; + + + + + + + +#endif // _PColgp_FieldOfHArray1OfDir_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfDir2d.hxx b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfDir2d.hxx new file mode 100644 index 000000000..0585e9109 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfDir2d.hxx @@ -0,0 +1,90 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_FieldOfHArray1OfDir2d_HeaderFile +#define _PColgp_FieldOfHArray1OfDir2d_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class Standard_NegativeValue; +class Standard_OutOfRange; +class Standard_DimensionMismatch; +class Standard_NullObject; +class gp_Dir2d; +class PColgp_VArrayNodeOfFieldOfHArray1OfDir2d; +class PColgp_VArrayTNodeOfFieldOfHArray1OfDir2d; + + + +Standard_EXPORT const Handle(Standard_Type)& STANDARD_TYPE(PColgp_FieldOfHArray1OfDir2d); + + +class PColgp_FieldOfHArray1OfDir2d : public DBC_BaseArray +{ + +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT PColgp_FieldOfHArray1OfDir2d(); + + Standard_EXPORT PColgp_FieldOfHArray1OfDir2d(const Standard_Integer Size); + + Standard_EXPORT PColgp_FieldOfHArray1OfDir2d(const PColgp_FieldOfHArray1OfDir2d& Varray); + + Standard_EXPORT void Resize (const Standard_Integer Size) ; + + Standard_EXPORT void Assign (const PColgp_FieldOfHArray1OfDir2d& Other) ; + void operator = (const PColgp_FieldOfHArray1OfDir2d& Other) +{ + Assign(Other); +} + + Standard_EXPORT void SetValue (const Standard_Integer Index, const gp_Dir2d& Value) ; + + Standard_EXPORT gp_Dir2d& Value (const Standard_Integer Index) const; + gp_Dir2d& operator () (const Standard_Integer Index) const +{ + return Value(Index); +} + + Standard_EXPORT void Destroy() ; +~PColgp_FieldOfHArray1OfDir2d() +{ + Destroy(); +} + + + +protected: + + + + +private: + +#ifdef CSFDB +// DBC_VArray : field +// +#endif + + + +}; + + + + + + + +#endif // _PColgp_FieldOfHArray1OfDir2d_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfDir2d_0.cxx b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfDir2d_0.cxx new file mode 100644 index 000000000..3d78e4add --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfDir2d_0.cxx @@ -0,0 +1,27 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include +#include + +#define Item gp_Dir2d +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray1OfDir2d +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray1OfDir2d +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray1OfDir2d +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfDir2d_Type_() +#define DBC_VArray PColgp_FieldOfHArray1OfDir2d +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfDir_0.cxx b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfDir_0.cxx new file mode 100644 index 000000000..6deda5af6 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfDir_0.cxx @@ -0,0 +1,27 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include +#include + +#define Item gp_Dir +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray1OfDir +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray1OfDir +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray1OfDir +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfDir_Type_() +#define DBC_VArray PColgp_FieldOfHArray1OfDir +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfLin2d.hxx b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfLin2d.hxx new file mode 100644 index 000000000..dc56a30fa --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfLin2d.hxx @@ -0,0 +1,90 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_FieldOfHArray1OfLin2d_HeaderFile +#define _PColgp_FieldOfHArray1OfLin2d_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class Standard_NegativeValue; +class Standard_OutOfRange; +class Standard_DimensionMismatch; +class Standard_NullObject; +class gp_Lin2d; +class PColgp_VArrayNodeOfFieldOfHArray1OfLin2d; +class PColgp_VArrayTNodeOfFieldOfHArray1OfLin2d; + + + +Standard_EXPORT const Handle(Standard_Type)& STANDARD_TYPE(PColgp_FieldOfHArray1OfLin2d); + + +class PColgp_FieldOfHArray1OfLin2d : public DBC_BaseArray +{ + +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT PColgp_FieldOfHArray1OfLin2d(); + + Standard_EXPORT PColgp_FieldOfHArray1OfLin2d(const Standard_Integer Size); + + Standard_EXPORT PColgp_FieldOfHArray1OfLin2d(const PColgp_FieldOfHArray1OfLin2d& Varray); + + Standard_EXPORT void Resize (const Standard_Integer Size) ; + + Standard_EXPORT void Assign (const PColgp_FieldOfHArray1OfLin2d& Other) ; + void operator = (const PColgp_FieldOfHArray1OfLin2d& Other) +{ + Assign(Other); +} + + Standard_EXPORT void SetValue (const Standard_Integer Index, const gp_Lin2d& Value) ; + + Standard_EXPORT gp_Lin2d& Value (const Standard_Integer Index) const; + gp_Lin2d& operator () (const Standard_Integer Index) const +{ + return Value(Index); +} + + Standard_EXPORT void Destroy() ; +~PColgp_FieldOfHArray1OfLin2d() +{ + Destroy(); +} + + + +protected: + + + + +private: + +#ifdef CSFDB +// DBC_VArray : field +// +#endif + + + +}; + + + + + + + +#endif // _PColgp_FieldOfHArray1OfLin2d_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfLin2d_0.cxx b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfLin2d_0.cxx new file mode 100644 index 000000000..3ba34b7db --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfLin2d_0.cxx @@ -0,0 +1,27 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include +#include + +#define Item gp_Lin2d +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray1OfLin2d +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray1OfLin2d +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray1OfLin2d +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfLin2d_Type_() +#define DBC_VArray PColgp_FieldOfHArray1OfLin2d +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfPnt.hxx b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfPnt.hxx new file mode 100644 index 000000000..35f52ed00 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfPnt.hxx @@ -0,0 +1,90 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_FieldOfHArray1OfPnt_HeaderFile +#define _PColgp_FieldOfHArray1OfPnt_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class Standard_NegativeValue; +class Standard_OutOfRange; +class Standard_DimensionMismatch; +class Standard_NullObject; +class gp_Pnt; +class PColgp_VArrayNodeOfFieldOfHArray1OfPnt; +class PColgp_VArrayTNodeOfFieldOfHArray1OfPnt; + + + +Standard_EXPORT const Handle(Standard_Type)& STANDARD_TYPE(PColgp_FieldOfHArray1OfPnt); + + +class PColgp_FieldOfHArray1OfPnt : public DBC_BaseArray +{ + +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT PColgp_FieldOfHArray1OfPnt(); + + Standard_EXPORT PColgp_FieldOfHArray1OfPnt(const Standard_Integer Size); + + Standard_EXPORT PColgp_FieldOfHArray1OfPnt(const PColgp_FieldOfHArray1OfPnt& Varray); + + Standard_EXPORT void Resize (const Standard_Integer Size) ; + + Standard_EXPORT void Assign (const PColgp_FieldOfHArray1OfPnt& Other) ; + void operator = (const PColgp_FieldOfHArray1OfPnt& Other) +{ + Assign(Other); +} + + Standard_EXPORT void SetValue (const Standard_Integer Index, const gp_Pnt& Value) ; + + Standard_EXPORT gp_Pnt& Value (const Standard_Integer Index) const; + gp_Pnt& operator () (const Standard_Integer Index) const +{ + return Value(Index); +} + + Standard_EXPORT void Destroy() ; +~PColgp_FieldOfHArray1OfPnt() +{ + Destroy(); +} + + + +protected: + + + + +private: + +#ifdef CSFDB +// DBC_VArray : field +// +#endif + + + +}; + + + + + + + +#endif // _PColgp_FieldOfHArray1OfPnt_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfPnt2d.hxx b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfPnt2d.hxx new file mode 100644 index 000000000..7d5b0909e --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfPnt2d.hxx @@ -0,0 +1,90 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_FieldOfHArray1OfPnt2d_HeaderFile +#define _PColgp_FieldOfHArray1OfPnt2d_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class Standard_NegativeValue; +class Standard_OutOfRange; +class Standard_DimensionMismatch; +class Standard_NullObject; +class gp_Pnt2d; +class PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d; +class PColgp_VArrayTNodeOfFieldOfHArray1OfPnt2d; + + + +Standard_EXPORT const Handle(Standard_Type)& STANDARD_TYPE(PColgp_FieldOfHArray1OfPnt2d); + + +class PColgp_FieldOfHArray1OfPnt2d : public DBC_BaseArray +{ + +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT PColgp_FieldOfHArray1OfPnt2d(); + + Standard_EXPORT PColgp_FieldOfHArray1OfPnt2d(const Standard_Integer Size); + + Standard_EXPORT PColgp_FieldOfHArray1OfPnt2d(const PColgp_FieldOfHArray1OfPnt2d& Varray); + + Standard_EXPORT void Resize (const Standard_Integer Size) ; + + Standard_EXPORT void Assign (const PColgp_FieldOfHArray1OfPnt2d& Other) ; + void operator = (const PColgp_FieldOfHArray1OfPnt2d& Other) +{ + Assign(Other); +} + + Standard_EXPORT void SetValue (const Standard_Integer Index, const gp_Pnt2d& Value) ; + + Standard_EXPORT gp_Pnt2d& Value (const Standard_Integer Index) const; + gp_Pnt2d& operator () (const Standard_Integer Index) const +{ + return Value(Index); +} + + Standard_EXPORT void Destroy() ; +~PColgp_FieldOfHArray1OfPnt2d() +{ + Destroy(); +} + + + +protected: + + + + +private: + +#ifdef CSFDB +// DBC_VArray : field +// +#endif + + + +}; + + + + + + + +#endif // _PColgp_FieldOfHArray1OfPnt2d_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfPnt2d_0.cxx b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfPnt2d_0.cxx new file mode 100644 index 000000000..9ace14b07 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfPnt2d_0.cxx @@ -0,0 +1,27 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include +#include + +#define Item gp_Pnt2d +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray1OfPnt2d +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d_Type_() +#define DBC_VArray PColgp_FieldOfHArray1OfPnt2d +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfPnt_0.cxx b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfPnt_0.cxx new file mode 100644 index 000000000..afb8d429a --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfPnt_0.cxx @@ -0,0 +1,27 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include +#include + +#define Item gp_Pnt +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray1OfPnt +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray1OfPnt +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray1OfPnt +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfPnt_Type_() +#define DBC_VArray PColgp_FieldOfHArray1OfPnt +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfVec.hxx b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfVec.hxx new file mode 100644 index 000000000..9494678fb --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfVec.hxx @@ -0,0 +1,90 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_FieldOfHArray1OfVec_HeaderFile +#define _PColgp_FieldOfHArray1OfVec_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class Standard_NegativeValue; +class Standard_OutOfRange; +class Standard_DimensionMismatch; +class Standard_NullObject; +class gp_Vec; +class PColgp_VArrayNodeOfFieldOfHArray1OfVec; +class PColgp_VArrayTNodeOfFieldOfHArray1OfVec; + + + +Standard_EXPORT const Handle(Standard_Type)& STANDARD_TYPE(PColgp_FieldOfHArray1OfVec); + + +class PColgp_FieldOfHArray1OfVec : public DBC_BaseArray +{ + +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT PColgp_FieldOfHArray1OfVec(); + + Standard_EXPORT PColgp_FieldOfHArray1OfVec(const Standard_Integer Size); + + Standard_EXPORT PColgp_FieldOfHArray1OfVec(const PColgp_FieldOfHArray1OfVec& Varray); + + Standard_EXPORT void Resize (const Standard_Integer Size) ; + + Standard_EXPORT void Assign (const PColgp_FieldOfHArray1OfVec& Other) ; + void operator = (const PColgp_FieldOfHArray1OfVec& Other) +{ + Assign(Other); +} + + Standard_EXPORT void SetValue (const Standard_Integer Index, const gp_Vec& Value) ; + + Standard_EXPORT gp_Vec& Value (const Standard_Integer Index) const; + gp_Vec& operator () (const Standard_Integer Index) const +{ + return Value(Index); +} + + Standard_EXPORT void Destroy() ; +~PColgp_FieldOfHArray1OfVec() +{ + Destroy(); +} + + + +protected: + + + + +private: + +#ifdef CSFDB +// DBC_VArray : field +// +#endif + + + +}; + + + + + + + +#endif // _PColgp_FieldOfHArray1OfVec_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfVec2d.hxx b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfVec2d.hxx new file mode 100644 index 000000000..b7ab01dbd --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfVec2d.hxx @@ -0,0 +1,90 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_FieldOfHArray1OfVec2d_HeaderFile +#define _PColgp_FieldOfHArray1OfVec2d_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class Standard_NegativeValue; +class Standard_OutOfRange; +class Standard_DimensionMismatch; +class Standard_NullObject; +class gp_Vec2d; +class PColgp_VArrayNodeOfFieldOfHArray1OfVec2d; +class PColgp_VArrayTNodeOfFieldOfHArray1OfVec2d; + + + +Standard_EXPORT const Handle(Standard_Type)& STANDARD_TYPE(PColgp_FieldOfHArray1OfVec2d); + + +class PColgp_FieldOfHArray1OfVec2d : public DBC_BaseArray +{ + +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT PColgp_FieldOfHArray1OfVec2d(); + + Standard_EXPORT PColgp_FieldOfHArray1OfVec2d(const Standard_Integer Size); + + Standard_EXPORT PColgp_FieldOfHArray1OfVec2d(const PColgp_FieldOfHArray1OfVec2d& Varray); + + Standard_EXPORT void Resize (const Standard_Integer Size) ; + + Standard_EXPORT void Assign (const PColgp_FieldOfHArray1OfVec2d& Other) ; + void operator = (const PColgp_FieldOfHArray1OfVec2d& Other) +{ + Assign(Other); +} + + Standard_EXPORT void SetValue (const Standard_Integer Index, const gp_Vec2d& Value) ; + + Standard_EXPORT gp_Vec2d& Value (const Standard_Integer Index) const; + gp_Vec2d& operator () (const Standard_Integer Index) const +{ + return Value(Index); +} + + Standard_EXPORT void Destroy() ; +~PColgp_FieldOfHArray1OfVec2d() +{ + Destroy(); +} + + + +protected: + + + + +private: + +#ifdef CSFDB +// DBC_VArray : field +// +#endif + + + +}; + + + + + + + +#endif // _PColgp_FieldOfHArray1OfVec2d_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfVec2d_0.cxx b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfVec2d_0.cxx new file mode 100644 index 000000000..8b93cc3df --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfVec2d_0.cxx @@ -0,0 +1,27 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include +#include + +#define Item gp_Vec2d +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray1OfVec2d +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray1OfVec2d +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray1OfVec2d +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfVec2d_Type_() +#define DBC_VArray PColgp_FieldOfHArray1OfVec2d +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfVec_0.cxx b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfVec_0.cxx new file mode 100644 index 000000000..5b43b6469 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfVec_0.cxx @@ -0,0 +1,27 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include +#include + +#define Item gp_Vec +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray1OfVec +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray1OfVec +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray1OfVec +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfVec_Type_() +#define DBC_VArray PColgp_FieldOfHArray1OfVec +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfXY.hxx b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfXY.hxx new file mode 100644 index 000000000..75abebba9 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfXY.hxx @@ -0,0 +1,90 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_FieldOfHArray1OfXY_HeaderFile +#define _PColgp_FieldOfHArray1OfXY_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class Standard_NegativeValue; +class Standard_OutOfRange; +class Standard_DimensionMismatch; +class Standard_NullObject; +class gp_XY; +class PColgp_VArrayNodeOfFieldOfHArray1OfXY; +class PColgp_VArrayTNodeOfFieldOfHArray1OfXY; + + + +Standard_EXPORT const Handle(Standard_Type)& STANDARD_TYPE(PColgp_FieldOfHArray1OfXY); + + +class PColgp_FieldOfHArray1OfXY : public DBC_BaseArray +{ + +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT PColgp_FieldOfHArray1OfXY(); + + Standard_EXPORT PColgp_FieldOfHArray1OfXY(const Standard_Integer Size); + + Standard_EXPORT PColgp_FieldOfHArray1OfXY(const PColgp_FieldOfHArray1OfXY& Varray); + + Standard_EXPORT void Resize (const Standard_Integer Size) ; + + Standard_EXPORT void Assign (const PColgp_FieldOfHArray1OfXY& Other) ; + void operator = (const PColgp_FieldOfHArray1OfXY& Other) +{ + Assign(Other); +} + + Standard_EXPORT void SetValue (const Standard_Integer Index, const gp_XY& Value) ; + + Standard_EXPORT gp_XY& Value (const Standard_Integer Index) const; + gp_XY& operator () (const Standard_Integer Index) const +{ + return Value(Index); +} + + Standard_EXPORT void Destroy() ; +~PColgp_FieldOfHArray1OfXY() +{ + Destroy(); +} + + + +protected: + + + + +private: + +#ifdef CSFDB +// DBC_VArray : field +// +#endif + + + +}; + + + + + + + +#endif // _PColgp_FieldOfHArray1OfXY_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfXYZ.hxx b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfXYZ.hxx new file mode 100644 index 000000000..996c9dea8 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfXYZ.hxx @@ -0,0 +1,90 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_FieldOfHArray1OfXYZ_HeaderFile +#define _PColgp_FieldOfHArray1OfXYZ_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class Standard_NegativeValue; +class Standard_OutOfRange; +class Standard_DimensionMismatch; +class Standard_NullObject; +class gp_XYZ; +class PColgp_VArrayNodeOfFieldOfHArray1OfXYZ; +class PColgp_VArrayTNodeOfFieldOfHArray1OfXYZ; + + + +Standard_EXPORT const Handle(Standard_Type)& STANDARD_TYPE(PColgp_FieldOfHArray1OfXYZ); + + +class PColgp_FieldOfHArray1OfXYZ : public DBC_BaseArray +{ + +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT PColgp_FieldOfHArray1OfXYZ(); + + Standard_EXPORT PColgp_FieldOfHArray1OfXYZ(const Standard_Integer Size); + + Standard_EXPORT PColgp_FieldOfHArray1OfXYZ(const PColgp_FieldOfHArray1OfXYZ& Varray); + + Standard_EXPORT void Resize (const Standard_Integer Size) ; + + Standard_EXPORT void Assign (const PColgp_FieldOfHArray1OfXYZ& Other) ; + void operator = (const PColgp_FieldOfHArray1OfXYZ& Other) +{ + Assign(Other); +} + + Standard_EXPORT void SetValue (const Standard_Integer Index, const gp_XYZ& Value) ; + + Standard_EXPORT gp_XYZ& Value (const Standard_Integer Index) const; + gp_XYZ& operator () (const Standard_Integer Index) const +{ + return Value(Index); +} + + Standard_EXPORT void Destroy() ; +~PColgp_FieldOfHArray1OfXYZ() +{ + Destroy(); +} + + + +protected: + + + + +private: + +#ifdef CSFDB +// DBC_VArray : field +// +#endif + + + +}; + + + + + + + +#endif // _PColgp_FieldOfHArray1OfXYZ_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfXYZ_0.cxx b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfXYZ_0.cxx new file mode 100644 index 000000000..8d9267ca8 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfXYZ_0.cxx @@ -0,0 +1,27 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include +#include + +#define Item gp_XYZ +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray1OfXYZ +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray1OfXYZ +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray1OfXYZ +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfXYZ_Type_() +#define DBC_VArray PColgp_FieldOfHArray1OfXYZ +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfXY_0.cxx b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfXY_0.cxx new file mode 100644 index 000000000..98a40101b --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray1OfXY_0.cxx @@ -0,0 +1,27 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include +#include + +#define Item gp_XY +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray1OfXY +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray1OfXY +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray1OfXY +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfXY_Type_() +#define DBC_VArray PColgp_FieldOfHArray1OfXY +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfCirc2d.hxx b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfCirc2d.hxx new file mode 100644 index 000000000..6eb01a59d --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfCirc2d.hxx @@ -0,0 +1,90 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_FieldOfHArray2OfCirc2d_HeaderFile +#define _PColgp_FieldOfHArray2OfCirc2d_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class Standard_NegativeValue; +class Standard_OutOfRange; +class Standard_DimensionMismatch; +class Standard_NullObject; +class gp_Circ2d; +class PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d; +class PColgp_VArrayTNodeOfFieldOfHArray2OfCirc2d; + + + +Standard_EXPORT const Handle(Standard_Type)& STANDARD_TYPE(PColgp_FieldOfHArray2OfCirc2d); + + +class PColgp_FieldOfHArray2OfCirc2d : public DBC_BaseArray +{ + +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT PColgp_FieldOfHArray2OfCirc2d(); + + Standard_EXPORT PColgp_FieldOfHArray2OfCirc2d(const Standard_Integer Size); + + Standard_EXPORT PColgp_FieldOfHArray2OfCirc2d(const PColgp_FieldOfHArray2OfCirc2d& Varray); + + Standard_EXPORT void Resize (const Standard_Integer Size) ; + + Standard_EXPORT void Assign (const PColgp_FieldOfHArray2OfCirc2d& Other) ; + void operator = (const PColgp_FieldOfHArray2OfCirc2d& Other) +{ + Assign(Other); +} + + Standard_EXPORT void SetValue (const Standard_Integer Index, const gp_Circ2d& Value) ; + + Standard_EXPORT gp_Circ2d& Value (const Standard_Integer Index) const; + gp_Circ2d& operator () (const Standard_Integer Index) const +{ + return Value(Index); +} + + Standard_EXPORT void Destroy() ; +~PColgp_FieldOfHArray2OfCirc2d() +{ + Destroy(); +} + + + +protected: + + + + +private: + +#ifdef CSFDB +// DBC_VArray : field +// +#endif + + + +}; + + + + + + + +#endif // _PColgp_FieldOfHArray2OfCirc2d_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfCirc2d_0.cxx b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfCirc2d_0.cxx new file mode 100644 index 000000000..9fd1c8afb --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfCirc2d_0.cxx @@ -0,0 +1,27 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include +#include + +#define Item gp_Circ2d +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray2OfCirc2d +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d_Type_() +#define DBC_VArray PColgp_FieldOfHArray2OfCirc2d +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfDir.hxx b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfDir.hxx new file mode 100644 index 000000000..d9e466a30 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfDir.hxx @@ -0,0 +1,90 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_FieldOfHArray2OfDir_HeaderFile +#define _PColgp_FieldOfHArray2OfDir_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class Standard_NegativeValue; +class Standard_OutOfRange; +class Standard_DimensionMismatch; +class Standard_NullObject; +class gp_Dir; +class PColgp_VArrayNodeOfFieldOfHArray2OfDir; +class PColgp_VArrayTNodeOfFieldOfHArray2OfDir; + + + +Standard_EXPORT const Handle(Standard_Type)& STANDARD_TYPE(PColgp_FieldOfHArray2OfDir); + + +class PColgp_FieldOfHArray2OfDir : public DBC_BaseArray +{ + +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT PColgp_FieldOfHArray2OfDir(); + + Standard_EXPORT PColgp_FieldOfHArray2OfDir(const Standard_Integer Size); + + Standard_EXPORT PColgp_FieldOfHArray2OfDir(const PColgp_FieldOfHArray2OfDir& Varray); + + Standard_EXPORT void Resize (const Standard_Integer Size) ; + + Standard_EXPORT void Assign (const PColgp_FieldOfHArray2OfDir& Other) ; + void operator = (const PColgp_FieldOfHArray2OfDir& Other) +{ + Assign(Other); +} + + Standard_EXPORT void SetValue (const Standard_Integer Index, const gp_Dir& Value) ; + + Standard_EXPORT gp_Dir& Value (const Standard_Integer Index) const; + gp_Dir& operator () (const Standard_Integer Index) const +{ + return Value(Index); +} + + Standard_EXPORT void Destroy() ; +~PColgp_FieldOfHArray2OfDir() +{ + Destroy(); +} + + + +protected: + + + + +private: + +#ifdef CSFDB +// DBC_VArray : field +// +#endif + + + +}; + + + + + + + +#endif // _PColgp_FieldOfHArray2OfDir_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfDir2d.hxx b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfDir2d.hxx new file mode 100644 index 000000000..2371ec510 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfDir2d.hxx @@ -0,0 +1,90 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_FieldOfHArray2OfDir2d_HeaderFile +#define _PColgp_FieldOfHArray2OfDir2d_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class Standard_NegativeValue; +class Standard_OutOfRange; +class Standard_DimensionMismatch; +class Standard_NullObject; +class gp_Dir2d; +class PColgp_VArrayNodeOfFieldOfHArray2OfDir2d; +class PColgp_VArrayTNodeOfFieldOfHArray2OfDir2d; + + + +Standard_EXPORT const Handle(Standard_Type)& STANDARD_TYPE(PColgp_FieldOfHArray2OfDir2d); + + +class PColgp_FieldOfHArray2OfDir2d : public DBC_BaseArray +{ + +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT PColgp_FieldOfHArray2OfDir2d(); + + Standard_EXPORT PColgp_FieldOfHArray2OfDir2d(const Standard_Integer Size); + + Standard_EXPORT PColgp_FieldOfHArray2OfDir2d(const PColgp_FieldOfHArray2OfDir2d& Varray); + + Standard_EXPORT void Resize (const Standard_Integer Size) ; + + Standard_EXPORT void Assign (const PColgp_FieldOfHArray2OfDir2d& Other) ; + void operator = (const PColgp_FieldOfHArray2OfDir2d& Other) +{ + Assign(Other); +} + + Standard_EXPORT void SetValue (const Standard_Integer Index, const gp_Dir2d& Value) ; + + Standard_EXPORT gp_Dir2d& Value (const Standard_Integer Index) const; + gp_Dir2d& operator () (const Standard_Integer Index) const +{ + return Value(Index); +} + + Standard_EXPORT void Destroy() ; +~PColgp_FieldOfHArray2OfDir2d() +{ + Destroy(); +} + + + +protected: + + + + +private: + +#ifdef CSFDB +// DBC_VArray : field +// +#endif + + + +}; + + + + + + + +#endif // _PColgp_FieldOfHArray2OfDir2d_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfDir2d_0.cxx b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfDir2d_0.cxx new file mode 100644 index 000000000..8e0628f7a --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfDir2d_0.cxx @@ -0,0 +1,27 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include +#include + +#define Item gp_Dir2d +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray2OfDir2d +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray2OfDir2d +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray2OfDir2d +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfDir2d_Type_() +#define DBC_VArray PColgp_FieldOfHArray2OfDir2d +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfDir_0.cxx b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfDir_0.cxx new file mode 100644 index 000000000..2f8712045 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfDir_0.cxx @@ -0,0 +1,27 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include +#include + +#define Item gp_Dir +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray2OfDir +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray2OfDir +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray2OfDir +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfDir_Type_() +#define DBC_VArray PColgp_FieldOfHArray2OfDir +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfLin2d.hxx b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfLin2d.hxx new file mode 100644 index 000000000..38986e24e --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfLin2d.hxx @@ -0,0 +1,90 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_FieldOfHArray2OfLin2d_HeaderFile +#define _PColgp_FieldOfHArray2OfLin2d_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class Standard_NegativeValue; +class Standard_OutOfRange; +class Standard_DimensionMismatch; +class Standard_NullObject; +class gp_Lin2d; +class PColgp_VArrayNodeOfFieldOfHArray2OfLin2d; +class PColgp_VArrayTNodeOfFieldOfHArray2OfLin2d; + + + +Standard_EXPORT const Handle(Standard_Type)& STANDARD_TYPE(PColgp_FieldOfHArray2OfLin2d); + + +class PColgp_FieldOfHArray2OfLin2d : public DBC_BaseArray +{ + +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT PColgp_FieldOfHArray2OfLin2d(); + + Standard_EXPORT PColgp_FieldOfHArray2OfLin2d(const Standard_Integer Size); + + Standard_EXPORT PColgp_FieldOfHArray2OfLin2d(const PColgp_FieldOfHArray2OfLin2d& Varray); + + Standard_EXPORT void Resize (const Standard_Integer Size) ; + + Standard_EXPORT void Assign (const PColgp_FieldOfHArray2OfLin2d& Other) ; + void operator = (const PColgp_FieldOfHArray2OfLin2d& Other) +{ + Assign(Other); +} + + Standard_EXPORT void SetValue (const Standard_Integer Index, const gp_Lin2d& Value) ; + + Standard_EXPORT gp_Lin2d& Value (const Standard_Integer Index) const; + gp_Lin2d& operator () (const Standard_Integer Index) const +{ + return Value(Index); +} + + Standard_EXPORT void Destroy() ; +~PColgp_FieldOfHArray2OfLin2d() +{ + Destroy(); +} + + + +protected: + + + + +private: + +#ifdef CSFDB +// DBC_VArray : field +// +#endif + + + +}; + + + + + + + +#endif // _PColgp_FieldOfHArray2OfLin2d_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfLin2d_0.cxx b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfLin2d_0.cxx new file mode 100644 index 000000000..5bf2aaa90 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfLin2d_0.cxx @@ -0,0 +1,27 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include +#include + +#define Item gp_Lin2d +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray2OfLin2d +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray2OfLin2d +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray2OfLin2d +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfLin2d_Type_() +#define DBC_VArray PColgp_FieldOfHArray2OfLin2d +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfPnt.hxx b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfPnt.hxx new file mode 100644 index 000000000..32d94f6f7 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfPnt.hxx @@ -0,0 +1,90 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_FieldOfHArray2OfPnt_HeaderFile +#define _PColgp_FieldOfHArray2OfPnt_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class Standard_NegativeValue; +class Standard_OutOfRange; +class Standard_DimensionMismatch; +class Standard_NullObject; +class gp_Pnt; +class PColgp_VArrayNodeOfFieldOfHArray2OfPnt; +class PColgp_VArrayTNodeOfFieldOfHArray2OfPnt; + + + +Standard_EXPORT const Handle(Standard_Type)& STANDARD_TYPE(PColgp_FieldOfHArray2OfPnt); + + +class PColgp_FieldOfHArray2OfPnt : public DBC_BaseArray +{ + +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT PColgp_FieldOfHArray2OfPnt(); + + Standard_EXPORT PColgp_FieldOfHArray2OfPnt(const Standard_Integer Size); + + Standard_EXPORT PColgp_FieldOfHArray2OfPnt(const PColgp_FieldOfHArray2OfPnt& Varray); + + Standard_EXPORT void Resize (const Standard_Integer Size) ; + + Standard_EXPORT void Assign (const PColgp_FieldOfHArray2OfPnt& Other) ; + void operator = (const PColgp_FieldOfHArray2OfPnt& Other) +{ + Assign(Other); +} + + Standard_EXPORT void SetValue (const Standard_Integer Index, const gp_Pnt& Value) ; + + Standard_EXPORT gp_Pnt& Value (const Standard_Integer Index) const; + gp_Pnt& operator () (const Standard_Integer Index) const +{ + return Value(Index); +} + + Standard_EXPORT void Destroy() ; +~PColgp_FieldOfHArray2OfPnt() +{ + Destroy(); +} + + + +protected: + + + + +private: + +#ifdef CSFDB +// DBC_VArray : field +// +#endif + + + +}; + + + + + + + +#endif // _PColgp_FieldOfHArray2OfPnt_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfPnt2d.hxx b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfPnt2d.hxx new file mode 100644 index 000000000..4d09ec880 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfPnt2d.hxx @@ -0,0 +1,90 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_FieldOfHArray2OfPnt2d_HeaderFile +#define _PColgp_FieldOfHArray2OfPnt2d_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class Standard_NegativeValue; +class Standard_OutOfRange; +class Standard_DimensionMismatch; +class Standard_NullObject; +class gp_Pnt2d; +class PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d; +class PColgp_VArrayTNodeOfFieldOfHArray2OfPnt2d; + + + +Standard_EXPORT const Handle(Standard_Type)& STANDARD_TYPE(PColgp_FieldOfHArray2OfPnt2d); + + +class PColgp_FieldOfHArray2OfPnt2d : public DBC_BaseArray +{ + +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT PColgp_FieldOfHArray2OfPnt2d(); + + Standard_EXPORT PColgp_FieldOfHArray2OfPnt2d(const Standard_Integer Size); + + Standard_EXPORT PColgp_FieldOfHArray2OfPnt2d(const PColgp_FieldOfHArray2OfPnt2d& Varray); + + Standard_EXPORT void Resize (const Standard_Integer Size) ; + + Standard_EXPORT void Assign (const PColgp_FieldOfHArray2OfPnt2d& Other) ; + void operator = (const PColgp_FieldOfHArray2OfPnt2d& Other) +{ + Assign(Other); +} + + Standard_EXPORT void SetValue (const Standard_Integer Index, const gp_Pnt2d& Value) ; + + Standard_EXPORT gp_Pnt2d& Value (const Standard_Integer Index) const; + gp_Pnt2d& operator () (const Standard_Integer Index) const +{ + return Value(Index); +} + + Standard_EXPORT void Destroy() ; +~PColgp_FieldOfHArray2OfPnt2d() +{ + Destroy(); +} + + + +protected: + + + + +private: + +#ifdef CSFDB +// DBC_VArray : field +// +#endif + + + +}; + + + + + + + +#endif // _PColgp_FieldOfHArray2OfPnt2d_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfPnt2d_0.cxx b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfPnt2d_0.cxx new file mode 100644 index 000000000..3c05053e1 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfPnt2d_0.cxx @@ -0,0 +1,27 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include +#include + +#define Item gp_Pnt2d +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray2OfPnt2d +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d_Type_() +#define DBC_VArray PColgp_FieldOfHArray2OfPnt2d +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfPnt_0.cxx b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfPnt_0.cxx new file mode 100644 index 000000000..91dbab1c3 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfPnt_0.cxx @@ -0,0 +1,27 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include +#include + +#define Item gp_Pnt +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray2OfPnt +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray2OfPnt +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray2OfPnt +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfPnt_Type_() +#define DBC_VArray PColgp_FieldOfHArray2OfPnt +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfVec.hxx b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfVec.hxx new file mode 100644 index 000000000..c63a9c266 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfVec.hxx @@ -0,0 +1,90 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_FieldOfHArray2OfVec_HeaderFile +#define _PColgp_FieldOfHArray2OfVec_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class Standard_NegativeValue; +class Standard_OutOfRange; +class Standard_DimensionMismatch; +class Standard_NullObject; +class gp_Vec; +class PColgp_VArrayNodeOfFieldOfHArray2OfVec; +class PColgp_VArrayTNodeOfFieldOfHArray2OfVec; + + + +Standard_EXPORT const Handle(Standard_Type)& STANDARD_TYPE(PColgp_FieldOfHArray2OfVec); + + +class PColgp_FieldOfHArray2OfVec : public DBC_BaseArray +{ + +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT PColgp_FieldOfHArray2OfVec(); + + Standard_EXPORT PColgp_FieldOfHArray2OfVec(const Standard_Integer Size); + + Standard_EXPORT PColgp_FieldOfHArray2OfVec(const PColgp_FieldOfHArray2OfVec& Varray); + + Standard_EXPORT void Resize (const Standard_Integer Size) ; + + Standard_EXPORT void Assign (const PColgp_FieldOfHArray2OfVec& Other) ; + void operator = (const PColgp_FieldOfHArray2OfVec& Other) +{ + Assign(Other); +} + + Standard_EXPORT void SetValue (const Standard_Integer Index, const gp_Vec& Value) ; + + Standard_EXPORT gp_Vec& Value (const Standard_Integer Index) const; + gp_Vec& operator () (const Standard_Integer Index) const +{ + return Value(Index); +} + + Standard_EXPORT void Destroy() ; +~PColgp_FieldOfHArray2OfVec() +{ + Destroy(); +} + + + +protected: + + + + +private: + +#ifdef CSFDB +// DBC_VArray : field +// +#endif + + + +}; + + + + + + + +#endif // _PColgp_FieldOfHArray2OfVec_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfVec2d.hxx b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfVec2d.hxx new file mode 100644 index 000000000..c2aaa3ea6 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfVec2d.hxx @@ -0,0 +1,90 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_FieldOfHArray2OfVec2d_HeaderFile +#define _PColgp_FieldOfHArray2OfVec2d_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class Standard_NegativeValue; +class Standard_OutOfRange; +class Standard_DimensionMismatch; +class Standard_NullObject; +class gp_Vec2d; +class PColgp_VArrayNodeOfFieldOfHArray2OfVec2d; +class PColgp_VArrayTNodeOfFieldOfHArray2OfVec2d; + + + +Standard_EXPORT const Handle(Standard_Type)& STANDARD_TYPE(PColgp_FieldOfHArray2OfVec2d); + + +class PColgp_FieldOfHArray2OfVec2d : public DBC_BaseArray +{ + +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT PColgp_FieldOfHArray2OfVec2d(); + + Standard_EXPORT PColgp_FieldOfHArray2OfVec2d(const Standard_Integer Size); + + Standard_EXPORT PColgp_FieldOfHArray2OfVec2d(const PColgp_FieldOfHArray2OfVec2d& Varray); + + Standard_EXPORT void Resize (const Standard_Integer Size) ; + + Standard_EXPORT void Assign (const PColgp_FieldOfHArray2OfVec2d& Other) ; + void operator = (const PColgp_FieldOfHArray2OfVec2d& Other) +{ + Assign(Other); +} + + Standard_EXPORT void SetValue (const Standard_Integer Index, const gp_Vec2d& Value) ; + + Standard_EXPORT gp_Vec2d& Value (const Standard_Integer Index) const; + gp_Vec2d& operator () (const Standard_Integer Index) const +{ + return Value(Index); +} + + Standard_EXPORT void Destroy() ; +~PColgp_FieldOfHArray2OfVec2d() +{ + Destroy(); +} + + + +protected: + + + + +private: + +#ifdef CSFDB +// DBC_VArray : field +// +#endif + + + +}; + + + + + + + +#endif // _PColgp_FieldOfHArray2OfVec2d_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfVec2d_0.cxx b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfVec2d_0.cxx new file mode 100644 index 000000000..a43c19f73 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfVec2d_0.cxx @@ -0,0 +1,27 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include +#include + +#define Item gp_Vec2d +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray2OfVec2d +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray2OfVec2d +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray2OfVec2d +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfVec2d_Type_() +#define DBC_VArray PColgp_FieldOfHArray2OfVec2d +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfVec_0.cxx b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfVec_0.cxx new file mode 100644 index 000000000..ef3f48e0e --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfVec_0.cxx @@ -0,0 +1,27 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include +#include + +#define Item gp_Vec +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray2OfVec +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray2OfVec +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray2OfVec +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfVec_Type_() +#define DBC_VArray PColgp_FieldOfHArray2OfVec +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfXY.hxx b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfXY.hxx new file mode 100644 index 000000000..882875220 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfXY.hxx @@ -0,0 +1,90 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_FieldOfHArray2OfXY_HeaderFile +#define _PColgp_FieldOfHArray2OfXY_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class Standard_NegativeValue; +class Standard_OutOfRange; +class Standard_DimensionMismatch; +class Standard_NullObject; +class gp_XY; +class PColgp_VArrayNodeOfFieldOfHArray2OfXY; +class PColgp_VArrayTNodeOfFieldOfHArray2OfXY; + + + +Standard_EXPORT const Handle(Standard_Type)& STANDARD_TYPE(PColgp_FieldOfHArray2OfXY); + + +class PColgp_FieldOfHArray2OfXY : public DBC_BaseArray +{ + +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT PColgp_FieldOfHArray2OfXY(); + + Standard_EXPORT PColgp_FieldOfHArray2OfXY(const Standard_Integer Size); + + Standard_EXPORT PColgp_FieldOfHArray2OfXY(const PColgp_FieldOfHArray2OfXY& Varray); + + Standard_EXPORT void Resize (const Standard_Integer Size) ; + + Standard_EXPORT void Assign (const PColgp_FieldOfHArray2OfXY& Other) ; + void operator = (const PColgp_FieldOfHArray2OfXY& Other) +{ + Assign(Other); +} + + Standard_EXPORT void SetValue (const Standard_Integer Index, const gp_XY& Value) ; + + Standard_EXPORT gp_XY& Value (const Standard_Integer Index) const; + gp_XY& operator () (const Standard_Integer Index) const +{ + return Value(Index); +} + + Standard_EXPORT void Destroy() ; +~PColgp_FieldOfHArray2OfXY() +{ + Destroy(); +} + + + +protected: + + + + +private: + +#ifdef CSFDB +// DBC_VArray : field +// +#endif + + + +}; + + + + + + + +#endif // _PColgp_FieldOfHArray2OfXY_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfXYZ.hxx b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfXYZ.hxx new file mode 100644 index 000000000..79c4aa473 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfXYZ.hxx @@ -0,0 +1,90 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_FieldOfHArray2OfXYZ_HeaderFile +#define _PColgp_FieldOfHArray2OfXYZ_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class Standard_NegativeValue; +class Standard_OutOfRange; +class Standard_DimensionMismatch; +class Standard_NullObject; +class gp_XYZ; +class PColgp_VArrayNodeOfFieldOfHArray2OfXYZ; +class PColgp_VArrayTNodeOfFieldOfHArray2OfXYZ; + + + +Standard_EXPORT const Handle(Standard_Type)& STANDARD_TYPE(PColgp_FieldOfHArray2OfXYZ); + + +class PColgp_FieldOfHArray2OfXYZ : public DBC_BaseArray +{ + +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT PColgp_FieldOfHArray2OfXYZ(); + + Standard_EXPORT PColgp_FieldOfHArray2OfXYZ(const Standard_Integer Size); + + Standard_EXPORT PColgp_FieldOfHArray2OfXYZ(const PColgp_FieldOfHArray2OfXYZ& Varray); + + Standard_EXPORT void Resize (const Standard_Integer Size) ; + + Standard_EXPORT void Assign (const PColgp_FieldOfHArray2OfXYZ& Other) ; + void operator = (const PColgp_FieldOfHArray2OfXYZ& Other) +{ + Assign(Other); +} + + Standard_EXPORT void SetValue (const Standard_Integer Index, const gp_XYZ& Value) ; + + Standard_EXPORT gp_XYZ& Value (const Standard_Integer Index) const; + gp_XYZ& operator () (const Standard_Integer Index) const +{ + return Value(Index); +} + + Standard_EXPORT void Destroy() ; +~PColgp_FieldOfHArray2OfXYZ() +{ + Destroy(); +} + + + +protected: + + + + +private: + +#ifdef CSFDB +// DBC_VArray : field +// +#endif + + + +}; + + + + + + + +#endif // _PColgp_FieldOfHArray2OfXYZ_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfXYZ_0.cxx b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfXYZ_0.cxx new file mode 100644 index 000000000..23f2fba7e --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfXYZ_0.cxx @@ -0,0 +1,27 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include +#include + +#define Item gp_XYZ +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray2OfXYZ +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray2OfXYZ +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray2OfXYZ +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfXYZ_Type_() +#define DBC_VArray PColgp_FieldOfHArray2OfXYZ +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfXY_0.cxx b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfXY_0.cxx new file mode 100644 index 000000000..a1d23b211 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_FieldOfHArray2OfXY_0.cxx @@ -0,0 +1,27 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include +#include + +#define Item gp_XY +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray2OfXY +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray2OfXY +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray2OfXY +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfXY_Type_() +#define DBC_VArray PColgp_FieldOfHArray2OfXY +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_HArray1OfCirc2d.hxx b/src/FromOCCT/TKPShape/PColgp_HArray1OfCirc2d.hxx new file mode 100644 index 000000000..88992891c --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_HArray1OfCirc2d.hxx @@ -0,0 +1,132 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_HArray1OfCirc2d_HeaderFile +#define _PColgp_HArray1OfCirc2d_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class Standard_OutOfRange; +class Standard_RangeError; +class gp_Circ2d; +class PColgp_FieldOfHArray1OfCirc2d; +class PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d; +class PColgp_VArrayTNodeOfFieldOfHArray1OfCirc2d; + + +class PColgp_HArray1OfCirc2d : public Standard_Persistent +{ + +public: + + + Standard_EXPORT PColgp_HArray1OfCirc2d(const Standard_Integer Low, const Standard_Integer Up); + + Standard_EXPORT PColgp_HArray1OfCirc2d(const Standard_Integer Low, const Standard_Integer Up, const gp_Circ2d& V); + + Standard_Integer Length() const; + + Standard_Integer Lower() const; + + Standard_EXPORT void SetValue (const Standard_Integer Index, const gp_Circ2d& Value) ; + + Standard_Integer Upper() const; + + Standard_EXPORT gp_Circ2d Value (const Standard_Integer Index) const; + +PColgp_HArray1OfCirc2d( ) +{ + +} +PColgp_HArray1OfCirc2d(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Standard_Integer _CSFDB_GetPColgp_HArray1OfCirc2dLowerBound() const { return LowerBound; } + void _CSFDB_SetPColgp_HArray1OfCirc2dLowerBound(const Standard_Integer p) { LowerBound = p; } + Standard_Integer _CSFDB_GetPColgp_HArray1OfCirc2dUpperBound() const { return UpperBound; } + void _CSFDB_SetPColgp_HArray1OfCirc2dUpperBound(const Standard_Integer p) { UpperBound = p; } + const PColgp_FieldOfHArray1OfCirc2d& _CSFDB_GetPColgp_HArray1OfCirc2dData() const { return Data; } + + + + DEFINE_STANDARD_RTTI(PColgp_HArray1OfCirc2d) + +protected: + + + + +private: + + + Standard_EXPORT PColgp_FieldOfHArray1OfCirc2d Field() const; + + Standard_EXPORT Standard_Address Datas() const; + + Standard_Integer LowerBound; + Standard_Integer UpperBound; + PColgp_FieldOfHArray1OfCirc2d Data; + + +}; + +#define Item gp_Circ2d +#define Item_hxx +#define PCollection_FieldOfHArray1 PColgp_FieldOfHArray1OfCirc2d +#define PCollection_FieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColgp_VArrayTNodeOfFieldOfHArray1OfCirc2d +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColgp_VArrayTNodeOfFieldOfHArray1OfCirc2d +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d_Type_() +#define PCollection_HArray1 PColgp_HArray1OfCirc2d +#define PCollection_HArray1_hxx +#define Handle_PCollection_HArray1 Handle_PColgp_HArray1OfCirc2d +#define PCollection_HArray1_Type_() PColgp_HArray1OfCirc2d_Type_() + +#include + +#undef Item +#undef Item_hxx +#undef PCollection_FieldOfHArray1 +#undef PCollection_FieldOfHArray1_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray1 +#undef PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray1 +#undef PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_Type_ +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_Type_ +#undef PCollection_HArray1 +#undef PCollection_HArray1_hxx +#undef Handle_PCollection_HArray1 +#undef PCollection_HArray1_Type_ + + + + +#endif // _PColgp_HArray1OfCirc2d_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_HArray1OfCirc2d_0.cxx b/src/FromOCCT/TKPShape/PColgp_HArray1OfCirc2d_0.cxx new file mode 100644 index 000000000..41725c04b --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_HArray1OfCirc2d_0.cxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColgp_HArray1OfCirc2d,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColgp_HArray1OfCirc2d) + + +#define Item gp_Circ2d +#define Item_hxx +#define PCollection_FieldOfHArray1 PColgp_FieldOfHArray1OfCirc2d +#define PCollection_FieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColgp_VArrayTNodeOfFieldOfHArray1OfCirc2d +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColgp_VArrayTNodeOfFieldOfHArray1OfCirc2d +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d_Type_() +#define PCollection_HArray1 PColgp_HArray1OfCirc2d +#define PCollection_HArray1_hxx +#define Handle_PCollection_HArray1 Handle_PColgp_HArray1OfCirc2d +#define PCollection_HArray1_Type_() PColgp_HArray1OfCirc2d_Type_() +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_HArray1OfDir.hxx b/src/FromOCCT/TKPShape/PColgp_HArray1OfDir.hxx new file mode 100644 index 000000000..448f47ff6 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_HArray1OfDir.hxx @@ -0,0 +1,132 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_HArray1OfDir_HeaderFile +#define _PColgp_HArray1OfDir_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class Standard_OutOfRange; +class Standard_RangeError; +class gp_Dir; +class PColgp_FieldOfHArray1OfDir; +class PColgp_VArrayNodeOfFieldOfHArray1OfDir; +class PColgp_VArrayTNodeOfFieldOfHArray1OfDir; + + +class PColgp_HArray1OfDir : public Standard_Persistent +{ + +public: + + + Standard_EXPORT PColgp_HArray1OfDir(const Standard_Integer Low, const Standard_Integer Up); + + Standard_EXPORT PColgp_HArray1OfDir(const Standard_Integer Low, const Standard_Integer Up, const gp_Dir& V); + + Standard_Integer Length() const; + + Standard_Integer Lower() const; + + Standard_EXPORT void SetValue (const Standard_Integer Index, const gp_Dir& Value) ; + + Standard_Integer Upper() const; + + Standard_EXPORT gp_Dir Value (const Standard_Integer Index) const; + +PColgp_HArray1OfDir( ) +{ + +} +PColgp_HArray1OfDir(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Standard_Integer _CSFDB_GetPColgp_HArray1OfDirLowerBound() const { return LowerBound; } + void _CSFDB_SetPColgp_HArray1OfDirLowerBound(const Standard_Integer p) { LowerBound = p; } + Standard_Integer _CSFDB_GetPColgp_HArray1OfDirUpperBound() const { return UpperBound; } + void _CSFDB_SetPColgp_HArray1OfDirUpperBound(const Standard_Integer p) { UpperBound = p; } + const PColgp_FieldOfHArray1OfDir& _CSFDB_GetPColgp_HArray1OfDirData() const { return Data; } + + + + DEFINE_STANDARD_RTTI(PColgp_HArray1OfDir) + +protected: + + + + +private: + + + Standard_EXPORT PColgp_FieldOfHArray1OfDir Field() const; + + Standard_EXPORT Standard_Address Datas() const; + + Standard_Integer LowerBound; + Standard_Integer UpperBound; + PColgp_FieldOfHArray1OfDir Data; + + +}; + +#define Item gp_Dir +#define Item_hxx +#define PCollection_FieldOfHArray1 PColgp_FieldOfHArray1OfDir +#define PCollection_FieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColgp_VArrayNodeOfFieldOfHArray1OfDir +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColgp_VArrayTNodeOfFieldOfHArray1OfDir +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColgp_VArrayNodeOfFieldOfHArray1OfDir +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColgp_VArrayTNodeOfFieldOfHArray1OfDir +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColgp_VArrayNodeOfFieldOfHArray1OfDir +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfDir_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColgp_VArrayNodeOfFieldOfHArray1OfDir +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfDir_Type_() +#define PCollection_HArray1 PColgp_HArray1OfDir +#define PCollection_HArray1_hxx +#define Handle_PCollection_HArray1 Handle_PColgp_HArray1OfDir +#define PCollection_HArray1_Type_() PColgp_HArray1OfDir_Type_() + +#include + +#undef Item +#undef Item_hxx +#undef PCollection_FieldOfHArray1 +#undef PCollection_FieldOfHArray1_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray1 +#undef PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray1 +#undef PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_Type_ +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_Type_ +#undef PCollection_HArray1 +#undef PCollection_HArray1_hxx +#undef Handle_PCollection_HArray1 +#undef PCollection_HArray1_Type_ + + + + +#endif // _PColgp_HArray1OfDir_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_HArray1OfDir2d.hxx b/src/FromOCCT/TKPShape/PColgp_HArray1OfDir2d.hxx new file mode 100644 index 000000000..009a92735 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_HArray1OfDir2d.hxx @@ -0,0 +1,132 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_HArray1OfDir2d_HeaderFile +#define _PColgp_HArray1OfDir2d_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class Standard_OutOfRange; +class Standard_RangeError; +class gp_Dir2d; +class PColgp_FieldOfHArray1OfDir2d; +class PColgp_VArrayNodeOfFieldOfHArray1OfDir2d; +class PColgp_VArrayTNodeOfFieldOfHArray1OfDir2d; + + +class PColgp_HArray1OfDir2d : public Standard_Persistent +{ + +public: + + + Standard_EXPORT PColgp_HArray1OfDir2d(const Standard_Integer Low, const Standard_Integer Up); + + Standard_EXPORT PColgp_HArray1OfDir2d(const Standard_Integer Low, const Standard_Integer Up, const gp_Dir2d& V); + + Standard_Integer Length() const; + + Standard_Integer Lower() const; + + Standard_EXPORT void SetValue (const Standard_Integer Index, const gp_Dir2d& Value) ; + + Standard_Integer Upper() const; + + Standard_EXPORT gp_Dir2d Value (const Standard_Integer Index) const; + +PColgp_HArray1OfDir2d( ) +{ + +} +PColgp_HArray1OfDir2d(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Standard_Integer _CSFDB_GetPColgp_HArray1OfDir2dLowerBound() const { return LowerBound; } + void _CSFDB_SetPColgp_HArray1OfDir2dLowerBound(const Standard_Integer p) { LowerBound = p; } + Standard_Integer _CSFDB_GetPColgp_HArray1OfDir2dUpperBound() const { return UpperBound; } + void _CSFDB_SetPColgp_HArray1OfDir2dUpperBound(const Standard_Integer p) { UpperBound = p; } + const PColgp_FieldOfHArray1OfDir2d& _CSFDB_GetPColgp_HArray1OfDir2dData() const { return Data; } + + + + DEFINE_STANDARD_RTTI(PColgp_HArray1OfDir2d) + +protected: + + + + +private: + + + Standard_EXPORT PColgp_FieldOfHArray1OfDir2d Field() const; + + Standard_EXPORT Standard_Address Datas() const; + + Standard_Integer LowerBound; + Standard_Integer UpperBound; + PColgp_FieldOfHArray1OfDir2d Data; + + +}; + +#define Item gp_Dir2d +#define Item_hxx +#define PCollection_FieldOfHArray1 PColgp_FieldOfHArray1OfDir2d +#define PCollection_FieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColgp_VArrayNodeOfFieldOfHArray1OfDir2d +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColgp_VArrayTNodeOfFieldOfHArray1OfDir2d +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColgp_VArrayNodeOfFieldOfHArray1OfDir2d +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColgp_VArrayTNodeOfFieldOfHArray1OfDir2d +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColgp_VArrayNodeOfFieldOfHArray1OfDir2d +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfDir2d_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColgp_VArrayNodeOfFieldOfHArray1OfDir2d +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfDir2d_Type_() +#define PCollection_HArray1 PColgp_HArray1OfDir2d +#define PCollection_HArray1_hxx +#define Handle_PCollection_HArray1 Handle_PColgp_HArray1OfDir2d +#define PCollection_HArray1_Type_() PColgp_HArray1OfDir2d_Type_() + +#include + +#undef Item +#undef Item_hxx +#undef PCollection_FieldOfHArray1 +#undef PCollection_FieldOfHArray1_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray1 +#undef PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray1 +#undef PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_Type_ +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_Type_ +#undef PCollection_HArray1 +#undef PCollection_HArray1_hxx +#undef Handle_PCollection_HArray1 +#undef PCollection_HArray1_Type_ + + + + +#endif // _PColgp_HArray1OfDir2d_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_HArray1OfDir2d_0.cxx b/src/FromOCCT/TKPShape/PColgp_HArray1OfDir2d_0.cxx new file mode 100644 index 000000000..14be5f500 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_HArray1OfDir2d_0.cxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColgp_HArray1OfDir2d,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColgp_HArray1OfDir2d) + + +#define Item gp_Dir2d +#define Item_hxx +#define PCollection_FieldOfHArray1 PColgp_FieldOfHArray1OfDir2d +#define PCollection_FieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColgp_VArrayNodeOfFieldOfHArray1OfDir2d +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColgp_VArrayTNodeOfFieldOfHArray1OfDir2d +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColgp_VArrayNodeOfFieldOfHArray1OfDir2d +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColgp_VArrayTNodeOfFieldOfHArray1OfDir2d +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColgp_VArrayNodeOfFieldOfHArray1OfDir2d +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfDir2d_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColgp_VArrayNodeOfFieldOfHArray1OfDir2d +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfDir2d_Type_() +#define PCollection_HArray1 PColgp_HArray1OfDir2d +#define PCollection_HArray1_hxx +#define Handle_PCollection_HArray1 Handle_PColgp_HArray1OfDir2d +#define PCollection_HArray1_Type_() PColgp_HArray1OfDir2d_Type_() +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_HArray1OfDir_0.cxx b/src/FromOCCT/TKPShape/PColgp_HArray1OfDir_0.cxx new file mode 100644 index 000000000..74aaabe37 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_HArray1OfDir_0.cxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColgp_HArray1OfDir,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColgp_HArray1OfDir) + + +#define Item gp_Dir +#define Item_hxx +#define PCollection_FieldOfHArray1 PColgp_FieldOfHArray1OfDir +#define PCollection_FieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColgp_VArrayNodeOfFieldOfHArray1OfDir +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColgp_VArrayTNodeOfFieldOfHArray1OfDir +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColgp_VArrayNodeOfFieldOfHArray1OfDir +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColgp_VArrayTNodeOfFieldOfHArray1OfDir +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColgp_VArrayNodeOfFieldOfHArray1OfDir +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfDir_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColgp_VArrayNodeOfFieldOfHArray1OfDir +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfDir_Type_() +#define PCollection_HArray1 PColgp_HArray1OfDir +#define PCollection_HArray1_hxx +#define Handle_PCollection_HArray1 Handle_PColgp_HArray1OfDir +#define PCollection_HArray1_Type_() PColgp_HArray1OfDir_Type_() +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_HArray1OfLin2d.hxx b/src/FromOCCT/TKPShape/PColgp_HArray1OfLin2d.hxx new file mode 100644 index 000000000..c0633e2ae --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_HArray1OfLin2d.hxx @@ -0,0 +1,132 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_HArray1OfLin2d_HeaderFile +#define _PColgp_HArray1OfLin2d_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class Standard_OutOfRange; +class Standard_RangeError; +class gp_Lin2d; +class PColgp_FieldOfHArray1OfLin2d; +class PColgp_VArrayNodeOfFieldOfHArray1OfLin2d; +class PColgp_VArrayTNodeOfFieldOfHArray1OfLin2d; + + +class PColgp_HArray1OfLin2d : public Standard_Persistent +{ + +public: + + + Standard_EXPORT PColgp_HArray1OfLin2d(const Standard_Integer Low, const Standard_Integer Up); + + Standard_EXPORT PColgp_HArray1OfLin2d(const Standard_Integer Low, const Standard_Integer Up, const gp_Lin2d& V); + + Standard_Integer Length() const; + + Standard_Integer Lower() const; + + Standard_EXPORT void SetValue (const Standard_Integer Index, const gp_Lin2d& Value) ; + + Standard_Integer Upper() const; + + Standard_EXPORT gp_Lin2d Value (const Standard_Integer Index) const; + +PColgp_HArray1OfLin2d( ) +{ + +} +PColgp_HArray1OfLin2d(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Standard_Integer _CSFDB_GetPColgp_HArray1OfLin2dLowerBound() const { return LowerBound; } + void _CSFDB_SetPColgp_HArray1OfLin2dLowerBound(const Standard_Integer p) { LowerBound = p; } + Standard_Integer _CSFDB_GetPColgp_HArray1OfLin2dUpperBound() const { return UpperBound; } + void _CSFDB_SetPColgp_HArray1OfLin2dUpperBound(const Standard_Integer p) { UpperBound = p; } + const PColgp_FieldOfHArray1OfLin2d& _CSFDB_GetPColgp_HArray1OfLin2dData() const { return Data; } + + + + DEFINE_STANDARD_RTTI(PColgp_HArray1OfLin2d) + +protected: + + + + +private: + + + Standard_EXPORT PColgp_FieldOfHArray1OfLin2d Field() const; + + Standard_EXPORT Standard_Address Datas() const; + + Standard_Integer LowerBound; + Standard_Integer UpperBound; + PColgp_FieldOfHArray1OfLin2d Data; + + +}; + +#define Item gp_Lin2d +#define Item_hxx +#define PCollection_FieldOfHArray1 PColgp_FieldOfHArray1OfLin2d +#define PCollection_FieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColgp_VArrayNodeOfFieldOfHArray1OfLin2d +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColgp_VArrayTNodeOfFieldOfHArray1OfLin2d +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColgp_VArrayNodeOfFieldOfHArray1OfLin2d +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColgp_VArrayTNodeOfFieldOfHArray1OfLin2d +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColgp_VArrayNodeOfFieldOfHArray1OfLin2d +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfLin2d_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColgp_VArrayNodeOfFieldOfHArray1OfLin2d +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfLin2d_Type_() +#define PCollection_HArray1 PColgp_HArray1OfLin2d +#define PCollection_HArray1_hxx +#define Handle_PCollection_HArray1 Handle_PColgp_HArray1OfLin2d +#define PCollection_HArray1_Type_() PColgp_HArray1OfLin2d_Type_() + +#include + +#undef Item +#undef Item_hxx +#undef PCollection_FieldOfHArray1 +#undef PCollection_FieldOfHArray1_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray1 +#undef PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray1 +#undef PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_Type_ +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_Type_ +#undef PCollection_HArray1 +#undef PCollection_HArray1_hxx +#undef Handle_PCollection_HArray1 +#undef PCollection_HArray1_Type_ + + + + +#endif // _PColgp_HArray1OfLin2d_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_HArray1OfLin2d_0.cxx b/src/FromOCCT/TKPShape/PColgp_HArray1OfLin2d_0.cxx new file mode 100644 index 000000000..99773a25f --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_HArray1OfLin2d_0.cxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColgp_HArray1OfLin2d,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColgp_HArray1OfLin2d) + + +#define Item gp_Lin2d +#define Item_hxx +#define PCollection_FieldOfHArray1 PColgp_FieldOfHArray1OfLin2d +#define PCollection_FieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColgp_VArrayNodeOfFieldOfHArray1OfLin2d +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColgp_VArrayTNodeOfFieldOfHArray1OfLin2d +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColgp_VArrayNodeOfFieldOfHArray1OfLin2d +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColgp_VArrayTNodeOfFieldOfHArray1OfLin2d +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColgp_VArrayNodeOfFieldOfHArray1OfLin2d +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfLin2d_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColgp_VArrayNodeOfFieldOfHArray1OfLin2d +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfLin2d_Type_() +#define PCollection_HArray1 PColgp_HArray1OfLin2d +#define PCollection_HArray1_hxx +#define Handle_PCollection_HArray1 Handle_PColgp_HArray1OfLin2d +#define PCollection_HArray1_Type_() PColgp_HArray1OfLin2d_Type_() +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_HArray1OfPnt.hxx b/src/FromOCCT/TKPShape/PColgp_HArray1OfPnt.hxx new file mode 100644 index 000000000..b28db9dd2 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_HArray1OfPnt.hxx @@ -0,0 +1,132 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_HArray1OfPnt_HeaderFile +#define _PColgp_HArray1OfPnt_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class Standard_OutOfRange; +class Standard_RangeError; +class gp_Pnt; +class PColgp_FieldOfHArray1OfPnt; +class PColgp_VArrayNodeOfFieldOfHArray1OfPnt; +class PColgp_VArrayTNodeOfFieldOfHArray1OfPnt; + + +class PColgp_HArray1OfPnt : public Standard_Persistent +{ + +public: + + + Standard_EXPORT PColgp_HArray1OfPnt(const Standard_Integer Low, const Standard_Integer Up); + + Standard_EXPORT PColgp_HArray1OfPnt(const Standard_Integer Low, const Standard_Integer Up, const gp_Pnt& V); + + Standard_Integer Length() const; + + Standard_Integer Lower() const; + + Standard_EXPORT void SetValue (const Standard_Integer Index, const gp_Pnt& Value) ; + + Standard_Integer Upper() const; + + Standard_EXPORT gp_Pnt Value (const Standard_Integer Index) const; + +PColgp_HArray1OfPnt( ) +{ + +} +PColgp_HArray1OfPnt(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Standard_Integer _CSFDB_GetPColgp_HArray1OfPntLowerBound() const { return LowerBound; } + void _CSFDB_SetPColgp_HArray1OfPntLowerBound(const Standard_Integer p) { LowerBound = p; } + Standard_Integer _CSFDB_GetPColgp_HArray1OfPntUpperBound() const { return UpperBound; } + void _CSFDB_SetPColgp_HArray1OfPntUpperBound(const Standard_Integer p) { UpperBound = p; } + const PColgp_FieldOfHArray1OfPnt& _CSFDB_GetPColgp_HArray1OfPntData() const { return Data; } + + + + DEFINE_STANDARD_RTTI(PColgp_HArray1OfPnt) + +protected: + + + + +private: + + + Standard_EXPORT PColgp_FieldOfHArray1OfPnt Field() const; + + Standard_EXPORT Standard_Address Datas() const; + + Standard_Integer LowerBound; + Standard_Integer UpperBound; + PColgp_FieldOfHArray1OfPnt Data; + + +}; + +#define Item gp_Pnt +#define Item_hxx +#define PCollection_FieldOfHArray1 PColgp_FieldOfHArray1OfPnt +#define PCollection_FieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColgp_VArrayNodeOfFieldOfHArray1OfPnt +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColgp_VArrayTNodeOfFieldOfHArray1OfPnt +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColgp_VArrayNodeOfFieldOfHArray1OfPnt +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColgp_VArrayTNodeOfFieldOfHArray1OfPnt +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColgp_VArrayNodeOfFieldOfHArray1OfPnt +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfPnt_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColgp_VArrayNodeOfFieldOfHArray1OfPnt +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfPnt_Type_() +#define PCollection_HArray1 PColgp_HArray1OfPnt +#define PCollection_HArray1_hxx +#define Handle_PCollection_HArray1 Handle_PColgp_HArray1OfPnt +#define PCollection_HArray1_Type_() PColgp_HArray1OfPnt_Type_() + +#include + +#undef Item +#undef Item_hxx +#undef PCollection_FieldOfHArray1 +#undef PCollection_FieldOfHArray1_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray1 +#undef PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray1 +#undef PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_Type_ +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_Type_ +#undef PCollection_HArray1 +#undef PCollection_HArray1_hxx +#undef Handle_PCollection_HArray1 +#undef PCollection_HArray1_Type_ + + + + +#endif // _PColgp_HArray1OfPnt_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_HArray1OfPnt2d.hxx b/src/FromOCCT/TKPShape/PColgp_HArray1OfPnt2d.hxx new file mode 100644 index 000000000..756623221 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_HArray1OfPnt2d.hxx @@ -0,0 +1,132 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_HArray1OfPnt2d_HeaderFile +#define _PColgp_HArray1OfPnt2d_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class Standard_OutOfRange; +class Standard_RangeError; +class gp_Pnt2d; +class PColgp_FieldOfHArray1OfPnt2d; +class PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d; +class PColgp_VArrayTNodeOfFieldOfHArray1OfPnt2d; + + +class PColgp_HArray1OfPnt2d : public Standard_Persistent +{ + +public: + + + Standard_EXPORT PColgp_HArray1OfPnt2d(const Standard_Integer Low, const Standard_Integer Up); + + Standard_EXPORT PColgp_HArray1OfPnt2d(const Standard_Integer Low, const Standard_Integer Up, const gp_Pnt2d& V); + + Standard_Integer Length() const; + + Standard_Integer Lower() const; + + Standard_EXPORT void SetValue (const Standard_Integer Index, const gp_Pnt2d& Value) ; + + Standard_Integer Upper() const; + + Standard_EXPORT gp_Pnt2d Value (const Standard_Integer Index) const; + +PColgp_HArray1OfPnt2d( ) +{ + +} +PColgp_HArray1OfPnt2d(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Standard_Integer _CSFDB_GetPColgp_HArray1OfPnt2dLowerBound() const { return LowerBound; } + void _CSFDB_SetPColgp_HArray1OfPnt2dLowerBound(const Standard_Integer p) { LowerBound = p; } + Standard_Integer _CSFDB_GetPColgp_HArray1OfPnt2dUpperBound() const { return UpperBound; } + void _CSFDB_SetPColgp_HArray1OfPnt2dUpperBound(const Standard_Integer p) { UpperBound = p; } + const PColgp_FieldOfHArray1OfPnt2d& _CSFDB_GetPColgp_HArray1OfPnt2dData() const { return Data; } + + + + DEFINE_STANDARD_RTTI(PColgp_HArray1OfPnt2d) + +protected: + + + + +private: + + + Standard_EXPORT PColgp_FieldOfHArray1OfPnt2d Field() const; + + Standard_EXPORT Standard_Address Datas() const; + + Standard_Integer LowerBound; + Standard_Integer UpperBound; + PColgp_FieldOfHArray1OfPnt2d Data; + + +}; + +#define Item gp_Pnt2d +#define Item_hxx +#define PCollection_FieldOfHArray1 PColgp_FieldOfHArray1OfPnt2d +#define PCollection_FieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColgp_VArrayTNodeOfFieldOfHArray1OfPnt2d +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColgp_VArrayTNodeOfFieldOfHArray1OfPnt2d +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d_Type_() +#define PCollection_HArray1 PColgp_HArray1OfPnt2d +#define PCollection_HArray1_hxx +#define Handle_PCollection_HArray1 Handle_PColgp_HArray1OfPnt2d +#define PCollection_HArray1_Type_() PColgp_HArray1OfPnt2d_Type_() + +#include + +#undef Item +#undef Item_hxx +#undef PCollection_FieldOfHArray1 +#undef PCollection_FieldOfHArray1_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray1 +#undef PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray1 +#undef PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_Type_ +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_Type_ +#undef PCollection_HArray1 +#undef PCollection_HArray1_hxx +#undef Handle_PCollection_HArray1 +#undef PCollection_HArray1_Type_ + + + + +#endif // _PColgp_HArray1OfPnt2d_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_HArray1OfPnt2d_0.cxx b/src/FromOCCT/TKPShape/PColgp_HArray1OfPnt2d_0.cxx new file mode 100644 index 000000000..176d221c5 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_HArray1OfPnt2d_0.cxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColgp_HArray1OfPnt2d,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColgp_HArray1OfPnt2d) + + +#define Item gp_Pnt2d +#define Item_hxx +#define PCollection_FieldOfHArray1 PColgp_FieldOfHArray1OfPnt2d +#define PCollection_FieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColgp_VArrayTNodeOfFieldOfHArray1OfPnt2d +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColgp_VArrayTNodeOfFieldOfHArray1OfPnt2d +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d_Type_() +#define PCollection_HArray1 PColgp_HArray1OfPnt2d +#define PCollection_HArray1_hxx +#define Handle_PCollection_HArray1 Handle_PColgp_HArray1OfPnt2d +#define PCollection_HArray1_Type_() PColgp_HArray1OfPnt2d_Type_() +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_HArray1OfPnt_0.cxx b/src/FromOCCT/TKPShape/PColgp_HArray1OfPnt_0.cxx new file mode 100644 index 000000000..7c540e01b --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_HArray1OfPnt_0.cxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColgp_HArray1OfPnt,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColgp_HArray1OfPnt) + + +#define Item gp_Pnt +#define Item_hxx +#define PCollection_FieldOfHArray1 PColgp_FieldOfHArray1OfPnt +#define PCollection_FieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColgp_VArrayNodeOfFieldOfHArray1OfPnt +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColgp_VArrayTNodeOfFieldOfHArray1OfPnt +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColgp_VArrayNodeOfFieldOfHArray1OfPnt +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColgp_VArrayTNodeOfFieldOfHArray1OfPnt +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColgp_VArrayNodeOfFieldOfHArray1OfPnt +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfPnt_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColgp_VArrayNodeOfFieldOfHArray1OfPnt +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfPnt_Type_() +#define PCollection_HArray1 PColgp_HArray1OfPnt +#define PCollection_HArray1_hxx +#define Handle_PCollection_HArray1 Handle_PColgp_HArray1OfPnt +#define PCollection_HArray1_Type_() PColgp_HArray1OfPnt_Type_() +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_HArray1OfVec.hxx b/src/FromOCCT/TKPShape/PColgp_HArray1OfVec.hxx new file mode 100644 index 000000000..b4ce68e90 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_HArray1OfVec.hxx @@ -0,0 +1,132 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_HArray1OfVec_HeaderFile +#define _PColgp_HArray1OfVec_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class Standard_OutOfRange; +class Standard_RangeError; +class gp_Vec; +class PColgp_FieldOfHArray1OfVec; +class PColgp_VArrayNodeOfFieldOfHArray1OfVec; +class PColgp_VArrayTNodeOfFieldOfHArray1OfVec; + + +class PColgp_HArray1OfVec : public Standard_Persistent +{ + +public: + + + Standard_EXPORT PColgp_HArray1OfVec(const Standard_Integer Low, const Standard_Integer Up); + + Standard_EXPORT PColgp_HArray1OfVec(const Standard_Integer Low, const Standard_Integer Up, const gp_Vec& V); + + Standard_Integer Length() const; + + Standard_Integer Lower() const; + + Standard_EXPORT void SetValue (const Standard_Integer Index, const gp_Vec& Value) ; + + Standard_Integer Upper() const; + + Standard_EXPORT gp_Vec Value (const Standard_Integer Index) const; + +PColgp_HArray1OfVec( ) +{ + +} +PColgp_HArray1OfVec(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Standard_Integer _CSFDB_GetPColgp_HArray1OfVecLowerBound() const { return LowerBound; } + void _CSFDB_SetPColgp_HArray1OfVecLowerBound(const Standard_Integer p) { LowerBound = p; } + Standard_Integer _CSFDB_GetPColgp_HArray1OfVecUpperBound() const { return UpperBound; } + void _CSFDB_SetPColgp_HArray1OfVecUpperBound(const Standard_Integer p) { UpperBound = p; } + const PColgp_FieldOfHArray1OfVec& _CSFDB_GetPColgp_HArray1OfVecData() const { return Data; } + + + + DEFINE_STANDARD_RTTI(PColgp_HArray1OfVec) + +protected: + + + + +private: + + + Standard_EXPORT PColgp_FieldOfHArray1OfVec Field() const; + + Standard_EXPORT Standard_Address Datas() const; + + Standard_Integer LowerBound; + Standard_Integer UpperBound; + PColgp_FieldOfHArray1OfVec Data; + + +}; + +#define Item gp_Vec +#define Item_hxx +#define PCollection_FieldOfHArray1 PColgp_FieldOfHArray1OfVec +#define PCollection_FieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColgp_VArrayNodeOfFieldOfHArray1OfVec +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColgp_VArrayTNodeOfFieldOfHArray1OfVec +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColgp_VArrayNodeOfFieldOfHArray1OfVec +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColgp_VArrayTNodeOfFieldOfHArray1OfVec +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColgp_VArrayNodeOfFieldOfHArray1OfVec +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfVec_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColgp_VArrayNodeOfFieldOfHArray1OfVec +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfVec_Type_() +#define PCollection_HArray1 PColgp_HArray1OfVec +#define PCollection_HArray1_hxx +#define Handle_PCollection_HArray1 Handle_PColgp_HArray1OfVec +#define PCollection_HArray1_Type_() PColgp_HArray1OfVec_Type_() + +#include + +#undef Item +#undef Item_hxx +#undef PCollection_FieldOfHArray1 +#undef PCollection_FieldOfHArray1_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray1 +#undef PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray1 +#undef PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_Type_ +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_Type_ +#undef PCollection_HArray1 +#undef PCollection_HArray1_hxx +#undef Handle_PCollection_HArray1 +#undef PCollection_HArray1_Type_ + + + + +#endif // _PColgp_HArray1OfVec_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_HArray1OfVec2d.hxx b/src/FromOCCT/TKPShape/PColgp_HArray1OfVec2d.hxx new file mode 100644 index 000000000..59b653a70 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_HArray1OfVec2d.hxx @@ -0,0 +1,132 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_HArray1OfVec2d_HeaderFile +#define _PColgp_HArray1OfVec2d_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class Standard_OutOfRange; +class Standard_RangeError; +class gp_Vec2d; +class PColgp_FieldOfHArray1OfVec2d; +class PColgp_VArrayNodeOfFieldOfHArray1OfVec2d; +class PColgp_VArrayTNodeOfFieldOfHArray1OfVec2d; + + +class PColgp_HArray1OfVec2d : public Standard_Persistent +{ + +public: + + + Standard_EXPORT PColgp_HArray1OfVec2d(const Standard_Integer Low, const Standard_Integer Up); + + Standard_EXPORT PColgp_HArray1OfVec2d(const Standard_Integer Low, const Standard_Integer Up, const gp_Vec2d& V); + + Standard_Integer Length() const; + + Standard_Integer Lower() const; + + Standard_EXPORT void SetValue (const Standard_Integer Index, const gp_Vec2d& Value) ; + + Standard_Integer Upper() const; + + Standard_EXPORT gp_Vec2d Value (const Standard_Integer Index) const; + +PColgp_HArray1OfVec2d( ) +{ + +} +PColgp_HArray1OfVec2d(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Standard_Integer _CSFDB_GetPColgp_HArray1OfVec2dLowerBound() const { return LowerBound; } + void _CSFDB_SetPColgp_HArray1OfVec2dLowerBound(const Standard_Integer p) { LowerBound = p; } + Standard_Integer _CSFDB_GetPColgp_HArray1OfVec2dUpperBound() const { return UpperBound; } + void _CSFDB_SetPColgp_HArray1OfVec2dUpperBound(const Standard_Integer p) { UpperBound = p; } + const PColgp_FieldOfHArray1OfVec2d& _CSFDB_GetPColgp_HArray1OfVec2dData() const { return Data; } + + + + DEFINE_STANDARD_RTTI(PColgp_HArray1OfVec2d) + +protected: + + + + +private: + + + Standard_EXPORT PColgp_FieldOfHArray1OfVec2d Field() const; + + Standard_EXPORT Standard_Address Datas() const; + + Standard_Integer LowerBound; + Standard_Integer UpperBound; + PColgp_FieldOfHArray1OfVec2d Data; + + +}; + +#define Item gp_Vec2d +#define Item_hxx +#define PCollection_FieldOfHArray1 PColgp_FieldOfHArray1OfVec2d +#define PCollection_FieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColgp_VArrayNodeOfFieldOfHArray1OfVec2d +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColgp_VArrayTNodeOfFieldOfHArray1OfVec2d +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColgp_VArrayNodeOfFieldOfHArray1OfVec2d +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColgp_VArrayTNodeOfFieldOfHArray1OfVec2d +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColgp_VArrayNodeOfFieldOfHArray1OfVec2d +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfVec2d_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColgp_VArrayNodeOfFieldOfHArray1OfVec2d +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfVec2d_Type_() +#define PCollection_HArray1 PColgp_HArray1OfVec2d +#define PCollection_HArray1_hxx +#define Handle_PCollection_HArray1 Handle_PColgp_HArray1OfVec2d +#define PCollection_HArray1_Type_() PColgp_HArray1OfVec2d_Type_() + +#include + +#undef Item +#undef Item_hxx +#undef PCollection_FieldOfHArray1 +#undef PCollection_FieldOfHArray1_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray1 +#undef PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray1 +#undef PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_Type_ +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_Type_ +#undef PCollection_HArray1 +#undef PCollection_HArray1_hxx +#undef Handle_PCollection_HArray1 +#undef PCollection_HArray1_Type_ + + + + +#endif // _PColgp_HArray1OfVec2d_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_HArray1OfVec2d_0.cxx b/src/FromOCCT/TKPShape/PColgp_HArray1OfVec2d_0.cxx new file mode 100644 index 000000000..9e881cea3 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_HArray1OfVec2d_0.cxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColgp_HArray1OfVec2d,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColgp_HArray1OfVec2d) + + +#define Item gp_Vec2d +#define Item_hxx +#define PCollection_FieldOfHArray1 PColgp_FieldOfHArray1OfVec2d +#define PCollection_FieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColgp_VArrayNodeOfFieldOfHArray1OfVec2d +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColgp_VArrayTNodeOfFieldOfHArray1OfVec2d +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColgp_VArrayNodeOfFieldOfHArray1OfVec2d +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColgp_VArrayTNodeOfFieldOfHArray1OfVec2d +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColgp_VArrayNodeOfFieldOfHArray1OfVec2d +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfVec2d_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColgp_VArrayNodeOfFieldOfHArray1OfVec2d +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfVec2d_Type_() +#define PCollection_HArray1 PColgp_HArray1OfVec2d +#define PCollection_HArray1_hxx +#define Handle_PCollection_HArray1 Handle_PColgp_HArray1OfVec2d +#define PCollection_HArray1_Type_() PColgp_HArray1OfVec2d_Type_() +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_HArray1OfVec_0.cxx b/src/FromOCCT/TKPShape/PColgp_HArray1OfVec_0.cxx new file mode 100644 index 000000000..ac103049c --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_HArray1OfVec_0.cxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColgp_HArray1OfVec,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColgp_HArray1OfVec) + + +#define Item gp_Vec +#define Item_hxx +#define PCollection_FieldOfHArray1 PColgp_FieldOfHArray1OfVec +#define PCollection_FieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColgp_VArrayNodeOfFieldOfHArray1OfVec +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColgp_VArrayTNodeOfFieldOfHArray1OfVec +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColgp_VArrayNodeOfFieldOfHArray1OfVec +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColgp_VArrayTNodeOfFieldOfHArray1OfVec +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColgp_VArrayNodeOfFieldOfHArray1OfVec +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfVec_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColgp_VArrayNodeOfFieldOfHArray1OfVec +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfVec_Type_() +#define PCollection_HArray1 PColgp_HArray1OfVec +#define PCollection_HArray1_hxx +#define Handle_PCollection_HArray1 Handle_PColgp_HArray1OfVec +#define PCollection_HArray1_Type_() PColgp_HArray1OfVec_Type_() +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_HArray1OfXY.hxx b/src/FromOCCT/TKPShape/PColgp_HArray1OfXY.hxx new file mode 100644 index 000000000..c544a845f --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_HArray1OfXY.hxx @@ -0,0 +1,132 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_HArray1OfXY_HeaderFile +#define _PColgp_HArray1OfXY_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class Standard_OutOfRange; +class Standard_RangeError; +class gp_XY; +class PColgp_FieldOfHArray1OfXY; +class PColgp_VArrayNodeOfFieldOfHArray1OfXY; +class PColgp_VArrayTNodeOfFieldOfHArray1OfXY; + + +class PColgp_HArray1OfXY : public Standard_Persistent +{ + +public: + + + Standard_EXPORT PColgp_HArray1OfXY(const Standard_Integer Low, const Standard_Integer Up); + + Standard_EXPORT PColgp_HArray1OfXY(const Standard_Integer Low, const Standard_Integer Up, const gp_XY& V); + + Standard_Integer Length() const; + + Standard_Integer Lower() const; + + Standard_EXPORT void SetValue (const Standard_Integer Index, const gp_XY& Value) ; + + Standard_Integer Upper() const; + + Standard_EXPORT gp_XY Value (const Standard_Integer Index) const; + +PColgp_HArray1OfXY( ) +{ + +} +PColgp_HArray1OfXY(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Standard_Integer _CSFDB_GetPColgp_HArray1OfXYLowerBound() const { return LowerBound; } + void _CSFDB_SetPColgp_HArray1OfXYLowerBound(const Standard_Integer p) { LowerBound = p; } + Standard_Integer _CSFDB_GetPColgp_HArray1OfXYUpperBound() const { return UpperBound; } + void _CSFDB_SetPColgp_HArray1OfXYUpperBound(const Standard_Integer p) { UpperBound = p; } + const PColgp_FieldOfHArray1OfXY& _CSFDB_GetPColgp_HArray1OfXYData() const { return Data; } + + + + DEFINE_STANDARD_RTTI(PColgp_HArray1OfXY) + +protected: + + + + +private: + + + Standard_EXPORT PColgp_FieldOfHArray1OfXY Field() const; + + Standard_EXPORT Standard_Address Datas() const; + + Standard_Integer LowerBound; + Standard_Integer UpperBound; + PColgp_FieldOfHArray1OfXY Data; + + +}; + +#define Item gp_XY +#define Item_hxx +#define PCollection_FieldOfHArray1 PColgp_FieldOfHArray1OfXY +#define PCollection_FieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColgp_VArrayNodeOfFieldOfHArray1OfXY +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColgp_VArrayTNodeOfFieldOfHArray1OfXY +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColgp_VArrayNodeOfFieldOfHArray1OfXY +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColgp_VArrayTNodeOfFieldOfHArray1OfXY +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColgp_VArrayNodeOfFieldOfHArray1OfXY +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfXY_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColgp_VArrayNodeOfFieldOfHArray1OfXY +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfXY_Type_() +#define PCollection_HArray1 PColgp_HArray1OfXY +#define PCollection_HArray1_hxx +#define Handle_PCollection_HArray1 Handle_PColgp_HArray1OfXY +#define PCollection_HArray1_Type_() PColgp_HArray1OfXY_Type_() + +#include + +#undef Item +#undef Item_hxx +#undef PCollection_FieldOfHArray1 +#undef PCollection_FieldOfHArray1_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray1 +#undef PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray1 +#undef PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_Type_ +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_Type_ +#undef PCollection_HArray1 +#undef PCollection_HArray1_hxx +#undef Handle_PCollection_HArray1 +#undef PCollection_HArray1_Type_ + + + + +#endif // _PColgp_HArray1OfXY_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_HArray1OfXYZ.hxx b/src/FromOCCT/TKPShape/PColgp_HArray1OfXYZ.hxx new file mode 100644 index 000000000..839e091f0 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_HArray1OfXYZ.hxx @@ -0,0 +1,132 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_HArray1OfXYZ_HeaderFile +#define _PColgp_HArray1OfXYZ_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class Standard_OutOfRange; +class Standard_RangeError; +class gp_XYZ; +class PColgp_FieldOfHArray1OfXYZ; +class PColgp_VArrayNodeOfFieldOfHArray1OfXYZ; +class PColgp_VArrayTNodeOfFieldOfHArray1OfXYZ; + + +class PColgp_HArray1OfXYZ : public Standard_Persistent +{ + +public: + + + Standard_EXPORT PColgp_HArray1OfXYZ(const Standard_Integer Low, const Standard_Integer Up); + + Standard_EXPORT PColgp_HArray1OfXYZ(const Standard_Integer Low, const Standard_Integer Up, const gp_XYZ& V); + + Standard_Integer Length() const; + + Standard_Integer Lower() const; + + Standard_EXPORT void SetValue (const Standard_Integer Index, const gp_XYZ& Value) ; + + Standard_Integer Upper() const; + + Standard_EXPORT gp_XYZ Value (const Standard_Integer Index) const; + +PColgp_HArray1OfXYZ( ) +{ + +} +PColgp_HArray1OfXYZ(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Standard_Integer _CSFDB_GetPColgp_HArray1OfXYZLowerBound() const { return LowerBound; } + void _CSFDB_SetPColgp_HArray1OfXYZLowerBound(const Standard_Integer p) { LowerBound = p; } + Standard_Integer _CSFDB_GetPColgp_HArray1OfXYZUpperBound() const { return UpperBound; } + void _CSFDB_SetPColgp_HArray1OfXYZUpperBound(const Standard_Integer p) { UpperBound = p; } + const PColgp_FieldOfHArray1OfXYZ& _CSFDB_GetPColgp_HArray1OfXYZData() const { return Data; } + + + + DEFINE_STANDARD_RTTI(PColgp_HArray1OfXYZ) + +protected: + + + + +private: + + + Standard_EXPORT PColgp_FieldOfHArray1OfXYZ Field() const; + + Standard_EXPORT Standard_Address Datas() const; + + Standard_Integer LowerBound; + Standard_Integer UpperBound; + PColgp_FieldOfHArray1OfXYZ Data; + + +}; + +#define Item gp_XYZ +#define Item_hxx +#define PCollection_FieldOfHArray1 PColgp_FieldOfHArray1OfXYZ +#define PCollection_FieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColgp_VArrayNodeOfFieldOfHArray1OfXYZ +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColgp_VArrayTNodeOfFieldOfHArray1OfXYZ +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColgp_VArrayNodeOfFieldOfHArray1OfXYZ +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColgp_VArrayTNodeOfFieldOfHArray1OfXYZ +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColgp_VArrayNodeOfFieldOfHArray1OfXYZ +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfXYZ_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColgp_VArrayNodeOfFieldOfHArray1OfXYZ +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfXYZ_Type_() +#define PCollection_HArray1 PColgp_HArray1OfXYZ +#define PCollection_HArray1_hxx +#define Handle_PCollection_HArray1 Handle_PColgp_HArray1OfXYZ +#define PCollection_HArray1_Type_() PColgp_HArray1OfXYZ_Type_() + +#include + +#undef Item +#undef Item_hxx +#undef PCollection_FieldOfHArray1 +#undef PCollection_FieldOfHArray1_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray1 +#undef PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray1 +#undef PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_Type_ +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_Type_ +#undef PCollection_HArray1 +#undef PCollection_HArray1_hxx +#undef Handle_PCollection_HArray1 +#undef PCollection_HArray1_Type_ + + + + +#endif // _PColgp_HArray1OfXYZ_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_HArray1OfXYZ_0.cxx b/src/FromOCCT/TKPShape/PColgp_HArray1OfXYZ_0.cxx new file mode 100644 index 000000000..76b92ed0b --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_HArray1OfXYZ_0.cxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColgp_HArray1OfXYZ,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColgp_HArray1OfXYZ) + + +#define Item gp_XYZ +#define Item_hxx +#define PCollection_FieldOfHArray1 PColgp_FieldOfHArray1OfXYZ +#define PCollection_FieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColgp_VArrayNodeOfFieldOfHArray1OfXYZ +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColgp_VArrayTNodeOfFieldOfHArray1OfXYZ +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColgp_VArrayNodeOfFieldOfHArray1OfXYZ +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColgp_VArrayTNodeOfFieldOfHArray1OfXYZ +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColgp_VArrayNodeOfFieldOfHArray1OfXYZ +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfXYZ_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColgp_VArrayNodeOfFieldOfHArray1OfXYZ +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfXYZ_Type_() +#define PCollection_HArray1 PColgp_HArray1OfXYZ +#define PCollection_HArray1_hxx +#define Handle_PCollection_HArray1 Handle_PColgp_HArray1OfXYZ +#define PCollection_HArray1_Type_() PColgp_HArray1OfXYZ_Type_() +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_HArray1OfXY_0.cxx b/src/FromOCCT/TKPShape/PColgp_HArray1OfXY_0.cxx new file mode 100644 index 000000000..af0d14c7a --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_HArray1OfXY_0.cxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColgp_HArray1OfXY,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColgp_HArray1OfXY) + + +#define Item gp_XY +#define Item_hxx +#define PCollection_FieldOfHArray1 PColgp_FieldOfHArray1OfXY +#define PCollection_FieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColgp_VArrayNodeOfFieldOfHArray1OfXY +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColgp_VArrayTNodeOfFieldOfHArray1OfXY +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PColgp_VArrayNodeOfFieldOfHArray1OfXY +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PColgp_VArrayTNodeOfFieldOfHArray1OfXY +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColgp_VArrayNodeOfFieldOfHArray1OfXY +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfXY_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PColgp_VArrayNodeOfFieldOfHArray1OfXY +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfXY_Type_() +#define PCollection_HArray1 PColgp_HArray1OfXY +#define PCollection_HArray1_hxx +#define Handle_PCollection_HArray1 Handle_PColgp_HArray1OfXY +#define PCollection_HArray1_Type_() PColgp_HArray1OfXY_Type_() +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_HArray2OfCirc2d.hxx b/src/FromOCCT/TKPShape/PColgp_HArray2OfCirc2d.hxx new file mode 100644 index 000000000..a93b636a8 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_HArray2OfCirc2d.hxx @@ -0,0 +1,144 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_HArray2OfCirc2d_HeaderFile +#define _PColgp_HArray2OfCirc2d_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class Standard_RangeError; +class Standard_OutOfRange; +class gp_Circ2d; +class PColgp_FieldOfHArray2OfCirc2d; +class PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d; +class PColgp_VArrayTNodeOfFieldOfHArray2OfCirc2d; + + +class PColgp_HArray2OfCirc2d : public Standard_Persistent +{ + +public: + + + Standard_EXPORT PColgp_HArray2OfCirc2d(const Standard_Integer R1, const Standard_Integer R2, const Standard_Integer C1, const Standard_Integer C2); + + Standard_EXPORT PColgp_HArray2OfCirc2d(const Standard_Integer R1, const Standard_Integer R2, const Standard_Integer C1, const Standard_Integer C2, const gp_Circ2d& V); + + Standard_EXPORT Standard_Integer ColLength() const; + + Standard_Integer LowerCol() const; + + Standard_Integer LowerRow() const; + + Standard_EXPORT Standard_Integer RowLength() const; + + Standard_EXPORT void SetValue (const Standard_Integer Row, const Standard_Integer Col, const gp_Circ2d& Value) ; + + Standard_Integer UpperCol() const; + + Standard_Integer UpperRow() const; + + Standard_EXPORT gp_Circ2d Value (const Standard_Integer Row, const Standard_Integer Col) const; + +PColgp_HArray2OfCirc2d( ) +{ + +} +PColgp_HArray2OfCirc2d(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Standard_Integer _CSFDB_GetPColgp_HArray2OfCirc2dmyLowerRow() const { return myLowerRow; } + void _CSFDB_SetPColgp_HArray2OfCirc2dmyLowerRow(const Standard_Integer p) { myLowerRow = p; } + Standard_Integer _CSFDB_GetPColgp_HArray2OfCirc2dmyLowerCol() const { return myLowerCol; } + void _CSFDB_SetPColgp_HArray2OfCirc2dmyLowerCol(const Standard_Integer p) { myLowerCol = p; } + Standard_Integer _CSFDB_GetPColgp_HArray2OfCirc2dmyUpperRow() const { return myUpperRow; } + void _CSFDB_SetPColgp_HArray2OfCirc2dmyUpperRow(const Standard_Integer p) { myUpperRow = p; } + Standard_Integer _CSFDB_GetPColgp_HArray2OfCirc2dmyUpperCol() const { return myUpperCol; } + void _CSFDB_SetPColgp_HArray2OfCirc2dmyUpperCol(const Standard_Integer p) { myUpperCol = p; } + const PColgp_FieldOfHArray2OfCirc2d& _CSFDB_GetPColgp_HArray2OfCirc2dData() const { return Data; } + + + + DEFINE_STANDARD_RTTI(PColgp_HArray2OfCirc2d) + +protected: + + + + +private: + + + Standard_EXPORT PColgp_FieldOfHArray2OfCirc2d Field() const; + + Standard_EXPORT Standard_Address Datas() const; + + Standard_Integer myLowerRow; + Standard_Integer myLowerCol; + Standard_Integer myUpperRow; + Standard_Integer myUpperCol; + PColgp_FieldOfHArray2OfCirc2d Data; + + +}; + +#define Item gp_Circ2d +#define Item_hxx +#define PCollection_FieldOfHArray2 PColgp_FieldOfHArray2OfCirc2d +#define PCollection_FieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PColgp_VArrayTNodeOfFieldOfHArray2OfCirc2d +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PColgp_VArrayTNodeOfFieldOfHArray2OfCirc2d +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d_Type_() +#define PCollection_HArray2 PColgp_HArray2OfCirc2d +#define PCollection_HArray2_hxx +#define Handle_PCollection_HArray2 Handle_PColgp_HArray2OfCirc2d +#define PCollection_HArray2_Type_() PColgp_HArray2OfCirc2d_Type_() + +#include + +#undef Item +#undef Item_hxx +#undef PCollection_FieldOfHArray2 +#undef PCollection_FieldOfHArray2_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray2 +#undef PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray2 +#undef PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_Type_ +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_Type_ +#undef PCollection_HArray2 +#undef PCollection_HArray2_hxx +#undef Handle_PCollection_HArray2 +#undef PCollection_HArray2_Type_ + + + + +#endif // _PColgp_HArray2OfCirc2d_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_HArray2OfCirc2d_0.cxx b/src/FromOCCT/TKPShape/PColgp_HArray2OfCirc2d_0.cxx new file mode 100644 index 000000000..1f33a716c --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_HArray2OfCirc2d_0.cxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColgp_HArray2OfCirc2d,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColgp_HArray2OfCirc2d) + + +#define Item gp_Circ2d +#define Item_hxx +#define PCollection_FieldOfHArray2 PColgp_FieldOfHArray2OfCirc2d +#define PCollection_FieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PColgp_VArrayTNodeOfFieldOfHArray2OfCirc2d +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PColgp_VArrayTNodeOfFieldOfHArray2OfCirc2d +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d_Type_() +#define PCollection_HArray2 PColgp_HArray2OfCirc2d +#define PCollection_HArray2_hxx +#define Handle_PCollection_HArray2 Handle_PColgp_HArray2OfCirc2d +#define PCollection_HArray2_Type_() PColgp_HArray2OfCirc2d_Type_() +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_HArray2OfDir.hxx b/src/FromOCCT/TKPShape/PColgp_HArray2OfDir.hxx new file mode 100644 index 000000000..fb97c7247 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_HArray2OfDir.hxx @@ -0,0 +1,144 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_HArray2OfDir_HeaderFile +#define _PColgp_HArray2OfDir_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class Standard_RangeError; +class Standard_OutOfRange; +class gp_Dir; +class PColgp_FieldOfHArray2OfDir; +class PColgp_VArrayNodeOfFieldOfHArray2OfDir; +class PColgp_VArrayTNodeOfFieldOfHArray2OfDir; + + +class PColgp_HArray2OfDir : public Standard_Persistent +{ + +public: + + + Standard_EXPORT PColgp_HArray2OfDir(const Standard_Integer R1, const Standard_Integer R2, const Standard_Integer C1, const Standard_Integer C2); + + Standard_EXPORT PColgp_HArray2OfDir(const Standard_Integer R1, const Standard_Integer R2, const Standard_Integer C1, const Standard_Integer C2, const gp_Dir& V); + + Standard_EXPORT Standard_Integer ColLength() const; + + Standard_Integer LowerCol() const; + + Standard_Integer LowerRow() const; + + Standard_EXPORT Standard_Integer RowLength() const; + + Standard_EXPORT void SetValue (const Standard_Integer Row, const Standard_Integer Col, const gp_Dir& Value) ; + + Standard_Integer UpperCol() const; + + Standard_Integer UpperRow() const; + + Standard_EXPORT gp_Dir Value (const Standard_Integer Row, const Standard_Integer Col) const; + +PColgp_HArray2OfDir( ) +{ + +} +PColgp_HArray2OfDir(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Standard_Integer _CSFDB_GetPColgp_HArray2OfDirmyLowerRow() const { return myLowerRow; } + void _CSFDB_SetPColgp_HArray2OfDirmyLowerRow(const Standard_Integer p) { myLowerRow = p; } + Standard_Integer _CSFDB_GetPColgp_HArray2OfDirmyLowerCol() const { return myLowerCol; } + void _CSFDB_SetPColgp_HArray2OfDirmyLowerCol(const Standard_Integer p) { myLowerCol = p; } + Standard_Integer _CSFDB_GetPColgp_HArray2OfDirmyUpperRow() const { return myUpperRow; } + void _CSFDB_SetPColgp_HArray2OfDirmyUpperRow(const Standard_Integer p) { myUpperRow = p; } + Standard_Integer _CSFDB_GetPColgp_HArray2OfDirmyUpperCol() const { return myUpperCol; } + void _CSFDB_SetPColgp_HArray2OfDirmyUpperCol(const Standard_Integer p) { myUpperCol = p; } + const PColgp_FieldOfHArray2OfDir& _CSFDB_GetPColgp_HArray2OfDirData() const { return Data; } + + + + DEFINE_STANDARD_RTTI(PColgp_HArray2OfDir) + +protected: + + + + +private: + + + Standard_EXPORT PColgp_FieldOfHArray2OfDir Field() const; + + Standard_EXPORT Standard_Address Datas() const; + + Standard_Integer myLowerRow; + Standard_Integer myLowerCol; + Standard_Integer myUpperRow; + Standard_Integer myUpperCol; + PColgp_FieldOfHArray2OfDir Data; + + +}; + +#define Item gp_Dir +#define Item_hxx +#define PCollection_FieldOfHArray2 PColgp_FieldOfHArray2OfDir +#define PCollection_FieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PColgp_VArrayNodeOfFieldOfHArray2OfDir +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PColgp_VArrayTNodeOfFieldOfHArray2OfDir +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PColgp_VArrayNodeOfFieldOfHArray2OfDir +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PColgp_VArrayTNodeOfFieldOfHArray2OfDir +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColgp_VArrayNodeOfFieldOfHArray2OfDir +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfDir_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColgp_VArrayNodeOfFieldOfHArray2OfDir +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfDir_Type_() +#define PCollection_HArray2 PColgp_HArray2OfDir +#define PCollection_HArray2_hxx +#define Handle_PCollection_HArray2 Handle_PColgp_HArray2OfDir +#define PCollection_HArray2_Type_() PColgp_HArray2OfDir_Type_() + +#include + +#undef Item +#undef Item_hxx +#undef PCollection_FieldOfHArray2 +#undef PCollection_FieldOfHArray2_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray2 +#undef PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray2 +#undef PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_Type_ +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_Type_ +#undef PCollection_HArray2 +#undef PCollection_HArray2_hxx +#undef Handle_PCollection_HArray2 +#undef PCollection_HArray2_Type_ + + + + +#endif // _PColgp_HArray2OfDir_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_HArray2OfDir2d.hxx b/src/FromOCCT/TKPShape/PColgp_HArray2OfDir2d.hxx new file mode 100644 index 000000000..d5ed666f3 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_HArray2OfDir2d.hxx @@ -0,0 +1,144 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_HArray2OfDir2d_HeaderFile +#define _PColgp_HArray2OfDir2d_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class Standard_RangeError; +class Standard_OutOfRange; +class gp_Dir2d; +class PColgp_FieldOfHArray2OfDir2d; +class PColgp_VArrayNodeOfFieldOfHArray2OfDir2d; +class PColgp_VArrayTNodeOfFieldOfHArray2OfDir2d; + + +class PColgp_HArray2OfDir2d : public Standard_Persistent +{ + +public: + + + Standard_EXPORT PColgp_HArray2OfDir2d(const Standard_Integer R1, const Standard_Integer R2, const Standard_Integer C1, const Standard_Integer C2); + + Standard_EXPORT PColgp_HArray2OfDir2d(const Standard_Integer R1, const Standard_Integer R2, const Standard_Integer C1, const Standard_Integer C2, const gp_Dir2d& V); + + Standard_EXPORT Standard_Integer ColLength() const; + + Standard_Integer LowerCol() const; + + Standard_Integer LowerRow() const; + + Standard_EXPORT Standard_Integer RowLength() const; + + Standard_EXPORT void SetValue (const Standard_Integer Row, const Standard_Integer Col, const gp_Dir2d& Value) ; + + Standard_Integer UpperCol() const; + + Standard_Integer UpperRow() const; + + Standard_EXPORT gp_Dir2d Value (const Standard_Integer Row, const Standard_Integer Col) const; + +PColgp_HArray2OfDir2d( ) +{ + +} +PColgp_HArray2OfDir2d(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Standard_Integer _CSFDB_GetPColgp_HArray2OfDir2dmyLowerRow() const { return myLowerRow; } + void _CSFDB_SetPColgp_HArray2OfDir2dmyLowerRow(const Standard_Integer p) { myLowerRow = p; } + Standard_Integer _CSFDB_GetPColgp_HArray2OfDir2dmyLowerCol() const { return myLowerCol; } + void _CSFDB_SetPColgp_HArray2OfDir2dmyLowerCol(const Standard_Integer p) { myLowerCol = p; } + Standard_Integer _CSFDB_GetPColgp_HArray2OfDir2dmyUpperRow() const { return myUpperRow; } + void _CSFDB_SetPColgp_HArray2OfDir2dmyUpperRow(const Standard_Integer p) { myUpperRow = p; } + Standard_Integer _CSFDB_GetPColgp_HArray2OfDir2dmyUpperCol() const { return myUpperCol; } + void _CSFDB_SetPColgp_HArray2OfDir2dmyUpperCol(const Standard_Integer p) { myUpperCol = p; } + const PColgp_FieldOfHArray2OfDir2d& _CSFDB_GetPColgp_HArray2OfDir2dData() const { return Data; } + + + + DEFINE_STANDARD_RTTI(PColgp_HArray2OfDir2d) + +protected: + + + + +private: + + + Standard_EXPORT PColgp_FieldOfHArray2OfDir2d Field() const; + + Standard_EXPORT Standard_Address Datas() const; + + Standard_Integer myLowerRow; + Standard_Integer myLowerCol; + Standard_Integer myUpperRow; + Standard_Integer myUpperCol; + PColgp_FieldOfHArray2OfDir2d Data; + + +}; + +#define Item gp_Dir2d +#define Item_hxx +#define PCollection_FieldOfHArray2 PColgp_FieldOfHArray2OfDir2d +#define PCollection_FieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PColgp_VArrayNodeOfFieldOfHArray2OfDir2d +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PColgp_VArrayTNodeOfFieldOfHArray2OfDir2d +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PColgp_VArrayNodeOfFieldOfHArray2OfDir2d +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PColgp_VArrayTNodeOfFieldOfHArray2OfDir2d +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColgp_VArrayNodeOfFieldOfHArray2OfDir2d +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfDir2d_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColgp_VArrayNodeOfFieldOfHArray2OfDir2d +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfDir2d_Type_() +#define PCollection_HArray2 PColgp_HArray2OfDir2d +#define PCollection_HArray2_hxx +#define Handle_PCollection_HArray2 Handle_PColgp_HArray2OfDir2d +#define PCollection_HArray2_Type_() PColgp_HArray2OfDir2d_Type_() + +#include + +#undef Item +#undef Item_hxx +#undef PCollection_FieldOfHArray2 +#undef PCollection_FieldOfHArray2_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray2 +#undef PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray2 +#undef PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_Type_ +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_Type_ +#undef PCollection_HArray2 +#undef PCollection_HArray2_hxx +#undef Handle_PCollection_HArray2 +#undef PCollection_HArray2_Type_ + + + + +#endif // _PColgp_HArray2OfDir2d_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_HArray2OfDir2d_0.cxx b/src/FromOCCT/TKPShape/PColgp_HArray2OfDir2d_0.cxx new file mode 100644 index 000000000..f8a98594f --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_HArray2OfDir2d_0.cxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColgp_HArray2OfDir2d,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColgp_HArray2OfDir2d) + + +#define Item gp_Dir2d +#define Item_hxx +#define PCollection_FieldOfHArray2 PColgp_FieldOfHArray2OfDir2d +#define PCollection_FieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PColgp_VArrayNodeOfFieldOfHArray2OfDir2d +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PColgp_VArrayTNodeOfFieldOfHArray2OfDir2d +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PColgp_VArrayNodeOfFieldOfHArray2OfDir2d +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PColgp_VArrayTNodeOfFieldOfHArray2OfDir2d +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColgp_VArrayNodeOfFieldOfHArray2OfDir2d +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfDir2d_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColgp_VArrayNodeOfFieldOfHArray2OfDir2d +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfDir2d_Type_() +#define PCollection_HArray2 PColgp_HArray2OfDir2d +#define PCollection_HArray2_hxx +#define Handle_PCollection_HArray2 Handle_PColgp_HArray2OfDir2d +#define PCollection_HArray2_Type_() PColgp_HArray2OfDir2d_Type_() +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_HArray2OfDir_0.cxx b/src/FromOCCT/TKPShape/PColgp_HArray2OfDir_0.cxx new file mode 100644 index 000000000..a2987e076 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_HArray2OfDir_0.cxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColgp_HArray2OfDir,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColgp_HArray2OfDir) + + +#define Item gp_Dir +#define Item_hxx +#define PCollection_FieldOfHArray2 PColgp_FieldOfHArray2OfDir +#define PCollection_FieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PColgp_VArrayNodeOfFieldOfHArray2OfDir +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PColgp_VArrayTNodeOfFieldOfHArray2OfDir +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PColgp_VArrayNodeOfFieldOfHArray2OfDir +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PColgp_VArrayTNodeOfFieldOfHArray2OfDir +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColgp_VArrayNodeOfFieldOfHArray2OfDir +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfDir_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColgp_VArrayNodeOfFieldOfHArray2OfDir +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfDir_Type_() +#define PCollection_HArray2 PColgp_HArray2OfDir +#define PCollection_HArray2_hxx +#define Handle_PCollection_HArray2 Handle_PColgp_HArray2OfDir +#define PCollection_HArray2_Type_() PColgp_HArray2OfDir_Type_() +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_HArray2OfLin2d.hxx b/src/FromOCCT/TKPShape/PColgp_HArray2OfLin2d.hxx new file mode 100644 index 000000000..c850715af --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_HArray2OfLin2d.hxx @@ -0,0 +1,144 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_HArray2OfLin2d_HeaderFile +#define _PColgp_HArray2OfLin2d_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class Standard_RangeError; +class Standard_OutOfRange; +class gp_Lin2d; +class PColgp_FieldOfHArray2OfLin2d; +class PColgp_VArrayNodeOfFieldOfHArray2OfLin2d; +class PColgp_VArrayTNodeOfFieldOfHArray2OfLin2d; + + +class PColgp_HArray2OfLin2d : public Standard_Persistent +{ + +public: + + + Standard_EXPORT PColgp_HArray2OfLin2d(const Standard_Integer R1, const Standard_Integer R2, const Standard_Integer C1, const Standard_Integer C2); + + Standard_EXPORT PColgp_HArray2OfLin2d(const Standard_Integer R1, const Standard_Integer R2, const Standard_Integer C1, const Standard_Integer C2, const gp_Lin2d& V); + + Standard_EXPORT Standard_Integer ColLength() const; + + Standard_Integer LowerCol() const; + + Standard_Integer LowerRow() const; + + Standard_EXPORT Standard_Integer RowLength() const; + + Standard_EXPORT void SetValue (const Standard_Integer Row, const Standard_Integer Col, const gp_Lin2d& Value) ; + + Standard_Integer UpperCol() const; + + Standard_Integer UpperRow() const; + + Standard_EXPORT gp_Lin2d Value (const Standard_Integer Row, const Standard_Integer Col) const; + +PColgp_HArray2OfLin2d( ) +{ + +} +PColgp_HArray2OfLin2d(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Standard_Integer _CSFDB_GetPColgp_HArray2OfLin2dmyLowerRow() const { return myLowerRow; } + void _CSFDB_SetPColgp_HArray2OfLin2dmyLowerRow(const Standard_Integer p) { myLowerRow = p; } + Standard_Integer _CSFDB_GetPColgp_HArray2OfLin2dmyLowerCol() const { return myLowerCol; } + void _CSFDB_SetPColgp_HArray2OfLin2dmyLowerCol(const Standard_Integer p) { myLowerCol = p; } + Standard_Integer _CSFDB_GetPColgp_HArray2OfLin2dmyUpperRow() const { return myUpperRow; } + void _CSFDB_SetPColgp_HArray2OfLin2dmyUpperRow(const Standard_Integer p) { myUpperRow = p; } + Standard_Integer _CSFDB_GetPColgp_HArray2OfLin2dmyUpperCol() const { return myUpperCol; } + void _CSFDB_SetPColgp_HArray2OfLin2dmyUpperCol(const Standard_Integer p) { myUpperCol = p; } + const PColgp_FieldOfHArray2OfLin2d& _CSFDB_GetPColgp_HArray2OfLin2dData() const { return Data; } + + + + DEFINE_STANDARD_RTTI(PColgp_HArray2OfLin2d) + +protected: + + + + +private: + + + Standard_EXPORT PColgp_FieldOfHArray2OfLin2d Field() const; + + Standard_EXPORT Standard_Address Datas() const; + + Standard_Integer myLowerRow; + Standard_Integer myLowerCol; + Standard_Integer myUpperRow; + Standard_Integer myUpperCol; + PColgp_FieldOfHArray2OfLin2d Data; + + +}; + +#define Item gp_Lin2d +#define Item_hxx +#define PCollection_FieldOfHArray2 PColgp_FieldOfHArray2OfLin2d +#define PCollection_FieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PColgp_VArrayNodeOfFieldOfHArray2OfLin2d +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PColgp_VArrayTNodeOfFieldOfHArray2OfLin2d +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PColgp_VArrayNodeOfFieldOfHArray2OfLin2d +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PColgp_VArrayTNodeOfFieldOfHArray2OfLin2d +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColgp_VArrayNodeOfFieldOfHArray2OfLin2d +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfLin2d_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColgp_VArrayNodeOfFieldOfHArray2OfLin2d +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfLin2d_Type_() +#define PCollection_HArray2 PColgp_HArray2OfLin2d +#define PCollection_HArray2_hxx +#define Handle_PCollection_HArray2 Handle_PColgp_HArray2OfLin2d +#define PCollection_HArray2_Type_() PColgp_HArray2OfLin2d_Type_() + +#include + +#undef Item +#undef Item_hxx +#undef PCollection_FieldOfHArray2 +#undef PCollection_FieldOfHArray2_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray2 +#undef PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray2 +#undef PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_Type_ +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_Type_ +#undef PCollection_HArray2 +#undef PCollection_HArray2_hxx +#undef Handle_PCollection_HArray2 +#undef PCollection_HArray2_Type_ + + + + +#endif // _PColgp_HArray2OfLin2d_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_HArray2OfLin2d_0.cxx b/src/FromOCCT/TKPShape/PColgp_HArray2OfLin2d_0.cxx new file mode 100644 index 000000000..64df23628 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_HArray2OfLin2d_0.cxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColgp_HArray2OfLin2d,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColgp_HArray2OfLin2d) + + +#define Item gp_Lin2d +#define Item_hxx +#define PCollection_FieldOfHArray2 PColgp_FieldOfHArray2OfLin2d +#define PCollection_FieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PColgp_VArrayNodeOfFieldOfHArray2OfLin2d +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PColgp_VArrayTNodeOfFieldOfHArray2OfLin2d +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PColgp_VArrayNodeOfFieldOfHArray2OfLin2d +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PColgp_VArrayTNodeOfFieldOfHArray2OfLin2d +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColgp_VArrayNodeOfFieldOfHArray2OfLin2d +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfLin2d_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColgp_VArrayNodeOfFieldOfHArray2OfLin2d +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfLin2d_Type_() +#define PCollection_HArray2 PColgp_HArray2OfLin2d +#define PCollection_HArray2_hxx +#define Handle_PCollection_HArray2 Handle_PColgp_HArray2OfLin2d +#define PCollection_HArray2_Type_() PColgp_HArray2OfLin2d_Type_() +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_HArray2OfPnt.hxx b/src/FromOCCT/TKPShape/PColgp_HArray2OfPnt.hxx new file mode 100644 index 000000000..9f75cf71c --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_HArray2OfPnt.hxx @@ -0,0 +1,144 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_HArray2OfPnt_HeaderFile +#define _PColgp_HArray2OfPnt_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class Standard_RangeError; +class Standard_OutOfRange; +class gp_Pnt; +class PColgp_FieldOfHArray2OfPnt; +class PColgp_VArrayNodeOfFieldOfHArray2OfPnt; +class PColgp_VArrayTNodeOfFieldOfHArray2OfPnt; + + +class PColgp_HArray2OfPnt : public Standard_Persistent +{ + +public: + + + Standard_EXPORT PColgp_HArray2OfPnt(const Standard_Integer R1, const Standard_Integer R2, const Standard_Integer C1, const Standard_Integer C2); + + Standard_EXPORT PColgp_HArray2OfPnt(const Standard_Integer R1, const Standard_Integer R2, const Standard_Integer C1, const Standard_Integer C2, const gp_Pnt& V); + + Standard_EXPORT Standard_Integer ColLength() const; + + Standard_Integer LowerCol() const; + + Standard_Integer LowerRow() const; + + Standard_EXPORT Standard_Integer RowLength() const; + + Standard_EXPORT void SetValue (const Standard_Integer Row, const Standard_Integer Col, const gp_Pnt& Value) ; + + Standard_Integer UpperCol() const; + + Standard_Integer UpperRow() const; + + Standard_EXPORT gp_Pnt Value (const Standard_Integer Row, const Standard_Integer Col) const; + +PColgp_HArray2OfPnt( ) +{ + +} +PColgp_HArray2OfPnt(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Standard_Integer _CSFDB_GetPColgp_HArray2OfPntmyLowerRow() const { return myLowerRow; } + void _CSFDB_SetPColgp_HArray2OfPntmyLowerRow(const Standard_Integer p) { myLowerRow = p; } + Standard_Integer _CSFDB_GetPColgp_HArray2OfPntmyLowerCol() const { return myLowerCol; } + void _CSFDB_SetPColgp_HArray2OfPntmyLowerCol(const Standard_Integer p) { myLowerCol = p; } + Standard_Integer _CSFDB_GetPColgp_HArray2OfPntmyUpperRow() const { return myUpperRow; } + void _CSFDB_SetPColgp_HArray2OfPntmyUpperRow(const Standard_Integer p) { myUpperRow = p; } + Standard_Integer _CSFDB_GetPColgp_HArray2OfPntmyUpperCol() const { return myUpperCol; } + void _CSFDB_SetPColgp_HArray2OfPntmyUpperCol(const Standard_Integer p) { myUpperCol = p; } + const PColgp_FieldOfHArray2OfPnt& _CSFDB_GetPColgp_HArray2OfPntData() const { return Data; } + + + + DEFINE_STANDARD_RTTI(PColgp_HArray2OfPnt) + +protected: + + + + +private: + + + Standard_EXPORT PColgp_FieldOfHArray2OfPnt Field() const; + + Standard_EXPORT Standard_Address Datas() const; + + Standard_Integer myLowerRow; + Standard_Integer myLowerCol; + Standard_Integer myUpperRow; + Standard_Integer myUpperCol; + PColgp_FieldOfHArray2OfPnt Data; + + +}; + +#define Item gp_Pnt +#define Item_hxx +#define PCollection_FieldOfHArray2 PColgp_FieldOfHArray2OfPnt +#define PCollection_FieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PColgp_VArrayNodeOfFieldOfHArray2OfPnt +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PColgp_VArrayTNodeOfFieldOfHArray2OfPnt +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PColgp_VArrayNodeOfFieldOfHArray2OfPnt +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PColgp_VArrayTNodeOfFieldOfHArray2OfPnt +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColgp_VArrayNodeOfFieldOfHArray2OfPnt +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfPnt_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColgp_VArrayNodeOfFieldOfHArray2OfPnt +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfPnt_Type_() +#define PCollection_HArray2 PColgp_HArray2OfPnt +#define PCollection_HArray2_hxx +#define Handle_PCollection_HArray2 Handle_PColgp_HArray2OfPnt +#define PCollection_HArray2_Type_() PColgp_HArray2OfPnt_Type_() + +#include + +#undef Item +#undef Item_hxx +#undef PCollection_FieldOfHArray2 +#undef PCollection_FieldOfHArray2_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray2 +#undef PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray2 +#undef PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_Type_ +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_Type_ +#undef PCollection_HArray2 +#undef PCollection_HArray2_hxx +#undef Handle_PCollection_HArray2 +#undef PCollection_HArray2_Type_ + + + + +#endif // _PColgp_HArray2OfPnt_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_HArray2OfPnt2d.hxx b/src/FromOCCT/TKPShape/PColgp_HArray2OfPnt2d.hxx new file mode 100644 index 000000000..a9aa8e21d --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_HArray2OfPnt2d.hxx @@ -0,0 +1,144 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_HArray2OfPnt2d_HeaderFile +#define _PColgp_HArray2OfPnt2d_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class Standard_RangeError; +class Standard_OutOfRange; +class gp_Pnt2d; +class PColgp_FieldOfHArray2OfPnt2d; +class PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d; +class PColgp_VArrayTNodeOfFieldOfHArray2OfPnt2d; + + +class PColgp_HArray2OfPnt2d : public Standard_Persistent +{ + +public: + + + Standard_EXPORT PColgp_HArray2OfPnt2d(const Standard_Integer R1, const Standard_Integer R2, const Standard_Integer C1, const Standard_Integer C2); + + Standard_EXPORT PColgp_HArray2OfPnt2d(const Standard_Integer R1, const Standard_Integer R2, const Standard_Integer C1, const Standard_Integer C2, const gp_Pnt2d& V); + + Standard_EXPORT Standard_Integer ColLength() const; + + Standard_Integer LowerCol() const; + + Standard_Integer LowerRow() const; + + Standard_EXPORT Standard_Integer RowLength() const; + + Standard_EXPORT void SetValue (const Standard_Integer Row, const Standard_Integer Col, const gp_Pnt2d& Value) ; + + Standard_Integer UpperCol() const; + + Standard_Integer UpperRow() const; + + Standard_EXPORT gp_Pnt2d Value (const Standard_Integer Row, const Standard_Integer Col) const; + +PColgp_HArray2OfPnt2d( ) +{ + +} +PColgp_HArray2OfPnt2d(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Standard_Integer _CSFDB_GetPColgp_HArray2OfPnt2dmyLowerRow() const { return myLowerRow; } + void _CSFDB_SetPColgp_HArray2OfPnt2dmyLowerRow(const Standard_Integer p) { myLowerRow = p; } + Standard_Integer _CSFDB_GetPColgp_HArray2OfPnt2dmyLowerCol() const { return myLowerCol; } + void _CSFDB_SetPColgp_HArray2OfPnt2dmyLowerCol(const Standard_Integer p) { myLowerCol = p; } + Standard_Integer _CSFDB_GetPColgp_HArray2OfPnt2dmyUpperRow() const { return myUpperRow; } + void _CSFDB_SetPColgp_HArray2OfPnt2dmyUpperRow(const Standard_Integer p) { myUpperRow = p; } + Standard_Integer _CSFDB_GetPColgp_HArray2OfPnt2dmyUpperCol() const { return myUpperCol; } + void _CSFDB_SetPColgp_HArray2OfPnt2dmyUpperCol(const Standard_Integer p) { myUpperCol = p; } + const PColgp_FieldOfHArray2OfPnt2d& _CSFDB_GetPColgp_HArray2OfPnt2dData() const { return Data; } + + + + DEFINE_STANDARD_RTTI(PColgp_HArray2OfPnt2d) + +protected: + + + + +private: + + + Standard_EXPORT PColgp_FieldOfHArray2OfPnt2d Field() const; + + Standard_EXPORT Standard_Address Datas() const; + + Standard_Integer myLowerRow; + Standard_Integer myLowerCol; + Standard_Integer myUpperRow; + Standard_Integer myUpperCol; + PColgp_FieldOfHArray2OfPnt2d Data; + + +}; + +#define Item gp_Pnt2d +#define Item_hxx +#define PCollection_FieldOfHArray2 PColgp_FieldOfHArray2OfPnt2d +#define PCollection_FieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PColgp_VArrayTNodeOfFieldOfHArray2OfPnt2d +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PColgp_VArrayTNodeOfFieldOfHArray2OfPnt2d +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d_Type_() +#define PCollection_HArray2 PColgp_HArray2OfPnt2d +#define PCollection_HArray2_hxx +#define Handle_PCollection_HArray2 Handle_PColgp_HArray2OfPnt2d +#define PCollection_HArray2_Type_() PColgp_HArray2OfPnt2d_Type_() + +#include + +#undef Item +#undef Item_hxx +#undef PCollection_FieldOfHArray2 +#undef PCollection_FieldOfHArray2_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray2 +#undef PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray2 +#undef PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_Type_ +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_Type_ +#undef PCollection_HArray2 +#undef PCollection_HArray2_hxx +#undef Handle_PCollection_HArray2 +#undef PCollection_HArray2_Type_ + + + + +#endif // _PColgp_HArray2OfPnt2d_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_HArray2OfPnt2d_0.cxx b/src/FromOCCT/TKPShape/PColgp_HArray2OfPnt2d_0.cxx new file mode 100644 index 000000000..ccec68997 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_HArray2OfPnt2d_0.cxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColgp_HArray2OfPnt2d,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColgp_HArray2OfPnt2d) + + +#define Item gp_Pnt2d +#define Item_hxx +#define PCollection_FieldOfHArray2 PColgp_FieldOfHArray2OfPnt2d +#define PCollection_FieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PColgp_VArrayTNodeOfFieldOfHArray2OfPnt2d +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PColgp_VArrayTNodeOfFieldOfHArray2OfPnt2d +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d_Type_() +#define PCollection_HArray2 PColgp_HArray2OfPnt2d +#define PCollection_HArray2_hxx +#define Handle_PCollection_HArray2 Handle_PColgp_HArray2OfPnt2d +#define PCollection_HArray2_Type_() PColgp_HArray2OfPnt2d_Type_() +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_HArray2OfPnt_0.cxx b/src/FromOCCT/TKPShape/PColgp_HArray2OfPnt_0.cxx new file mode 100644 index 000000000..dc17b67b0 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_HArray2OfPnt_0.cxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColgp_HArray2OfPnt,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColgp_HArray2OfPnt) + + +#define Item gp_Pnt +#define Item_hxx +#define PCollection_FieldOfHArray2 PColgp_FieldOfHArray2OfPnt +#define PCollection_FieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PColgp_VArrayNodeOfFieldOfHArray2OfPnt +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PColgp_VArrayTNodeOfFieldOfHArray2OfPnt +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PColgp_VArrayNodeOfFieldOfHArray2OfPnt +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PColgp_VArrayTNodeOfFieldOfHArray2OfPnt +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColgp_VArrayNodeOfFieldOfHArray2OfPnt +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfPnt_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColgp_VArrayNodeOfFieldOfHArray2OfPnt +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfPnt_Type_() +#define PCollection_HArray2 PColgp_HArray2OfPnt +#define PCollection_HArray2_hxx +#define Handle_PCollection_HArray2 Handle_PColgp_HArray2OfPnt +#define PCollection_HArray2_Type_() PColgp_HArray2OfPnt_Type_() +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_HArray2OfVec.hxx b/src/FromOCCT/TKPShape/PColgp_HArray2OfVec.hxx new file mode 100644 index 000000000..58db6958c --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_HArray2OfVec.hxx @@ -0,0 +1,144 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_HArray2OfVec_HeaderFile +#define _PColgp_HArray2OfVec_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class Standard_RangeError; +class Standard_OutOfRange; +class gp_Vec; +class PColgp_FieldOfHArray2OfVec; +class PColgp_VArrayNodeOfFieldOfHArray2OfVec; +class PColgp_VArrayTNodeOfFieldOfHArray2OfVec; + + +class PColgp_HArray2OfVec : public Standard_Persistent +{ + +public: + + + Standard_EXPORT PColgp_HArray2OfVec(const Standard_Integer R1, const Standard_Integer R2, const Standard_Integer C1, const Standard_Integer C2); + + Standard_EXPORT PColgp_HArray2OfVec(const Standard_Integer R1, const Standard_Integer R2, const Standard_Integer C1, const Standard_Integer C2, const gp_Vec& V); + + Standard_EXPORT Standard_Integer ColLength() const; + + Standard_Integer LowerCol() const; + + Standard_Integer LowerRow() const; + + Standard_EXPORT Standard_Integer RowLength() const; + + Standard_EXPORT void SetValue (const Standard_Integer Row, const Standard_Integer Col, const gp_Vec& Value) ; + + Standard_Integer UpperCol() const; + + Standard_Integer UpperRow() const; + + Standard_EXPORT gp_Vec Value (const Standard_Integer Row, const Standard_Integer Col) const; + +PColgp_HArray2OfVec( ) +{ + +} +PColgp_HArray2OfVec(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Standard_Integer _CSFDB_GetPColgp_HArray2OfVecmyLowerRow() const { return myLowerRow; } + void _CSFDB_SetPColgp_HArray2OfVecmyLowerRow(const Standard_Integer p) { myLowerRow = p; } + Standard_Integer _CSFDB_GetPColgp_HArray2OfVecmyLowerCol() const { return myLowerCol; } + void _CSFDB_SetPColgp_HArray2OfVecmyLowerCol(const Standard_Integer p) { myLowerCol = p; } + Standard_Integer _CSFDB_GetPColgp_HArray2OfVecmyUpperRow() const { return myUpperRow; } + void _CSFDB_SetPColgp_HArray2OfVecmyUpperRow(const Standard_Integer p) { myUpperRow = p; } + Standard_Integer _CSFDB_GetPColgp_HArray2OfVecmyUpperCol() const { return myUpperCol; } + void _CSFDB_SetPColgp_HArray2OfVecmyUpperCol(const Standard_Integer p) { myUpperCol = p; } + const PColgp_FieldOfHArray2OfVec& _CSFDB_GetPColgp_HArray2OfVecData() const { return Data; } + + + + DEFINE_STANDARD_RTTI(PColgp_HArray2OfVec) + +protected: + + + + +private: + + + Standard_EXPORT PColgp_FieldOfHArray2OfVec Field() const; + + Standard_EXPORT Standard_Address Datas() const; + + Standard_Integer myLowerRow; + Standard_Integer myLowerCol; + Standard_Integer myUpperRow; + Standard_Integer myUpperCol; + PColgp_FieldOfHArray2OfVec Data; + + +}; + +#define Item gp_Vec +#define Item_hxx +#define PCollection_FieldOfHArray2 PColgp_FieldOfHArray2OfVec +#define PCollection_FieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PColgp_VArrayNodeOfFieldOfHArray2OfVec +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PColgp_VArrayTNodeOfFieldOfHArray2OfVec +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PColgp_VArrayNodeOfFieldOfHArray2OfVec +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PColgp_VArrayTNodeOfFieldOfHArray2OfVec +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColgp_VArrayNodeOfFieldOfHArray2OfVec +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfVec_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColgp_VArrayNodeOfFieldOfHArray2OfVec +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfVec_Type_() +#define PCollection_HArray2 PColgp_HArray2OfVec +#define PCollection_HArray2_hxx +#define Handle_PCollection_HArray2 Handle_PColgp_HArray2OfVec +#define PCollection_HArray2_Type_() PColgp_HArray2OfVec_Type_() + +#include + +#undef Item +#undef Item_hxx +#undef PCollection_FieldOfHArray2 +#undef PCollection_FieldOfHArray2_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray2 +#undef PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray2 +#undef PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_Type_ +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_Type_ +#undef PCollection_HArray2 +#undef PCollection_HArray2_hxx +#undef Handle_PCollection_HArray2 +#undef PCollection_HArray2_Type_ + + + + +#endif // _PColgp_HArray2OfVec_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_HArray2OfVec2d.hxx b/src/FromOCCT/TKPShape/PColgp_HArray2OfVec2d.hxx new file mode 100644 index 000000000..7e1a8058d --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_HArray2OfVec2d.hxx @@ -0,0 +1,144 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_HArray2OfVec2d_HeaderFile +#define _PColgp_HArray2OfVec2d_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class Standard_RangeError; +class Standard_OutOfRange; +class gp_Vec2d; +class PColgp_FieldOfHArray2OfVec2d; +class PColgp_VArrayNodeOfFieldOfHArray2OfVec2d; +class PColgp_VArrayTNodeOfFieldOfHArray2OfVec2d; + + +class PColgp_HArray2OfVec2d : public Standard_Persistent +{ + +public: + + + Standard_EXPORT PColgp_HArray2OfVec2d(const Standard_Integer R1, const Standard_Integer R2, const Standard_Integer C1, const Standard_Integer C2); + + Standard_EXPORT PColgp_HArray2OfVec2d(const Standard_Integer R1, const Standard_Integer R2, const Standard_Integer C1, const Standard_Integer C2, const gp_Vec2d& V); + + Standard_EXPORT Standard_Integer ColLength() const; + + Standard_Integer LowerCol() const; + + Standard_Integer LowerRow() const; + + Standard_EXPORT Standard_Integer RowLength() const; + + Standard_EXPORT void SetValue (const Standard_Integer Row, const Standard_Integer Col, const gp_Vec2d& Value) ; + + Standard_Integer UpperCol() const; + + Standard_Integer UpperRow() const; + + Standard_EXPORT gp_Vec2d Value (const Standard_Integer Row, const Standard_Integer Col) const; + +PColgp_HArray2OfVec2d( ) +{ + +} +PColgp_HArray2OfVec2d(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Standard_Integer _CSFDB_GetPColgp_HArray2OfVec2dmyLowerRow() const { return myLowerRow; } + void _CSFDB_SetPColgp_HArray2OfVec2dmyLowerRow(const Standard_Integer p) { myLowerRow = p; } + Standard_Integer _CSFDB_GetPColgp_HArray2OfVec2dmyLowerCol() const { return myLowerCol; } + void _CSFDB_SetPColgp_HArray2OfVec2dmyLowerCol(const Standard_Integer p) { myLowerCol = p; } + Standard_Integer _CSFDB_GetPColgp_HArray2OfVec2dmyUpperRow() const { return myUpperRow; } + void _CSFDB_SetPColgp_HArray2OfVec2dmyUpperRow(const Standard_Integer p) { myUpperRow = p; } + Standard_Integer _CSFDB_GetPColgp_HArray2OfVec2dmyUpperCol() const { return myUpperCol; } + void _CSFDB_SetPColgp_HArray2OfVec2dmyUpperCol(const Standard_Integer p) { myUpperCol = p; } + const PColgp_FieldOfHArray2OfVec2d& _CSFDB_GetPColgp_HArray2OfVec2dData() const { return Data; } + + + + DEFINE_STANDARD_RTTI(PColgp_HArray2OfVec2d) + +protected: + + + + +private: + + + Standard_EXPORT PColgp_FieldOfHArray2OfVec2d Field() const; + + Standard_EXPORT Standard_Address Datas() const; + + Standard_Integer myLowerRow; + Standard_Integer myLowerCol; + Standard_Integer myUpperRow; + Standard_Integer myUpperCol; + PColgp_FieldOfHArray2OfVec2d Data; + + +}; + +#define Item gp_Vec2d +#define Item_hxx +#define PCollection_FieldOfHArray2 PColgp_FieldOfHArray2OfVec2d +#define PCollection_FieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PColgp_VArrayNodeOfFieldOfHArray2OfVec2d +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PColgp_VArrayTNodeOfFieldOfHArray2OfVec2d +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PColgp_VArrayNodeOfFieldOfHArray2OfVec2d +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PColgp_VArrayTNodeOfFieldOfHArray2OfVec2d +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColgp_VArrayNodeOfFieldOfHArray2OfVec2d +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfVec2d_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColgp_VArrayNodeOfFieldOfHArray2OfVec2d +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfVec2d_Type_() +#define PCollection_HArray2 PColgp_HArray2OfVec2d +#define PCollection_HArray2_hxx +#define Handle_PCollection_HArray2 Handle_PColgp_HArray2OfVec2d +#define PCollection_HArray2_Type_() PColgp_HArray2OfVec2d_Type_() + +#include + +#undef Item +#undef Item_hxx +#undef PCollection_FieldOfHArray2 +#undef PCollection_FieldOfHArray2_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray2 +#undef PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray2 +#undef PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_Type_ +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_Type_ +#undef PCollection_HArray2 +#undef PCollection_HArray2_hxx +#undef Handle_PCollection_HArray2 +#undef PCollection_HArray2_Type_ + + + + +#endif // _PColgp_HArray2OfVec2d_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_HArray2OfVec2d_0.cxx b/src/FromOCCT/TKPShape/PColgp_HArray2OfVec2d_0.cxx new file mode 100644 index 000000000..d680c0b50 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_HArray2OfVec2d_0.cxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColgp_HArray2OfVec2d,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColgp_HArray2OfVec2d) + + +#define Item gp_Vec2d +#define Item_hxx +#define PCollection_FieldOfHArray2 PColgp_FieldOfHArray2OfVec2d +#define PCollection_FieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PColgp_VArrayNodeOfFieldOfHArray2OfVec2d +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PColgp_VArrayTNodeOfFieldOfHArray2OfVec2d +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PColgp_VArrayNodeOfFieldOfHArray2OfVec2d +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PColgp_VArrayTNodeOfFieldOfHArray2OfVec2d +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColgp_VArrayNodeOfFieldOfHArray2OfVec2d +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfVec2d_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColgp_VArrayNodeOfFieldOfHArray2OfVec2d +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfVec2d_Type_() +#define PCollection_HArray2 PColgp_HArray2OfVec2d +#define PCollection_HArray2_hxx +#define Handle_PCollection_HArray2 Handle_PColgp_HArray2OfVec2d +#define PCollection_HArray2_Type_() PColgp_HArray2OfVec2d_Type_() +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_HArray2OfVec_0.cxx b/src/FromOCCT/TKPShape/PColgp_HArray2OfVec_0.cxx new file mode 100644 index 000000000..19cdc3709 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_HArray2OfVec_0.cxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColgp_HArray2OfVec,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColgp_HArray2OfVec) + + +#define Item gp_Vec +#define Item_hxx +#define PCollection_FieldOfHArray2 PColgp_FieldOfHArray2OfVec +#define PCollection_FieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PColgp_VArrayNodeOfFieldOfHArray2OfVec +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PColgp_VArrayTNodeOfFieldOfHArray2OfVec +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PColgp_VArrayNodeOfFieldOfHArray2OfVec +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PColgp_VArrayTNodeOfFieldOfHArray2OfVec +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColgp_VArrayNodeOfFieldOfHArray2OfVec +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfVec_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColgp_VArrayNodeOfFieldOfHArray2OfVec +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfVec_Type_() +#define PCollection_HArray2 PColgp_HArray2OfVec +#define PCollection_HArray2_hxx +#define Handle_PCollection_HArray2 Handle_PColgp_HArray2OfVec +#define PCollection_HArray2_Type_() PColgp_HArray2OfVec_Type_() +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_HArray2OfXY.hxx b/src/FromOCCT/TKPShape/PColgp_HArray2OfXY.hxx new file mode 100644 index 000000000..e9ae7058c --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_HArray2OfXY.hxx @@ -0,0 +1,144 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_HArray2OfXY_HeaderFile +#define _PColgp_HArray2OfXY_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class Standard_RangeError; +class Standard_OutOfRange; +class gp_XY; +class PColgp_FieldOfHArray2OfXY; +class PColgp_VArrayNodeOfFieldOfHArray2OfXY; +class PColgp_VArrayTNodeOfFieldOfHArray2OfXY; + + +class PColgp_HArray2OfXY : public Standard_Persistent +{ + +public: + + + Standard_EXPORT PColgp_HArray2OfXY(const Standard_Integer R1, const Standard_Integer R2, const Standard_Integer C1, const Standard_Integer C2); + + Standard_EXPORT PColgp_HArray2OfXY(const Standard_Integer R1, const Standard_Integer R2, const Standard_Integer C1, const Standard_Integer C2, const gp_XY& V); + + Standard_EXPORT Standard_Integer ColLength() const; + + Standard_Integer LowerCol() const; + + Standard_Integer LowerRow() const; + + Standard_EXPORT Standard_Integer RowLength() const; + + Standard_EXPORT void SetValue (const Standard_Integer Row, const Standard_Integer Col, const gp_XY& Value) ; + + Standard_Integer UpperCol() const; + + Standard_Integer UpperRow() const; + + Standard_EXPORT gp_XY Value (const Standard_Integer Row, const Standard_Integer Col) const; + +PColgp_HArray2OfXY( ) +{ + +} +PColgp_HArray2OfXY(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Standard_Integer _CSFDB_GetPColgp_HArray2OfXYmyLowerRow() const { return myLowerRow; } + void _CSFDB_SetPColgp_HArray2OfXYmyLowerRow(const Standard_Integer p) { myLowerRow = p; } + Standard_Integer _CSFDB_GetPColgp_HArray2OfXYmyLowerCol() const { return myLowerCol; } + void _CSFDB_SetPColgp_HArray2OfXYmyLowerCol(const Standard_Integer p) { myLowerCol = p; } + Standard_Integer _CSFDB_GetPColgp_HArray2OfXYmyUpperRow() const { return myUpperRow; } + void _CSFDB_SetPColgp_HArray2OfXYmyUpperRow(const Standard_Integer p) { myUpperRow = p; } + Standard_Integer _CSFDB_GetPColgp_HArray2OfXYmyUpperCol() const { return myUpperCol; } + void _CSFDB_SetPColgp_HArray2OfXYmyUpperCol(const Standard_Integer p) { myUpperCol = p; } + const PColgp_FieldOfHArray2OfXY& _CSFDB_GetPColgp_HArray2OfXYData() const { return Data; } + + + + DEFINE_STANDARD_RTTI(PColgp_HArray2OfXY) + +protected: + + + + +private: + + + Standard_EXPORT PColgp_FieldOfHArray2OfXY Field() const; + + Standard_EXPORT Standard_Address Datas() const; + + Standard_Integer myLowerRow; + Standard_Integer myLowerCol; + Standard_Integer myUpperRow; + Standard_Integer myUpperCol; + PColgp_FieldOfHArray2OfXY Data; + + +}; + +#define Item gp_XY +#define Item_hxx +#define PCollection_FieldOfHArray2 PColgp_FieldOfHArray2OfXY +#define PCollection_FieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PColgp_VArrayNodeOfFieldOfHArray2OfXY +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PColgp_VArrayTNodeOfFieldOfHArray2OfXY +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PColgp_VArrayNodeOfFieldOfHArray2OfXY +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PColgp_VArrayTNodeOfFieldOfHArray2OfXY +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColgp_VArrayNodeOfFieldOfHArray2OfXY +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfXY_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColgp_VArrayNodeOfFieldOfHArray2OfXY +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfXY_Type_() +#define PCollection_HArray2 PColgp_HArray2OfXY +#define PCollection_HArray2_hxx +#define Handle_PCollection_HArray2 Handle_PColgp_HArray2OfXY +#define PCollection_HArray2_Type_() PColgp_HArray2OfXY_Type_() + +#include + +#undef Item +#undef Item_hxx +#undef PCollection_FieldOfHArray2 +#undef PCollection_FieldOfHArray2_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray2 +#undef PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray2 +#undef PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_Type_ +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_Type_ +#undef PCollection_HArray2 +#undef PCollection_HArray2_hxx +#undef Handle_PCollection_HArray2 +#undef PCollection_HArray2_Type_ + + + + +#endif // _PColgp_HArray2OfXY_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_HArray2OfXYZ.hxx b/src/FromOCCT/TKPShape/PColgp_HArray2OfXYZ.hxx new file mode 100644 index 000000000..6de39b956 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_HArray2OfXYZ.hxx @@ -0,0 +1,144 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_HArray2OfXYZ_HeaderFile +#define _PColgp_HArray2OfXYZ_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class Standard_RangeError; +class Standard_OutOfRange; +class gp_XYZ; +class PColgp_FieldOfHArray2OfXYZ; +class PColgp_VArrayNodeOfFieldOfHArray2OfXYZ; +class PColgp_VArrayTNodeOfFieldOfHArray2OfXYZ; + + +class PColgp_HArray2OfXYZ : public Standard_Persistent +{ + +public: + + + Standard_EXPORT PColgp_HArray2OfXYZ(const Standard_Integer R1, const Standard_Integer R2, const Standard_Integer C1, const Standard_Integer C2); + + Standard_EXPORT PColgp_HArray2OfXYZ(const Standard_Integer R1, const Standard_Integer R2, const Standard_Integer C1, const Standard_Integer C2, const gp_XYZ& V); + + Standard_EXPORT Standard_Integer ColLength() const; + + Standard_Integer LowerCol() const; + + Standard_Integer LowerRow() const; + + Standard_EXPORT Standard_Integer RowLength() const; + + Standard_EXPORT void SetValue (const Standard_Integer Row, const Standard_Integer Col, const gp_XYZ& Value) ; + + Standard_Integer UpperCol() const; + + Standard_Integer UpperRow() const; + + Standard_EXPORT gp_XYZ Value (const Standard_Integer Row, const Standard_Integer Col) const; + +PColgp_HArray2OfXYZ( ) +{ + +} +PColgp_HArray2OfXYZ(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Standard_Integer _CSFDB_GetPColgp_HArray2OfXYZmyLowerRow() const { return myLowerRow; } + void _CSFDB_SetPColgp_HArray2OfXYZmyLowerRow(const Standard_Integer p) { myLowerRow = p; } + Standard_Integer _CSFDB_GetPColgp_HArray2OfXYZmyLowerCol() const { return myLowerCol; } + void _CSFDB_SetPColgp_HArray2OfXYZmyLowerCol(const Standard_Integer p) { myLowerCol = p; } + Standard_Integer _CSFDB_GetPColgp_HArray2OfXYZmyUpperRow() const { return myUpperRow; } + void _CSFDB_SetPColgp_HArray2OfXYZmyUpperRow(const Standard_Integer p) { myUpperRow = p; } + Standard_Integer _CSFDB_GetPColgp_HArray2OfXYZmyUpperCol() const { return myUpperCol; } + void _CSFDB_SetPColgp_HArray2OfXYZmyUpperCol(const Standard_Integer p) { myUpperCol = p; } + const PColgp_FieldOfHArray2OfXYZ& _CSFDB_GetPColgp_HArray2OfXYZData() const { return Data; } + + + + DEFINE_STANDARD_RTTI(PColgp_HArray2OfXYZ) + +protected: + + + + +private: + + + Standard_EXPORT PColgp_FieldOfHArray2OfXYZ Field() const; + + Standard_EXPORT Standard_Address Datas() const; + + Standard_Integer myLowerRow; + Standard_Integer myLowerCol; + Standard_Integer myUpperRow; + Standard_Integer myUpperCol; + PColgp_FieldOfHArray2OfXYZ Data; + + +}; + +#define Item gp_XYZ +#define Item_hxx +#define PCollection_FieldOfHArray2 PColgp_FieldOfHArray2OfXYZ +#define PCollection_FieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PColgp_VArrayNodeOfFieldOfHArray2OfXYZ +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PColgp_VArrayTNodeOfFieldOfHArray2OfXYZ +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PColgp_VArrayNodeOfFieldOfHArray2OfXYZ +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PColgp_VArrayTNodeOfFieldOfHArray2OfXYZ +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColgp_VArrayNodeOfFieldOfHArray2OfXYZ +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfXYZ_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColgp_VArrayNodeOfFieldOfHArray2OfXYZ +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfXYZ_Type_() +#define PCollection_HArray2 PColgp_HArray2OfXYZ +#define PCollection_HArray2_hxx +#define Handle_PCollection_HArray2 Handle_PColgp_HArray2OfXYZ +#define PCollection_HArray2_Type_() PColgp_HArray2OfXYZ_Type_() + +#include + +#undef Item +#undef Item_hxx +#undef PCollection_FieldOfHArray2 +#undef PCollection_FieldOfHArray2_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray2 +#undef PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray2 +#undef PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_Type_ +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray2 +#undef PCollection_VArrayNodeOfFieldOfHArray2_Type_ +#undef PCollection_HArray2 +#undef PCollection_HArray2_hxx +#undef Handle_PCollection_HArray2 +#undef PCollection_HArray2_Type_ + + + + +#endif // _PColgp_HArray2OfXYZ_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_HArray2OfXYZ_0.cxx b/src/FromOCCT/TKPShape/PColgp_HArray2OfXYZ_0.cxx new file mode 100644 index 000000000..7e8fffaf5 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_HArray2OfXYZ_0.cxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColgp_HArray2OfXYZ,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColgp_HArray2OfXYZ) + + +#define Item gp_XYZ +#define Item_hxx +#define PCollection_FieldOfHArray2 PColgp_FieldOfHArray2OfXYZ +#define PCollection_FieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PColgp_VArrayNodeOfFieldOfHArray2OfXYZ +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PColgp_VArrayTNodeOfFieldOfHArray2OfXYZ +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PColgp_VArrayNodeOfFieldOfHArray2OfXYZ +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PColgp_VArrayTNodeOfFieldOfHArray2OfXYZ +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColgp_VArrayNodeOfFieldOfHArray2OfXYZ +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfXYZ_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColgp_VArrayNodeOfFieldOfHArray2OfXYZ +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfXYZ_Type_() +#define PCollection_HArray2 PColgp_HArray2OfXYZ +#define PCollection_HArray2_hxx +#define Handle_PCollection_HArray2 Handle_PColgp_HArray2OfXYZ +#define PCollection_HArray2_Type_() PColgp_HArray2OfXYZ_Type_() +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_HArray2OfXY_0.cxx b/src/FromOCCT/TKPShape/PColgp_HArray2OfXY_0.cxx new file mode 100644 index 000000000..798fc0a4e --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_HArray2OfXY_0.cxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColgp_HArray2OfXY,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColgp_HArray2OfXY) + + +#define Item gp_XY +#define Item_hxx +#define PCollection_FieldOfHArray2 PColgp_FieldOfHArray2OfXY +#define PCollection_FieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PColgp_VArrayNodeOfFieldOfHArray2OfXY +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PColgp_VArrayTNodeOfFieldOfHArray2OfXY +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayNodeOfFieldOfHArray2 PColgp_VArrayNodeOfFieldOfHArray2OfXY +#define PCollection_VArrayNodeOfFieldOfHArray2_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray2 PColgp_VArrayTNodeOfFieldOfHArray2OfXY +#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColgp_VArrayNodeOfFieldOfHArray2OfXY +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfXY_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColgp_VArrayNodeOfFieldOfHArray2OfXY +#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfXY_Type_() +#define PCollection_HArray2 PColgp_HArray2OfXY +#define PCollection_HArray2_hxx +#define Handle_PCollection_HArray2 Handle_PColgp_HArray2OfXY +#define PCollection_HArray2_Type_() PColgp_HArray2OfXY_Type_() +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_HSequenceOfDir.hxx b/src/FromOCCT/TKPShape/PColgp_HSequenceOfDir.hxx new file mode 100644 index 000000000..55b76d71d --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_HSequenceOfDir.hxx @@ -0,0 +1,129 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_HSequenceOfDir_HeaderFile +#define _PColgp_HSequenceOfDir_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class PColgp_SeqNodeOfHSequenceOfDir; +class Standard_NoSuchObject; +class Standard_OutOfRange; +class PColgp_SeqExplorerOfHSequenceOfDir; +class gp_Dir; + + +class PColgp_HSequenceOfDir : public Standard_Persistent +{ + +public: + + + Standard_EXPORT PColgp_HSequenceOfDir(); + + Standard_EXPORT Standard_Boolean IsEmpty() const; + + Standard_EXPORT Standard_Integer Length() const; + + Standard_EXPORT gp_Dir First() const; + + Standard_EXPORT gp_Dir Last() const; + + Standard_EXPORT void Clear() ; + + Standard_EXPORT void Append (const gp_Dir& T) ; + + Standard_EXPORT void Append (const Handle(PColgp_HSequenceOfDir)& S) ; + + Standard_EXPORT void Prepend (const gp_Dir& T) ; + + Standard_EXPORT void Prepend (const Handle(PColgp_HSequenceOfDir)& S) ; + + Standard_EXPORT void Reverse() ; + + Standard_EXPORT void InsertBefore (const Standard_Integer Index, const gp_Dir& T) ; + + Standard_EXPORT void InsertBefore (const Standard_Integer Index, const Handle(PColgp_HSequenceOfDir)& S) ; + + Standard_EXPORT void InsertAfter (const Standard_Integer Index, const gp_Dir& T) ; + + Standard_EXPORT void InsertAfter (const Standard_Integer Index, const Handle(PColgp_HSequenceOfDir)& S) ; + + Standard_EXPORT void Exchange (const Standard_Integer I, const Standard_Integer J) ; + + Standard_EXPORT Handle(PColgp_HSequenceOfDir) SubSequence (const Standard_Integer FromIndex, const Standard_Integer ToIndex) const; + + Standard_EXPORT Handle(PColgp_HSequenceOfDir) Split (const Standard_Integer Index) ; + + Standard_EXPORT void SetValue (const Standard_Integer Index, const gp_Dir& T) ; + + Standard_EXPORT gp_Dir Value (const Standard_Integer Index) const; + + Standard_EXPORT Standard_Boolean Contains (const gp_Dir& T) const; + + Standard_EXPORT Standard_Integer Location (const Standard_Integer N, const gp_Dir& T, const Standard_Integer FromIndex, const Standard_Integer ToIndex) const; + + Standard_EXPORT Standard_Integer Location (const Standard_Integer N, const gp_Dir& T) const; + + Standard_EXPORT void Remove (const Standard_Integer Index) ; + + Standard_EXPORT void Remove (const Standard_Integer FromIndex, const Standard_Integer ToIndex) ; + + Standard_EXPORT void Destroy() ; +~PColgp_HSequenceOfDir() +{ + Destroy(); +} +PColgp_HSequenceOfDir(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Handle(PColgp_SeqNodeOfHSequenceOfDir) _CSFDB_GetPColgp_HSequenceOfDirFirstItem() const { return FirstItem; } + void _CSFDB_SetPColgp_HSequenceOfDirFirstItem(const Handle(PColgp_SeqNodeOfHSequenceOfDir)& p) { FirstItem = p; } + Handle(PColgp_SeqNodeOfHSequenceOfDir) _CSFDB_GetPColgp_HSequenceOfDirLastItem() const { return LastItem; } + void _CSFDB_SetPColgp_HSequenceOfDirLastItem(const Handle(PColgp_SeqNodeOfHSequenceOfDir)& p) { LastItem = p; } + Standard_Integer _CSFDB_GetPColgp_HSequenceOfDirSize() const { return Size; } + void _CSFDB_SetPColgp_HSequenceOfDirSize(const Standard_Integer p) { Size = p; } + +friend class PColgp_SeqExplorerOfHSequenceOfDir; + + + DEFINE_STANDARD_RTTI(PColgp_HSequenceOfDir) + +protected: + + + + +private: + + + Standard_EXPORT Handle(PColgp_SeqNodeOfHSequenceOfDir) GetFirst() const; + + Standard_EXPORT Handle(PColgp_SeqNodeOfHSequenceOfDir) GetLast() const; + + Handle(PColgp_SeqNodeOfHSequenceOfDir) FirstItem; + Handle(PColgp_SeqNodeOfHSequenceOfDir) LastItem; + Standard_Integer Size; + + +}; + + + + + + + +#endif // _PColgp_HSequenceOfDir_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_HSequenceOfDir_0.cxx b/src/FromOCCT/TKPShape/PColgp_HSequenceOfDir_0.cxx new file mode 100644 index 000000000..02fcf7f30 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_HSequenceOfDir_0.cxx @@ -0,0 +1,34 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + + + +IMPLEMENT_DOWNCAST(PColgp_HSequenceOfDir,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColgp_HSequenceOfDir) + + +#define Item gp_Dir +#define Item_hxx +#define PCollection_SeqNode PColgp_SeqNodeOfHSequenceOfDir +#define PCollection_SeqNode_hxx +#define PCollection_SeqExplorer PColgp_SeqExplorerOfHSequenceOfDir +#define PCollection_SeqExplorer_hxx +#define Handle_PCollection_SeqNode Handle_PColgp_SeqNodeOfHSequenceOfDir +#define PCollection_SeqNode_Type_() PColgp_SeqNodeOfHSequenceOfDir_Type_() +#define PCollection_HSequence PColgp_HSequenceOfDir +#define PCollection_HSequence_hxx +#define Handle_PCollection_HSequence Handle_PColgp_HSequenceOfDir +#define PCollection_HSequence_Type_() PColgp_HSequenceOfDir_Type_() +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_HSequenceOfPnt.hxx b/src/FromOCCT/TKPShape/PColgp_HSequenceOfPnt.hxx new file mode 100644 index 000000000..6a9641a19 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_HSequenceOfPnt.hxx @@ -0,0 +1,129 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_HSequenceOfPnt_HeaderFile +#define _PColgp_HSequenceOfPnt_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class PColgp_SeqNodeOfHSequenceOfPnt; +class Standard_NoSuchObject; +class Standard_OutOfRange; +class PColgp_SeqExplorerOfHSequenceOfPnt; +class gp_Pnt; + + +class PColgp_HSequenceOfPnt : public Standard_Persistent +{ + +public: + + + Standard_EXPORT PColgp_HSequenceOfPnt(); + + Standard_EXPORT Standard_Boolean IsEmpty() const; + + Standard_EXPORT Standard_Integer Length() const; + + Standard_EXPORT gp_Pnt First() const; + + Standard_EXPORT gp_Pnt Last() const; + + Standard_EXPORT void Clear() ; + + Standard_EXPORT void Append (const gp_Pnt& T) ; + + Standard_EXPORT void Append (const Handle(PColgp_HSequenceOfPnt)& S) ; + + Standard_EXPORT void Prepend (const gp_Pnt& T) ; + + Standard_EXPORT void Prepend (const Handle(PColgp_HSequenceOfPnt)& S) ; + + Standard_EXPORT void Reverse() ; + + Standard_EXPORT void InsertBefore (const Standard_Integer Index, const gp_Pnt& T) ; + + Standard_EXPORT void InsertBefore (const Standard_Integer Index, const Handle(PColgp_HSequenceOfPnt)& S) ; + + Standard_EXPORT void InsertAfter (const Standard_Integer Index, const gp_Pnt& T) ; + + Standard_EXPORT void InsertAfter (const Standard_Integer Index, const Handle(PColgp_HSequenceOfPnt)& S) ; + + Standard_EXPORT void Exchange (const Standard_Integer I, const Standard_Integer J) ; + + Standard_EXPORT Handle(PColgp_HSequenceOfPnt) SubSequence (const Standard_Integer FromIndex, const Standard_Integer ToIndex) const; + + Standard_EXPORT Handle(PColgp_HSequenceOfPnt) Split (const Standard_Integer Index) ; + + Standard_EXPORT void SetValue (const Standard_Integer Index, const gp_Pnt& T) ; + + Standard_EXPORT gp_Pnt Value (const Standard_Integer Index) const; + + Standard_EXPORT Standard_Boolean Contains (const gp_Pnt& T) const; + + Standard_EXPORT Standard_Integer Location (const Standard_Integer N, const gp_Pnt& T, const Standard_Integer FromIndex, const Standard_Integer ToIndex) const; + + Standard_EXPORT Standard_Integer Location (const Standard_Integer N, const gp_Pnt& T) const; + + Standard_EXPORT void Remove (const Standard_Integer Index) ; + + Standard_EXPORT void Remove (const Standard_Integer FromIndex, const Standard_Integer ToIndex) ; + + Standard_EXPORT void Destroy() ; +~PColgp_HSequenceOfPnt() +{ + Destroy(); +} +PColgp_HSequenceOfPnt(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Handle(PColgp_SeqNodeOfHSequenceOfPnt) _CSFDB_GetPColgp_HSequenceOfPntFirstItem() const { return FirstItem; } + void _CSFDB_SetPColgp_HSequenceOfPntFirstItem(const Handle(PColgp_SeqNodeOfHSequenceOfPnt)& p) { FirstItem = p; } + Handle(PColgp_SeqNodeOfHSequenceOfPnt) _CSFDB_GetPColgp_HSequenceOfPntLastItem() const { return LastItem; } + void _CSFDB_SetPColgp_HSequenceOfPntLastItem(const Handle(PColgp_SeqNodeOfHSequenceOfPnt)& p) { LastItem = p; } + Standard_Integer _CSFDB_GetPColgp_HSequenceOfPntSize() const { return Size; } + void _CSFDB_SetPColgp_HSequenceOfPntSize(const Standard_Integer p) { Size = p; } + +friend class PColgp_SeqExplorerOfHSequenceOfPnt; + + + DEFINE_STANDARD_RTTI(PColgp_HSequenceOfPnt) + +protected: + + + + +private: + + + Standard_EXPORT Handle(PColgp_SeqNodeOfHSequenceOfPnt) GetFirst() const; + + Standard_EXPORT Handle(PColgp_SeqNodeOfHSequenceOfPnt) GetLast() const; + + Handle(PColgp_SeqNodeOfHSequenceOfPnt) FirstItem; + Handle(PColgp_SeqNodeOfHSequenceOfPnt) LastItem; + Standard_Integer Size; + + +}; + + + + + + + +#endif // _PColgp_HSequenceOfPnt_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_HSequenceOfPnt_0.cxx b/src/FromOCCT/TKPShape/PColgp_HSequenceOfPnt_0.cxx new file mode 100644 index 000000000..e86a205f4 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_HSequenceOfPnt_0.cxx @@ -0,0 +1,34 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + + + +IMPLEMENT_DOWNCAST(PColgp_HSequenceOfPnt,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColgp_HSequenceOfPnt) + + +#define Item gp_Pnt +#define Item_hxx +#define PCollection_SeqNode PColgp_SeqNodeOfHSequenceOfPnt +#define PCollection_SeqNode_hxx +#define PCollection_SeqExplorer PColgp_SeqExplorerOfHSequenceOfPnt +#define PCollection_SeqExplorer_hxx +#define Handle_PCollection_SeqNode Handle_PColgp_SeqNodeOfHSequenceOfPnt +#define PCollection_SeqNode_Type_() PColgp_SeqNodeOfHSequenceOfPnt_Type_() +#define PCollection_HSequence PColgp_HSequenceOfPnt +#define PCollection_HSequence_hxx +#define Handle_PCollection_HSequence Handle_PColgp_HSequenceOfPnt +#define PCollection_HSequence_Type_() PColgp_HSequenceOfPnt_Type_() +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_HSequenceOfVec.hxx b/src/FromOCCT/TKPShape/PColgp_HSequenceOfVec.hxx new file mode 100644 index 000000000..96059ffc6 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_HSequenceOfVec.hxx @@ -0,0 +1,129 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_HSequenceOfVec_HeaderFile +#define _PColgp_HSequenceOfVec_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class PColgp_SeqNodeOfHSequenceOfVec; +class Standard_NoSuchObject; +class Standard_OutOfRange; +class PColgp_SeqExplorerOfHSequenceOfVec; +class gp_Vec; + + +class PColgp_HSequenceOfVec : public Standard_Persistent +{ + +public: + + + Standard_EXPORT PColgp_HSequenceOfVec(); + + Standard_EXPORT Standard_Boolean IsEmpty() const; + + Standard_EXPORT Standard_Integer Length() const; + + Standard_EXPORT gp_Vec First() const; + + Standard_EXPORT gp_Vec Last() const; + + Standard_EXPORT void Clear() ; + + Standard_EXPORT void Append (const gp_Vec& T) ; + + Standard_EXPORT void Append (const Handle(PColgp_HSequenceOfVec)& S) ; + + Standard_EXPORT void Prepend (const gp_Vec& T) ; + + Standard_EXPORT void Prepend (const Handle(PColgp_HSequenceOfVec)& S) ; + + Standard_EXPORT void Reverse() ; + + Standard_EXPORT void InsertBefore (const Standard_Integer Index, const gp_Vec& T) ; + + Standard_EXPORT void InsertBefore (const Standard_Integer Index, const Handle(PColgp_HSequenceOfVec)& S) ; + + Standard_EXPORT void InsertAfter (const Standard_Integer Index, const gp_Vec& T) ; + + Standard_EXPORT void InsertAfter (const Standard_Integer Index, const Handle(PColgp_HSequenceOfVec)& S) ; + + Standard_EXPORT void Exchange (const Standard_Integer I, const Standard_Integer J) ; + + Standard_EXPORT Handle(PColgp_HSequenceOfVec) SubSequence (const Standard_Integer FromIndex, const Standard_Integer ToIndex) const; + + Standard_EXPORT Handle(PColgp_HSequenceOfVec) Split (const Standard_Integer Index) ; + + Standard_EXPORT void SetValue (const Standard_Integer Index, const gp_Vec& T) ; + + Standard_EXPORT gp_Vec Value (const Standard_Integer Index) const; + + Standard_EXPORT Standard_Boolean Contains (const gp_Vec& T) const; + + Standard_EXPORT Standard_Integer Location (const Standard_Integer N, const gp_Vec& T, const Standard_Integer FromIndex, const Standard_Integer ToIndex) const; + + Standard_EXPORT Standard_Integer Location (const Standard_Integer N, const gp_Vec& T) const; + + Standard_EXPORT void Remove (const Standard_Integer Index) ; + + Standard_EXPORT void Remove (const Standard_Integer FromIndex, const Standard_Integer ToIndex) ; + + Standard_EXPORT void Destroy() ; +~PColgp_HSequenceOfVec() +{ + Destroy(); +} +PColgp_HSequenceOfVec(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Handle(PColgp_SeqNodeOfHSequenceOfVec) _CSFDB_GetPColgp_HSequenceOfVecFirstItem() const { return FirstItem; } + void _CSFDB_SetPColgp_HSequenceOfVecFirstItem(const Handle(PColgp_SeqNodeOfHSequenceOfVec)& p) { FirstItem = p; } + Handle(PColgp_SeqNodeOfHSequenceOfVec) _CSFDB_GetPColgp_HSequenceOfVecLastItem() const { return LastItem; } + void _CSFDB_SetPColgp_HSequenceOfVecLastItem(const Handle(PColgp_SeqNodeOfHSequenceOfVec)& p) { LastItem = p; } + Standard_Integer _CSFDB_GetPColgp_HSequenceOfVecSize() const { return Size; } + void _CSFDB_SetPColgp_HSequenceOfVecSize(const Standard_Integer p) { Size = p; } + +friend class PColgp_SeqExplorerOfHSequenceOfVec; + + + DEFINE_STANDARD_RTTI(PColgp_HSequenceOfVec) + +protected: + + + + +private: + + + Standard_EXPORT Handle(PColgp_SeqNodeOfHSequenceOfVec) GetFirst() const; + + Standard_EXPORT Handle(PColgp_SeqNodeOfHSequenceOfVec) GetLast() const; + + Handle(PColgp_SeqNodeOfHSequenceOfVec) FirstItem; + Handle(PColgp_SeqNodeOfHSequenceOfVec) LastItem; + Standard_Integer Size; + + +}; + + + + + + + +#endif // _PColgp_HSequenceOfVec_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_HSequenceOfVec_0.cxx b/src/FromOCCT/TKPShape/PColgp_HSequenceOfVec_0.cxx new file mode 100644 index 000000000..7685ab41a --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_HSequenceOfVec_0.cxx @@ -0,0 +1,34 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + + + +IMPLEMENT_DOWNCAST(PColgp_HSequenceOfVec,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColgp_HSequenceOfVec) + + +#define Item gp_Vec +#define Item_hxx +#define PCollection_SeqNode PColgp_SeqNodeOfHSequenceOfVec +#define PCollection_SeqNode_hxx +#define PCollection_SeqExplorer PColgp_SeqExplorerOfHSequenceOfVec +#define PCollection_SeqExplorer_hxx +#define Handle_PCollection_SeqNode Handle_PColgp_SeqNodeOfHSequenceOfVec +#define PCollection_SeqNode_Type_() PColgp_SeqNodeOfHSequenceOfVec_Type_() +#define PCollection_HSequence PColgp_HSequenceOfVec +#define PCollection_HSequence_hxx +#define Handle_PCollection_HSequence Handle_PColgp_HSequenceOfVec +#define PCollection_HSequence_Type_() PColgp_HSequenceOfVec_Type_() +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_HSequenceOfXYZ.hxx b/src/FromOCCT/TKPShape/PColgp_HSequenceOfXYZ.hxx new file mode 100644 index 000000000..f120b07f2 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_HSequenceOfXYZ.hxx @@ -0,0 +1,129 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_HSequenceOfXYZ_HeaderFile +#define _PColgp_HSequenceOfXYZ_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class PColgp_SeqNodeOfHSequenceOfXYZ; +class Standard_NoSuchObject; +class Standard_OutOfRange; +class PColgp_SeqExplorerOfHSequenceOfXYZ; +class gp_XYZ; + + +class PColgp_HSequenceOfXYZ : public Standard_Persistent +{ + +public: + + + Standard_EXPORT PColgp_HSequenceOfXYZ(); + + Standard_EXPORT Standard_Boolean IsEmpty() const; + + Standard_EXPORT Standard_Integer Length() const; + + Standard_EXPORT gp_XYZ First() const; + + Standard_EXPORT gp_XYZ Last() const; + + Standard_EXPORT void Clear() ; + + Standard_EXPORT void Append (const gp_XYZ& T) ; + + Standard_EXPORT void Append (const Handle(PColgp_HSequenceOfXYZ)& S) ; + + Standard_EXPORT void Prepend (const gp_XYZ& T) ; + + Standard_EXPORT void Prepend (const Handle(PColgp_HSequenceOfXYZ)& S) ; + + Standard_EXPORT void Reverse() ; + + Standard_EXPORT void InsertBefore (const Standard_Integer Index, const gp_XYZ& T) ; + + Standard_EXPORT void InsertBefore (const Standard_Integer Index, const Handle(PColgp_HSequenceOfXYZ)& S) ; + + Standard_EXPORT void InsertAfter (const Standard_Integer Index, const gp_XYZ& T) ; + + Standard_EXPORT void InsertAfter (const Standard_Integer Index, const Handle(PColgp_HSequenceOfXYZ)& S) ; + + Standard_EXPORT void Exchange (const Standard_Integer I, const Standard_Integer J) ; + + Standard_EXPORT Handle(PColgp_HSequenceOfXYZ) SubSequence (const Standard_Integer FromIndex, const Standard_Integer ToIndex) const; + + Standard_EXPORT Handle(PColgp_HSequenceOfXYZ) Split (const Standard_Integer Index) ; + + Standard_EXPORT void SetValue (const Standard_Integer Index, const gp_XYZ& T) ; + + Standard_EXPORT gp_XYZ Value (const Standard_Integer Index) const; + + Standard_EXPORT Standard_Boolean Contains (const gp_XYZ& T) const; + + Standard_EXPORT Standard_Integer Location (const Standard_Integer N, const gp_XYZ& T, const Standard_Integer FromIndex, const Standard_Integer ToIndex) const; + + Standard_EXPORT Standard_Integer Location (const Standard_Integer N, const gp_XYZ& T) const; + + Standard_EXPORT void Remove (const Standard_Integer Index) ; + + Standard_EXPORT void Remove (const Standard_Integer FromIndex, const Standard_Integer ToIndex) ; + + Standard_EXPORT void Destroy() ; +~PColgp_HSequenceOfXYZ() +{ + Destroy(); +} +PColgp_HSequenceOfXYZ(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Handle(PColgp_SeqNodeOfHSequenceOfXYZ) _CSFDB_GetPColgp_HSequenceOfXYZFirstItem() const { return FirstItem; } + void _CSFDB_SetPColgp_HSequenceOfXYZFirstItem(const Handle(PColgp_SeqNodeOfHSequenceOfXYZ)& p) { FirstItem = p; } + Handle(PColgp_SeqNodeOfHSequenceOfXYZ) _CSFDB_GetPColgp_HSequenceOfXYZLastItem() const { return LastItem; } + void _CSFDB_SetPColgp_HSequenceOfXYZLastItem(const Handle(PColgp_SeqNodeOfHSequenceOfXYZ)& p) { LastItem = p; } + Standard_Integer _CSFDB_GetPColgp_HSequenceOfXYZSize() const { return Size; } + void _CSFDB_SetPColgp_HSequenceOfXYZSize(const Standard_Integer p) { Size = p; } + +friend class PColgp_SeqExplorerOfHSequenceOfXYZ; + + + DEFINE_STANDARD_RTTI(PColgp_HSequenceOfXYZ) + +protected: + + + + +private: + + + Standard_EXPORT Handle(PColgp_SeqNodeOfHSequenceOfXYZ) GetFirst() const; + + Standard_EXPORT Handle(PColgp_SeqNodeOfHSequenceOfXYZ) GetLast() const; + + Handle(PColgp_SeqNodeOfHSequenceOfXYZ) FirstItem; + Handle(PColgp_SeqNodeOfHSequenceOfXYZ) LastItem; + Standard_Integer Size; + + +}; + + + + + + + +#endif // _PColgp_HSequenceOfXYZ_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_HSequenceOfXYZ_0.cxx b/src/FromOCCT/TKPShape/PColgp_HSequenceOfXYZ_0.cxx new file mode 100644 index 000000000..ab2131975 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_HSequenceOfXYZ_0.cxx @@ -0,0 +1,34 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + + + +IMPLEMENT_DOWNCAST(PColgp_HSequenceOfXYZ,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColgp_HSequenceOfXYZ) + + +#define Item gp_XYZ +#define Item_hxx +#define PCollection_SeqNode PColgp_SeqNodeOfHSequenceOfXYZ +#define PCollection_SeqNode_hxx +#define PCollection_SeqExplorer PColgp_SeqExplorerOfHSequenceOfXYZ +#define PCollection_SeqExplorer_hxx +#define Handle_PCollection_SeqNode Handle_PColgp_SeqNodeOfHSequenceOfXYZ +#define PCollection_SeqNode_Type_() PColgp_SeqNodeOfHSequenceOfXYZ_Type_() +#define PCollection_HSequence PColgp_HSequenceOfXYZ +#define PCollection_HSequence_hxx +#define Handle_PCollection_HSequence Handle_PColgp_HSequenceOfXYZ +#define PCollection_HSequence_Type_() PColgp_HSequenceOfXYZ_Type_() +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_SeqExplorerOfHSequenceOfDir.hxx b/src/FromOCCT/TKPShape/PColgp_SeqExplorerOfHSequenceOfDir.hxx new file mode 100644 index 000000000..ce52696ad --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_SeqExplorerOfHSequenceOfDir.hxx @@ -0,0 +1,68 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_SeqExplorerOfHSequenceOfDir_HeaderFile +#define _PColgp_SeqExplorerOfHSequenceOfDir_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class PColgp_SeqNodeOfHSequenceOfDir; +class PColgp_HSequenceOfDir; +class Standard_NoSuchObject; +class Standard_OutOfRange; +class gp_Dir; + + + +class PColgp_SeqExplorerOfHSequenceOfDir +{ +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT PColgp_SeqExplorerOfHSequenceOfDir(const Handle(PColgp_HSequenceOfDir)& S); + + Standard_EXPORT gp_Dir Value (const Standard_Integer Index) ; + + Standard_EXPORT Standard_Boolean Contains (const gp_Dir& T) ; + + Standard_EXPORT Standard_Integer Location (const Standard_Integer N, const gp_Dir& T, const Standard_Integer FromIndex, const Standard_Integer ToIndex) ; + + Standard_EXPORT Standard_Integer Location (const Standard_Integer N, const gp_Dir& T) ; + + + + +protected: + + + + + +private: + + + + Handle(PColgp_SeqNodeOfHSequenceOfDir) CurrentItem; + Standard_Integer CurrentIndex; + Handle(PColgp_HSequenceOfDir) TheSequence; + + +}; + + + + + + + +#endif // _PColgp_SeqExplorerOfHSequenceOfDir_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_SeqExplorerOfHSequenceOfDir_0.cxx b/src/FromOCCT/TKPShape/PColgp_SeqExplorerOfHSequenceOfDir_0.cxx new file mode 100644 index 000000000..340ace969 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_SeqExplorerOfHSequenceOfDir_0.cxx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include + + +#define Item gp_Dir +#define Item_hxx +#define PCollection_SeqNode PColgp_SeqNodeOfHSequenceOfDir +#define PCollection_SeqNode_hxx +#define PCollection_SeqExplorer PColgp_SeqExplorerOfHSequenceOfDir +#define PCollection_SeqExplorer_hxx +#define Handle_PCollection_SeqNode Handle_PColgp_SeqNodeOfHSequenceOfDir +#define PCollection_SeqNode_Type_() PColgp_SeqNodeOfHSequenceOfDir_Type_() +#define PCollection_HSequence PColgp_HSequenceOfDir +#define PCollection_HSequence_hxx +#define Handle_PCollection_HSequence Handle_PColgp_HSequenceOfDir +#define PCollection_HSequence_Type_() PColgp_HSequenceOfDir_Type_() +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_SeqExplorerOfHSequenceOfPnt.hxx b/src/FromOCCT/TKPShape/PColgp_SeqExplorerOfHSequenceOfPnt.hxx new file mode 100644 index 000000000..457427a01 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_SeqExplorerOfHSequenceOfPnt.hxx @@ -0,0 +1,68 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_SeqExplorerOfHSequenceOfPnt_HeaderFile +#define _PColgp_SeqExplorerOfHSequenceOfPnt_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class PColgp_SeqNodeOfHSequenceOfPnt; +class PColgp_HSequenceOfPnt; +class Standard_NoSuchObject; +class Standard_OutOfRange; +class gp_Pnt; + + + +class PColgp_SeqExplorerOfHSequenceOfPnt +{ +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT PColgp_SeqExplorerOfHSequenceOfPnt(const Handle(PColgp_HSequenceOfPnt)& S); + + Standard_EXPORT gp_Pnt Value (const Standard_Integer Index) ; + + Standard_EXPORT Standard_Boolean Contains (const gp_Pnt& T) ; + + Standard_EXPORT Standard_Integer Location (const Standard_Integer N, const gp_Pnt& T, const Standard_Integer FromIndex, const Standard_Integer ToIndex) ; + + Standard_EXPORT Standard_Integer Location (const Standard_Integer N, const gp_Pnt& T) ; + + + + +protected: + + + + + +private: + + + + Handle(PColgp_SeqNodeOfHSequenceOfPnt) CurrentItem; + Standard_Integer CurrentIndex; + Handle(PColgp_HSequenceOfPnt) TheSequence; + + +}; + + + + + + + +#endif // _PColgp_SeqExplorerOfHSequenceOfPnt_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_SeqExplorerOfHSequenceOfPnt_0.cxx b/src/FromOCCT/TKPShape/PColgp_SeqExplorerOfHSequenceOfPnt_0.cxx new file mode 100644 index 000000000..c0f83cc49 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_SeqExplorerOfHSequenceOfPnt_0.cxx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include + + +#define Item gp_Pnt +#define Item_hxx +#define PCollection_SeqNode PColgp_SeqNodeOfHSequenceOfPnt +#define PCollection_SeqNode_hxx +#define PCollection_SeqExplorer PColgp_SeqExplorerOfHSequenceOfPnt +#define PCollection_SeqExplorer_hxx +#define Handle_PCollection_SeqNode Handle_PColgp_SeqNodeOfHSequenceOfPnt +#define PCollection_SeqNode_Type_() PColgp_SeqNodeOfHSequenceOfPnt_Type_() +#define PCollection_HSequence PColgp_HSequenceOfPnt +#define PCollection_HSequence_hxx +#define Handle_PCollection_HSequence Handle_PColgp_HSequenceOfPnt +#define PCollection_HSequence_Type_() PColgp_HSequenceOfPnt_Type_() +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_SeqExplorerOfHSequenceOfVec.hxx b/src/FromOCCT/TKPShape/PColgp_SeqExplorerOfHSequenceOfVec.hxx new file mode 100644 index 000000000..1518ba166 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_SeqExplorerOfHSequenceOfVec.hxx @@ -0,0 +1,68 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_SeqExplorerOfHSequenceOfVec_HeaderFile +#define _PColgp_SeqExplorerOfHSequenceOfVec_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class PColgp_SeqNodeOfHSequenceOfVec; +class PColgp_HSequenceOfVec; +class Standard_NoSuchObject; +class Standard_OutOfRange; +class gp_Vec; + + + +class PColgp_SeqExplorerOfHSequenceOfVec +{ +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT PColgp_SeqExplorerOfHSequenceOfVec(const Handle(PColgp_HSequenceOfVec)& S); + + Standard_EXPORT gp_Vec Value (const Standard_Integer Index) ; + + Standard_EXPORT Standard_Boolean Contains (const gp_Vec& T) ; + + Standard_EXPORT Standard_Integer Location (const Standard_Integer N, const gp_Vec& T, const Standard_Integer FromIndex, const Standard_Integer ToIndex) ; + + Standard_EXPORT Standard_Integer Location (const Standard_Integer N, const gp_Vec& T) ; + + + + +protected: + + + + + +private: + + + + Handle(PColgp_SeqNodeOfHSequenceOfVec) CurrentItem; + Standard_Integer CurrentIndex; + Handle(PColgp_HSequenceOfVec) TheSequence; + + +}; + + + + + + + +#endif // _PColgp_SeqExplorerOfHSequenceOfVec_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_SeqExplorerOfHSequenceOfVec_0.cxx b/src/FromOCCT/TKPShape/PColgp_SeqExplorerOfHSequenceOfVec_0.cxx new file mode 100644 index 000000000..a737f4467 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_SeqExplorerOfHSequenceOfVec_0.cxx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include + + +#define Item gp_Vec +#define Item_hxx +#define PCollection_SeqNode PColgp_SeqNodeOfHSequenceOfVec +#define PCollection_SeqNode_hxx +#define PCollection_SeqExplorer PColgp_SeqExplorerOfHSequenceOfVec +#define PCollection_SeqExplorer_hxx +#define Handle_PCollection_SeqNode Handle_PColgp_SeqNodeOfHSequenceOfVec +#define PCollection_SeqNode_Type_() PColgp_SeqNodeOfHSequenceOfVec_Type_() +#define PCollection_HSequence PColgp_HSequenceOfVec +#define PCollection_HSequence_hxx +#define Handle_PCollection_HSequence Handle_PColgp_HSequenceOfVec +#define PCollection_HSequence_Type_() PColgp_HSequenceOfVec_Type_() +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_SeqExplorerOfHSequenceOfXYZ.hxx b/src/FromOCCT/TKPShape/PColgp_SeqExplorerOfHSequenceOfXYZ.hxx new file mode 100644 index 000000000..efbae2957 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_SeqExplorerOfHSequenceOfXYZ.hxx @@ -0,0 +1,68 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_SeqExplorerOfHSequenceOfXYZ_HeaderFile +#define _PColgp_SeqExplorerOfHSequenceOfXYZ_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class PColgp_SeqNodeOfHSequenceOfXYZ; +class PColgp_HSequenceOfXYZ; +class Standard_NoSuchObject; +class Standard_OutOfRange; +class gp_XYZ; + + + +class PColgp_SeqExplorerOfHSequenceOfXYZ +{ +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT PColgp_SeqExplorerOfHSequenceOfXYZ(const Handle(PColgp_HSequenceOfXYZ)& S); + + Standard_EXPORT gp_XYZ Value (const Standard_Integer Index) ; + + Standard_EXPORT Standard_Boolean Contains (const gp_XYZ& T) ; + + Standard_EXPORT Standard_Integer Location (const Standard_Integer N, const gp_XYZ& T, const Standard_Integer FromIndex, const Standard_Integer ToIndex) ; + + Standard_EXPORT Standard_Integer Location (const Standard_Integer N, const gp_XYZ& T) ; + + + + +protected: + + + + + +private: + + + + Handle(PColgp_SeqNodeOfHSequenceOfXYZ) CurrentItem; + Standard_Integer CurrentIndex; + Handle(PColgp_HSequenceOfXYZ) TheSequence; + + +}; + + + + + + + +#endif // _PColgp_SeqExplorerOfHSequenceOfXYZ_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_SeqExplorerOfHSequenceOfXYZ_0.cxx b/src/FromOCCT/TKPShape/PColgp_SeqExplorerOfHSequenceOfXYZ_0.cxx new file mode 100644 index 000000000..b55026e26 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_SeqExplorerOfHSequenceOfXYZ_0.cxx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include + + +#define Item gp_XYZ +#define Item_hxx +#define PCollection_SeqNode PColgp_SeqNodeOfHSequenceOfXYZ +#define PCollection_SeqNode_hxx +#define PCollection_SeqExplorer PColgp_SeqExplorerOfHSequenceOfXYZ +#define PCollection_SeqExplorer_hxx +#define Handle_PCollection_SeqNode Handle_PColgp_SeqNodeOfHSequenceOfXYZ +#define PCollection_SeqNode_Type_() PColgp_SeqNodeOfHSequenceOfXYZ_Type_() +#define PCollection_HSequence PColgp_HSequenceOfXYZ +#define PCollection_HSequence_hxx +#define Handle_PCollection_HSequence Handle_PColgp_HSequenceOfXYZ +#define PCollection_HSequence_Type_() PColgp_HSequenceOfXYZ_Type_() +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_SeqNodeOfHSequenceOfDir.hxx b/src/FromOCCT/TKPShape/PColgp_SeqNodeOfHSequenceOfDir.hxx new file mode 100644 index 000000000..9699b6396 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_SeqNodeOfHSequenceOfDir.hxx @@ -0,0 +1,88 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_SeqNodeOfHSequenceOfDir_HeaderFile +#define _PColgp_SeqNodeOfHSequenceOfDir_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +class PColgp_HSequenceOfDir; +class PColgp_SeqExplorerOfHSequenceOfDir; +class gp_Dir; + + +class PColgp_SeqNodeOfHSequenceOfDir : public PMMgt_PManaged +{ + +public: + + + Standard_EXPORT PColgp_SeqNodeOfHSequenceOfDir(const Handle(PColgp_SeqNodeOfHSequenceOfDir)& TheLast, const gp_Dir& TheItem); + + Standard_EXPORT PColgp_SeqNodeOfHSequenceOfDir(const gp_Dir& TheItem, const Handle(PColgp_SeqNodeOfHSequenceOfDir)& TheFirst); + + Standard_EXPORT PColgp_SeqNodeOfHSequenceOfDir(const Handle(PColgp_SeqNodeOfHSequenceOfDir)& ThePrevious, const Handle(PColgp_SeqNodeOfHSequenceOfDir)& TheNext, const gp_Dir& TheItem); + + Standard_EXPORT gp_Dir Value() const; + + Standard_EXPORT Handle(PColgp_SeqNodeOfHSequenceOfDir) Next() const; + + Standard_EXPORT Handle(PColgp_SeqNodeOfHSequenceOfDir) Previous() const; + + Standard_EXPORT void SetValue (const gp_Dir& AnItem) ; + + Standard_EXPORT void SetNext (const Handle(PColgp_SeqNodeOfHSequenceOfDir)& ANode) ; + + Standard_EXPORT void SetPrevious (const Handle(PColgp_SeqNodeOfHSequenceOfDir)& ANode) ; + +PColgp_SeqNodeOfHSequenceOfDir( ) +{ + +} +PColgp_SeqNodeOfHSequenceOfDir(const Storage_stCONSTclCOM& a) : PMMgt_PManaged(a) +{ + +} + Handle(PColgp_SeqNodeOfHSequenceOfDir) _CSFDB_GetPColgp_SeqNodeOfHSequenceOfDirMyPrevious() const { return MyPrevious; } + void _CSFDB_SetPColgp_SeqNodeOfHSequenceOfDirMyPrevious(const Handle(PColgp_SeqNodeOfHSequenceOfDir)& p) { MyPrevious = p; } + const gp_Dir& _CSFDB_GetPColgp_SeqNodeOfHSequenceOfDirMyItem() const { return MyItem; } + Handle(PColgp_SeqNodeOfHSequenceOfDir) _CSFDB_GetPColgp_SeqNodeOfHSequenceOfDirMyNext() const { return MyNext; } + void _CSFDB_SetPColgp_SeqNodeOfHSequenceOfDirMyNext(const Handle(PColgp_SeqNodeOfHSequenceOfDir)& p) { MyNext = p; } + +friend class PColgp_HSequenceOfDir; +friend class PColgp_SeqExplorerOfHSequenceOfDir; + + + DEFINE_STANDARD_RTTI(PColgp_SeqNodeOfHSequenceOfDir) + +protected: + + + + +private: + + + Handle(PColgp_SeqNodeOfHSequenceOfDir) MyPrevious; + gp_Dir MyItem; + Handle(PColgp_SeqNodeOfHSequenceOfDir) MyNext; + + +}; + + + + + + + +#endif // _PColgp_SeqNodeOfHSequenceOfDir_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_SeqNodeOfHSequenceOfDir_0.cxx b/src/FromOCCT/TKPShape/PColgp_SeqNodeOfHSequenceOfDir_0.cxx new file mode 100644 index 000000000..790c9abdc --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_SeqNodeOfHSequenceOfDir_0.cxx @@ -0,0 +1,33 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColgp_SeqNodeOfHSequenceOfDir,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColgp_SeqNodeOfHSequenceOfDir) + + +#define Item gp_Dir +#define Item_hxx +#define PCollection_SeqNode PColgp_SeqNodeOfHSequenceOfDir +#define PCollection_SeqNode_hxx +#define PCollection_SeqExplorer PColgp_SeqExplorerOfHSequenceOfDir +#define PCollection_SeqExplorer_hxx +#define Handle_PCollection_SeqNode Handle_PColgp_SeqNodeOfHSequenceOfDir +#define PCollection_SeqNode_Type_() PColgp_SeqNodeOfHSequenceOfDir_Type_() +#define PCollection_HSequence PColgp_HSequenceOfDir +#define PCollection_HSequence_hxx +#define Handle_PCollection_HSequence Handle_PColgp_HSequenceOfDir +#define PCollection_HSequence_Type_() PColgp_HSequenceOfDir_Type_() +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_SeqNodeOfHSequenceOfPnt.hxx b/src/FromOCCT/TKPShape/PColgp_SeqNodeOfHSequenceOfPnt.hxx new file mode 100644 index 000000000..7115a8487 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_SeqNodeOfHSequenceOfPnt.hxx @@ -0,0 +1,88 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_SeqNodeOfHSequenceOfPnt_HeaderFile +#define _PColgp_SeqNodeOfHSequenceOfPnt_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +class PColgp_HSequenceOfPnt; +class PColgp_SeqExplorerOfHSequenceOfPnt; +class gp_Pnt; + + +class PColgp_SeqNodeOfHSequenceOfPnt : public PMMgt_PManaged +{ + +public: + + + Standard_EXPORT PColgp_SeqNodeOfHSequenceOfPnt(const Handle(PColgp_SeqNodeOfHSequenceOfPnt)& TheLast, const gp_Pnt& TheItem); + + Standard_EXPORT PColgp_SeqNodeOfHSequenceOfPnt(const gp_Pnt& TheItem, const Handle(PColgp_SeqNodeOfHSequenceOfPnt)& TheFirst); + + Standard_EXPORT PColgp_SeqNodeOfHSequenceOfPnt(const Handle(PColgp_SeqNodeOfHSequenceOfPnt)& ThePrevious, const Handle(PColgp_SeqNodeOfHSequenceOfPnt)& TheNext, const gp_Pnt& TheItem); + + Standard_EXPORT gp_Pnt Value() const; + + Standard_EXPORT Handle(PColgp_SeqNodeOfHSequenceOfPnt) Next() const; + + Standard_EXPORT Handle(PColgp_SeqNodeOfHSequenceOfPnt) Previous() const; + + Standard_EXPORT void SetValue (const gp_Pnt& AnItem) ; + + Standard_EXPORT void SetNext (const Handle(PColgp_SeqNodeOfHSequenceOfPnt)& ANode) ; + + Standard_EXPORT void SetPrevious (const Handle(PColgp_SeqNodeOfHSequenceOfPnt)& ANode) ; + +PColgp_SeqNodeOfHSequenceOfPnt( ) +{ + +} +PColgp_SeqNodeOfHSequenceOfPnt(const Storage_stCONSTclCOM& a) : PMMgt_PManaged(a) +{ + +} + Handle(PColgp_SeqNodeOfHSequenceOfPnt) _CSFDB_GetPColgp_SeqNodeOfHSequenceOfPntMyPrevious() const { return MyPrevious; } + void _CSFDB_SetPColgp_SeqNodeOfHSequenceOfPntMyPrevious(const Handle(PColgp_SeqNodeOfHSequenceOfPnt)& p) { MyPrevious = p; } + const gp_Pnt& _CSFDB_GetPColgp_SeqNodeOfHSequenceOfPntMyItem() const { return MyItem; } + Handle(PColgp_SeqNodeOfHSequenceOfPnt) _CSFDB_GetPColgp_SeqNodeOfHSequenceOfPntMyNext() const { return MyNext; } + void _CSFDB_SetPColgp_SeqNodeOfHSequenceOfPntMyNext(const Handle(PColgp_SeqNodeOfHSequenceOfPnt)& p) { MyNext = p; } + +friend class PColgp_HSequenceOfPnt; +friend class PColgp_SeqExplorerOfHSequenceOfPnt; + + + DEFINE_STANDARD_RTTI(PColgp_SeqNodeOfHSequenceOfPnt) + +protected: + + + + +private: + + + Handle(PColgp_SeqNodeOfHSequenceOfPnt) MyPrevious; + gp_Pnt MyItem; + Handle(PColgp_SeqNodeOfHSequenceOfPnt) MyNext; + + +}; + + + + + + + +#endif // _PColgp_SeqNodeOfHSequenceOfPnt_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_SeqNodeOfHSequenceOfPnt_0.cxx b/src/FromOCCT/TKPShape/PColgp_SeqNodeOfHSequenceOfPnt_0.cxx new file mode 100644 index 000000000..64d2c53d0 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_SeqNodeOfHSequenceOfPnt_0.cxx @@ -0,0 +1,33 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColgp_SeqNodeOfHSequenceOfPnt,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColgp_SeqNodeOfHSequenceOfPnt) + + +#define Item gp_Pnt +#define Item_hxx +#define PCollection_SeqNode PColgp_SeqNodeOfHSequenceOfPnt +#define PCollection_SeqNode_hxx +#define PCollection_SeqExplorer PColgp_SeqExplorerOfHSequenceOfPnt +#define PCollection_SeqExplorer_hxx +#define Handle_PCollection_SeqNode Handle_PColgp_SeqNodeOfHSequenceOfPnt +#define PCollection_SeqNode_Type_() PColgp_SeqNodeOfHSequenceOfPnt_Type_() +#define PCollection_HSequence PColgp_HSequenceOfPnt +#define PCollection_HSequence_hxx +#define Handle_PCollection_HSequence Handle_PColgp_HSequenceOfPnt +#define PCollection_HSequence_Type_() PColgp_HSequenceOfPnt_Type_() +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_SeqNodeOfHSequenceOfVec.hxx b/src/FromOCCT/TKPShape/PColgp_SeqNodeOfHSequenceOfVec.hxx new file mode 100644 index 000000000..85c9969fd --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_SeqNodeOfHSequenceOfVec.hxx @@ -0,0 +1,88 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_SeqNodeOfHSequenceOfVec_HeaderFile +#define _PColgp_SeqNodeOfHSequenceOfVec_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +class PColgp_HSequenceOfVec; +class PColgp_SeqExplorerOfHSequenceOfVec; +class gp_Vec; + + +class PColgp_SeqNodeOfHSequenceOfVec : public PMMgt_PManaged +{ + +public: + + + Standard_EXPORT PColgp_SeqNodeOfHSequenceOfVec(const Handle(PColgp_SeqNodeOfHSequenceOfVec)& TheLast, const gp_Vec& TheItem); + + Standard_EXPORT PColgp_SeqNodeOfHSequenceOfVec(const gp_Vec& TheItem, const Handle(PColgp_SeqNodeOfHSequenceOfVec)& TheFirst); + + Standard_EXPORT PColgp_SeqNodeOfHSequenceOfVec(const Handle(PColgp_SeqNodeOfHSequenceOfVec)& ThePrevious, const Handle(PColgp_SeqNodeOfHSequenceOfVec)& TheNext, const gp_Vec& TheItem); + + Standard_EXPORT gp_Vec Value() const; + + Standard_EXPORT Handle(PColgp_SeqNodeOfHSequenceOfVec) Next() const; + + Standard_EXPORT Handle(PColgp_SeqNodeOfHSequenceOfVec) Previous() const; + + Standard_EXPORT void SetValue (const gp_Vec& AnItem) ; + + Standard_EXPORT void SetNext (const Handle(PColgp_SeqNodeOfHSequenceOfVec)& ANode) ; + + Standard_EXPORT void SetPrevious (const Handle(PColgp_SeqNodeOfHSequenceOfVec)& ANode) ; + +PColgp_SeqNodeOfHSequenceOfVec( ) +{ + +} +PColgp_SeqNodeOfHSequenceOfVec(const Storage_stCONSTclCOM& a) : PMMgt_PManaged(a) +{ + +} + Handle(PColgp_SeqNodeOfHSequenceOfVec) _CSFDB_GetPColgp_SeqNodeOfHSequenceOfVecMyPrevious() const { return MyPrevious; } + void _CSFDB_SetPColgp_SeqNodeOfHSequenceOfVecMyPrevious(const Handle(PColgp_SeqNodeOfHSequenceOfVec)& p) { MyPrevious = p; } + const gp_Vec& _CSFDB_GetPColgp_SeqNodeOfHSequenceOfVecMyItem() const { return MyItem; } + Handle(PColgp_SeqNodeOfHSequenceOfVec) _CSFDB_GetPColgp_SeqNodeOfHSequenceOfVecMyNext() const { return MyNext; } + void _CSFDB_SetPColgp_SeqNodeOfHSequenceOfVecMyNext(const Handle(PColgp_SeqNodeOfHSequenceOfVec)& p) { MyNext = p; } + +friend class PColgp_HSequenceOfVec; +friend class PColgp_SeqExplorerOfHSequenceOfVec; + + + DEFINE_STANDARD_RTTI(PColgp_SeqNodeOfHSequenceOfVec) + +protected: + + + + +private: + + + Handle(PColgp_SeqNodeOfHSequenceOfVec) MyPrevious; + gp_Vec MyItem; + Handle(PColgp_SeqNodeOfHSequenceOfVec) MyNext; + + +}; + + + + + + + +#endif // _PColgp_SeqNodeOfHSequenceOfVec_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_SeqNodeOfHSequenceOfVec_0.cxx b/src/FromOCCT/TKPShape/PColgp_SeqNodeOfHSequenceOfVec_0.cxx new file mode 100644 index 000000000..20265572e --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_SeqNodeOfHSequenceOfVec_0.cxx @@ -0,0 +1,33 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColgp_SeqNodeOfHSequenceOfVec,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColgp_SeqNodeOfHSequenceOfVec) + + +#define Item gp_Vec +#define Item_hxx +#define PCollection_SeqNode PColgp_SeqNodeOfHSequenceOfVec +#define PCollection_SeqNode_hxx +#define PCollection_SeqExplorer PColgp_SeqExplorerOfHSequenceOfVec +#define PCollection_SeqExplorer_hxx +#define Handle_PCollection_SeqNode Handle_PColgp_SeqNodeOfHSequenceOfVec +#define PCollection_SeqNode_Type_() PColgp_SeqNodeOfHSequenceOfVec_Type_() +#define PCollection_HSequence PColgp_HSequenceOfVec +#define PCollection_HSequence_hxx +#define Handle_PCollection_HSequence Handle_PColgp_HSequenceOfVec +#define PCollection_HSequence_Type_() PColgp_HSequenceOfVec_Type_() +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_SeqNodeOfHSequenceOfXYZ.hxx b/src/FromOCCT/TKPShape/PColgp_SeqNodeOfHSequenceOfXYZ.hxx new file mode 100644 index 000000000..1679e81ed --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_SeqNodeOfHSequenceOfXYZ.hxx @@ -0,0 +1,88 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_SeqNodeOfHSequenceOfXYZ_HeaderFile +#define _PColgp_SeqNodeOfHSequenceOfXYZ_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +class PColgp_HSequenceOfXYZ; +class PColgp_SeqExplorerOfHSequenceOfXYZ; +class gp_XYZ; + + +class PColgp_SeqNodeOfHSequenceOfXYZ : public PMMgt_PManaged +{ + +public: + + + Standard_EXPORT PColgp_SeqNodeOfHSequenceOfXYZ(const Handle(PColgp_SeqNodeOfHSequenceOfXYZ)& TheLast, const gp_XYZ& TheItem); + + Standard_EXPORT PColgp_SeqNodeOfHSequenceOfXYZ(const gp_XYZ& TheItem, const Handle(PColgp_SeqNodeOfHSequenceOfXYZ)& TheFirst); + + Standard_EXPORT PColgp_SeqNodeOfHSequenceOfXYZ(const Handle(PColgp_SeqNodeOfHSequenceOfXYZ)& ThePrevious, const Handle(PColgp_SeqNodeOfHSequenceOfXYZ)& TheNext, const gp_XYZ& TheItem); + + Standard_EXPORT gp_XYZ Value() const; + + Standard_EXPORT Handle(PColgp_SeqNodeOfHSequenceOfXYZ) Next() const; + + Standard_EXPORT Handle(PColgp_SeqNodeOfHSequenceOfXYZ) Previous() const; + + Standard_EXPORT void SetValue (const gp_XYZ& AnItem) ; + + Standard_EXPORT void SetNext (const Handle(PColgp_SeqNodeOfHSequenceOfXYZ)& ANode) ; + + Standard_EXPORT void SetPrevious (const Handle(PColgp_SeqNodeOfHSequenceOfXYZ)& ANode) ; + +PColgp_SeqNodeOfHSequenceOfXYZ( ) +{ + +} +PColgp_SeqNodeOfHSequenceOfXYZ(const Storage_stCONSTclCOM& a) : PMMgt_PManaged(a) +{ + +} + Handle(PColgp_SeqNodeOfHSequenceOfXYZ) _CSFDB_GetPColgp_SeqNodeOfHSequenceOfXYZMyPrevious() const { return MyPrevious; } + void _CSFDB_SetPColgp_SeqNodeOfHSequenceOfXYZMyPrevious(const Handle(PColgp_SeqNodeOfHSequenceOfXYZ)& p) { MyPrevious = p; } + const gp_XYZ& _CSFDB_GetPColgp_SeqNodeOfHSequenceOfXYZMyItem() const { return MyItem; } + Handle(PColgp_SeqNodeOfHSequenceOfXYZ) _CSFDB_GetPColgp_SeqNodeOfHSequenceOfXYZMyNext() const { return MyNext; } + void _CSFDB_SetPColgp_SeqNodeOfHSequenceOfXYZMyNext(const Handle(PColgp_SeqNodeOfHSequenceOfXYZ)& p) { MyNext = p; } + +friend class PColgp_HSequenceOfXYZ; +friend class PColgp_SeqExplorerOfHSequenceOfXYZ; + + + DEFINE_STANDARD_RTTI(PColgp_SeqNodeOfHSequenceOfXYZ) + +protected: + + + + +private: + + + Handle(PColgp_SeqNodeOfHSequenceOfXYZ) MyPrevious; + gp_XYZ MyItem; + Handle(PColgp_SeqNodeOfHSequenceOfXYZ) MyNext; + + +}; + + + + + + + +#endif // _PColgp_SeqNodeOfHSequenceOfXYZ_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_SeqNodeOfHSequenceOfXYZ_0.cxx b/src/FromOCCT/TKPShape/PColgp_SeqNodeOfHSequenceOfXYZ_0.cxx new file mode 100644 index 000000000..bbe8942ea --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_SeqNodeOfHSequenceOfXYZ_0.cxx @@ -0,0 +1,33 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColgp_SeqNodeOfHSequenceOfXYZ,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColgp_SeqNodeOfHSequenceOfXYZ) + + +#define Item gp_XYZ +#define Item_hxx +#define PCollection_SeqNode PColgp_SeqNodeOfHSequenceOfXYZ +#define PCollection_SeqNode_hxx +#define PCollection_SeqExplorer PColgp_SeqExplorerOfHSequenceOfXYZ +#define PCollection_SeqExplorer_hxx +#define Handle_PCollection_SeqNode Handle_PColgp_SeqNodeOfHSequenceOfXYZ +#define PCollection_SeqNode_Type_() PColgp_SeqNodeOfHSequenceOfXYZ_Type_() +#define PCollection_HSequence PColgp_HSequenceOfXYZ +#define PCollection_HSequence_hxx +#define Handle_PCollection_HSequence Handle_PColgp_HSequenceOfXYZ +#define PCollection_HSequence_Type_() PColgp_HSequenceOfXYZ_Type_() +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d.hxx b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d.hxx new file mode 100644 index 000000000..e9d3df62f --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d.hxx @@ -0,0 +1,65 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d_HeaderFile +#define _PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class gp_Circ2d; +class PColgp_FieldOfHArray1OfCirc2d; +class PColgp_VArrayTNodeOfFieldOfHArray1OfCirc2d; + + +class PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d : public PStandard_ArrayNode +{ + +public: + + + Standard_EXPORT PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d(); + + Standard_EXPORT PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d(const gp_Circ2d& aValue); + + Standard_EXPORT void SetValue (const gp_Circ2d& aValue) ; + + Standard_EXPORT Standard_Address Value() const; + +PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d(const Storage_stCONSTclCOM& a) : PStandard_ArrayNode(a) +{ + +} + const gp_Circ2d& _CSFDB_GetPColgp_VArrayNodeOfFieldOfHArray1OfCirc2dmyValue() const { return myValue; } + + + + DEFINE_STANDARD_RTTI(PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d) + +protected: + + + + +private: + + + gp_Circ2d myValue; + + +}; + + + + + + + +#endif // _PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d_0.cxx b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d_0.cxx new file mode 100644 index 000000000..63d0c7a91 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d_0.cxx @@ -0,0 +1,30 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d) + + +#define Item gp_Circ2d +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray1OfCirc2d +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d_Type_() +#define DBC_VArray PColgp_FieldOfHArray1OfCirc2d +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfDir.hxx b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfDir.hxx new file mode 100644 index 000000000..c32e96c4a --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfDir.hxx @@ -0,0 +1,65 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_VArrayNodeOfFieldOfHArray1OfDir_HeaderFile +#define _PColgp_VArrayNodeOfFieldOfHArray1OfDir_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class gp_Dir; +class PColgp_FieldOfHArray1OfDir; +class PColgp_VArrayTNodeOfFieldOfHArray1OfDir; + + +class PColgp_VArrayNodeOfFieldOfHArray1OfDir : public PStandard_ArrayNode +{ + +public: + + + Standard_EXPORT PColgp_VArrayNodeOfFieldOfHArray1OfDir(); + + Standard_EXPORT PColgp_VArrayNodeOfFieldOfHArray1OfDir(const gp_Dir& aValue); + + Standard_EXPORT void SetValue (const gp_Dir& aValue) ; + + Standard_EXPORT Standard_Address Value() const; + +PColgp_VArrayNodeOfFieldOfHArray1OfDir(const Storage_stCONSTclCOM& a) : PStandard_ArrayNode(a) +{ + +} + const gp_Dir& _CSFDB_GetPColgp_VArrayNodeOfFieldOfHArray1OfDirmyValue() const { return myValue; } + + + + DEFINE_STANDARD_RTTI(PColgp_VArrayNodeOfFieldOfHArray1OfDir) + +protected: + + + + +private: + + + gp_Dir myValue; + + +}; + + + + + + + +#endif // _PColgp_VArrayNodeOfFieldOfHArray1OfDir_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfDir2d.hxx b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfDir2d.hxx new file mode 100644 index 000000000..83411397b --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfDir2d.hxx @@ -0,0 +1,65 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_VArrayNodeOfFieldOfHArray1OfDir2d_HeaderFile +#define _PColgp_VArrayNodeOfFieldOfHArray1OfDir2d_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class gp_Dir2d; +class PColgp_FieldOfHArray1OfDir2d; +class PColgp_VArrayTNodeOfFieldOfHArray1OfDir2d; + + +class PColgp_VArrayNodeOfFieldOfHArray1OfDir2d : public PStandard_ArrayNode +{ + +public: + + + Standard_EXPORT PColgp_VArrayNodeOfFieldOfHArray1OfDir2d(); + + Standard_EXPORT PColgp_VArrayNodeOfFieldOfHArray1OfDir2d(const gp_Dir2d& aValue); + + Standard_EXPORT void SetValue (const gp_Dir2d& aValue) ; + + Standard_EXPORT Standard_Address Value() const; + +PColgp_VArrayNodeOfFieldOfHArray1OfDir2d(const Storage_stCONSTclCOM& a) : PStandard_ArrayNode(a) +{ + +} + const gp_Dir2d& _CSFDB_GetPColgp_VArrayNodeOfFieldOfHArray1OfDir2dmyValue() const { return myValue; } + + + + DEFINE_STANDARD_RTTI(PColgp_VArrayNodeOfFieldOfHArray1OfDir2d) + +protected: + + + + +private: + + + gp_Dir2d myValue; + + +}; + + + + + + + +#endif // _PColgp_VArrayNodeOfFieldOfHArray1OfDir2d_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfDir2d_0.cxx b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfDir2d_0.cxx new file mode 100644 index 000000000..f4cd9ff63 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfDir2d_0.cxx @@ -0,0 +1,30 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColgp_VArrayNodeOfFieldOfHArray1OfDir2d,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColgp_VArrayNodeOfFieldOfHArray1OfDir2d) + + +#define Item gp_Dir2d +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray1OfDir2d +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray1OfDir2d +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray1OfDir2d +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfDir2d_Type_() +#define DBC_VArray PColgp_FieldOfHArray1OfDir2d +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfDir_0.cxx b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfDir_0.cxx new file mode 100644 index 000000000..f3b013eca --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfDir_0.cxx @@ -0,0 +1,30 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColgp_VArrayNodeOfFieldOfHArray1OfDir,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColgp_VArrayNodeOfFieldOfHArray1OfDir) + + +#define Item gp_Dir +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray1OfDir +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray1OfDir +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray1OfDir +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfDir_Type_() +#define DBC_VArray PColgp_FieldOfHArray1OfDir +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfLin2d.hxx b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfLin2d.hxx new file mode 100644 index 000000000..7a685ad0e --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfLin2d.hxx @@ -0,0 +1,65 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_VArrayNodeOfFieldOfHArray1OfLin2d_HeaderFile +#define _PColgp_VArrayNodeOfFieldOfHArray1OfLin2d_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class gp_Lin2d; +class PColgp_FieldOfHArray1OfLin2d; +class PColgp_VArrayTNodeOfFieldOfHArray1OfLin2d; + + +class PColgp_VArrayNodeOfFieldOfHArray1OfLin2d : public PStandard_ArrayNode +{ + +public: + + + Standard_EXPORT PColgp_VArrayNodeOfFieldOfHArray1OfLin2d(); + + Standard_EXPORT PColgp_VArrayNodeOfFieldOfHArray1OfLin2d(const gp_Lin2d& aValue); + + Standard_EXPORT void SetValue (const gp_Lin2d& aValue) ; + + Standard_EXPORT Standard_Address Value() const; + +PColgp_VArrayNodeOfFieldOfHArray1OfLin2d(const Storage_stCONSTclCOM& a) : PStandard_ArrayNode(a) +{ + +} + const gp_Lin2d& _CSFDB_GetPColgp_VArrayNodeOfFieldOfHArray1OfLin2dmyValue() const { return myValue; } + + + + DEFINE_STANDARD_RTTI(PColgp_VArrayNodeOfFieldOfHArray1OfLin2d) + +protected: + + + + +private: + + + gp_Lin2d myValue; + + +}; + + + + + + + +#endif // _PColgp_VArrayNodeOfFieldOfHArray1OfLin2d_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfLin2d_0.cxx b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfLin2d_0.cxx new file mode 100644 index 000000000..4b43d8d9c --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfLin2d_0.cxx @@ -0,0 +1,30 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColgp_VArrayNodeOfFieldOfHArray1OfLin2d,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColgp_VArrayNodeOfFieldOfHArray1OfLin2d) + + +#define Item gp_Lin2d +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray1OfLin2d +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray1OfLin2d +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray1OfLin2d +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfLin2d_Type_() +#define DBC_VArray PColgp_FieldOfHArray1OfLin2d +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfPnt.hxx b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfPnt.hxx new file mode 100644 index 000000000..de25da8c3 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfPnt.hxx @@ -0,0 +1,65 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_VArrayNodeOfFieldOfHArray1OfPnt_HeaderFile +#define _PColgp_VArrayNodeOfFieldOfHArray1OfPnt_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class gp_Pnt; +class PColgp_FieldOfHArray1OfPnt; +class PColgp_VArrayTNodeOfFieldOfHArray1OfPnt; + + +class PColgp_VArrayNodeOfFieldOfHArray1OfPnt : public PStandard_ArrayNode +{ + +public: + + + Standard_EXPORT PColgp_VArrayNodeOfFieldOfHArray1OfPnt(); + + Standard_EXPORT PColgp_VArrayNodeOfFieldOfHArray1OfPnt(const gp_Pnt& aValue); + + Standard_EXPORT void SetValue (const gp_Pnt& aValue) ; + + Standard_EXPORT Standard_Address Value() const; + +PColgp_VArrayNodeOfFieldOfHArray1OfPnt(const Storage_stCONSTclCOM& a) : PStandard_ArrayNode(a) +{ + +} + const gp_Pnt& _CSFDB_GetPColgp_VArrayNodeOfFieldOfHArray1OfPntmyValue() const { return myValue; } + + + + DEFINE_STANDARD_RTTI(PColgp_VArrayNodeOfFieldOfHArray1OfPnt) + +protected: + + + + +private: + + + gp_Pnt myValue; + + +}; + + + + + + + +#endif // _PColgp_VArrayNodeOfFieldOfHArray1OfPnt_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d.hxx b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d.hxx new file mode 100644 index 000000000..fec386f98 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d.hxx @@ -0,0 +1,65 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d_HeaderFile +#define _PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class gp_Pnt2d; +class PColgp_FieldOfHArray1OfPnt2d; +class PColgp_VArrayTNodeOfFieldOfHArray1OfPnt2d; + + +class PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d : public PStandard_ArrayNode +{ + +public: + + + Standard_EXPORT PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d(); + + Standard_EXPORT PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d(const gp_Pnt2d& aValue); + + Standard_EXPORT void SetValue (const gp_Pnt2d& aValue) ; + + Standard_EXPORT Standard_Address Value() const; + +PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d(const Storage_stCONSTclCOM& a) : PStandard_ArrayNode(a) +{ + +} + const gp_Pnt2d& _CSFDB_GetPColgp_VArrayNodeOfFieldOfHArray1OfPnt2dmyValue() const { return myValue; } + + + + DEFINE_STANDARD_RTTI(PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d) + +protected: + + + + +private: + + + gp_Pnt2d myValue; + + +}; + + + + + + + +#endif // _PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d_0.cxx b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d_0.cxx new file mode 100644 index 000000000..5458e4319 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d_0.cxx @@ -0,0 +1,30 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d) + + +#define Item gp_Pnt2d +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray1OfPnt2d +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d_Type_() +#define DBC_VArray PColgp_FieldOfHArray1OfPnt2d +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfPnt_0.cxx b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfPnt_0.cxx new file mode 100644 index 000000000..35c8ac610 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfPnt_0.cxx @@ -0,0 +1,30 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColgp_VArrayNodeOfFieldOfHArray1OfPnt,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColgp_VArrayNodeOfFieldOfHArray1OfPnt) + + +#define Item gp_Pnt +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray1OfPnt +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray1OfPnt +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray1OfPnt +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfPnt_Type_() +#define DBC_VArray PColgp_FieldOfHArray1OfPnt +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfVec.hxx b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfVec.hxx new file mode 100644 index 000000000..9165c0c05 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfVec.hxx @@ -0,0 +1,65 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_VArrayNodeOfFieldOfHArray1OfVec_HeaderFile +#define _PColgp_VArrayNodeOfFieldOfHArray1OfVec_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class gp_Vec; +class PColgp_FieldOfHArray1OfVec; +class PColgp_VArrayTNodeOfFieldOfHArray1OfVec; + + +class PColgp_VArrayNodeOfFieldOfHArray1OfVec : public PStandard_ArrayNode +{ + +public: + + + Standard_EXPORT PColgp_VArrayNodeOfFieldOfHArray1OfVec(); + + Standard_EXPORT PColgp_VArrayNodeOfFieldOfHArray1OfVec(const gp_Vec& aValue); + + Standard_EXPORT void SetValue (const gp_Vec& aValue) ; + + Standard_EXPORT Standard_Address Value() const; + +PColgp_VArrayNodeOfFieldOfHArray1OfVec(const Storage_stCONSTclCOM& a) : PStandard_ArrayNode(a) +{ + +} + const gp_Vec& _CSFDB_GetPColgp_VArrayNodeOfFieldOfHArray1OfVecmyValue() const { return myValue; } + + + + DEFINE_STANDARD_RTTI(PColgp_VArrayNodeOfFieldOfHArray1OfVec) + +protected: + + + + +private: + + + gp_Vec myValue; + + +}; + + + + + + + +#endif // _PColgp_VArrayNodeOfFieldOfHArray1OfVec_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfVec2d.hxx b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfVec2d.hxx new file mode 100644 index 000000000..b359b1781 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfVec2d.hxx @@ -0,0 +1,65 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_VArrayNodeOfFieldOfHArray1OfVec2d_HeaderFile +#define _PColgp_VArrayNodeOfFieldOfHArray1OfVec2d_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class gp_Vec2d; +class PColgp_FieldOfHArray1OfVec2d; +class PColgp_VArrayTNodeOfFieldOfHArray1OfVec2d; + + +class PColgp_VArrayNodeOfFieldOfHArray1OfVec2d : public PStandard_ArrayNode +{ + +public: + + + Standard_EXPORT PColgp_VArrayNodeOfFieldOfHArray1OfVec2d(); + + Standard_EXPORT PColgp_VArrayNodeOfFieldOfHArray1OfVec2d(const gp_Vec2d& aValue); + + Standard_EXPORT void SetValue (const gp_Vec2d& aValue) ; + + Standard_EXPORT Standard_Address Value() const; + +PColgp_VArrayNodeOfFieldOfHArray1OfVec2d(const Storage_stCONSTclCOM& a) : PStandard_ArrayNode(a) +{ + +} + const gp_Vec2d& _CSFDB_GetPColgp_VArrayNodeOfFieldOfHArray1OfVec2dmyValue() const { return myValue; } + + + + DEFINE_STANDARD_RTTI(PColgp_VArrayNodeOfFieldOfHArray1OfVec2d) + +protected: + + + + +private: + + + gp_Vec2d myValue; + + +}; + + + + + + + +#endif // _PColgp_VArrayNodeOfFieldOfHArray1OfVec2d_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfVec2d_0.cxx b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfVec2d_0.cxx new file mode 100644 index 000000000..abb3fc412 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfVec2d_0.cxx @@ -0,0 +1,30 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColgp_VArrayNodeOfFieldOfHArray1OfVec2d,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColgp_VArrayNodeOfFieldOfHArray1OfVec2d) + + +#define Item gp_Vec2d +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray1OfVec2d +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray1OfVec2d +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray1OfVec2d +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfVec2d_Type_() +#define DBC_VArray PColgp_FieldOfHArray1OfVec2d +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfVec_0.cxx b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfVec_0.cxx new file mode 100644 index 000000000..f15ab991a --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfVec_0.cxx @@ -0,0 +1,30 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColgp_VArrayNodeOfFieldOfHArray1OfVec,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColgp_VArrayNodeOfFieldOfHArray1OfVec) + + +#define Item gp_Vec +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray1OfVec +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray1OfVec +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray1OfVec +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfVec_Type_() +#define DBC_VArray PColgp_FieldOfHArray1OfVec +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfXY.hxx b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfXY.hxx new file mode 100644 index 000000000..90c4dc9ee --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfXY.hxx @@ -0,0 +1,65 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_VArrayNodeOfFieldOfHArray1OfXY_HeaderFile +#define _PColgp_VArrayNodeOfFieldOfHArray1OfXY_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class gp_XY; +class PColgp_FieldOfHArray1OfXY; +class PColgp_VArrayTNodeOfFieldOfHArray1OfXY; + + +class PColgp_VArrayNodeOfFieldOfHArray1OfXY : public PStandard_ArrayNode +{ + +public: + + + Standard_EXPORT PColgp_VArrayNodeOfFieldOfHArray1OfXY(); + + Standard_EXPORT PColgp_VArrayNodeOfFieldOfHArray1OfXY(const gp_XY& aValue); + + Standard_EXPORT void SetValue (const gp_XY& aValue) ; + + Standard_EXPORT Standard_Address Value() const; + +PColgp_VArrayNodeOfFieldOfHArray1OfXY(const Storage_stCONSTclCOM& a) : PStandard_ArrayNode(a) +{ + +} + const gp_XY& _CSFDB_GetPColgp_VArrayNodeOfFieldOfHArray1OfXYmyValue() const { return myValue; } + + + + DEFINE_STANDARD_RTTI(PColgp_VArrayNodeOfFieldOfHArray1OfXY) + +protected: + + + + +private: + + + gp_XY myValue; + + +}; + + + + + + + +#endif // _PColgp_VArrayNodeOfFieldOfHArray1OfXY_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfXYZ.hxx b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfXYZ.hxx new file mode 100644 index 000000000..f77b6cc58 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfXYZ.hxx @@ -0,0 +1,65 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_VArrayNodeOfFieldOfHArray1OfXYZ_HeaderFile +#define _PColgp_VArrayNodeOfFieldOfHArray1OfXYZ_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class gp_XYZ; +class PColgp_FieldOfHArray1OfXYZ; +class PColgp_VArrayTNodeOfFieldOfHArray1OfXYZ; + + +class PColgp_VArrayNodeOfFieldOfHArray1OfXYZ : public PStandard_ArrayNode +{ + +public: + + + Standard_EXPORT PColgp_VArrayNodeOfFieldOfHArray1OfXYZ(); + + Standard_EXPORT PColgp_VArrayNodeOfFieldOfHArray1OfXYZ(const gp_XYZ& aValue); + + Standard_EXPORT void SetValue (const gp_XYZ& aValue) ; + + Standard_EXPORT Standard_Address Value() const; + +PColgp_VArrayNodeOfFieldOfHArray1OfXYZ(const Storage_stCONSTclCOM& a) : PStandard_ArrayNode(a) +{ + +} + const gp_XYZ& _CSFDB_GetPColgp_VArrayNodeOfFieldOfHArray1OfXYZmyValue() const { return myValue; } + + + + DEFINE_STANDARD_RTTI(PColgp_VArrayNodeOfFieldOfHArray1OfXYZ) + +protected: + + + + +private: + + + gp_XYZ myValue; + + +}; + + + + + + + +#endif // _PColgp_VArrayNodeOfFieldOfHArray1OfXYZ_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfXYZ_0.cxx b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfXYZ_0.cxx new file mode 100644 index 000000000..ea60009c3 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfXYZ_0.cxx @@ -0,0 +1,30 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColgp_VArrayNodeOfFieldOfHArray1OfXYZ,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColgp_VArrayNodeOfFieldOfHArray1OfXYZ) + + +#define Item gp_XYZ +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray1OfXYZ +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray1OfXYZ +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray1OfXYZ +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfXYZ_Type_() +#define DBC_VArray PColgp_FieldOfHArray1OfXYZ +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfXY_0.cxx b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfXY_0.cxx new file mode 100644 index 000000000..f91bb6b74 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray1OfXY_0.cxx @@ -0,0 +1,30 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColgp_VArrayNodeOfFieldOfHArray1OfXY,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColgp_VArrayNodeOfFieldOfHArray1OfXY) + + +#define Item gp_XY +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray1OfXY +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray1OfXY +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray1OfXY +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfXY_Type_() +#define DBC_VArray PColgp_FieldOfHArray1OfXY +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d.hxx b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d.hxx new file mode 100644 index 000000000..ec21e3e56 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d.hxx @@ -0,0 +1,65 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d_HeaderFile +#define _PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class gp_Circ2d; +class PColgp_FieldOfHArray2OfCirc2d; +class PColgp_VArrayTNodeOfFieldOfHArray2OfCirc2d; + + +class PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d : public PStandard_ArrayNode +{ + +public: + + + Standard_EXPORT PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d(); + + Standard_EXPORT PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d(const gp_Circ2d& aValue); + + Standard_EXPORT void SetValue (const gp_Circ2d& aValue) ; + + Standard_EXPORT Standard_Address Value() const; + +PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d(const Storage_stCONSTclCOM& a) : PStandard_ArrayNode(a) +{ + +} + const gp_Circ2d& _CSFDB_GetPColgp_VArrayNodeOfFieldOfHArray2OfCirc2dmyValue() const { return myValue; } + + + + DEFINE_STANDARD_RTTI(PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d) + +protected: + + + + +private: + + + gp_Circ2d myValue; + + +}; + + + + + + + +#endif // _PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d_0.cxx b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d_0.cxx new file mode 100644 index 000000000..75c11f652 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d_0.cxx @@ -0,0 +1,30 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d) + + +#define Item gp_Circ2d +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray2OfCirc2d +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d_Type_() +#define DBC_VArray PColgp_FieldOfHArray2OfCirc2d +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfDir.hxx b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfDir.hxx new file mode 100644 index 000000000..13cb4bbf3 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfDir.hxx @@ -0,0 +1,65 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_VArrayNodeOfFieldOfHArray2OfDir_HeaderFile +#define _PColgp_VArrayNodeOfFieldOfHArray2OfDir_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class gp_Dir; +class PColgp_FieldOfHArray2OfDir; +class PColgp_VArrayTNodeOfFieldOfHArray2OfDir; + + +class PColgp_VArrayNodeOfFieldOfHArray2OfDir : public PStandard_ArrayNode +{ + +public: + + + Standard_EXPORT PColgp_VArrayNodeOfFieldOfHArray2OfDir(); + + Standard_EXPORT PColgp_VArrayNodeOfFieldOfHArray2OfDir(const gp_Dir& aValue); + + Standard_EXPORT void SetValue (const gp_Dir& aValue) ; + + Standard_EXPORT Standard_Address Value() const; + +PColgp_VArrayNodeOfFieldOfHArray2OfDir(const Storage_stCONSTclCOM& a) : PStandard_ArrayNode(a) +{ + +} + const gp_Dir& _CSFDB_GetPColgp_VArrayNodeOfFieldOfHArray2OfDirmyValue() const { return myValue; } + + + + DEFINE_STANDARD_RTTI(PColgp_VArrayNodeOfFieldOfHArray2OfDir) + +protected: + + + + +private: + + + gp_Dir myValue; + + +}; + + + + + + + +#endif // _PColgp_VArrayNodeOfFieldOfHArray2OfDir_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfDir2d.hxx b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfDir2d.hxx new file mode 100644 index 000000000..c7e846276 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfDir2d.hxx @@ -0,0 +1,65 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_VArrayNodeOfFieldOfHArray2OfDir2d_HeaderFile +#define _PColgp_VArrayNodeOfFieldOfHArray2OfDir2d_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class gp_Dir2d; +class PColgp_FieldOfHArray2OfDir2d; +class PColgp_VArrayTNodeOfFieldOfHArray2OfDir2d; + + +class PColgp_VArrayNodeOfFieldOfHArray2OfDir2d : public PStandard_ArrayNode +{ + +public: + + + Standard_EXPORT PColgp_VArrayNodeOfFieldOfHArray2OfDir2d(); + + Standard_EXPORT PColgp_VArrayNodeOfFieldOfHArray2OfDir2d(const gp_Dir2d& aValue); + + Standard_EXPORT void SetValue (const gp_Dir2d& aValue) ; + + Standard_EXPORT Standard_Address Value() const; + +PColgp_VArrayNodeOfFieldOfHArray2OfDir2d(const Storage_stCONSTclCOM& a) : PStandard_ArrayNode(a) +{ + +} + const gp_Dir2d& _CSFDB_GetPColgp_VArrayNodeOfFieldOfHArray2OfDir2dmyValue() const { return myValue; } + + + + DEFINE_STANDARD_RTTI(PColgp_VArrayNodeOfFieldOfHArray2OfDir2d) + +protected: + + + + +private: + + + gp_Dir2d myValue; + + +}; + + + + + + + +#endif // _PColgp_VArrayNodeOfFieldOfHArray2OfDir2d_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfDir2d_0.cxx b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfDir2d_0.cxx new file mode 100644 index 000000000..237e6293a --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfDir2d_0.cxx @@ -0,0 +1,30 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColgp_VArrayNodeOfFieldOfHArray2OfDir2d,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColgp_VArrayNodeOfFieldOfHArray2OfDir2d) + + +#define Item gp_Dir2d +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray2OfDir2d +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray2OfDir2d +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray2OfDir2d +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfDir2d_Type_() +#define DBC_VArray PColgp_FieldOfHArray2OfDir2d +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfDir_0.cxx b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfDir_0.cxx new file mode 100644 index 000000000..66406e8fe --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfDir_0.cxx @@ -0,0 +1,30 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColgp_VArrayNodeOfFieldOfHArray2OfDir,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColgp_VArrayNodeOfFieldOfHArray2OfDir) + + +#define Item gp_Dir +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray2OfDir +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray2OfDir +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray2OfDir +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfDir_Type_() +#define DBC_VArray PColgp_FieldOfHArray2OfDir +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfLin2d.hxx b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfLin2d.hxx new file mode 100644 index 000000000..f9a2573b8 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfLin2d.hxx @@ -0,0 +1,65 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_VArrayNodeOfFieldOfHArray2OfLin2d_HeaderFile +#define _PColgp_VArrayNodeOfFieldOfHArray2OfLin2d_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class gp_Lin2d; +class PColgp_FieldOfHArray2OfLin2d; +class PColgp_VArrayTNodeOfFieldOfHArray2OfLin2d; + + +class PColgp_VArrayNodeOfFieldOfHArray2OfLin2d : public PStandard_ArrayNode +{ + +public: + + + Standard_EXPORT PColgp_VArrayNodeOfFieldOfHArray2OfLin2d(); + + Standard_EXPORT PColgp_VArrayNodeOfFieldOfHArray2OfLin2d(const gp_Lin2d& aValue); + + Standard_EXPORT void SetValue (const gp_Lin2d& aValue) ; + + Standard_EXPORT Standard_Address Value() const; + +PColgp_VArrayNodeOfFieldOfHArray2OfLin2d(const Storage_stCONSTclCOM& a) : PStandard_ArrayNode(a) +{ + +} + const gp_Lin2d& _CSFDB_GetPColgp_VArrayNodeOfFieldOfHArray2OfLin2dmyValue() const { return myValue; } + + + + DEFINE_STANDARD_RTTI(PColgp_VArrayNodeOfFieldOfHArray2OfLin2d) + +protected: + + + + +private: + + + gp_Lin2d myValue; + + +}; + + + + + + + +#endif // _PColgp_VArrayNodeOfFieldOfHArray2OfLin2d_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfLin2d_0.cxx b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfLin2d_0.cxx new file mode 100644 index 000000000..c9d41a116 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfLin2d_0.cxx @@ -0,0 +1,30 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColgp_VArrayNodeOfFieldOfHArray2OfLin2d,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColgp_VArrayNodeOfFieldOfHArray2OfLin2d) + + +#define Item gp_Lin2d +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray2OfLin2d +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray2OfLin2d +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray2OfLin2d +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfLin2d_Type_() +#define DBC_VArray PColgp_FieldOfHArray2OfLin2d +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfPnt.hxx b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfPnt.hxx new file mode 100644 index 000000000..c6ca3b7bd --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfPnt.hxx @@ -0,0 +1,65 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_VArrayNodeOfFieldOfHArray2OfPnt_HeaderFile +#define _PColgp_VArrayNodeOfFieldOfHArray2OfPnt_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class gp_Pnt; +class PColgp_FieldOfHArray2OfPnt; +class PColgp_VArrayTNodeOfFieldOfHArray2OfPnt; + + +class PColgp_VArrayNodeOfFieldOfHArray2OfPnt : public PStandard_ArrayNode +{ + +public: + + + Standard_EXPORT PColgp_VArrayNodeOfFieldOfHArray2OfPnt(); + + Standard_EXPORT PColgp_VArrayNodeOfFieldOfHArray2OfPnt(const gp_Pnt& aValue); + + Standard_EXPORT void SetValue (const gp_Pnt& aValue) ; + + Standard_EXPORT Standard_Address Value() const; + +PColgp_VArrayNodeOfFieldOfHArray2OfPnt(const Storage_stCONSTclCOM& a) : PStandard_ArrayNode(a) +{ + +} + const gp_Pnt& _CSFDB_GetPColgp_VArrayNodeOfFieldOfHArray2OfPntmyValue() const { return myValue; } + + + + DEFINE_STANDARD_RTTI(PColgp_VArrayNodeOfFieldOfHArray2OfPnt) + +protected: + + + + +private: + + + gp_Pnt myValue; + + +}; + + + + + + + +#endif // _PColgp_VArrayNodeOfFieldOfHArray2OfPnt_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d.hxx b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d.hxx new file mode 100644 index 000000000..57b281897 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d.hxx @@ -0,0 +1,65 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d_HeaderFile +#define _PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class gp_Pnt2d; +class PColgp_FieldOfHArray2OfPnt2d; +class PColgp_VArrayTNodeOfFieldOfHArray2OfPnt2d; + + +class PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d : public PStandard_ArrayNode +{ + +public: + + + Standard_EXPORT PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d(); + + Standard_EXPORT PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d(const gp_Pnt2d& aValue); + + Standard_EXPORT void SetValue (const gp_Pnt2d& aValue) ; + + Standard_EXPORT Standard_Address Value() const; + +PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d(const Storage_stCONSTclCOM& a) : PStandard_ArrayNode(a) +{ + +} + const gp_Pnt2d& _CSFDB_GetPColgp_VArrayNodeOfFieldOfHArray2OfPnt2dmyValue() const { return myValue; } + + + + DEFINE_STANDARD_RTTI(PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d) + +protected: + + + + +private: + + + gp_Pnt2d myValue; + + +}; + + + + + + + +#endif // _PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d_0.cxx b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d_0.cxx new file mode 100644 index 000000000..8a05d0e3e --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d_0.cxx @@ -0,0 +1,30 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d) + + +#define Item gp_Pnt2d +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray2OfPnt2d +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d_Type_() +#define DBC_VArray PColgp_FieldOfHArray2OfPnt2d +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfPnt_0.cxx b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfPnt_0.cxx new file mode 100644 index 000000000..d7b0416a3 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfPnt_0.cxx @@ -0,0 +1,30 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColgp_VArrayNodeOfFieldOfHArray2OfPnt,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColgp_VArrayNodeOfFieldOfHArray2OfPnt) + + +#define Item gp_Pnt +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray2OfPnt +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray2OfPnt +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray2OfPnt +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfPnt_Type_() +#define DBC_VArray PColgp_FieldOfHArray2OfPnt +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfVec.hxx b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfVec.hxx new file mode 100644 index 000000000..22669879e --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfVec.hxx @@ -0,0 +1,65 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_VArrayNodeOfFieldOfHArray2OfVec_HeaderFile +#define _PColgp_VArrayNodeOfFieldOfHArray2OfVec_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class gp_Vec; +class PColgp_FieldOfHArray2OfVec; +class PColgp_VArrayTNodeOfFieldOfHArray2OfVec; + + +class PColgp_VArrayNodeOfFieldOfHArray2OfVec : public PStandard_ArrayNode +{ + +public: + + + Standard_EXPORT PColgp_VArrayNodeOfFieldOfHArray2OfVec(); + + Standard_EXPORT PColgp_VArrayNodeOfFieldOfHArray2OfVec(const gp_Vec& aValue); + + Standard_EXPORT void SetValue (const gp_Vec& aValue) ; + + Standard_EXPORT Standard_Address Value() const; + +PColgp_VArrayNodeOfFieldOfHArray2OfVec(const Storage_stCONSTclCOM& a) : PStandard_ArrayNode(a) +{ + +} + const gp_Vec& _CSFDB_GetPColgp_VArrayNodeOfFieldOfHArray2OfVecmyValue() const { return myValue; } + + + + DEFINE_STANDARD_RTTI(PColgp_VArrayNodeOfFieldOfHArray2OfVec) + +protected: + + + + +private: + + + gp_Vec myValue; + + +}; + + + + + + + +#endif // _PColgp_VArrayNodeOfFieldOfHArray2OfVec_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfVec2d.hxx b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfVec2d.hxx new file mode 100644 index 000000000..edec3f499 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfVec2d.hxx @@ -0,0 +1,65 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_VArrayNodeOfFieldOfHArray2OfVec2d_HeaderFile +#define _PColgp_VArrayNodeOfFieldOfHArray2OfVec2d_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class gp_Vec2d; +class PColgp_FieldOfHArray2OfVec2d; +class PColgp_VArrayTNodeOfFieldOfHArray2OfVec2d; + + +class PColgp_VArrayNodeOfFieldOfHArray2OfVec2d : public PStandard_ArrayNode +{ + +public: + + + Standard_EXPORT PColgp_VArrayNodeOfFieldOfHArray2OfVec2d(); + + Standard_EXPORT PColgp_VArrayNodeOfFieldOfHArray2OfVec2d(const gp_Vec2d& aValue); + + Standard_EXPORT void SetValue (const gp_Vec2d& aValue) ; + + Standard_EXPORT Standard_Address Value() const; + +PColgp_VArrayNodeOfFieldOfHArray2OfVec2d(const Storage_stCONSTclCOM& a) : PStandard_ArrayNode(a) +{ + +} + const gp_Vec2d& _CSFDB_GetPColgp_VArrayNodeOfFieldOfHArray2OfVec2dmyValue() const { return myValue; } + + + + DEFINE_STANDARD_RTTI(PColgp_VArrayNodeOfFieldOfHArray2OfVec2d) + +protected: + + + + +private: + + + gp_Vec2d myValue; + + +}; + + + + + + + +#endif // _PColgp_VArrayNodeOfFieldOfHArray2OfVec2d_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfVec2d_0.cxx b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfVec2d_0.cxx new file mode 100644 index 000000000..f29bb0c15 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfVec2d_0.cxx @@ -0,0 +1,30 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColgp_VArrayNodeOfFieldOfHArray2OfVec2d,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColgp_VArrayNodeOfFieldOfHArray2OfVec2d) + + +#define Item gp_Vec2d +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray2OfVec2d +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray2OfVec2d +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray2OfVec2d +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfVec2d_Type_() +#define DBC_VArray PColgp_FieldOfHArray2OfVec2d +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfVec_0.cxx b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfVec_0.cxx new file mode 100644 index 000000000..b0f1a8924 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfVec_0.cxx @@ -0,0 +1,30 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColgp_VArrayNodeOfFieldOfHArray2OfVec,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColgp_VArrayNodeOfFieldOfHArray2OfVec) + + +#define Item gp_Vec +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray2OfVec +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray2OfVec +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray2OfVec +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfVec_Type_() +#define DBC_VArray PColgp_FieldOfHArray2OfVec +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfXY.hxx b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfXY.hxx new file mode 100644 index 000000000..b8e97ee94 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfXY.hxx @@ -0,0 +1,65 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_VArrayNodeOfFieldOfHArray2OfXY_HeaderFile +#define _PColgp_VArrayNodeOfFieldOfHArray2OfXY_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class gp_XY; +class PColgp_FieldOfHArray2OfXY; +class PColgp_VArrayTNodeOfFieldOfHArray2OfXY; + + +class PColgp_VArrayNodeOfFieldOfHArray2OfXY : public PStandard_ArrayNode +{ + +public: + + + Standard_EXPORT PColgp_VArrayNodeOfFieldOfHArray2OfXY(); + + Standard_EXPORT PColgp_VArrayNodeOfFieldOfHArray2OfXY(const gp_XY& aValue); + + Standard_EXPORT void SetValue (const gp_XY& aValue) ; + + Standard_EXPORT Standard_Address Value() const; + +PColgp_VArrayNodeOfFieldOfHArray2OfXY(const Storage_stCONSTclCOM& a) : PStandard_ArrayNode(a) +{ + +} + const gp_XY& _CSFDB_GetPColgp_VArrayNodeOfFieldOfHArray2OfXYmyValue() const { return myValue; } + + + + DEFINE_STANDARD_RTTI(PColgp_VArrayNodeOfFieldOfHArray2OfXY) + +protected: + + + + +private: + + + gp_XY myValue; + + +}; + + + + + + + +#endif // _PColgp_VArrayNodeOfFieldOfHArray2OfXY_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfXYZ.hxx b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfXYZ.hxx new file mode 100644 index 000000000..505621b02 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfXYZ.hxx @@ -0,0 +1,65 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_VArrayNodeOfFieldOfHArray2OfXYZ_HeaderFile +#define _PColgp_VArrayNodeOfFieldOfHArray2OfXYZ_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class gp_XYZ; +class PColgp_FieldOfHArray2OfXYZ; +class PColgp_VArrayTNodeOfFieldOfHArray2OfXYZ; + + +class PColgp_VArrayNodeOfFieldOfHArray2OfXYZ : public PStandard_ArrayNode +{ + +public: + + + Standard_EXPORT PColgp_VArrayNodeOfFieldOfHArray2OfXYZ(); + + Standard_EXPORT PColgp_VArrayNodeOfFieldOfHArray2OfXYZ(const gp_XYZ& aValue); + + Standard_EXPORT void SetValue (const gp_XYZ& aValue) ; + + Standard_EXPORT Standard_Address Value() const; + +PColgp_VArrayNodeOfFieldOfHArray2OfXYZ(const Storage_stCONSTclCOM& a) : PStandard_ArrayNode(a) +{ + +} + const gp_XYZ& _CSFDB_GetPColgp_VArrayNodeOfFieldOfHArray2OfXYZmyValue() const { return myValue; } + + + + DEFINE_STANDARD_RTTI(PColgp_VArrayNodeOfFieldOfHArray2OfXYZ) + +protected: + + + + +private: + + + gp_XYZ myValue; + + +}; + + + + + + + +#endif // _PColgp_VArrayNodeOfFieldOfHArray2OfXYZ_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfXYZ_0.cxx b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfXYZ_0.cxx new file mode 100644 index 000000000..30f9f8678 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfXYZ_0.cxx @@ -0,0 +1,30 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColgp_VArrayNodeOfFieldOfHArray2OfXYZ,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColgp_VArrayNodeOfFieldOfHArray2OfXYZ) + + +#define Item gp_XYZ +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray2OfXYZ +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray2OfXYZ +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray2OfXYZ +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfXYZ_Type_() +#define DBC_VArray PColgp_FieldOfHArray2OfXYZ +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfXY_0.cxx b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfXY_0.cxx new file mode 100644 index 000000000..26c7c8838 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayNodeOfFieldOfHArray2OfXY_0.cxx @@ -0,0 +1,30 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PColgp_VArrayNodeOfFieldOfHArray2OfXY,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PColgp_VArrayNodeOfFieldOfHArray2OfXY) + + +#define Item gp_XY +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray2OfXY +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray2OfXY +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray2OfXY +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfXY_Type_() +#define DBC_VArray PColgp_FieldOfHArray2OfXY +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfCirc2d.hxx b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfCirc2d.hxx new file mode 100644 index 000000000..7aed986f4 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfCirc2d.hxx @@ -0,0 +1,82 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_VArrayTNodeOfFieldOfHArray1OfCirc2d_HeaderFile +#define _PColgp_VArrayTNodeOfFieldOfHArray1OfCirc2d_HeaderFile + +#include +#include +#include + +#include +#include +#include +class gp_Circ2d; +class PColgp_FieldOfHArray1OfCirc2d; +class PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d; + + + +class PColgp_VArrayTNodeOfFieldOfHArray1OfCirc2d +{ +public: + + DEFINE_STANDARD_ALLOC + + + PColgp_VArrayTNodeOfFieldOfHArray1OfCirc2d(); + + PColgp_VArrayTNodeOfFieldOfHArray1OfCirc2d(const gp_Circ2d& aValue); + + void SetValue (const gp_Circ2d& aValue) ; + + Standard_Address Value() const; + + + + +protected: + + + + + +private: + + + + gp_Circ2d myValue; + + +}; + +#define Item gp_Circ2d +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray1OfCirc2d +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d_Type_() +#define DBC_VArray PColgp_FieldOfHArray1OfCirc2d +#define DBC_VArray_hxx + +#include + +#undef Item +#undef Item_hxx +#undef DBC_VArrayNode +#undef DBC_VArrayNode_hxx +#undef DBC_VArrayTNode +#undef DBC_VArrayTNode_hxx +#undef Handle_DBC_VArrayNode +#undef DBC_VArrayNode_Type_ +#undef DBC_VArray +#undef DBC_VArray_hxx + + + + +#endif // _PColgp_VArrayTNodeOfFieldOfHArray1OfCirc2d_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfCirc2d_0.cxx b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfCirc2d_0.cxx new file mode 100644 index 000000000..6bf01b05f --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfCirc2d_0.cxx @@ -0,0 +1,24 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + +#define Item gp_Circ2d +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray1OfCirc2d +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfCirc2d_Type_() +#define DBC_VArray PColgp_FieldOfHArray1OfCirc2d +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfDir.hxx b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfDir.hxx new file mode 100644 index 000000000..340a05936 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfDir.hxx @@ -0,0 +1,82 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_VArrayTNodeOfFieldOfHArray1OfDir_HeaderFile +#define _PColgp_VArrayTNodeOfFieldOfHArray1OfDir_HeaderFile + +#include +#include +#include + +#include +#include +#include +class gp_Dir; +class PColgp_FieldOfHArray1OfDir; +class PColgp_VArrayNodeOfFieldOfHArray1OfDir; + + + +class PColgp_VArrayTNodeOfFieldOfHArray1OfDir +{ +public: + + DEFINE_STANDARD_ALLOC + + + PColgp_VArrayTNodeOfFieldOfHArray1OfDir(); + + PColgp_VArrayTNodeOfFieldOfHArray1OfDir(const gp_Dir& aValue); + + void SetValue (const gp_Dir& aValue) ; + + Standard_Address Value() const; + + + + +protected: + + + + + +private: + + + + gp_Dir myValue; + + +}; + +#define Item gp_Dir +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray1OfDir +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray1OfDir +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray1OfDir +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfDir_Type_() +#define DBC_VArray PColgp_FieldOfHArray1OfDir +#define DBC_VArray_hxx + +#include + +#undef Item +#undef Item_hxx +#undef DBC_VArrayNode +#undef DBC_VArrayNode_hxx +#undef DBC_VArrayTNode +#undef DBC_VArrayTNode_hxx +#undef Handle_DBC_VArrayNode +#undef DBC_VArrayNode_Type_ +#undef DBC_VArray +#undef DBC_VArray_hxx + + + + +#endif // _PColgp_VArrayTNodeOfFieldOfHArray1OfDir_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfDir2d.hxx b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfDir2d.hxx new file mode 100644 index 000000000..0c46bb271 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfDir2d.hxx @@ -0,0 +1,82 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_VArrayTNodeOfFieldOfHArray1OfDir2d_HeaderFile +#define _PColgp_VArrayTNodeOfFieldOfHArray1OfDir2d_HeaderFile + +#include +#include +#include + +#include +#include +#include +class gp_Dir2d; +class PColgp_FieldOfHArray1OfDir2d; +class PColgp_VArrayNodeOfFieldOfHArray1OfDir2d; + + + +class PColgp_VArrayTNodeOfFieldOfHArray1OfDir2d +{ +public: + + DEFINE_STANDARD_ALLOC + + + PColgp_VArrayTNodeOfFieldOfHArray1OfDir2d(); + + PColgp_VArrayTNodeOfFieldOfHArray1OfDir2d(const gp_Dir2d& aValue); + + void SetValue (const gp_Dir2d& aValue) ; + + Standard_Address Value() const; + + + + +protected: + + + + + +private: + + + + gp_Dir2d myValue; + + +}; + +#define Item gp_Dir2d +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray1OfDir2d +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray1OfDir2d +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray1OfDir2d +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfDir2d_Type_() +#define DBC_VArray PColgp_FieldOfHArray1OfDir2d +#define DBC_VArray_hxx + +#include + +#undef Item +#undef Item_hxx +#undef DBC_VArrayNode +#undef DBC_VArrayNode_hxx +#undef DBC_VArrayTNode +#undef DBC_VArrayTNode_hxx +#undef Handle_DBC_VArrayNode +#undef DBC_VArrayNode_Type_ +#undef DBC_VArray +#undef DBC_VArray_hxx + + + + +#endif // _PColgp_VArrayTNodeOfFieldOfHArray1OfDir2d_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfDir2d_0.cxx b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfDir2d_0.cxx new file mode 100644 index 000000000..c11256839 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfDir2d_0.cxx @@ -0,0 +1,24 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + +#define Item gp_Dir2d +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray1OfDir2d +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray1OfDir2d +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray1OfDir2d +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfDir2d_Type_() +#define DBC_VArray PColgp_FieldOfHArray1OfDir2d +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfDir_0.cxx b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfDir_0.cxx new file mode 100644 index 000000000..eabb12ac6 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfDir_0.cxx @@ -0,0 +1,24 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + +#define Item gp_Dir +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray1OfDir +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray1OfDir +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray1OfDir +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfDir_Type_() +#define DBC_VArray PColgp_FieldOfHArray1OfDir +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfLin2d.hxx b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfLin2d.hxx new file mode 100644 index 000000000..d7fb24741 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfLin2d.hxx @@ -0,0 +1,82 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_VArrayTNodeOfFieldOfHArray1OfLin2d_HeaderFile +#define _PColgp_VArrayTNodeOfFieldOfHArray1OfLin2d_HeaderFile + +#include +#include +#include + +#include +#include +#include +class gp_Lin2d; +class PColgp_FieldOfHArray1OfLin2d; +class PColgp_VArrayNodeOfFieldOfHArray1OfLin2d; + + + +class PColgp_VArrayTNodeOfFieldOfHArray1OfLin2d +{ +public: + + DEFINE_STANDARD_ALLOC + + + PColgp_VArrayTNodeOfFieldOfHArray1OfLin2d(); + + PColgp_VArrayTNodeOfFieldOfHArray1OfLin2d(const gp_Lin2d& aValue); + + void SetValue (const gp_Lin2d& aValue) ; + + Standard_Address Value() const; + + + + +protected: + + + + + +private: + + + + gp_Lin2d myValue; + + +}; + +#define Item gp_Lin2d +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray1OfLin2d +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray1OfLin2d +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray1OfLin2d +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfLin2d_Type_() +#define DBC_VArray PColgp_FieldOfHArray1OfLin2d +#define DBC_VArray_hxx + +#include + +#undef Item +#undef Item_hxx +#undef DBC_VArrayNode +#undef DBC_VArrayNode_hxx +#undef DBC_VArrayTNode +#undef DBC_VArrayTNode_hxx +#undef Handle_DBC_VArrayNode +#undef DBC_VArrayNode_Type_ +#undef DBC_VArray +#undef DBC_VArray_hxx + + + + +#endif // _PColgp_VArrayTNodeOfFieldOfHArray1OfLin2d_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfLin2d_0.cxx b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfLin2d_0.cxx new file mode 100644 index 000000000..ab240be8e --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfLin2d_0.cxx @@ -0,0 +1,24 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + +#define Item gp_Lin2d +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray1OfLin2d +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray1OfLin2d +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray1OfLin2d +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfLin2d_Type_() +#define DBC_VArray PColgp_FieldOfHArray1OfLin2d +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfPnt.hxx b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfPnt.hxx new file mode 100644 index 000000000..b85d54f38 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfPnt.hxx @@ -0,0 +1,82 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_VArrayTNodeOfFieldOfHArray1OfPnt_HeaderFile +#define _PColgp_VArrayTNodeOfFieldOfHArray1OfPnt_HeaderFile + +#include +#include +#include + +#include +#include +#include +class gp_Pnt; +class PColgp_FieldOfHArray1OfPnt; +class PColgp_VArrayNodeOfFieldOfHArray1OfPnt; + + + +class PColgp_VArrayTNodeOfFieldOfHArray1OfPnt +{ +public: + + DEFINE_STANDARD_ALLOC + + + PColgp_VArrayTNodeOfFieldOfHArray1OfPnt(); + + PColgp_VArrayTNodeOfFieldOfHArray1OfPnt(const gp_Pnt& aValue); + + void SetValue (const gp_Pnt& aValue) ; + + Standard_Address Value() const; + + + + +protected: + + + + + +private: + + + + gp_Pnt myValue; + + +}; + +#define Item gp_Pnt +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray1OfPnt +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray1OfPnt +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray1OfPnt +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfPnt_Type_() +#define DBC_VArray PColgp_FieldOfHArray1OfPnt +#define DBC_VArray_hxx + +#include + +#undef Item +#undef Item_hxx +#undef DBC_VArrayNode +#undef DBC_VArrayNode_hxx +#undef DBC_VArrayTNode +#undef DBC_VArrayTNode_hxx +#undef Handle_DBC_VArrayNode +#undef DBC_VArrayNode_Type_ +#undef DBC_VArray +#undef DBC_VArray_hxx + + + + +#endif // _PColgp_VArrayTNodeOfFieldOfHArray1OfPnt_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfPnt2d.hxx b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfPnt2d.hxx new file mode 100644 index 000000000..93b2189c3 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfPnt2d.hxx @@ -0,0 +1,82 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_VArrayTNodeOfFieldOfHArray1OfPnt2d_HeaderFile +#define _PColgp_VArrayTNodeOfFieldOfHArray1OfPnt2d_HeaderFile + +#include +#include +#include + +#include +#include +#include +class gp_Pnt2d; +class PColgp_FieldOfHArray1OfPnt2d; +class PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d; + + + +class PColgp_VArrayTNodeOfFieldOfHArray1OfPnt2d +{ +public: + + DEFINE_STANDARD_ALLOC + + + PColgp_VArrayTNodeOfFieldOfHArray1OfPnt2d(); + + PColgp_VArrayTNodeOfFieldOfHArray1OfPnt2d(const gp_Pnt2d& aValue); + + void SetValue (const gp_Pnt2d& aValue) ; + + Standard_Address Value() const; + + + + +protected: + + + + + +private: + + + + gp_Pnt2d myValue; + + +}; + +#define Item gp_Pnt2d +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray1OfPnt2d +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d_Type_() +#define DBC_VArray PColgp_FieldOfHArray1OfPnt2d +#define DBC_VArray_hxx + +#include + +#undef Item +#undef Item_hxx +#undef DBC_VArrayNode +#undef DBC_VArrayNode_hxx +#undef DBC_VArrayTNode +#undef DBC_VArrayTNode_hxx +#undef Handle_DBC_VArrayNode +#undef DBC_VArrayNode_Type_ +#undef DBC_VArray +#undef DBC_VArray_hxx + + + + +#endif // _PColgp_VArrayTNodeOfFieldOfHArray1OfPnt2d_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfPnt2d_0.cxx b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfPnt2d_0.cxx new file mode 100644 index 000000000..2497d9879 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfPnt2d_0.cxx @@ -0,0 +1,24 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + +#define Item gp_Pnt2d +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray1OfPnt2d +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfPnt2d_Type_() +#define DBC_VArray PColgp_FieldOfHArray1OfPnt2d +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfPnt_0.cxx b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfPnt_0.cxx new file mode 100644 index 000000000..a51241d43 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfPnt_0.cxx @@ -0,0 +1,24 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + +#define Item gp_Pnt +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray1OfPnt +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray1OfPnt +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray1OfPnt +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfPnt_Type_() +#define DBC_VArray PColgp_FieldOfHArray1OfPnt +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfVec.hxx b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfVec.hxx new file mode 100644 index 000000000..46cc7d8be --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfVec.hxx @@ -0,0 +1,82 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_VArrayTNodeOfFieldOfHArray1OfVec_HeaderFile +#define _PColgp_VArrayTNodeOfFieldOfHArray1OfVec_HeaderFile + +#include +#include +#include + +#include +#include +#include +class gp_Vec; +class PColgp_FieldOfHArray1OfVec; +class PColgp_VArrayNodeOfFieldOfHArray1OfVec; + + + +class PColgp_VArrayTNodeOfFieldOfHArray1OfVec +{ +public: + + DEFINE_STANDARD_ALLOC + + + PColgp_VArrayTNodeOfFieldOfHArray1OfVec(); + + PColgp_VArrayTNodeOfFieldOfHArray1OfVec(const gp_Vec& aValue); + + void SetValue (const gp_Vec& aValue) ; + + Standard_Address Value() const; + + + + +protected: + + + + + +private: + + + + gp_Vec myValue; + + +}; + +#define Item gp_Vec +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray1OfVec +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray1OfVec +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray1OfVec +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfVec_Type_() +#define DBC_VArray PColgp_FieldOfHArray1OfVec +#define DBC_VArray_hxx + +#include + +#undef Item +#undef Item_hxx +#undef DBC_VArrayNode +#undef DBC_VArrayNode_hxx +#undef DBC_VArrayTNode +#undef DBC_VArrayTNode_hxx +#undef Handle_DBC_VArrayNode +#undef DBC_VArrayNode_Type_ +#undef DBC_VArray +#undef DBC_VArray_hxx + + + + +#endif // _PColgp_VArrayTNodeOfFieldOfHArray1OfVec_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfVec2d.hxx b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfVec2d.hxx new file mode 100644 index 000000000..e281c434d --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfVec2d.hxx @@ -0,0 +1,82 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_VArrayTNodeOfFieldOfHArray1OfVec2d_HeaderFile +#define _PColgp_VArrayTNodeOfFieldOfHArray1OfVec2d_HeaderFile + +#include +#include +#include + +#include +#include +#include +class gp_Vec2d; +class PColgp_FieldOfHArray1OfVec2d; +class PColgp_VArrayNodeOfFieldOfHArray1OfVec2d; + + + +class PColgp_VArrayTNodeOfFieldOfHArray1OfVec2d +{ +public: + + DEFINE_STANDARD_ALLOC + + + PColgp_VArrayTNodeOfFieldOfHArray1OfVec2d(); + + PColgp_VArrayTNodeOfFieldOfHArray1OfVec2d(const gp_Vec2d& aValue); + + void SetValue (const gp_Vec2d& aValue) ; + + Standard_Address Value() const; + + + + +protected: + + + + + +private: + + + + gp_Vec2d myValue; + + +}; + +#define Item gp_Vec2d +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray1OfVec2d +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray1OfVec2d +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray1OfVec2d +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfVec2d_Type_() +#define DBC_VArray PColgp_FieldOfHArray1OfVec2d +#define DBC_VArray_hxx + +#include + +#undef Item +#undef Item_hxx +#undef DBC_VArrayNode +#undef DBC_VArrayNode_hxx +#undef DBC_VArrayTNode +#undef DBC_VArrayTNode_hxx +#undef Handle_DBC_VArrayNode +#undef DBC_VArrayNode_Type_ +#undef DBC_VArray +#undef DBC_VArray_hxx + + + + +#endif // _PColgp_VArrayTNodeOfFieldOfHArray1OfVec2d_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfVec2d_0.cxx b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfVec2d_0.cxx new file mode 100644 index 000000000..96a4c21fe --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfVec2d_0.cxx @@ -0,0 +1,24 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + +#define Item gp_Vec2d +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray1OfVec2d +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray1OfVec2d +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray1OfVec2d +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfVec2d_Type_() +#define DBC_VArray PColgp_FieldOfHArray1OfVec2d +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfVec_0.cxx b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfVec_0.cxx new file mode 100644 index 000000000..755890cd2 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfVec_0.cxx @@ -0,0 +1,24 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + +#define Item gp_Vec +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray1OfVec +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray1OfVec +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray1OfVec +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfVec_Type_() +#define DBC_VArray PColgp_FieldOfHArray1OfVec +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfXY.hxx b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfXY.hxx new file mode 100644 index 000000000..da82cecf3 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfXY.hxx @@ -0,0 +1,82 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_VArrayTNodeOfFieldOfHArray1OfXY_HeaderFile +#define _PColgp_VArrayTNodeOfFieldOfHArray1OfXY_HeaderFile + +#include +#include +#include + +#include +#include +#include +class gp_XY; +class PColgp_FieldOfHArray1OfXY; +class PColgp_VArrayNodeOfFieldOfHArray1OfXY; + + + +class PColgp_VArrayTNodeOfFieldOfHArray1OfXY +{ +public: + + DEFINE_STANDARD_ALLOC + + + PColgp_VArrayTNodeOfFieldOfHArray1OfXY(); + + PColgp_VArrayTNodeOfFieldOfHArray1OfXY(const gp_XY& aValue); + + void SetValue (const gp_XY& aValue) ; + + Standard_Address Value() const; + + + + +protected: + + + + + +private: + + + + gp_XY myValue; + + +}; + +#define Item gp_XY +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray1OfXY +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray1OfXY +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray1OfXY +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfXY_Type_() +#define DBC_VArray PColgp_FieldOfHArray1OfXY +#define DBC_VArray_hxx + +#include + +#undef Item +#undef Item_hxx +#undef DBC_VArrayNode +#undef DBC_VArrayNode_hxx +#undef DBC_VArrayTNode +#undef DBC_VArrayTNode_hxx +#undef Handle_DBC_VArrayNode +#undef DBC_VArrayNode_Type_ +#undef DBC_VArray +#undef DBC_VArray_hxx + + + + +#endif // _PColgp_VArrayTNodeOfFieldOfHArray1OfXY_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfXYZ.hxx b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfXYZ.hxx new file mode 100644 index 000000000..3cc6e69fa --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfXYZ.hxx @@ -0,0 +1,82 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_VArrayTNodeOfFieldOfHArray1OfXYZ_HeaderFile +#define _PColgp_VArrayTNodeOfFieldOfHArray1OfXYZ_HeaderFile + +#include +#include +#include + +#include +#include +#include +class gp_XYZ; +class PColgp_FieldOfHArray1OfXYZ; +class PColgp_VArrayNodeOfFieldOfHArray1OfXYZ; + + + +class PColgp_VArrayTNodeOfFieldOfHArray1OfXYZ +{ +public: + + DEFINE_STANDARD_ALLOC + + + PColgp_VArrayTNodeOfFieldOfHArray1OfXYZ(); + + PColgp_VArrayTNodeOfFieldOfHArray1OfXYZ(const gp_XYZ& aValue); + + void SetValue (const gp_XYZ& aValue) ; + + Standard_Address Value() const; + + + + +protected: + + + + + +private: + + + + gp_XYZ myValue; + + +}; + +#define Item gp_XYZ +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray1OfXYZ +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray1OfXYZ +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray1OfXYZ +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfXYZ_Type_() +#define DBC_VArray PColgp_FieldOfHArray1OfXYZ +#define DBC_VArray_hxx + +#include + +#undef Item +#undef Item_hxx +#undef DBC_VArrayNode +#undef DBC_VArrayNode_hxx +#undef DBC_VArrayTNode +#undef DBC_VArrayTNode_hxx +#undef Handle_DBC_VArrayNode +#undef DBC_VArrayNode_Type_ +#undef DBC_VArray +#undef DBC_VArray_hxx + + + + +#endif // _PColgp_VArrayTNodeOfFieldOfHArray1OfXYZ_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfXYZ_0.cxx b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfXYZ_0.cxx new file mode 100644 index 000000000..d509c6f8b --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfXYZ_0.cxx @@ -0,0 +1,24 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + +#define Item gp_XYZ +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray1OfXYZ +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray1OfXYZ +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray1OfXYZ +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfXYZ_Type_() +#define DBC_VArray PColgp_FieldOfHArray1OfXYZ +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfXY_0.cxx b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfXY_0.cxx new file mode 100644 index 000000000..1cf326061 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray1OfXY_0.cxx @@ -0,0 +1,24 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + +#define Item gp_XY +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray1OfXY +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray1OfXY +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray1OfXY +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray1OfXY_Type_() +#define DBC_VArray PColgp_FieldOfHArray1OfXY +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfCirc2d.hxx b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfCirc2d.hxx new file mode 100644 index 000000000..18fb2c774 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfCirc2d.hxx @@ -0,0 +1,82 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_VArrayTNodeOfFieldOfHArray2OfCirc2d_HeaderFile +#define _PColgp_VArrayTNodeOfFieldOfHArray2OfCirc2d_HeaderFile + +#include +#include +#include + +#include +#include +#include +class gp_Circ2d; +class PColgp_FieldOfHArray2OfCirc2d; +class PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d; + + + +class PColgp_VArrayTNodeOfFieldOfHArray2OfCirc2d +{ +public: + + DEFINE_STANDARD_ALLOC + + + PColgp_VArrayTNodeOfFieldOfHArray2OfCirc2d(); + + PColgp_VArrayTNodeOfFieldOfHArray2OfCirc2d(const gp_Circ2d& aValue); + + void SetValue (const gp_Circ2d& aValue) ; + + Standard_Address Value() const; + + + + +protected: + + + + + +private: + + + + gp_Circ2d myValue; + + +}; + +#define Item gp_Circ2d +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray2OfCirc2d +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d_Type_() +#define DBC_VArray PColgp_FieldOfHArray2OfCirc2d +#define DBC_VArray_hxx + +#include + +#undef Item +#undef Item_hxx +#undef DBC_VArrayNode +#undef DBC_VArrayNode_hxx +#undef DBC_VArrayTNode +#undef DBC_VArrayTNode_hxx +#undef Handle_DBC_VArrayNode +#undef DBC_VArrayNode_Type_ +#undef DBC_VArray +#undef DBC_VArray_hxx + + + + +#endif // _PColgp_VArrayTNodeOfFieldOfHArray2OfCirc2d_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfCirc2d_0.cxx b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfCirc2d_0.cxx new file mode 100644 index 000000000..bc1d58f96 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfCirc2d_0.cxx @@ -0,0 +1,24 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + +#define Item gp_Circ2d +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray2OfCirc2d +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfCirc2d_Type_() +#define DBC_VArray PColgp_FieldOfHArray2OfCirc2d +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfDir.hxx b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfDir.hxx new file mode 100644 index 000000000..84bd3b8e8 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfDir.hxx @@ -0,0 +1,82 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_VArrayTNodeOfFieldOfHArray2OfDir_HeaderFile +#define _PColgp_VArrayTNodeOfFieldOfHArray2OfDir_HeaderFile + +#include +#include +#include + +#include +#include +#include +class gp_Dir; +class PColgp_FieldOfHArray2OfDir; +class PColgp_VArrayNodeOfFieldOfHArray2OfDir; + + + +class PColgp_VArrayTNodeOfFieldOfHArray2OfDir +{ +public: + + DEFINE_STANDARD_ALLOC + + + PColgp_VArrayTNodeOfFieldOfHArray2OfDir(); + + PColgp_VArrayTNodeOfFieldOfHArray2OfDir(const gp_Dir& aValue); + + void SetValue (const gp_Dir& aValue) ; + + Standard_Address Value() const; + + + + +protected: + + + + + +private: + + + + gp_Dir myValue; + + +}; + +#define Item gp_Dir +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray2OfDir +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray2OfDir +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray2OfDir +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfDir_Type_() +#define DBC_VArray PColgp_FieldOfHArray2OfDir +#define DBC_VArray_hxx + +#include + +#undef Item +#undef Item_hxx +#undef DBC_VArrayNode +#undef DBC_VArrayNode_hxx +#undef DBC_VArrayTNode +#undef DBC_VArrayTNode_hxx +#undef Handle_DBC_VArrayNode +#undef DBC_VArrayNode_Type_ +#undef DBC_VArray +#undef DBC_VArray_hxx + + + + +#endif // _PColgp_VArrayTNodeOfFieldOfHArray2OfDir_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfDir2d.hxx b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfDir2d.hxx new file mode 100644 index 000000000..41b41aa95 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfDir2d.hxx @@ -0,0 +1,82 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_VArrayTNodeOfFieldOfHArray2OfDir2d_HeaderFile +#define _PColgp_VArrayTNodeOfFieldOfHArray2OfDir2d_HeaderFile + +#include +#include +#include + +#include +#include +#include +class gp_Dir2d; +class PColgp_FieldOfHArray2OfDir2d; +class PColgp_VArrayNodeOfFieldOfHArray2OfDir2d; + + + +class PColgp_VArrayTNodeOfFieldOfHArray2OfDir2d +{ +public: + + DEFINE_STANDARD_ALLOC + + + PColgp_VArrayTNodeOfFieldOfHArray2OfDir2d(); + + PColgp_VArrayTNodeOfFieldOfHArray2OfDir2d(const gp_Dir2d& aValue); + + void SetValue (const gp_Dir2d& aValue) ; + + Standard_Address Value() const; + + + + +protected: + + + + + +private: + + + + gp_Dir2d myValue; + + +}; + +#define Item gp_Dir2d +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray2OfDir2d +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray2OfDir2d +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray2OfDir2d +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfDir2d_Type_() +#define DBC_VArray PColgp_FieldOfHArray2OfDir2d +#define DBC_VArray_hxx + +#include + +#undef Item +#undef Item_hxx +#undef DBC_VArrayNode +#undef DBC_VArrayNode_hxx +#undef DBC_VArrayTNode +#undef DBC_VArrayTNode_hxx +#undef Handle_DBC_VArrayNode +#undef DBC_VArrayNode_Type_ +#undef DBC_VArray +#undef DBC_VArray_hxx + + + + +#endif // _PColgp_VArrayTNodeOfFieldOfHArray2OfDir2d_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfDir2d_0.cxx b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfDir2d_0.cxx new file mode 100644 index 000000000..cb7ecd945 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfDir2d_0.cxx @@ -0,0 +1,24 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + +#define Item gp_Dir2d +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray2OfDir2d +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray2OfDir2d +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray2OfDir2d +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfDir2d_Type_() +#define DBC_VArray PColgp_FieldOfHArray2OfDir2d +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfDir_0.cxx b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfDir_0.cxx new file mode 100644 index 000000000..fc743b735 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfDir_0.cxx @@ -0,0 +1,24 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + +#define Item gp_Dir +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray2OfDir +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray2OfDir +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray2OfDir +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfDir_Type_() +#define DBC_VArray PColgp_FieldOfHArray2OfDir +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfLin2d.hxx b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfLin2d.hxx new file mode 100644 index 000000000..7ceff6bc2 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfLin2d.hxx @@ -0,0 +1,82 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_VArrayTNodeOfFieldOfHArray2OfLin2d_HeaderFile +#define _PColgp_VArrayTNodeOfFieldOfHArray2OfLin2d_HeaderFile + +#include +#include +#include + +#include +#include +#include +class gp_Lin2d; +class PColgp_FieldOfHArray2OfLin2d; +class PColgp_VArrayNodeOfFieldOfHArray2OfLin2d; + + + +class PColgp_VArrayTNodeOfFieldOfHArray2OfLin2d +{ +public: + + DEFINE_STANDARD_ALLOC + + + PColgp_VArrayTNodeOfFieldOfHArray2OfLin2d(); + + PColgp_VArrayTNodeOfFieldOfHArray2OfLin2d(const gp_Lin2d& aValue); + + void SetValue (const gp_Lin2d& aValue) ; + + Standard_Address Value() const; + + + + +protected: + + + + + +private: + + + + gp_Lin2d myValue; + + +}; + +#define Item gp_Lin2d +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray2OfLin2d +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray2OfLin2d +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray2OfLin2d +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfLin2d_Type_() +#define DBC_VArray PColgp_FieldOfHArray2OfLin2d +#define DBC_VArray_hxx + +#include + +#undef Item +#undef Item_hxx +#undef DBC_VArrayNode +#undef DBC_VArrayNode_hxx +#undef DBC_VArrayTNode +#undef DBC_VArrayTNode_hxx +#undef Handle_DBC_VArrayNode +#undef DBC_VArrayNode_Type_ +#undef DBC_VArray +#undef DBC_VArray_hxx + + + + +#endif // _PColgp_VArrayTNodeOfFieldOfHArray2OfLin2d_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfLin2d_0.cxx b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfLin2d_0.cxx new file mode 100644 index 000000000..8ffab65c3 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfLin2d_0.cxx @@ -0,0 +1,24 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + +#define Item gp_Lin2d +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray2OfLin2d +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray2OfLin2d +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray2OfLin2d +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfLin2d_Type_() +#define DBC_VArray PColgp_FieldOfHArray2OfLin2d +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfPnt.hxx b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfPnt.hxx new file mode 100644 index 000000000..0bc138723 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfPnt.hxx @@ -0,0 +1,82 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_VArrayTNodeOfFieldOfHArray2OfPnt_HeaderFile +#define _PColgp_VArrayTNodeOfFieldOfHArray2OfPnt_HeaderFile + +#include +#include +#include + +#include +#include +#include +class gp_Pnt; +class PColgp_FieldOfHArray2OfPnt; +class PColgp_VArrayNodeOfFieldOfHArray2OfPnt; + + + +class PColgp_VArrayTNodeOfFieldOfHArray2OfPnt +{ +public: + + DEFINE_STANDARD_ALLOC + + + PColgp_VArrayTNodeOfFieldOfHArray2OfPnt(); + + PColgp_VArrayTNodeOfFieldOfHArray2OfPnt(const gp_Pnt& aValue); + + void SetValue (const gp_Pnt& aValue) ; + + Standard_Address Value() const; + + + + +protected: + + + + + +private: + + + + gp_Pnt myValue; + + +}; + +#define Item gp_Pnt +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray2OfPnt +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray2OfPnt +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray2OfPnt +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfPnt_Type_() +#define DBC_VArray PColgp_FieldOfHArray2OfPnt +#define DBC_VArray_hxx + +#include + +#undef Item +#undef Item_hxx +#undef DBC_VArrayNode +#undef DBC_VArrayNode_hxx +#undef DBC_VArrayTNode +#undef DBC_VArrayTNode_hxx +#undef Handle_DBC_VArrayNode +#undef DBC_VArrayNode_Type_ +#undef DBC_VArray +#undef DBC_VArray_hxx + + + + +#endif // _PColgp_VArrayTNodeOfFieldOfHArray2OfPnt_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfPnt2d.hxx b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfPnt2d.hxx new file mode 100644 index 000000000..81849aede --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfPnt2d.hxx @@ -0,0 +1,82 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_VArrayTNodeOfFieldOfHArray2OfPnt2d_HeaderFile +#define _PColgp_VArrayTNodeOfFieldOfHArray2OfPnt2d_HeaderFile + +#include +#include +#include + +#include +#include +#include +class gp_Pnt2d; +class PColgp_FieldOfHArray2OfPnt2d; +class PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d; + + + +class PColgp_VArrayTNodeOfFieldOfHArray2OfPnt2d +{ +public: + + DEFINE_STANDARD_ALLOC + + + PColgp_VArrayTNodeOfFieldOfHArray2OfPnt2d(); + + PColgp_VArrayTNodeOfFieldOfHArray2OfPnt2d(const gp_Pnt2d& aValue); + + void SetValue (const gp_Pnt2d& aValue) ; + + Standard_Address Value() const; + + + + +protected: + + + + + +private: + + + + gp_Pnt2d myValue; + + +}; + +#define Item gp_Pnt2d +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray2OfPnt2d +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d_Type_() +#define DBC_VArray PColgp_FieldOfHArray2OfPnt2d +#define DBC_VArray_hxx + +#include + +#undef Item +#undef Item_hxx +#undef DBC_VArrayNode +#undef DBC_VArrayNode_hxx +#undef DBC_VArrayTNode +#undef DBC_VArrayTNode_hxx +#undef Handle_DBC_VArrayNode +#undef DBC_VArrayNode_Type_ +#undef DBC_VArray +#undef DBC_VArray_hxx + + + + +#endif // _PColgp_VArrayTNodeOfFieldOfHArray2OfPnt2d_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfPnt2d_0.cxx b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfPnt2d_0.cxx new file mode 100644 index 000000000..c6e256bb9 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfPnt2d_0.cxx @@ -0,0 +1,24 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + +#define Item gp_Pnt2d +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray2OfPnt2d +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfPnt2d_Type_() +#define DBC_VArray PColgp_FieldOfHArray2OfPnt2d +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfPnt_0.cxx b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfPnt_0.cxx new file mode 100644 index 000000000..b1046cf0c --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfPnt_0.cxx @@ -0,0 +1,24 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + +#define Item gp_Pnt +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray2OfPnt +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray2OfPnt +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray2OfPnt +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfPnt_Type_() +#define DBC_VArray PColgp_FieldOfHArray2OfPnt +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfVec.hxx b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfVec.hxx new file mode 100644 index 000000000..4cfed78f7 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfVec.hxx @@ -0,0 +1,82 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_VArrayTNodeOfFieldOfHArray2OfVec_HeaderFile +#define _PColgp_VArrayTNodeOfFieldOfHArray2OfVec_HeaderFile + +#include +#include +#include + +#include +#include +#include +class gp_Vec; +class PColgp_FieldOfHArray2OfVec; +class PColgp_VArrayNodeOfFieldOfHArray2OfVec; + + + +class PColgp_VArrayTNodeOfFieldOfHArray2OfVec +{ +public: + + DEFINE_STANDARD_ALLOC + + + PColgp_VArrayTNodeOfFieldOfHArray2OfVec(); + + PColgp_VArrayTNodeOfFieldOfHArray2OfVec(const gp_Vec& aValue); + + void SetValue (const gp_Vec& aValue) ; + + Standard_Address Value() const; + + + + +protected: + + + + + +private: + + + + gp_Vec myValue; + + +}; + +#define Item gp_Vec +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray2OfVec +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray2OfVec +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray2OfVec +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfVec_Type_() +#define DBC_VArray PColgp_FieldOfHArray2OfVec +#define DBC_VArray_hxx + +#include + +#undef Item +#undef Item_hxx +#undef DBC_VArrayNode +#undef DBC_VArrayNode_hxx +#undef DBC_VArrayTNode +#undef DBC_VArrayTNode_hxx +#undef Handle_DBC_VArrayNode +#undef DBC_VArrayNode_Type_ +#undef DBC_VArray +#undef DBC_VArray_hxx + + + + +#endif // _PColgp_VArrayTNodeOfFieldOfHArray2OfVec_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfVec2d.hxx b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfVec2d.hxx new file mode 100644 index 000000000..cb767a87e --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfVec2d.hxx @@ -0,0 +1,82 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_VArrayTNodeOfFieldOfHArray2OfVec2d_HeaderFile +#define _PColgp_VArrayTNodeOfFieldOfHArray2OfVec2d_HeaderFile + +#include +#include +#include + +#include +#include +#include +class gp_Vec2d; +class PColgp_FieldOfHArray2OfVec2d; +class PColgp_VArrayNodeOfFieldOfHArray2OfVec2d; + + + +class PColgp_VArrayTNodeOfFieldOfHArray2OfVec2d +{ +public: + + DEFINE_STANDARD_ALLOC + + + PColgp_VArrayTNodeOfFieldOfHArray2OfVec2d(); + + PColgp_VArrayTNodeOfFieldOfHArray2OfVec2d(const gp_Vec2d& aValue); + + void SetValue (const gp_Vec2d& aValue) ; + + Standard_Address Value() const; + + + + +protected: + + + + + +private: + + + + gp_Vec2d myValue; + + +}; + +#define Item gp_Vec2d +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray2OfVec2d +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray2OfVec2d +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray2OfVec2d +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfVec2d_Type_() +#define DBC_VArray PColgp_FieldOfHArray2OfVec2d +#define DBC_VArray_hxx + +#include + +#undef Item +#undef Item_hxx +#undef DBC_VArrayNode +#undef DBC_VArrayNode_hxx +#undef DBC_VArrayTNode +#undef DBC_VArrayTNode_hxx +#undef Handle_DBC_VArrayNode +#undef DBC_VArrayNode_Type_ +#undef DBC_VArray +#undef DBC_VArray_hxx + + + + +#endif // _PColgp_VArrayTNodeOfFieldOfHArray2OfVec2d_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfVec2d_0.cxx b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfVec2d_0.cxx new file mode 100644 index 000000000..5d73c0b29 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfVec2d_0.cxx @@ -0,0 +1,24 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + +#define Item gp_Vec2d +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray2OfVec2d +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray2OfVec2d +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray2OfVec2d +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfVec2d_Type_() +#define DBC_VArray PColgp_FieldOfHArray2OfVec2d +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfVec_0.cxx b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfVec_0.cxx new file mode 100644 index 000000000..5851a30c4 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfVec_0.cxx @@ -0,0 +1,24 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + +#define Item gp_Vec +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray2OfVec +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray2OfVec +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray2OfVec +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfVec_Type_() +#define DBC_VArray PColgp_FieldOfHArray2OfVec +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfXY.hxx b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfXY.hxx new file mode 100644 index 000000000..9779067f9 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfXY.hxx @@ -0,0 +1,82 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_VArrayTNodeOfFieldOfHArray2OfXY_HeaderFile +#define _PColgp_VArrayTNodeOfFieldOfHArray2OfXY_HeaderFile + +#include +#include +#include + +#include +#include +#include +class gp_XY; +class PColgp_FieldOfHArray2OfXY; +class PColgp_VArrayNodeOfFieldOfHArray2OfXY; + + + +class PColgp_VArrayTNodeOfFieldOfHArray2OfXY +{ +public: + + DEFINE_STANDARD_ALLOC + + + PColgp_VArrayTNodeOfFieldOfHArray2OfXY(); + + PColgp_VArrayTNodeOfFieldOfHArray2OfXY(const gp_XY& aValue); + + void SetValue (const gp_XY& aValue) ; + + Standard_Address Value() const; + + + + +protected: + + + + + +private: + + + + gp_XY myValue; + + +}; + +#define Item gp_XY +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray2OfXY +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray2OfXY +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray2OfXY +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfXY_Type_() +#define DBC_VArray PColgp_FieldOfHArray2OfXY +#define DBC_VArray_hxx + +#include + +#undef Item +#undef Item_hxx +#undef DBC_VArrayNode +#undef DBC_VArrayNode_hxx +#undef DBC_VArrayTNode +#undef DBC_VArrayTNode_hxx +#undef Handle_DBC_VArrayNode +#undef DBC_VArrayNode_Type_ +#undef DBC_VArray +#undef DBC_VArray_hxx + + + + +#endif // _PColgp_VArrayTNodeOfFieldOfHArray2OfXY_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfXYZ.hxx b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfXYZ.hxx new file mode 100644 index 000000000..0e3538fae --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfXYZ.hxx @@ -0,0 +1,82 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PColgp_VArrayTNodeOfFieldOfHArray2OfXYZ_HeaderFile +#define _PColgp_VArrayTNodeOfFieldOfHArray2OfXYZ_HeaderFile + +#include +#include +#include + +#include +#include +#include +class gp_XYZ; +class PColgp_FieldOfHArray2OfXYZ; +class PColgp_VArrayNodeOfFieldOfHArray2OfXYZ; + + + +class PColgp_VArrayTNodeOfFieldOfHArray2OfXYZ +{ +public: + + DEFINE_STANDARD_ALLOC + + + PColgp_VArrayTNodeOfFieldOfHArray2OfXYZ(); + + PColgp_VArrayTNodeOfFieldOfHArray2OfXYZ(const gp_XYZ& aValue); + + void SetValue (const gp_XYZ& aValue) ; + + Standard_Address Value() const; + + + + +protected: + + + + + +private: + + + + gp_XYZ myValue; + + +}; + +#define Item gp_XYZ +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray2OfXYZ +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray2OfXYZ +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray2OfXYZ +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfXYZ_Type_() +#define DBC_VArray PColgp_FieldOfHArray2OfXYZ +#define DBC_VArray_hxx + +#include + +#undef Item +#undef Item_hxx +#undef DBC_VArrayNode +#undef DBC_VArrayNode_hxx +#undef DBC_VArrayTNode +#undef DBC_VArrayTNode_hxx +#undef Handle_DBC_VArrayNode +#undef DBC_VArrayNode_Type_ +#undef DBC_VArray +#undef DBC_VArray_hxx + + + + +#endif // _PColgp_VArrayTNodeOfFieldOfHArray2OfXYZ_HeaderFile diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfXYZ_0.cxx b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfXYZ_0.cxx new file mode 100644 index 000000000..d62b1eed2 --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfXYZ_0.cxx @@ -0,0 +1,24 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + +#define Item gp_XYZ +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray2OfXYZ +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray2OfXYZ +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray2OfXYZ +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfXYZ_Type_() +#define DBC_VArray PColgp_FieldOfHArray2OfXYZ +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfXY_0.cxx b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfXY_0.cxx new file mode 100644 index 000000000..2ab2bbaab --- /dev/null +++ b/src/FromOCCT/TKPShape/PColgp_VArrayTNodeOfFieldOfHArray2OfXY_0.cxx @@ -0,0 +1,24 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + +#define Item gp_XY +#define Item_hxx +#define DBC_VArrayNode PColgp_VArrayNodeOfFieldOfHArray2OfXY +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PColgp_VArrayTNodeOfFieldOfHArray2OfXY +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PColgp_VArrayNodeOfFieldOfHArray2OfXY +#define DBC_VArrayNode_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfXY_Type_() +#define DBC_VArray PColgp_FieldOfHArray2OfXY +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PGeom2d_AxisPlacement.cxx b/src/FromOCCT/TKPShape/PGeom2d_AxisPlacement.cxx new file mode 100644 index 000000000..9de95a4f5 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_AxisPlacement.cxx @@ -0,0 +1,53 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PGeom2d_AxisPlacement.hxx b/src/FromOCCT/TKPShape/PGeom2d_AxisPlacement.hxx new file mode 100644 index 000000000..ff3b25a7b --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_AxisPlacement.hxx @@ -0,0 +1,66 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom2d_AxisPlacement_HeaderFile +#define _PGeom2d_AxisPlacement_HeaderFile + +#include +#include +#include +#include + +#include +#include +class gp_Ax2d; + + +class PGeom2d_AxisPlacement : public PGeom2d_Geometry +{ + +public: + + + //! Initializes the field(s) with default value(s). + Standard_EXPORT PGeom2d_AxisPlacement(); + + //! Initializes the field axis with . + Standard_EXPORT PGeom2d_AxisPlacement(const gp_Ax2d& aAxis); + + //! Set the field axis with . + Standard_EXPORT void Axis (const gp_Ax2d& aAxis) ; + + //! Returns the value of the field axis. + Standard_EXPORT gp_Ax2d Axis() const; + +PGeom2d_AxisPlacement(const Storage_stCONSTclCOM& a) : PGeom2d_Geometry(a) +{ + +} + const gp_Ax2d& _CSFDB_GetPGeom2d_AxisPlacementaxis() const { return axis; } + + + + DEFINE_STANDARD_RTTI(PGeom2d_AxisPlacement) + +protected: + + + + +private: + + + gp_Ax2d axis; + + +}; + + + + + + + +#endif // _PGeom2d_AxisPlacement_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom2d_AxisPlacement.ixx b/src/FromOCCT/TKPShape/PGeom2d_AxisPlacement.ixx new file mode 100644 index 000000000..249eb1e89 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_AxisPlacement.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom2d_AxisPlacement,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom2d_AxisPlacement) + + + diff --git a/src/FromOCCT/TKPShape/PGeom2d_AxisPlacement.jxx b/src/FromOCCT/TKPShape/PGeom2d_AxisPlacement.jxx new file mode 100644 index 000000000..d35ca25a9 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_AxisPlacement.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPShape/PGeom2d_BSplineCurve.cxx b/src/FromOCCT/TKPShape/PGeom2d_BSplineCurve.cxx new file mode 100644 index 000000000..096e6890f --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_BSplineCurve.cxx @@ -0,0 +1,178 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PGeom2d_BSplineCurve.hxx b/src/FromOCCT/TKPShape/PGeom2d_BSplineCurve.hxx new file mode 100644 index 000000000..9679b3559 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_BSplineCurve.hxx @@ -0,0 +1,129 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom2d_BSplineCurve_HeaderFile +#define _PGeom2d_BSplineCurve_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class PColgp_HArray1OfPnt2d; +class PColStd_HArray1OfReal; +class PColStd_HArray1OfInteger; + + +class PGeom2d_BSplineCurve : public PGeom2d_BoundedCurve +{ + +public: + + + //! Creates a BSplineCurve with default values. + Standard_EXPORT PGeom2d_BSplineCurve(); + + //! Creates a BSplineCurve with these field values. + Standard_EXPORT 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); + + //! Set the field periodic with . + Standard_EXPORT void Periodic (const Standard_Boolean aPeriodic) ; + + //! Returns the value of the field periodic. + Standard_EXPORT Standard_Boolean Periodic() const; + + //! Set the value of the field rational with + //! . + Standard_EXPORT void Rational (const Standard_Boolean aRational) ; + + //! Returns the value of the field rational. + Standard_EXPORT Standard_Boolean Rational() const; + + //! Set the value of the field spineDegree with . + Standard_EXPORT void SpineDegree (const Standard_Integer aSpineDegree) ; + + //! Returns the value of the field spineDegree. + Standard_EXPORT Standard_Integer SpineDegree() const; + + //! Set the value of the field poles with . + Standard_EXPORT void Poles (const Handle(PColgp_HArray1OfPnt2d)& aPoles) ; + + //! Returns the value of the field poles. + Standard_EXPORT Handle(PColgp_HArray1OfPnt2d) Poles() const; + + //! Set the value of the field weights with . + Standard_EXPORT void Weights (const Handle(PColStd_HArray1OfReal)& aWeights) ; + + //! Returns the the value of the field weights. + Standard_EXPORT Handle(PColStd_HArray1OfReal) Weights() const; + + //! Set the field knots with . + //! The multiplicity of the knots are not modified. + Standard_EXPORT void Knots (const Handle(PColStd_HArray1OfReal)& aKnots) ; + + //! returns the value of the field knots. + Standard_EXPORT Handle(PColStd_HArray1OfReal) Knots() const; + + //! Set the field multiplicities with . + Standard_EXPORT void Multiplicities (const Handle(PColStd_HArray1OfInteger)& aMultiplicities) ; + + //! returns the value of the field multiplicities. + Standard_EXPORT Handle(PColStd_HArray1OfInteger) Multiplicities() const; + +PGeom2d_BSplineCurve(const Storage_stCONSTclCOM& a) : PGeom2d_BoundedCurve(a) +{ + +} + Standard_Boolean _CSFDB_GetPGeom2d_BSplineCurverational() const { return rational; } + void _CSFDB_SetPGeom2d_BSplineCurverational(const Standard_Boolean p) { rational = p; } + Standard_Boolean _CSFDB_GetPGeom2d_BSplineCurveperiodic() const { return periodic; } + void _CSFDB_SetPGeom2d_BSplineCurveperiodic(const Standard_Boolean p) { periodic = p; } + Standard_Integer _CSFDB_GetPGeom2d_BSplineCurvespineDegree() const { return spineDegree; } + void _CSFDB_SetPGeom2d_BSplineCurvespineDegree(const Standard_Integer p) { spineDegree = p; } + Handle(PColgp_HArray1OfPnt2d) _CSFDB_GetPGeom2d_BSplineCurvepoles() const { return poles; } + void _CSFDB_SetPGeom2d_BSplineCurvepoles(const Handle(PColgp_HArray1OfPnt2d)& p) { poles = p; } + Handle(PColStd_HArray1OfReal) _CSFDB_GetPGeom2d_BSplineCurveweights() const { return weights; } + void _CSFDB_SetPGeom2d_BSplineCurveweights(const Handle(PColStd_HArray1OfReal)& p) { weights = p; } + Handle(PColStd_HArray1OfReal) _CSFDB_GetPGeom2d_BSplineCurveknots() const { return knots; } + void _CSFDB_SetPGeom2d_BSplineCurveknots(const Handle(PColStd_HArray1OfReal)& p) { knots = p; } + Handle(PColStd_HArray1OfInteger) _CSFDB_GetPGeom2d_BSplineCurvemultiplicities() const { return multiplicities; } + void _CSFDB_SetPGeom2d_BSplineCurvemultiplicities(const Handle(PColStd_HArray1OfInteger)& p) { multiplicities = p; } + + + + DEFINE_STANDARD_RTTI(PGeom2d_BSplineCurve) + +protected: + + + + +private: + + + Standard_Boolean rational; + Standard_Boolean periodic; + Standard_Integer spineDegree; + Handle(PColgp_HArray1OfPnt2d) poles; + Handle(PColStd_HArray1OfReal) weights; + Handle(PColStd_HArray1OfReal) knots; + Handle(PColStd_HArray1OfInteger) multiplicities; + + +}; + + + + + + + +#endif // _PGeom2d_BSplineCurve_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom2d_BSplineCurve.ixx b/src/FromOCCT/TKPShape/PGeom2d_BSplineCurve.ixx new file mode 100644 index 000000000..404908bd1 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_BSplineCurve.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom2d_BSplineCurve,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom2d_BSplineCurve) + + + diff --git a/src/FromOCCT/TKPShape/PGeom2d_BSplineCurve.jxx b/src/FromOCCT/TKPShape/PGeom2d_BSplineCurve.jxx new file mode 100644 index 000000000..7494075d8 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_BSplineCurve.jxx @@ -0,0 +1,4 @@ +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPShape/PGeom2d_BezierCurve.cxx b/src/FromOCCT/TKPShape/PGeom2d_BezierCurve.cxx new file mode 100644 index 000000000..bf337166f --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_BezierCurve.cxx @@ -0,0 +1,96 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PGeom2d_BezierCurve.hxx b/src/FromOCCT/TKPShape/PGeom2d_BezierCurve.hxx new file mode 100644 index 000000000..2d649c59d --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_BezierCurve.hxx @@ -0,0 +1,90 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom2d_BezierCurve_HeaderFile +#define _PGeom2d_BezierCurve_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +class PColgp_HArray1OfPnt2d; +class PColStd_HArray1OfReal; + + +class PGeom2d_BezierCurve : public PGeom2d_BoundedCurve +{ + +public: + + + //! Creates a non rational Bezier curve with default + //! values. + Standard_EXPORT PGeom2d_BezierCurve(); + + //! Creates a non rational Bezier curve with a set of + //! poles aCurvePoles and a set of weights aPoleWeight. + Standard_EXPORT PGeom2d_BezierCurve(const Handle(PColgp_HArray1OfPnt2d)& aPoles, const Handle(PColStd_HArray1OfReal)& aWeights, const Standard_Boolean aRational); + + //! Set the value of the field rational with . + Standard_EXPORT void Rational (const Standard_Boolean aRational) ; + + //! Returns the value of the field rational. + Standard_EXPORT Standard_Boolean Rational() const; + + //! Set the value of the field poles with . + Standard_EXPORT void Poles (const Handle(PColgp_HArray1OfPnt2d)& aPoles) ; + + //! Returns the value of the field poles. + Standard_EXPORT Handle(PColgp_HArray1OfPnt2d) Poles() const; + + //! Set the value of the field weights. + Standard_EXPORT void Weights (const Handle(PColStd_HArray1OfReal)& aWeights) ; + + //! Returns the value of the field weights. + Standard_EXPORT Handle(PColStd_HArray1OfReal) Weights() const; + +PGeom2d_BezierCurve(const Storage_stCONSTclCOM& a) : PGeom2d_BoundedCurve(a) +{ + +} + Standard_Boolean _CSFDB_GetPGeom2d_BezierCurverational() const { return rational; } + void _CSFDB_SetPGeom2d_BezierCurverational(const Standard_Boolean p) { rational = p; } + Handle(PColgp_HArray1OfPnt2d) _CSFDB_GetPGeom2d_BezierCurvepoles() const { return poles; } + void _CSFDB_SetPGeom2d_BezierCurvepoles(const Handle(PColgp_HArray1OfPnt2d)& p) { poles = p; } + Handle(PColStd_HArray1OfReal) _CSFDB_GetPGeom2d_BezierCurveweights() const { return weights; } + void _CSFDB_SetPGeom2d_BezierCurveweights(const Handle(PColStd_HArray1OfReal)& p) { weights = p; } + + + + DEFINE_STANDARD_RTTI(PGeom2d_BezierCurve) + +protected: + + + + +private: + + + Standard_Boolean rational; + Handle(PColgp_HArray1OfPnt2d) poles; + Handle(PColStd_HArray1OfReal) weights; + + +}; + + + + + + + +#endif // _PGeom2d_BezierCurve_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom2d_BezierCurve.ixx b/src/FromOCCT/TKPShape/PGeom2d_BezierCurve.ixx new file mode 100644 index 000000000..2478a26bb --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_BezierCurve.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom2d_BezierCurve,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom2d_BezierCurve) + + + diff --git a/src/FromOCCT/TKPShape/PGeom2d_BezierCurve.jxx b/src/FromOCCT/TKPShape/PGeom2d_BezierCurve.jxx new file mode 100644 index 000000000..8ff1f7bbe --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_BezierCurve.jxx @@ -0,0 +1,3 @@ +#include +#include +#include diff --git a/src/FromOCCT/TKPShape/PGeom2d_BoundedCurve.cxx b/src/FromOCCT/TKPShape/PGeom2d_BoundedCurve.cxx new file mode 100644 index 000000000..001d519c1 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_BoundedCurve.cxx @@ -0,0 +1,17 @@ +// 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 diff --git a/src/FromOCCT/TKPShape/PGeom2d_BoundedCurve.hxx b/src/FromOCCT/TKPShape/PGeom2d_BoundedCurve.hxx new file mode 100644 index 000000000..dd94fae42 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_BoundedCurve.hxx @@ -0,0 +1,54 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom2d_BoundedCurve_HeaderFile +#define _PGeom2d_BoundedCurve_HeaderFile + +#include +#include +#include +#include + +#include + + +class PGeom2d_BoundedCurve : public PGeom2d_Curve +{ + +public: + + +PGeom2d_BoundedCurve(const Storage_stCONSTclCOM& a) : PGeom2d_Curve(a) +{ + +} +PGeom2d_BoundedCurve( ) +{ + +} + + + + DEFINE_STANDARD_RTTI(PGeom2d_BoundedCurve) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PGeom2d_BoundedCurve_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom2d_BoundedCurve.ixx b/src/FromOCCT/TKPShape/PGeom2d_BoundedCurve.ixx new file mode 100644 index 000000000..88c3800b8 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_BoundedCurve.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom2d_BoundedCurve,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom2d_BoundedCurve) + + + diff --git a/src/FromOCCT/TKPShape/PGeom2d_BoundedCurve.jxx b/src/FromOCCT/TKPShape/PGeom2d_BoundedCurve.jxx new file mode 100644 index 000000000..25f71df94 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_BoundedCurve.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKPShape/PGeom2d_CartesianPoint.cxx b/src/FromOCCT/TKPShape/PGeom2d_CartesianPoint.cxx new file mode 100644 index 000000000..9d85ca51d --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_CartesianPoint.cxx @@ -0,0 +1,53 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PGeom2d_CartesianPoint.hxx b/src/FromOCCT/TKPShape/PGeom2d_CartesianPoint.hxx new file mode 100644 index 000000000..6ef29ee9a --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_CartesianPoint.hxx @@ -0,0 +1,66 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom2d_CartesianPoint_HeaderFile +#define _PGeom2d_CartesianPoint_HeaderFile + +#include +#include +#include +#include + +#include +#include +class gp_Pnt2d; + + +class PGeom2d_CartesianPoint : public PGeom2d_Point +{ + +public: + + + //! Returns a CartesianPoint with default values.. + Standard_EXPORT PGeom2d_CartesianPoint(); + + //! Returns a CartesianPoint built with . + Standard_EXPORT PGeom2d_CartesianPoint(const gp_Pnt2d& aPnt2d); + + //! Set the field Pnt2d. + Standard_EXPORT void Pnt (const gp_Pnt2d& aPnt2d) ; + + //! Returns the value of the field Pnt2d. + Standard_EXPORT gp_Pnt2d Pnt() const; + +PGeom2d_CartesianPoint(const Storage_stCONSTclCOM& a) : PGeom2d_Point(a) +{ + +} + const gp_Pnt2d& _CSFDB_GetPGeom2d_CartesianPointpnt() const { return pnt; } + + + + DEFINE_STANDARD_RTTI(PGeom2d_CartesianPoint) + +protected: + + + + +private: + + + gp_Pnt2d pnt; + + +}; + + + + + + + +#endif // _PGeom2d_CartesianPoint_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom2d_CartesianPoint.ixx b/src/FromOCCT/TKPShape/PGeom2d_CartesianPoint.ixx new file mode 100644 index 000000000..966bf081b --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_CartesianPoint.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom2d_CartesianPoint,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom2d_CartesianPoint) + + + diff --git a/src/FromOCCT/TKPShape/PGeom2d_CartesianPoint.jxx b/src/FromOCCT/TKPShape/PGeom2d_CartesianPoint.jxx new file mode 100644 index 000000000..71aa34dd5 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_CartesianPoint.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPShape/PGeom2d_Circle.cxx b/src/FromOCCT/TKPShape/PGeom2d_Circle.cxx new file mode 100644 index 000000000..57565e290 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_Circle.cxx @@ -0,0 +1,56 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PGeom2d_Circle.hxx b/src/FromOCCT/TKPShape/PGeom2d_Circle.hxx new file mode 100644 index 000000000..b2a7d7994 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_Circle.hxx @@ -0,0 +1,68 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom2d_Circle_HeaderFile +#define _PGeom2d_Circle_HeaderFile + +#include +#include +#include +#include + +#include +#include +class gp_Ax22d; + + +class PGeom2d_Circle : public PGeom2d_Conic +{ + +public: + + + //! Creates a circle with default values. + Standard_EXPORT PGeom2d_Circle(); + + //! Creates a Circle with and as field + //! values. + Standard_EXPORT PGeom2d_Circle(const gp_Ax22d& aPosition, const Standard_Real aRadius); + + //! Set the value of the field radius with . + Standard_EXPORT void Radius (const Standard_Real aRadius) ; + + //! Returns the value of the field radius. + Standard_EXPORT Standard_Real Radius() const; + +PGeom2d_Circle(const Storage_stCONSTclCOM& a) : PGeom2d_Conic(a) +{ + +} + Standard_Real _CSFDB_GetPGeom2d_Circleradius() const { return radius; } + void _CSFDB_SetPGeom2d_Circleradius(const Standard_Real p) { radius = p; } + + + + DEFINE_STANDARD_RTTI(PGeom2d_Circle) + +protected: + + + + +private: + + + Standard_Real radius; + + +}; + + + + + + + +#endif // _PGeom2d_Circle_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom2d_Circle.ixx b/src/FromOCCT/TKPShape/PGeom2d_Circle.ixx new file mode 100644 index 000000000..691645bf2 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_Circle.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom2d_Circle,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom2d_Circle) + + + diff --git a/src/FromOCCT/TKPShape/PGeom2d_Circle.jxx b/src/FromOCCT/TKPShape/PGeom2d_Circle.jxx new file mode 100644 index 000000000..d13fd833d --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_Circle.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPShape/PGeom2d_Conic.cxx b/src/FromOCCT/TKPShape/PGeom2d_Conic.cxx new file mode 100644 index 000000000..0aedac982 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_Conic.cxx @@ -0,0 +1,53 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PGeom2d_Conic.hxx b/src/FromOCCT/TKPShape/PGeom2d_Conic.hxx new file mode 100644 index 000000000..21c0b237c --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_Conic.hxx @@ -0,0 +1,66 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom2d_Conic_HeaderFile +#define _PGeom2d_Conic_HeaderFile + +#include +#include +#include +#include + +#include +#include +class gp_Ax22d; + + +class PGeom2d_Conic : public PGeom2d_Curve +{ + +public: + + + //! Set the value of the field position with . + Standard_EXPORT void Position (const gp_Ax22d& aPosition) ; + + //! Returns the value of the field . + Standard_EXPORT gp_Ax22d Position() const; + +PGeom2d_Conic(const Storage_stCONSTclCOM& a) : PGeom2d_Curve(a) +{ + +} + const gp_Ax22d& _CSFDB_GetPGeom2d_Conicposition() const { return position; } + + + + DEFINE_STANDARD_RTTI(PGeom2d_Conic) + +protected: + + + //! Initializes the field(s) with default value(s). + Standard_EXPORT PGeom2d_Conic(); + + //! Initializes the field position with . + Standard_EXPORT PGeom2d_Conic(const gp_Ax22d& aPosition); + + gp_Ax22d position; + + +private: + + + + +}; + + + + + + + +#endif // _PGeom2d_Conic_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom2d_Conic.ixx b/src/FromOCCT/TKPShape/PGeom2d_Conic.ixx new file mode 100644 index 000000000..65bc4b489 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_Conic.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom2d_Conic,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom2d_Conic) + + + diff --git a/src/FromOCCT/TKPShape/PGeom2d_Conic.jxx b/src/FromOCCT/TKPShape/PGeom2d_Conic.jxx new file mode 100644 index 000000000..eb2300ee8 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_Conic.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPShape/PGeom2d_Curve.cxx b/src/FromOCCT/TKPShape/PGeom2d_Curve.cxx new file mode 100644 index 000000000..305f303d8 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_Curve.cxx @@ -0,0 +1,17 @@ +// 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 diff --git a/src/FromOCCT/TKPShape/PGeom2d_Curve.hxx b/src/FromOCCT/TKPShape/PGeom2d_Curve.hxx new file mode 100644 index 000000000..567904bd4 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_Curve.hxx @@ -0,0 +1,54 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom2d_Curve_HeaderFile +#define _PGeom2d_Curve_HeaderFile + +#include +#include +#include +#include + +#include + + +class PGeom2d_Curve : public PGeom2d_Geometry +{ + +public: + + +PGeom2d_Curve(const Storage_stCONSTclCOM& a) : PGeom2d_Geometry(a) +{ + +} +PGeom2d_Curve( ) +{ + +} + + + + DEFINE_STANDARD_RTTI(PGeom2d_Curve) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PGeom2d_Curve_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom2d_Curve.ixx b/src/FromOCCT/TKPShape/PGeom2d_Curve.ixx new file mode 100644 index 000000000..49bdeda2c --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_Curve.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom2d_Curve,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom2d_Curve) + + + diff --git a/src/FromOCCT/TKPShape/PGeom2d_Curve.jxx b/src/FromOCCT/TKPShape/PGeom2d_Curve.jxx new file mode 100644 index 000000000..7fc62ce28 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_Curve.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKPShape/PGeom2d_Direction.cxx b/src/FromOCCT/TKPShape/PGeom2d_Direction.cxx new file mode 100644 index 000000000..6fe914194 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_Direction.cxx @@ -0,0 +1,35 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PGeom2d_Direction.hxx b/src/FromOCCT/TKPShape/PGeom2d_Direction.hxx new file mode 100644 index 000000000..d1ba6ba86 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_Direction.hxx @@ -0,0 +1,57 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom2d_Direction_HeaderFile +#define _PGeom2d_Direction_HeaderFile + +#include +#include +#include +#include + +#include +class gp_Vec2d; + + +class PGeom2d_Direction : public PGeom2d_Vector +{ + +public: + + + //! Creates a unit vector with default values. + Standard_EXPORT PGeom2d_Direction(); + + //! Create a unit vector with . + Standard_EXPORT PGeom2d_Direction(const gp_Vec2d& aVec); + +PGeom2d_Direction(const Storage_stCONSTclCOM& a) : PGeom2d_Vector(a) +{ + +} + + + + DEFINE_STANDARD_RTTI(PGeom2d_Direction) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PGeom2d_Direction_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom2d_Direction.ixx b/src/FromOCCT/TKPShape/PGeom2d_Direction.ixx new file mode 100644 index 000000000..ed8c3f5d7 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_Direction.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom2d_Direction,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom2d_Direction) + + + diff --git a/src/FromOCCT/TKPShape/PGeom2d_Direction.jxx b/src/FromOCCT/TKPShape/PGeom2d_Direction.jxx new file mode 100644 index 000000000..e5ff24b80 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_Direction.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPShape/PGeom2d_Ellipse.cxx b/src/FromOCCT/TKPShape/PGeom2d_Ellipse.cxx new file mode 100644 index 000000000..1a5572c1d --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_Ellipse.cxx @@ -0,0 +1,76 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PGeom2d_Ellipse.hxx b/src/FromOCCT/TKPShape/PGeom2d_Ellipse.hxx new file mode 100644 index 000000000..f8fd75f25 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_Ellipse.hxx @@ -0,0 +1,80 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom2d_Ellipse_HeaderFile +#define _PGeom2d_Ellipse_HeaderFile + +#include +#include +#include +#include + +#include +#include +class gp_Ax22d; + + +class PGeom2d_Ellipse : public PGeom2d_Conic +{ + +public: + + + //! Creates an ellipse with default values. + Standard_EXPORT PGeom2d_Ellipse(); + + //! Creates an Ellipse with , + //! and as field values. + //! The major radius of the ellipse is on the "XAxis" + //! and the minor radius of the ellipse is on the + //! "YAxis". + Standard_EXPORT PGeom2d_Ellipse(const gp_Ax22d& aPosition, const Standard_Real aMajorRadius, const Standard_Real aMinorRadius); + + //! Set the value of the field majorRadius with . + Standard_EXPORT void MajorRadius (const Standard_Real aMajorRadius) ; + + //! Returns the value of the field majorRadius. + Standard_EXPORT Standard_Real MajorRadius() const; + + //! Set the value of the field minorRadius with . + Standard_EXPORT void MinorRadius (const Standard_Real aMinorRadius) ; + + //! Returns the value of the field minorRadius. + Standard_EXPORT Standard_Real MinorRadius() const; + +PGeom2d_Ellipse(const Storage_stCONSTclCOM& a) : PGeom2d_Conic(a) +{ + +} + Standard_Real _CSFDB_GetPGeom2d_EllipsemajorRadius() const { return majorRadius; } + void _CSFDB_SetPGeom2d_EllipsemajorRadius(const Standard_Real p) { majorRadius = p; } + Standard_Real _CSFDB_GetPGeom2d_EllipseminorRadius() const { return minorRadius; } + void _CSFDB_SetPGeom2d_EllipseminorRadius(const Standard_Real p) { minorRadius = p; } + + + + DEFINE_STANDARD_RTTI(PGeom2d_Ellipse) + +protected: + + + + +private: + + + Standard_Real majorRadius; + Standard_Real minorRadius; + + +}; + + + + + + + +#endif // _PGeom2d_Ellipse_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom2d_Ellipse.ixx b/src/FromOCCT/TKPShape/PGeom2d_Ellipse.ixx new file mode 100644 index 000000000..13bd47c20 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_Ellipse.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom2d_Ellipse,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom2d_Ellipse) + + + diff --git a/src/FromOCCT/TKPShape/PGeom2d_Ellipse.jxx b/src/FromOCCT/TKPShape/PGeom2d_Ellipse.jxx new file mode 100644 index 000000000..0dabdd414 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_Ellipse.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPShape/PGeom2d_Geometry.cxx b/src/FromOCCT/TKPShape/PGeom2d_Geometry.cxx new file mode 100644 index 000000000..0b15b7bf5 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_Geometry.cxx @@ -0,0 +1,17 @@ +// 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 diff --git a/src/FromOCCT/TKPShape/PGeom2d_Geometry.hxx b/src/FromOCCT/TKPShape/PGeom2d_Geometry.hxx new file mode 100644 index 000000000..4004d1b06 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_Geometry.hxx @@ -0,0 +1,54 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom2d_Geometry_HeaderFile +#define _PGeom2d_Geometry_HeaderFile + +#include +#include +#include +#include + +#include + + +class PGeom2d_Geometry : public Standard_Persistent +{ + +public: + + +PGeom2d_Geometry(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} +PGeom2d_Geometry( ) +{ + +} + + + + DEFINE_STANDARD_RTTI(PGeom2d_Geometry) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PGeom2d_Geometry_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom2d_Geometry.ixx b/src/FromOCCT/TKPShape/PGeom2d_Geometry.ixx new file mode 100644 index 000000000..f881259c7 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_Geometry.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom2d_Geometry,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom2d_Geometry) + + + diff --git a/src/FromOCCT/TKPShape/PGeom2d_Geometry.jxx b/src/FromOCCT/TKPShape/PGeom2d_Geometry.jxx new file mode 100644 index 000000000..a73d30575 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_Geometry.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKPShape/PGeom2d_Hyperbola.cxx b/src/FromOCCT/TKPShape/PGeom2d_Hyperbola.cxx new file mode 100644 index 000000000..048b9d306 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_Hyperbola.cxx @@ -0,0 +1,76 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PGeom2d_Hyperbola.hxx b/src/FromOCCT/TKPShape/PGeom2d_Hyperbola.hxx new file mode 100644 index 000000000..a046383d3 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_Hyperbola.hxx @@ -0,0 +1,80 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom2d_Hyperbola_HeaderFile +#define _PGeom2d_Hyperbola_HeaderFile + +#include +#include +#include +#include + +#include +#include +class gp_Ax22d; + + +class PGeom2d_Hyperbola : public PGeom2d_Conic +{ + +public: + + + //! Creates an Hyperbola with default values. + Standard_EXPORT PGeom2d_Hyperbola(); + + //! Creates an Hyperbola with , + //! and as field values. + //! The major radius of the hyperbola is on the XAxis + //! and the minor radius is on the YAxis of the + //! hyperbola. + Standard_EXPORT PGeom2d_Hyperbola(const gp_Ax22d& aPosition, const Standard_Real aMajorRadius, const Standard_Real aMinorRadius); + + //! Set the value of the field majorRadius with . + Standard_EXPORT void MajorRadius (const Standard_Real aMajorRadius) ; + + //! Returns the value of the field majorRadius. + Standard_EXPORT Standard_Real MajorRadius() const; + + //! Set the value of the field minorRadius with . + Standard_EXPORT void MinorRadius (const Standard_Real aMinorRadius) ; + + //! Returns the value of the field minorRadius. + Standard_EXPORT Standard_Real MinorRadius() const; + +PGeom2d_Hyperbola(const Storage_stCONSTclCOM& a) : PGeom2d_Conic(a) +{ + +} + Standard_Real _CSFDB_GetPGeom2d_HyperbolamajorRadius() const { return majorRadius; } + void _CSFDB_SetPGeom2d_HyperbolamajorRadius(const Standard_Real p) { majorRadius = p; } + Standard_Real _CSFDB_GetPGeom2d_HyperbolaminorRadius() const { return minorRadius; } + void _CSFDB_SetPGeom2d_HyperbolaminorRadius(const Standard_Real p) { minorRadius = p; } + + + + DEFINE_STANDARD_RTTI(PGeom2d_Hyperbola) + +protected: + + + + +private: + + + Standard_Real majorRadius; + Standard_Real minorRadius; + + +}; + + + + + + + +#endif // _PGeom2d_Hyperbola_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom2d_Hyperbola.ixx b/src/FromOCCT/TKPShape/PGeom2d_Hyperbola.ixx new file mode 100644 index 000000000..94cfff941 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_Hyperbola.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom2d_Hyperbola,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom2d_Hyperbola) + + + diff --git a/src/FromOCCT/TKPShape/PGeom2d_Hyperbola.jxx b/src/FromOCCT/TKPShape/PGeom2d_Hyperbola.jxx new file mode 100644 index 000000000..5ff70efe5 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_Hyperbola.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPShape/PGeom2d_Line.cxx b/src/FromOCCT/TKPShape/PGeom2d_Line.cxx new file mode 100644 index 000000000..97a5c5303 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_Line.cxx @@ -0,0 +1,53 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PGeom2d_Line.hxx b/src/FromOCCT/TKPShape/PGeom2d_Line.hxx new file mode 100644 index 000000000..991e10640 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_Line.hxx @@ -0,0 +1,68 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom2d_Line_HeaderFile +#define _PGeom2d_Line_HeaderFile + +#include +#include +#include +#include + +#include +#include +class gp_Ax2d; + + +class PGeom2d_Line : public PGeom2d_Curve +{ + +public: + + + //! Creates a line with default values. + Standard_EXPORT PGeom2d_Line(); + + //! Creates a line located in 3D space with + //! . The Location of is the + //! origin of the line. + Standard_EXPORT PGeom2d_Line(const gp_Ax2d& aPosition); + + //! Set the value of the field position with . + Standard_EXPORT void Position (const gp_Ax2d& aPosition) ; + + //! Returns the value of the field position. + Standard_EXPORT gp_Ax2d Position() const; + +PGeom2d_Line(const Storage_stCONSTclCOM& a) : PGeom2d_Curve(a) +{ + +} + const gp_Ax2d& _CSFDB_GetPGeom2d_Lineposition() const { return position; } + + + + DEFINE_STANDARD_RTTI(PGeom2d_Line) + +protected: + + + + +private: + + + gp_Ax2d position; + + +}; + + + + + + + +#endif // _PGeom2d_Line_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom2d_Line.ixx b/src/FromOCCT/TKPShape/PGeom2d_Line.ixx new file mode 100644 index 000000000..39602b941 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_Line.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom2d_Line,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom2d_Line) + + + diff --git a/src/FromOCCT/TKPShape/PGeom2d_Line.jxx b/src/FromOCCT/TKPShape/PGeom2d_Line.jxx new file mode 100644 index 000000000..f1131aa61 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_Line.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPShape/PGeom2d_OffsetCurve.cxx b/src/FromOCCT/TKPShape/PGeom2d_OffsetCurve.cxx new file mode 100644 index 000000000..95d1e57c5 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_OffsetCurve.cxx @@ -0,0 +1,74 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PGeom2d_OffsetCurve.hxx b/src/FromOCCT/TKPShape/PGeom2d_OffsetCurve.hxx new file mode 100644 index 000000000..b85de1d79 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_OffsetCurve.hxx @@ -0,0 +1,80 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom2d_OffsetCurve_HeaderFile +#define _PGeom2d_OffsetCurve_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class PGeom2d_Curve; + + +class PGeom2d_OffsetCurve : public PGeom2d_Curve +{ + +public: + + + //! Creates an OffsetCurve with default values. + Standard_EXPORT PGeom2d_OffsetCurve(); + + //! is the basis curve, + //! is the distance between and the basis curve at + //! any point. defines the fixed + //! reference direction (offset direction). + Standard_EXPORT PGeom2d_OffsetCurve(const Handle(PGeom2d_Curve)& aBasisCurve, const Standard_Real aOffsetValue); + + //! Set the field basisCurve with . + Standard_EXPORT void BasisCurve (const Handle(PGeom2d_Curve)& aBasisCurve) ; + + //! The basis curve can be an offset curve. + Standard_EXPORT Handle(PGeom2d_Curve) BasisCurve() const; + + //! Set the field offsetValue with . + Standard_EXPORT void OffsetValue (const Standard_Real aOffsetValue) ; + + //! Returns the value of the field offsetValue. + Standard_EXPORT Standard_Real OffsetValue() const; + +PGeom2d_OffsetCurve(const Storage_stCONSTclCOM& a) : PGeom2d_Curve(a) +{ + +} + Handle(PGeom2d_Curve) _CSFDB_GetPGeom2d_OffsetCurvebasisCurve() const { return basisCurve; } + void _CSFDB_SetPGeom2d_OffsetCurvebasisCurve(const Handle(PGeom2d_Curve)& p) { basisCurve = p; } + Standard_Real _CSFDB_GetPGeom2d_OffsetCurveoffsetValue() const { return offsetValue; } + void _CSFDB_SetPGeom2d_OffsetCurveoffsetValue(const Standard_Real p) { offsetValue = p; } + + + + DEFINE_STANDARD_RTTI(PGeom2d_OffsetCurve) + +protected: + + + + +private: + + + Handle(PGeom2d_Curve) basisCurve; + Standard_Real offsetValue; + + +}; + + + + + + + +#endif // _PGeom2d_OffsetCurve_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom2d_OffsetCurve.ixx b/src/FromOCCT/TKPShape/PGeom2d_OffsetCurve.ixx new file mode 100644 index 000000000..501f53753 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_OffsetCurve.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom2d_OffsetCurve,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom2d_OffsetCurve) + + + diff --git a/src/FromOCCT/TKPShape/PGeom2d_OffsetCurve.jxx b/src/FromOCCT/TKPShape/PGeom2d_OffsetCurve.jxx new file mode 100644 index 000000000..ee3b701a5 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_OffsetCurve.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPShape/PGeom2d_Parabola.cxx b/src/FromOCCT/TKPShape/PGeom2d_Parabola.cxx new file mode 100644 index 000000000..d17fdbce9 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_Parabola.cxx @@ -0,0 +1,56 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PGeom2d_Parabola.hxx b/src/FromOCCT/TKPShape/PGeom2d_Parabola.hxx new file mode 100644 index 000000000..496d06178 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_Parabola.hxx @@ -0,0 +1,69 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom2d_Parabola_HeaderFile +#define _PGeom2d_Parabola_HeaderFile + +#include +#include +#include +#include + +#include +#include +class gp_Ax22d; + + +class PGeom2d_Parabola : public PGeom2d_Conic +{ + +public: + + + //! Creates a parabola with default values. + Standard_EXPORT PGeom2d_Parabola(); + + //! Creates a Parabola with and + //! as field values. + Standard_EXPORT PGeom2d_Parabola(const gp_Ax22d& aPosition, const Standard_Real aFocalLength); + + //! Set the value of the field focalLength with + //! . + Standard_EXPORT void FocalLength (const Standard_Real aFocalLength) ; + + //! Retruns the value of the field focalLength. + Standard_EXPORT Standard_Real FocalLength() const; + +PGeom2d_Parabola(const Storage_stCONSTclCOM& a) : PGeom2d_Conic(a) +{ + +} + Standard_Real _CSFDB_GetPGeom2d_ParabolafocalLength() const { return focalLength; } + void _CSFDB_SetPGeom2d_ParabolafocalLength(const Standard_Real p) { focalLength = p; } + + + + DEFINE_STANDARD_RTTI(PGeom2d_Parabola) + +protected: + + + + +private: + + + Standard_Real focalLength; + + +}; + + + + + + + +#endif // _PGeom2d_Parabola_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom2d_Parabola.ixx b/src/FromOCCT/TKPShape/PGeom2d_Parabola.ixx new file mode 100644 index 000000000..263c322e4 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_Parabola.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom2d_Parabola,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom2d_Parabola) + + + diff --git a/src/FromOCCT/TKPShape/PGeom2d_Parabola.jxx b/src/FromOCCT/TKPShape/PGeom2d_Parabola.jxx new file mode 100644 index 000000000..b3c3b5fa9 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_Parabola.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPShape/PGeom2d_Point.cxx b/src/FromOCCT/TKPShape/PGeom2d_Point.cxx new file mode 100644 index 000000000..4a340d3ef --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_Point.cxx @@ -0,0 +1,17 @@ +// 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 diff --git a/src/FromOCCT/TKPShape/PGeom2d_Point.hxx b/src/FromOCCT/TKPShape/PGeom2d_Point.hxx new file mode 100644 index 000000000..9e5fe2257 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_Point.hxx @@ -0,0 +1,54 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom2d_Point_HeaderFile +#define _PGeom2d_Point_HeaderFile + +#include +#include +#include +#include + +#include + + +class PGeom2d_Point : public PGeom2d_Geometry +{ + +public: + + +PGeom2d_Point(const Storage_stCONSTclCOM& a) : PGeom2d_Geometry(a) +{ + +} +PGeom2d_Point( ) +{ + +} + + + + DEFINE_STANDARD_RTTI(PGeom2d_Point) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PGeom2d_Point_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom2d_Point.ixx b/src/FromOCCT/TKPShape/PGeom2d_Point.ixx new file mode 100644 index 000000000..651daeb21 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_Point.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom2d_Point,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom2d_Point) + + + diff --git a/src/FromOCCT/TKPShape/PGeom2d_Point.jxx b/src/FromOCCT/TKPShape/PGeom2d_Point.jxx new file mode 100644 index 000000000..fdd9f7e51 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_Point.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKPShape/PGeom2d_Transformation.cxx b/src/FromOCCT/TKPShape/PGeom2d_Transformation.cxx new file mode 100644 index 000000000..5788582b2 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_Transformation.cxx @@ -0,0 +1,53 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PGeom2d_Transformation.hxx b/src/FromOCCT/TKPShape/PGeom2d_Transformation.hxx new file mode 100644 index 000000000..ce7b22235 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_Transformation.hxx @@ -0,0 +1,66 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom2d_Transformation_HeaderFile +#define _PGeom2d_Transformation_HeaderFile + +#include +#include +#include +#include + +#include +#include +class gp_Trsf2d; + + +class PGeom2d_Transformation : public Standard_Persistent +{ + +public: + + + //! Creates a transformation with default values. + Standard_EXPORT PGeom2d_Transformation(); + + //! Creates a transformation with . + Standard_EXPORT PGeom2d_Transformation(const gp_Trsf2d& aTrsf); + + //! Creates a Transformation with . + Standard_EXPORT void Trsf (const gp_Trsf2d& aTrsf) ; + + //! Returns the value of the field trsf. + Standard_EXPORT gp_Trsf2d Trsf() const; + +PGeom2d_Transformation(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + const gp_Trsf2d& _CSFDB_GetPGeom2d_Transformationtrsf() const { return trsf; } + + + + DEFINE_STANDARD_RTTI(PGeom2d_Transformation) + +protected: + + + + +private: + + + gp_Trsf2d trsf; + + +}; + + + + + + + +#endif // _PGeom2d_Transformation_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom2d_Transformation.ixx b/src/FromOCCT/TKPShape/PGeom2d_Transformation.ixx new file mode 100644 index 000000000..fc0c2a9c7 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_Transformation.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom2d_Transformation,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom2d_Transformation) + + + diff --git a/src/FromOCCT/TKPShape/PGeom2d_Transformation.jxx b/src/FromOCCT/TKPShape/PGeom2d_Transformation.jxx new file mode 100644 index 000000000..9dc9d9162 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_Transformation.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPShape/PGeom2d_TrimmedCurve.cxx b/src/FromOCCT/TKPShape/PGeom2d_TrimmedCurve.cxx new file mode 100644 index 000000000..c290c1db8 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_TrimmedCurve.cxx @@ -0,0 +1,94 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PGeom2d_TrimmedCurve.hxx b/src/FromOCCT/TKPShape/PGeom2d_TrimmedCurve.hxx new file mode 100644 index 000000000..2ebfe2af9 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_TrimmedCurve.hxx @@ -0,0 +1,88 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom2d_TrimmedCurve_HeaderFile +#define _PGeom2d_TrimmedCurve_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class PGeom2d_Curve; + + +class PGeom2d_TrimmedCurve : public PGeom2d_BoundedCurve +{ + +public: + + + //! Creates a TrimmedCurve with default values. + Standard_EXPORT PGeom2d_TrimmedCurve(); + + //! Creates a TrimmedCurve with these field values. + Standard_EXPORT PGeom2d_TrimmedCurve(const Handle(PGeom2d_Curve)& aBasisCurve, const Standard_Real aFirstU, const Standard_Real aLastU); + + //! Set the value of the field firstU with . + Standard_EXPORT void FirstU (const Standard_Real aFirstU) ; + + //! Returns the value of the field firstU. + Standard_EXPORT Standard_Real FirstU() const; + + //! Set the value of the field lastU with . + Standard_EXPORT void LastU (const Standard_Real aLastU) ; + + //! Returns the value of the field lastU. + Standard_EXPORT Standard_Real LastU() const; + + //! Set the value of the field basisCurve with . + //! This curve can be a trimmed curve. + Standard_EXPORT void BasisCurve (const Handle(PGeom2d_Curve)& aBasisCurve) ; + + //! Returns the value of the field basisCurve. + //! This curve can be a trimmed curve. + Standard_EXPORT Handle(PGeom2d_Curve) BasisCurve() const; + +PGeom2d_TrimmedCurve(const Storage_stCONSTclCOM& a) : PGeom2d_BoundedCurve(a) +{ + +} + Handle(PGeom2d_Curve) _CSFDB_GetPGeom2d_TrimmedCurvebasisCurve() const { return basisCurve; } + void _CSFDB_SetPGeom2d_TrimmedCurvebasisCurve(const Handle(PGeom2d_Curve)& p) { basisCurve = p; } + Standard_Real _CSFDB_GetPGeom2d_TrimmedCurvefirstU() const { return firstU; } + void _CSFDB_SetPGeom2d_TrimmedCurvefirstU(const Standard_Real p) { firstU = p; } + Standard_Real _CSFDB_GetPGeom2d_TrimmedCurvelastU() const { return lastU; } + void _CSFDB_SetPGeom2d_TrimmedCurvelastU(const Standard_Real p) { lastU = p; } + + + + DEFINE_STANDARD_RTTI(PGeom2d_TrimmedCurve) + +protected: + + + + +private: + + + Handle(PGeom2d_Curve) basisCurve; + Standard_Real firstU; + Standard_Real lastU; + + +}; + + + + + + + +#endif // _PGeom2d_TrimmedCurve_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom2d_TrimmedCurve.ixx b/src/FromOCCT/TKPShape/PGeom2d_TrimmedCurve.ixx new file mode 100644 index 000000000..485fb422e --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_TrimmedCurve.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom2d_TrimmedCurve,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom2d_TrimmedCurve) + + + diff --git a/src/FromOCCT/TKPShape/PGeom2d_TrimmedCurve.jxx b/src/FromOCCT/TKPShape/PGeom2d_TrimmedCurve.jxx new file mode 100644 index 000000000..ed5f9e44e --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_TrimmedCurve.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPShape/PGeom2d_Vector.cxx b/src/FromOCCT/TKPShape/PGeom2d_Vector.cxx new file mode 100644 index 000000000..1aacc1bfe --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_Vector.cxx @@ -0,0 +1,53 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PGeom2d_Vector.hxx b/src/FromOCCT/TKPShape/PGeom2d_Vector.hxx new file mode 100644 index 000000000..711637f55 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_Vector.hxx @@ -0,0 +1,66 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom2d_Vector_HeaderFile +#define _PGeom2d_Vector_HeaderFile + +#include +#include +#include +#include + +#include +#include +class gp_Vec2d; + + +class PGeom2d_Vector : public PGeom2d_Geometry +{ + +public: + + + //! Set the field vec. + Standard_EXPORT void Vec (const gp_Vec2d& aVec) ; + + //! Returns the value of the field vec. + Standard_EXPORT gp_Vec2d Vec() const; + +PGeom2d_Vector(const Storage_stCONSTclCOM& a) : PGeom2d_Geometry(a) +{ + +} + const gp_Vec2d& _CSFDB_GetPGeom2d_Vectorvec() const { return vec; } + + + + DEFINE_STANDARD_RTTI(PGeom2d_Vector) + +protected: + + + //! Initializes the field(s) with default value(s). + Standard_EXPORT PGeom2d_Vector(); + + //! Initializes the field vec with . + Standard_EXPORT PGeom2d_Vector(const gp_Vec2d& aVec); + + gp_Vec2d vec; + + +private: + + + + +}; + + + + + + + +#endif // _PGeom2d_Vector_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom2d_Vector.ixx b/src/FromOCCT/TKPShape/PGeom2d_Vector.ixx new file mode 100644 index 000000000..659db4f1b --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_Vector.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom2d_Vector,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom2d_Vector) + + + diff --git a/src/FromOCCT/TKPShape/PGeom2d_Vector.jxx b/src/FromOCCT/TKPShape/PGeom2d_Vector.jxx new file mode 100644 index 000000000..3aa795895 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_Vector.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPShape/PGeom2d_VectorWithMagnitude.cxx b/src/FromOCCT/TKPShape/PGeom2d_VectorWithMagnitude.cxx new file mode 100644 index 000000000..195233b6a --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_VectorWithMagnitude.cxx @@ -0,0 +1,36 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PGeom2d_VectorWithMagnitude.hxx b/src/FromOCCT/TKPShape/PGeom2d_VectorWithMagnitude.hxx new file mode 100644 index 000000000..f07e60587 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_VectorWithMagnitude.hxx @@ -0,0 +1,57 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom2d_VectorWithMagnitude_HeaderFile +#define _PGeom2d_VectorWithMagnitude_HeaderFile + +#include +#include +#include +#include + +#include +class gp_Vec2d; + + +class PGeom2d_VectorWithMagnitude : public PGeom2d_Vector +{ + +public: + + + //! Creates a VectorWithMagnitude with default values. + Standard_EXPORT PGeom2d_VectorWithMagnitude(); + + //! Creates a VectorWithMagnitude with . + Standard_EXPORT PGeom2d_VectorWithMagnitude(const gp_Vec2d& aVec); + +PGeom2d_VectorWithMagnitude(const Storage_stCONSTclCOM& a) : PGeom2d_Vector(a) +{ + +} + + + + DEFINE_STANDARD_RTTI(PGeom2d_VectorWithMagnitude) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PGeom2d_VectorWithMagnitude_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom2d_VectorWithMagnitude.ixx b/src/FromOCCT/TKPShape/PGeom2d_VectorWithMagnitude.ixx new file mode 100644 index 000000000..fadf14d44 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_VectorWithMagnitude.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom2d_VectorWithMagnitude,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom2d_VectorWithMagnitude) + + + diff --git a/src/FromOCCT/TKPShape/PGeom2d_VectorWithMagnitude.jxx b/src/FromOCCT/TKPShape/PGeom2d_VectorWithMagnitude.jxx new file mode 100644 index 000000000..32ce24b44 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom2d_VectorWithMagnitude.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPShape/PGeom_Axis1Placement.cxx b/src/FromOCCT/TKPShape/PGeom_Axis1Placement.cxx new file mode 100644 index 000000000..c760c298c --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Axis1Placement.cxx @@ -0,0 +1,35 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PGeom_Axis1Placement.hxx b/src/FromOCCT/TKPShape/PGeom_Axis1Placement.hxx new file mode 100644 index 000000000..693672da8 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Axis1Placement.hxx @@ -0,0 +1,57 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom_Axis1Placement_HeaderFile +#define _PGeom_Axis1Placement_HeaderFile + +#include +#include +#include +#include + +#include +class gp_Ax1; + + +class PGeom_Axis1Placement : public PGeom_AxisPlacement +{ + +public: + + + //! Creates an Axis1Placement with Ax1 default value. + Standard_EXPORT PGeom_Axis1Placement(); + + //! Creates an Axis1Placement with . + Standard_EXPORT PGeom_Axis1Placement(const gp_Ax1& aAxis); + +PGeom_Axis1Placement(const Storage_stCONSTclCOM& a) : PGeom_AxisPlacement(a) +{ + +} + + + + DEFINE_STANDARD_RTTI(PGeom_Axis1Placement) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PGeom_Axis1Placement_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom_Axis1Placement.ixx b/src/FromOCCT/TKPShape/PGeom_Axis1Placement.ixx new file mode 100644 index 000000000..08b4317b2 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Axis1Placement.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom_Axis1Placement,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom_Axis1Placement) + + + diff --git a/src/FromOCCT/TKPShape/PGeom_Axis1Placement.jxx b/src/FromOCCT/TKPShape/PGeom_Axis1Placement.jxx new file mode 100644 index 000000000..4e2c741ae --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Axis1Placement.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPShape/PGeom_Axis2Placement.cxx b/src/FromOCCT/TKPShape/PGeom_Axis2Placement.cxx new file mode 100644 index 000000000..ac9a16403 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Axis2Placement.cxx @@ -0,0 +1,56 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PGeom_Axis2Placement.hxx b/src/FromOCCT/TKPShape/PGeom_Axis2Placement.hxx new file mode 100644 index 000000000..741f8b31d --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Axis2Placement.hxx @@ -0,0 +1,67 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom_Axis2Placement_HeaderFile +#define _PGeom_Axis2Placement_HeaderFile + +#include +#include +#include +#include + +#include +#include +class gp_Ax1; +class gp_Dir; + + +class PGeom_Axis2Placement : public PGeom_AxisPlacement +{ + +public: + + + //! Returns an Axis2Placement with default values. + Standard_EXPORT PGeom_Axis2Placement(); + + //! Creates an Axis2Placement with . + Standard_EXPORT PGeom_Axis2Placement(const gp_Ax1& aAxis, const gp_Dir& aXDirection); + + //! Set the value of the field xDirection with . + Standard_EXPORT void XDirection (const gp_Dir& aXDirection) ; + + //! Returns the "XDirection". This is a unit vector. + Standard_EXPORT gp_Dir XDirection() const; + +PGeom_Axis2Placement(const Storage_stCONSTclCOM& a) : PGeom_AxisPlacement(a) +{ + +} + const gp_Dir& _CSFDB_GetPGeom_Axis2PlacementxDirection() const { return xDirection; } + + + + DEFINE_STANDARD_RTTI(PGeom_Axis2Placement) + +protected: + + + + +private: + + + gp_Dir xDirection; + + +}; + + + + + + + +#endif // _PGeom_Axis2Placement_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom_Axis2Placement.ixx b/src/FromOCCT/TKPShape/PGeom_Axis2Placement.ixx new file mode 100644 index 000000000..14c437e1f --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Axis2Placement.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom_Axis2Placement,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom_Axis2Placement) + + + diff --git a/src/FromOCCT/TKPShape/PGeom_Axis2Placement.jxx b/src/FromOCCT/TKPShape/PGeom_Axis2Placement.jxx new file mode 100644 index 000000000..2121d7f43 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Axis2Placement.jxx @@ -0,0 +1,3 @@ +#include +#include +#include diff --git a/src/FromOCCT/TKPShape/PGeom_AxisPlacement.cxx b/src/FromOCCT/TKPShape/PGeom_AxisPlacement.cxx new file mode 100644 index 000000000..ea176c8a9 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_AxisPlacement.cxx @@ -0,0 +1,53 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PGeom_AxisPlacement.hxx b/src/FromOCCT/TKPShape/PGeom_AxisPlacement.hxx new file mode 100644 index 000000000..28bc08816 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_AxisPlacement.hxx @@ -0,0 +1,66 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom_AxisPlacement_HeaderFile +#define _PGeom_AxisPlacement_HeaderFile + +#include +#include +#include +#include + +#include +#include +class gp_Ax1; + + +class PGeom_AxisPlacement : public PGeom_Geometry +{ + +public: + + + //! Set the field axis with . + Standard_EXPORT void Axis (const gp_Ax1& aAxis) ; + + //! Returns the value of the field axis. + Standard_EXPORT gp_Ax1 Axis() const; + +PGeom_AxisPlacement(const Storage_stCONSTclCOM& a) : PGeom_Geometry(a) +{ + +} + const gp_Ax1& _CSFDB_GetPGeom_AxisPlacementaxis() const { return axis; } + + + + DEFINE_STANDARD_RTTI(PGeom_AxisPlacement) + +protected: + + + //! Initializes the field(s) with default value(s). + Standard_EXPORT PGeom_AxisPlacement(); + + //! Initializes the field axis with . + Standard_EXPORT PGeom_AxisPlacement(const gp_Ax1& aAxis); + + gp_Ax1 axis; + + +private: + + + + +}; + + + + + + + +#endif // _PGeom_AxisPlacement_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom_AxisPlacement.ixx b/src/FromOCCT/TKPShape/PGeom_AxisPlacement.ixx new file mode 100644 index 000000000..bafe627f0 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_AxisPlacement.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom_AxisPlacement,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom_AxisPlacement) + + + diff --git a/src/FromOCCT/TKPShape/PGeom_AxisPlacement.jxx b/src/FromOCCT/TKPShape/PGeom_AxisPlacement.jxx new file mode 100644 index 000000000..acf80d4e1 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_AxisPlacement.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPShape/PGeom_BSplineCurve.cxx b/src/FromOCCT/TKPShape/PGeom_BSplineCurve.cxx new file mode 100644 index 000000000..3a973f092 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_BSplineCurve.cxx @@ -0,0 +1,178 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PGeom_BSplineCurve.hxx b/src/FromOCCT/TKPShape/PGeom_BSplineCurve.hxx new file mode 100644 index 000000000..9d5aac04b --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_BSplineCurve.hxx @@ -0,0 +1,129 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom_BSplineCurve_HeaderFile +#define _PGeom_BSplineCurve_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class PColgp_HArray1OfPnt; +class PColStd_HArray1OfReal; +class PColStd_HArray1OfInteger; + + +class PGeom_BSplineCurve : public PGeom_BoundedCurve +{ + +public: + + + //! Creates a BSplineCurve with default values. + Standard_EXPORT PGeom_BSplineCurve(); + + //! Creates a BSplineCurve with these field values. + Standard_EXPORT 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); + + //! Set the field periodic with . + Standard_EXPORT void Periodic (const Standard_Boolean aPeriodic) ; + + //! Returns the value of the field periodic. + Standard_EXPORT Standard_Boolean Periodic() const; + + //! Set the value of the field rational with + //! . + Standard_EXPORT void Rational (const Standard_Boolean aRational) ; + + //! Returns the value of the field rational. + Standard_EXPORT Standard_Boolean Rational() const; + + //! Set the value of the field spineDegree with . + Standard_EXPORT void SpineDegree (const Standard_Integer aSpineDegree) ; + + //! Returns the value of the field spineDegree. + Standard_EXPORT Standard_Integer SpineDegree() const; + + //! Set the value of the field poles with . + Standard_EXPORT void Poles (const Handle(PColgp_HArray1OfPnt)& aPoles) ; + + //! Returns the value of the field poles. + Standard_EXPORT Handle(PColgp_HArray1OfPnt) Poles() const; + + //! Set the value of the field weights with . + Standard_EXPORT void Weights (const Handle(PColStd_HArray1OfReal)& aWeights) ; + + //! Returns the the value of the field weights. + Standard_EXPORT Handle(PColStd_HArray1OfReal) Weights() const; + + //! Set the field knots with . + //! The multiplicity of the knots are not modified. + Standard_EXPORT void Knots (const Handle(PColStd_HArray1OfReal)& aKnots) ; + + //! returns the value of the field knots. + Standard_EXPORT Handle(PColStd_HArray1OfReal) Knots() const; + + //! Set the field multiplicities with . + Standard_EXPORT void Multiplicities (const Handle(PColStd_HArray1OfInteger)& aMultiplicities) ; + + //! returns the value of the field multiplicities. + Standard_EXPORT Handle(PColStd_HArray1OfInteger) Multiplicities() const; + +PGeom_BSplineCurve(const Storage_stCONSTclCOM& a) : PGeom_BoundedCurve(a) +{ + +} + Standard_Boolean _CSFDB_GetPGeom_BSplineCurverational() const { return rational; } + void _CSFDB_SetPGeom_BSplineCurverational(const Standard_Boolean p) { rational = p; } + Standard_Boolean _CSFDB_GetPGeom_BSplineCurveperiodic() const { return periodic; } + void _CSFDB_SetPGeom_BSplineCurveperiodic(const Standard_Boolean p) { periodic = p; } + Standard_Integer _CSFDB_GetPGeom_BSplineCurvespineDegree() const { return spineDegree; } + void _CSFDB_SetPGeom_BSplineCurvespineDegree(const Standard_Integer p) { spineDegree = p; } + Handle(PColgp_HArray1OfPnt) _CSFDB_GetPGeom_BSplineCurvepoles() const { return poles; } + void _CSFDB_SetPGeom_BSplineCurvepoles(const Handle(PColgp_HArray1OfPnt)& p) { poles = p; } + Handle(PColStd_HArray1OfReal) _CSFDB_GetPGeom_BSplineCurveweights() const { return weights; } + void _CSFDB_SetPGeom_BSplineCurveweights(const Handle(PColStd_HArray1OfReal)& p) { weights = p; } + Handle(PColStd_HArray1OfReal) _CSFDB_GetPGeom_BSplineCurveknots() const { return knots; } + void _CSFDB_SetPGeom_BSplineCurveknots(const Handle(PColStd_HArray1OfReal)& p) { knots = p; } + Handle(PColStd_HArray1OfInteger) _CSFDB_GetPGeom_BSplineCurvemultiplicities() const { return multiplicities; } + void _CSFDB_SetPGeom_BSplineCurvemultiplicities(const Handle(PColStd_HArray1OfInteger)& p) { multiplicities = p; } + + + + DEFINE_STANDARD_RTTI(PGeom_BSplineCurve) + +protected: + + + + +private: + + + Standard_Boolean rational; + Standard_Boolean periodic; + Standard_Integer spineDegree; + Handle(PColgp_HArray1OfPnt) poles; + Handle(PColStd_HArray1OfReal) weights; + Handle(PColStd_HArray1OfReal) knots; + Handle(PColStd_HArray1OfInteger) multiplicities; + + +}; + + + + + + + +#endif // _PGeom_BSplineCurve_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom_BSplineCurve.ixx b/src/FromOCCT/TKPShape/PGeom_BSplineCurve.ixx new file mode 100644 index 000000000..e240c4efe --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_BSplineCurve.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom_BSplineCurve,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom_BSplineCurve) + + + diff --git a/src/FromOCCT/TKPShape/PGeom_BSplineCurve.jxx b/src/FromOCCT/TKPShape/PGeom_BSplineCurve.jxx new file mode 100644 index 000000000..e47f71f6d --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_BSplineCurve.jxx @@ -0,0 +1,4 @@ +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPShape/PGeom_BSplineSurface.cxx b/src/FromOCCT/TKPShape/PGeom_BSplineSurface.cxx new file mode 100644 index 000000000..129967536 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_BSplineSurface.cxx @@ -0,0 +1,281 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PGeom_BSplineSurface.hxx b/src/FromOCCT/TKPShape/PGeom_BSplineSurface.hxx new file mode 100644 index 000000000..e3c46de5e --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_BSplineSurface.hxx @@ -0,0 +1,178 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom_BSplineSurface_HeaderFile +#define _PGeom_BSplineSurface_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class PColgp_HArray2OfPnt; +class PColStd_HArray2OfReal; +class PColStd_HArray1OfReal; +class PColStd_HArray1OfInteger; + + +class PGeom_BSplineSurface : public PGeom_BoundedSurface +{ + +public: + + + //! Creates a BSplineSurface with default values. + Standard_EXPORT PGeom_BSplineSurface(); + + //! Creates a BSplineSurface with these values. + Standard_EXPORT 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); + + //! Set the value of the field uRational with . + Standard_EXPORT void URational (const Standard_Boolean aURational) ; + + //! Returns the value of the field uRational. + Standard_EXPORT Standard_Boolean URational() const; + + //! Set the value of the field vRational with . + Standard_EXPORT void VRational (const Standard_Boolean aVRational) ; + + //! Returns the value of the field vRational. + Standard_EXPORT Standard_Boolean VRational() const; + + //! Set the value of the field uPeriodic with . + Standard_EXPORT void UPeriodic (const Standard_Boolean aUPeriodic) ; + + //! Returns the value of the field uPeriodic. + Standard_EXPORT Standard_Boolean UPeriodic() const; + + //! Set the value of the field vPeriodic with . + Standard_EXPORT void VPeriodic (const Standard_Boolean aVPeriodic) ; + + //! Returns the value of the field vPeriodic. + Standard_EXPORT Standard_Boolean VPeriodic() const; + + //! Set the value of the field uSpineDegree with + //! . + Standard_EXPORT void USpineDegree (const Standard_Integer aUSpineDegree) ; + + //! Returns the value of the field uSpineDegree. + Standard_EXPORT Standard_Integer USpineDegree() const; + + //! Set the value of the field vSpineDegree with + //! . + Standard_EXPORT void VSpineDegree (const Standard_Integer aVSpineDegree) ; + + //! Returns the value of the field vSpineDegree. + Standard_EXPORT Standard_Integer VSpineDegree() const; + + //! Set the value of the field poles with . + Standard_EXPORT void Poles (const Handle(PColgp_HArray2OfPnt)& aPoles) ; + + //! Returns the value of the field poles. + Standard_EXPORT Handle(PColgp_HArray2OfPnt) Poles() const; + + //! Set the value of the field weights with . + Standard_EXPORT void Weights (const Handle(PColStd_HArray2OfReal)& aWeights) ; + + //! Returns the value of the field weights. + Standard_EXPORT Handle(PColStd_HArray2OfReal) Weights() const; + + //! Set the value of the field uKnots with . + Standard_EXPORT void UKnots (const Handle(PColStd_HArray1OfReal)& aUKnots) ; + + //! Returns the value of the field uKnots. + Standard_EXPORT Handle(PColStd_HArray1OfReal) UKnots() const; + + //! Set the value of the field vKnots with . + Standard_EXPORT void VKnots (const Handle(PColStd_HArray1OfReal)& aVKnots) ; + + //! Returns the value of the field vKnots. + Standard_EXPORT Handle(PColStd_HArray1OfReal) VKnots() const; + + //! Set the value of the field uMultiplicities with + //! . + Standard_EXPORT void UMultiplicities (const Handle(PColStd_HArray1OfInteger)& aUMultiplicities) ; + + //! Returns the value of the field uMultiplicities. + Standard_EXPORT Handle(PColStd_HArray1OfInteger) UMultiplicities() const; + + //! Set the value of the field vMultiplicities with + //! . + Standard_EXPORT void VMultiplicities (const Handle(PColStd_HArray1OfInteger)& aVMultiplicities) ; + + //! Returns the value of the field vMultiplicities. + Standard_EXPORT Handle(PColStd_HArray1OfInteger) VMultiplicities() const; + +PGeom_BSplineSurface(const Storage_stCONSTclCOM& a) : PGeom_BoundedSurface(a) +{ + +} + Standard_Boolean _CSFDB_GetPGeom_BSplineSurfaceuRational() const { return uRational; } + void _CSFDB_SetPGeom_BSplineSurfaceuRational(const Standard_Boolean p) { uRational = p; } + Standard_Boolean _CSFDB_GetPGeom_BSplineSurfacevRational() const { return vRational; } + void _CSFDB_SetPGeom_BSplineSurfacevRational(const Standard_Boolean p) { vRational = p; } + Standard_Boolean _CSFDB_GetPGeom_BSplineSurfaceuPeriodic() const { return uPeriodic; } + void _CSFDB_SetPGeom_BSplineSurfaceuPeriodic(const Standard_Boolean p) { uPeriodic = p; } + Standard_Boolean _CSFDB_GetPGeom_BSplineSurfacevPeriodic() const { return vPeriodic; } + void _CSFDB_SetPGeom_BSplineSurfacevPeriodic(const Standard_Boolean p) { vPeriodic = p; } + Standard_Integer _CSFDB_GetPGeom_BSplineSurfaceuSpineDegree() const { return uSpineDegree; } + void _CSFDB_SetPGeom_BSplineSurfaceuSpineDegree(const Standard_Integer p) { uSpineDegree = p; } + Standard_Integer _CSFDB_GetPGeom_BSplineSurfacevSpineDegree() const { return vSpineDegree; } + void _CSFDB_SetPGeom_BSplineSurfacevSpineDegree(const Standard_Integer p) { vSpineDegree = p; } + Handle(PColgp_HArray2OfPnt) _CSFDB_GetPGeom_BSplineSurfacepoles() const { return poles; } + void _CSFDB_SetPGeom_BSplineSurfacepoles(const Handle(PColgp_HArray2OfPnt)& p) { poles = p; } + Handle(PColStd_HArray2OfReal) _CSFDB_GetPGeom_BSplineSurfaceweights() const { return weights; } + void _CSFDB_SetPGeom_BSplineSurfaceweights(const Handle(PColStd_HArray2OfReal)& p) { weights = p; } + Handle(PColStd_HArray1OfReal) _CSFDB_GetPGeom_BSplineSurfaceuKnots() const { return uKnots; } + void _CSFDB_SetPGeom_BSplineSurfaceuKnots(const Handle(PColStd_HArray1OfReal)& p) { uKnots = p; } + Handle(PColStd_HArray1OfReal) _CSFDB_GetPGeom_BSplineSurfacevKnots() const { return vKnots; } + void _CSFDB_SetPGeom_BSplineSurfacevKnots(const Handle(PColStd_HArray1OfReal)& p) { vKnots = p; } + Handle(PColStd_HArray1OfInteger) _CSFDB_GetPGeom_BSplineSurfaceuMultiplicities() const { return uMultiplicities; } + void _CSFDB_SetPGeom_BSplineSurfaceuMultiplicities(const Handle(PColStd_HArray1OfInteger)& p) { uMultiplicities = p; } + Handle(PColStd_HArray1OfInteger) _CSFDB_GetPGeom_BSplineSurfacevMultiplicities() const { return vMultiplicities; } + void _CSFDB_SetPGeom_BSplineSurfacevMultiplicities(const Handle(PColStd_HArray1OfInteger)& p) { vMultiplicities = p; } + + + + DEFINE_STANDARD_RTTI(PGeom_BSplineSurface) + +protected: + + + + +private: + + + Standard_Boolean uRational; + Standard_Boolean vRational; + Standard_Boolean uPeriodic; + Standard_Boolean vPeriodic; + Standard_Integer uSpineDegree; + Standard_Integer vSpineDegree; + Handle(PColgp_HArray2OfPnt) poles; + Handle(PColStd_HArray2OfReal) weights; + Handle(PColStd_HArray1OfReal) uKnots; + Handle(PColStd_HArray1OfReal) vKnots; + Handle(PColStd_HArray1OfInteger) uMultiplicities; + Handle(PColStd_HArray1OfInteger) vMultiplicities; + + +}; + + + + + + + +#endif // _PGeom_BSplineSurface_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom_BSplineSurface.ixx b/src/FromOCCT/TKPShape/PGeom_BSplineSurface.ixx new file mode 100644 index 000000000..49ca8fc31 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_BSplineSurface.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom_BSplineSurface,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom_BSplineSurface) + + + diff --git a/src/FromOCCT/TKPShape/PGeom_BSplineSurface.jxx b/src/FromOCCT/TKPShape/PGeom_BSplineSurface.jxx new file mode 100644 index 000000000..8034aafae --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_BSplineSurface.jxx @@ -0,0 +1,5 @@ +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPShape/PGeom_BezierCurve.cxx b/src/FromOCCT/TKPShape/PGeom_BezierCurve.cxx new file mode 100644 index 000000000..9bd1ecad6 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_BezierCurve.cxx @@ -0,0 +1,97 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PGeom_BezierCurve.hxx b/src/FromOCCT/TKPShape/PGeom_BezierCurve.hxx new file mode 100644 index 000000000..5c9851392 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_BezierCurve.hxx @@ -0,0 +1,90 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom_BezierCurve_HeaderFile +#define _PGeom_BezierCurve_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +class PColgp_HArray1OfPnt; +class PColStd_HArray1OfReal; + + +class PGeom_BezierCurve : public PGeom_BoundedCurve +{ + +public: + + + //! Creates a non rational Bezier curve with default + //! values. + Standard_EXPORT PGeom_BezierCurve(); + + //! Creates a non rational Bezier curve with a set of + //! poles aCurvePoles and a set of weights aPoleWeight. + Standard_EXPORT PGeom_BezierCurve(const Handle(PColgp_HArray1OfPnt)& aPoles, const Handle(PColStd_HArray1OfReal)& aWeights, const Standard_Boolean aRational); + + //! Set the value of the field rational with . + Standard_EXPORT void Rational (const Standard_Boolean aRational) ; + + //! Returns the value of the field rational. + Standard_EXPORT Standard_Boolean Rational() const; + + //! Set the value of the field poles with . + Standard_EXPORT void Poles (const Handle(PColgp_HArray1OfPnt)& aPoles) ; + + //! Returns the value of the field poles. + Standard_EXPORT Handle(PColgp_HArray1OfPnt) Poles() const; + + //! Set the value of the field weights. + Standard_EXPORT void Weights (const Handle(PColStd_HArray1OfReal)& aWeights) ; + + //! Returns the value of the field weights. + Standard_EXPORT Handle(PColStd_HArray1OfReal) Weights() const; + +PGeom_BezierCurve(const Storage_stCONSTclCOM& a) : PGeom_BoundedCurve(a) +{ + +} + Standard_Boolean _CSFDB_GetPGeom_BezierCurverational() const { return rational; } + void _CSFDB_SetPGeom_BezierCurverational(const Standard_Boolean p) { rational = p; } + Handle(PColgp_HArray1OfPnt) _CSFDB_GetPGeom_BezierCurvepoles() const { return poles; } + void _CSFDB_SetPGeom_BezierCurvepoles(const Handle(PColgp_HArray1OfPnt)& p) { poles = p; } + Handle(PColStd_HArray1OfReal) _CSFDB_GetPGeom_BezierCurveweights() const { return weights; } + void _CSFDB_SetPGeom_BezierCurveweights(const Handle(PColStd_HArray1OfReal)& p) { weights = p; } + + + + DEFINE_STANDARD_RTTI(PGeom_BezierCurve) + +protected: + + + + +private: + + + Standard_Boolean rational; + Handle(PColgp_HArray1OfPnt) poles; + Handle(PColStd_HArray1OfReal) weights; + + +}; + + + + + + + +#endif // _PGeom_BezierCurve_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom_BezierCurve.ixx b/src/FromOCCT/TKPShape/PGeom_BezierCurve.ixx new file mode 100644 index 000000000..8f5062f4d --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_BezierCurve.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom_BezierCurve,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom_BezierCurve) + + + diff --git a/src/FromOCCT/TKPShape/PGeom_BezierCurve.jxx b/src/FromOCCT/TKPShape/PGeom_BezierCurve.jxx new file mode 100644 index 000000000..2ec69a915 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_BezierCurve.jxx @@ -0,0 +1,3 @@ +#include +#include +#include diff --git a/src/FromOCCT/TKPShape/PGeom_BezierSurface.cxx b/src/FromOCCT/TKPShape/PGeom_BezierSurface.cxx new file mode 100644 index 000000000..6895f7d98 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_BezierSurface.cxx @@ -0,0 +1,114 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PGeom_BezierSurface.hxx b/src/FromOCCT/TKPShape/PGeom_BezierSurface.hxx new file mode 100644 index 000000000..0196fb159 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_BezierSurface.hxx @@ -0,0 +1,97 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom_BezierSurface_HeaderFile +#define _PGeom_BezierSurface_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +class PColgp_HArray2OfPnt; +class PColStd_HArray2OfReal; + + +class PGeom_BezierSurface : public PGeom_BoundedSurface +{ + +public: + + + //! Creates a BezierSurface with default values. + Standard_EXPORT PGeom_BezierSurface(); + + //! Creates a BezierSurface with these values. + Standard_EXPORT PGeom_BezierSurface(const Standard_Boolean aURational, const Standard_Boolean aVRational, const Handle(PColgp_HArray2OfPnt)& aPoles, const Handle(PColStd_HArray2OfReal)& aWeights); + + //! Set the field poles with . + Standard_EXPORT void Poles (const Handle(PColgp_HArray2OfPnt)& aPoles) ; + + //! Returns the value of the field poles. + Standard_EXPORT Handle(PColgp_HArray2OfPnt) Poles() const; + + //! Set the value of the field weights with . + Standard_EXPORT void Weights (const Handle(PColStd_HArray2OfReal)& aWeights) ; + + //! Returns the value of the field weights. + Standard_EXPORT Handle(PColStd_HArray2OfReal) Weights() const; + + //! Set the value of the field uRational with . + Standard_EXPORT void URational (const Standard_Boolean aURational) ; + + //! Returns the value of the field uRational. + Standard_EXPORT Standard_Boolean URational() const; + + //! Set the value of the field vRational with . + Standard_EXPORT void VRational (const Standard_Boolean aVRational) ; + + //! Returns the value of the field vRational. + Standard_EXPORT Standard_Boolean VRational() const; + +PGeom_BezierSurface(const Storage_stCONSTclCOM& a) : PGeom_BoundedSurface(a) +{ + +} + Standard_Boolean _CSFDB_GetPGeom_BezierSurfaceuRational() const { return uRational; } + void _CSFDB_SetPGeom_BezierSurfaceuRational(const Standard_Boolean p) { uRational = p; } + Standard_Boolean _CSFDB_GetPGeom_BezierSurfacevRational() const { return vRational; } + void _CSFDB_SetPGeom_BezierSurfacevRational(const Standard_Boolean p) { vRational = p; } + Handle(PColgp_HArray2OfPnt) _CSFDB_GetPGeom_BezierSurfacepoles() const { return poles; } + void _CSFDB_SetPGeom_BezierSurfacepoles(const Handle(PColgp_HArray2OfPnt)& p) { poles = p; } + Handle(PColStd_HArray2OfReal) _CSFDB_GetPGeom_BezierSurfaceweights() const { return weights; } + void _CSFDB_SetPGeom_BezierSurfaceweights(const Handle(PColStd_HArray2OfReal)& p) { weights = p; } + + + + DEFINE_STANDARD_RTTI(PGeom_BezierSurface) + +protected: + + + + +private: + + + Standard_Boolean uRational; + Standard_Boolean vRational; + Handle(PColgp_HArray2OfPnt) poles; + Handle(PColStd_HArray2OfReal) weights; + + +}; + + + + + + + +#endif // _PGeom_BezierSurface_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom_BezierSurface.ixx b/src/FromOCCT/TKPShape/PGeom_BezierSurface.ixx new file mode 100644 index 000000000..3daba5202 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_BezierSurface.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom_BezierSurface,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom_BezierSurface) + + + diff --git a/src/FromOCCT/TKPShape/PGeom_BezierSurface.jxx b/src/FromOCCT/TKPShape/PGeom_BezierSurface.jxx new file mode 100644 index 000000000..83d8f7a9a --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_BezierSurface.jxx @@ -0,0 +1,3 @@ +#include +#include +#include diff --git a/src/FromOCCT/TKPShape/PGeom_BoundedCurve.cxx b/src/FromOCCT/TKPShape/PGeom_BoundedCurve.cxx new file mode 100644 index 000000000..172dcfafa --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_BoundedCurve.cxx @@ -0,0 +1,17 @@ +// 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 diff --git a/src/FromOCCT/TKPShape/PGeom_BoundedCurve.hxx b/src/FromOCCT/TKPShape/PGeom_BoundedCurve.hxx new file mode 100644 index 000000000..d6c272e96 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_BoundedCurve.hxx @@ -0,0 +1,54 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom_BoundedCurve_HeaderFile +#define _PGeom_BoundedCurve_HeaderFile + +#include +#include +#include +#include + +#include + + +class PGeom_BoundedCurve : public PGeom_Curve +{ + +public: + + +PGeom_BoundedCurve(const Storage_stCONSTclCOM& a) : PGeom_Curve(a) +{ + +} +PGeom_BoundedCurve( ) +{ + +} + + + + DEFINE_STANDARD_RTTI(PGeom_BoundedCurve) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PGeom_BoundedCurve_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom_BoundedCurve.ixx b/src/FromOCCT/TKPShape/PGeom_BoundedCurve.ixx new file mode 100644 index 000000000..bad1bd318 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_BoundedCurve.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom_BoundedCurve,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom_BoundedCurve) + + + diff --git a/src/FromOCCT/TKPShape/PGeom_BoundedCurve.jxx b/src/FromOCCT/TKPShape/PGeom_BoundedCurve.jxx new file mode 100644 index 000000000..4d9c68217 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_BoundedCurve.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKPShape/PGeom_BoundedSurface.cxx b/src/FromOCCT/TKPShape/PGeom_BoundedSurface.cxx new file mode 100644 index 000000000..8d4829e6b --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_BoundedSurface.cxx @@ -0,0 +1,17 @@ +// 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 diff --git a/src/FromOCCT/TKPShape/PGeom_BoundedSurface.hxx b/src/FromOCCT/TKPShape/PGeom_BoundedSurface.hxx new file mode 100644 index 000000000..7fa919151 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_BoundedSurface.hxx @@ -0,0 +1,54 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom_BoundedSurface_HeaderFile +#define _PGeom_BoundedSurface_HeaderFile + +#include +#include +#include +#include + +#include + + +class PGeom_BoundedSurface : public PGeom_Surface +{ + +public: + + +PGeom_BoundedSurface(const Storage_stCONSTclCOM& a) : PGeom_Surface(a) +{ + +} +PGeom_BoundedSurface( ) +{ + +} + + + + DEFINE_STANDARD_RTTI(PGeom_BoundedSurface) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PGeom_BoundedSurface_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom_BoundedSurface.ixx b/src/FromOCCT/TKPShape/PGeom_BoundedSurface.ixx new file mode 100644 index 000000000..dd1d4f4bb --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_BoundedSurface.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom_BoundedSurface,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom_BoundedSurface) + + + diff --git a/src/FromOCCT/TKPShape/PGeom_BoundedSurface.jxx b/src/FromOCCT/TKPShape/PGeom_BoundedSurface.jxx new file mode 100644 index 000000000..fa4bf2319 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_BoundedSurface.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKPShape/PGeom_CartesianPoint.cxx b/src/FromOCCT/TKPShape/PGeom_CartesianPoint.cxx new file mode 100644 index 000000000..df09085de --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_CartesianPoint.cxx @@ -0,0 +1,53 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PGeom_CartesianPoint.hxx b/src/FromOCCT/TKPShape/PGeom_CartesianPoint.hxx new file mode 100644 index 000000000..de72aa365 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_CartesianPoint.hxx @@ -0,0 +1,66 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom_CartesianPoint_HeaderFile +#define _PGeom_CartesianPoint_HeaderFile + +#include +#include +#include +#include + +#include +#include +class gp_Pnt; + + +class PGeom_CartesianPoint : public PGeom_Point +{ + +public: + + + //! Returns a CartesianPoint with default values.. + Standard_EXPORT PGeom_CartesianPoint(); + + //! Returns a CartesianPoint built with . + Standard_EXPORT PGeom_CartesianPoint(const gp_Pnt& aPnt); + + //! Set the field pnt. + Standard_EXPORT void Pnt (const gp_Pnt& aPnt) ; + + //! Returns the value of the field pnt. + Standard_EXPORT gp_Pnt Pnt() const; + +PGeom_CartesianPoint(const Storage_stCONSTclCOM& a) : PGeom_Point(a) +{ + +} + const gp_Pnt& _CSFDB_GetPGeom_CartesianPointpnt() const { return pnt; } + + + + DEFINE_STANDARD_RTTI(PGeom_CartesianPoint) + +protected: + + + + +private: + + + gp_Pnt pnt; + + +}; + + + + + + + +#endif // _PGeom_CartesianPoint_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom_CartesianPoint.ixx b/src/FromOCCT/TKPShape/PGeom_CartesianPoint.ixx new file mode 100644 index 000000000..f7c9c9fe0 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_CartesianPoint.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom_CartesianPoint,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom_CartesianPoint) + + + diff --git a/src/FromOCCT/TKPShape/PGeom_CartesianPoint.jxx b/src/FromOCCT/TKPShape/PGeom_CartesianPoint.jxx new file mode 100644 index 000000000..1c803fd4c --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_CartesianPoint.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPShape/PGeom_Circle.cxx b/src/FromOCCT/TKPShape/PGeom_Circle.cxx new file mode 100644 index 000000000..56b73a8a6 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Circle.cxx @@ -0,0 +1,56 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PGeom_Circle.hxx b/src/FromOCCT/TKPShape/PGeom_Circle.hxx new file mode 100644 index 000000000..28d4c3c1d --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Circle.hxx @@ -0,0 +1,68 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom_Circle_HeaderFile +#define _PGeom_Circle_HeaderFile + +#include +#include +#include +#include + +#include +#include +class gp_Ax2; + + +class PGeom_Circle : public PGeom_Conic +{ + +public: + + + //! Creates a circle with default values. + Standard_EXPORT PGeom_Circle(); + + //! Creates a Circle with and as field + //! values. + Standard_EXPORT PGeom_Circle(const gp_Ax2& aPosition, const Standard_Real aRadius); + + //! Set the value of the field radius with . + Standard_EXPORT void Radius (const Standard_Real aRadius) ; + + //! Returns the value of the field radius. + Standard_EXPORT Standard_Real Radius() const; + +PGeom_Circle(const Storage_stCONSTclCOM& a) : PGeom_Conic(a) +{ + +} + Standard_Real _CSFDB_GetPGeom_Circleradius() const { return radius; } + void _CSFDB_SetPGeom_Circleradius(const Standard_Real p) { radius = p; } + + + + DEFINE_STANDARD_RTTI(PGeom_Circle) + +protected: + + + + +private: + + + Standard_Real radius; + + +}; + + + + + + + +#endif // _PGeom_Circle_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom_Circle.ixx b/src/FromOCCT/TKPShape/PGeom_Circle.ixx new file mode 100644 index 000000000..282ef4099 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Circle.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom_Circle,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom_Circle) + + + diff --git a/src/FromOCCT/TKPShape/PGeom_Circle.jxx b/src/FromOCCT/TKPShape/PGeom_Circle.jxx new file mode 100644 index 000000000..5a7a9b8e2 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Circle.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPShape/PGeom_Conic.cxx b/src/FromOCCT/TKPShape/PGeom_Conic.cxx new file mode 100644 index 000000000..ba4b451e3 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Conic.cxx @@ -0,0 +1,53 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PGeom_Conic.hxx b/src/FromOCCT/TKPShape/PGeom_Conic.hxx new file mode 100644 index 000000000..f12031930 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Conic.hxx @@ -0,0 +1,66 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom_Conic_HeaderFile +#define _PGeom_Conic_HeaderFile + +#include +#include +#include +#include + +#include +#include +class gp_Ax2; + + +class PGeom_Conic : public PGeom_Curve +{ + +public: + + + //! Set the value of the field position with . + Standard_EXPORT void Position (const gp_Ax2& aPosition) ; + + //! Returns the value of the field . + Standard_EXPORT gp_Ax2 Position() const; + +PGeom_Conic(const Storage_stCONSTclCOM& a) : PGeom_Curve(a) +{ + +} + const gp_Ax2& _CSFDB_GetPGeom_Conicposition() const { return position; } + + + + DEFINE_STANDARD_RTTI(PGeom_Conic) + +protected: + + + //! Initializes the field(s) with default value(s). + Standard_EXPORT PGeom_Conic(); + + //! Initializes the field position with . + Standard_EXPORT PGeom_Conic(const gp_Ax2& aPosition); + + gp_Ax2 position; + + +private: + + + + +}; + + + + + + + +#endif // _PGeom_Conic_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom_Conic.ixx b/src/FromOCCT/TKPShape/PGeom_Conic.ixx new file mode 100644 index 000000000..28280744c --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Conic.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom_Conic,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom_Conic) + + + diff --git a/src/FromOCCT/TKPShape/PGeom_Conic.jxx b/src/FromOCCT/TKPShape/PGeom_Conic.jxx new file mode 100644 index 000000000..382aefa61 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Conic.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPShape/PGeom_ConicalSurface.cxx b/src/FromOCCT/TKPShape/PGeom_ConicalSurface.cxx new file mode 100644 index 000000000..c85a1d08f --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_ConicalSurface.cxx @@ -0,0 +1,76 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PGeom_ConicalSurface.hxx b/src/FromOCCT/TKPShape/PGeom_ConicalSurface.hxx new file mode 100644 index 000000000..dea7d0fdb --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_ConicalSurface.hxx @@ -0,0 +1,76 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom_ConicalSurface_HeaderFile +#define _PGeom_ConicalSurface_HeaderFile + +#include +#include +#include +#include + +#include +#include +class gp_Ax3; + + +class PGeom_ConicalSurface : public PGeom_ElementarySurface +{ + +public: + + + //! Creates a ConicalSurface with default values. + Standard_EXPORT PGeom_ConicalSurface(); + + //! Creates a ConicalSurface with these values. + Standard_EXPORT PGeom_ConicalSurface(const gp_Ax3& aPosition, const Standard_Real aRadius, const Standard_Real aSemiAngle); + + //! Set the field radius with . + Standard_EXPORT void Radius (const Standard_Real aRadius) ; + + //! Returns the value of the field radius. + Standard_EXPORT Standard_Real Radius() const; + + //! Set the value of the field semiAngle with . + Standard_EXPORT void SemiAngle (const Standard_Real aSemiAngle) ; + + //! Returns the value of the field semiAngle. + Standard_EXPORT Standard_Real SemiAngle() const; + +PGeom_ConicalSurface(const Storage_stCONSTclCOM& a) : PGeom_ElementarySurface(a) +{ + +} + Standard_Real _CSFDB_GetPGeom_ConicalSurfaceradius() const { return radius; } + void _CSFDB_SetPGeom_ConicalSurfaceradius(const Standard_Real p) { radius = p; } + Standard_Real _CSFDB_GetPGeom_ConicalSurfacesemiAngle() const { return semiAngle; } + void _CSFDB_SetPGeom_ConicalSurfacesemiAngle(const Standard_Real p) { semiAngle = p; } + + + + DEFINE_STANDARD_RTTI(PGeom_ConicalSurface) + +protected: + + + + +private: + + + Standard_Real radius; + Standard_Real semiAngle; + + +}; + + + + + + + +#endif // _PGeom_ConicalSurface_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom_ConicalSurface.ixx b/src/FromOCCT/TKPShape/PGeom_ConicalSurface.ixx new file mode 100644 index 000000000..27d7244ad --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_ConicalSurface.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom_ConicalSurface,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom_ConicalSurface) + + + diff --git a/src/FromOCCT/TKPShape/PGeom_ConicalSurface.jxx b/src/FromOCCT/TKPShape/PGeom_ConicalSurface.jxx new file mode 100644 index 000000000..d4095cbc8 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_ConicalSurface.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPShape/PGeom_Curve.cxx b/src/FromOCCT/TKPShape/PGeom_Curve.cxx new file mode 100644 index 000000000..acf73bead --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Curve.cxx @@ -0,0 +1,17 @@ +// 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 diff --git a/src/FromOCCT/TKPShape/PGeom_Curve.hxx b/src/FromOCCT/TKPShape/PGeom_Curve.hxx new file mode 100644 index 000000000..b7a2bd0f6 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Curve.hxx @@ -0,0 +1,54 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom_Curve_HeaderFile +#define _PGeom_Curve_HeaderFile + +#include +#include +#include +#include + +#include + + +class PGeom_Curve : public PGeom_Geometry +{ + +public: + + +PGeom_Curve(const Storage_stCONSTclCOM& a) : PGeom_Geometry(a) +{ + +} +PGeom_Curve( ) +{ + +} + + + + DEFINE_STANDARD_RTTI(PGeom_Curve) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PGeom_Curve_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom_Curve.ixx b/src/FromOCCT/TKPShape/PGeom_Curve.ixx new file mode 100644 index 000000000..82db3b34d --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Curve.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom_Curve,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom_Curve) + + + diff --git a/src/FromOCCT/TKPShape/PGeom_Curve.jxx b/src/FromOCCT/TKPShape/PGeom_Curve.jxx new file mode 100644 index 000000000..4287db88c --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Curve.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKPShape/PGeom_CylindricalSurface.cxx b/src/FromOCCT/TKPShape/PGeom_CylindricalSurface.cxx new file mode 100644 index 000000000..d6cf95ccb --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_CylindricalSurface.cxx @@ -0,0 +1,56 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PGeom_CylindricalSurface.hxx b/src/FromOCCT/TKPShape/PGeom_CylindricalSurface.hxx new file mode 100644 index 000000000..b7e79f377 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_CylindricalSurface.hxx @@ -0,0 +1,67 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom_CylindricalSurface_HeaderFile +#define _PGeom_CylindricalSurface_HeaderFile + +#include +#include +#include +#include + +#include +#include +class gp_Ax3; + + +class PGeom_CylindricalSurface : public PGeom_ElementarySurface +{ + +public: + + + //! Creates a CylindricalSurface with default values. + Standard_EXPORT PGeom_CylindricalSurface(); + + //! Creates a CylindricalSurface with these values. + Standard_EXPORT PGeom_CylindricalSurface(const gp_Ax3& aPosition, const Standard_Real aRadius); + + //! Set the field radius with . + Standard_EXPORT void Radius (const Standard_Real aRadius) ; + + //! Returns the value of the field radius. + Standard_EXPORT Standard_Real Radius() const; + +PGeom_CylindricalSurface(const Storage_stCONSTclCOM& a) : PGeom_ElementarySurface(a) +{ + +} + Standard_Real _CSFDB_GetPGeom_CylindricalSurfaceradius() const { return radius; } + void _CSFDB_SetPGeom_CylindricalSurfaceradius(const Standard_Real p) { radius = p; } + + + + DEFINE_STANDARD_RTTI(PGeom_CylindricalSurface) + +protected: + + + + +private: + + + Standard_Real radius; + + +}; + + + + + + + +#endif // _PGeom_CylindricalSurface_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom_CylindricalSurface.ixx b/src/FromOCCT/TKPShape/PGeom_CylindricalSurface.ixx new file mode 100644 index 000000000..4f4c36e91 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_CylindricalSurface.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom_CylindricalSurface,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom_CylindricalSurface) + + + diff --git a/src/FromOCCT/TKPShape/PGeom_CylindricalSurface.jxx b/src/FromOCCT/TKPShape/PGeom_CylindricalSurface.jxx new file mode 100644 index 000000000..e5bd3f6f0 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_CylindricalSurface.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPShape/PGeom_Direction.cxx b/src/FromOCCT/TKPShape/PGeom_Direction.cxx new file mode 100644 index 000000000..2aaccd681 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Direction.cxx @@ -0,0 +1,35 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PGeom_Direction.hxx b/src/FromOCCT/TKPShape/PGeom_Direction.hxx new file mode 100644 index 000000000..758fb4f73 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Direction.hxx @@ -0,0 +1,57 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom_Direction_HeaderFile +#define _PGeom_Direction_HeaderFile + +#include +#include +#include +#include + +#include +class gp_Vec; + + +class PGeom_Direction : public PGeom_Vector +{ + +public: + + + //! Creates a unit vector with default values. + Standard_EXPORT PGeom_Direction(); + + //! Create a unit vector with . + Standard_EXPORT PGeom_Direction(const gp_Vec& aVec); + +PGeom_Direction(const Storage_stCONSTclCOM& a) : PGeom_Vector(a) +{ + +} + + + + DEFINE_STANDARD_RTTI(PGeom_Direction) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PGeom_Direction_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom_Direction.ixx b/src/FromOCCT/TKPShape/PGeom_Direction.ixx new file mode 100644 index 000000000..c7171fbc9 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Direction.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom_Direction,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom_Direction) + + + diff --git a/src/FromOCCT/TKPShape/PGeom_Direction.jxx b/src/FromOCCT/TKPShape/PGeom_Direction.jxx new file mode 100644 index 000000000..3e59b708f --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Direction.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPShape/PGeom_ElementarySurface.cxx b/src/FromOCCT/TKPShape/PGeom_ElementarySurface.cxx new file mode 100644 index 000000000..34f6ed4c5 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_ElementarySurface.cxx @@ -0,0 +1,56 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PGeom_ElementarySurface.hxx b/src/FromOCCT/TKPShape/PGeom_ElementarySurface.hxx new file mode 100644 index 000000000..50bd869d1 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_ElementarySurface.hxx @@ -0,0 +1,66 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom_ElementarySurface_HeaderFile +#define _PGeom_ElementarySurface_HeaderFile + +#include +#include +#include +#include + +#include +#include +class gp_Ax3; + + +class PGeom_ElementarySurface : public PGeom_Surface +{ + +public: + + + //! Set the field position with . + Standard_EXPORT void Position (const gp_Ax3& aPosition) ; + + //! Returns the value of the field position. + Standard_EXPORT gp_Ax3 Position() const; + +PGeom_ElementarySurface(const Storage_stCONSTclCOM& a) : PGeom_Surface(a) +{ + +} + const gp_Ax3& _CSFDB_GetPGeom_ElementarySurfaceposition() const { return position; } + + + + DEFINE_STANDARD_RTTI(PGeom_ElementarySurface) + +protected: + + + //! Initializes the field(s) with default value(s). + Standard_EXPORT PGeom_ElementarySurface(); + + //! Initializes the fields with these values. + Standard_EXPORT PGeom_ElementarySurface(const gp_Ax3& aPosition); + + gp_Ax3 position; + + +private: + + + + +}; + + + + + + + +#endif // _PGeom_ElementarySurface_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom_ElementarySurface.ixx b/src/FromOCCT/TKPShape/PGeom_ElementarySurface.ixx new file mode 100644 index 000000000..455899129 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_ElementarySurface.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom_ElementarySurface,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom_ElementarySurface) + + + diff --git a/src/FromOCCT/TKPShape/PGeom_ElementarySurface.jxx b/src/FromOCCT/TKPShape/PGeom_ElementarySurface.jxx new file mode 100644 index 000000000..3a1ebbbf0 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_ElementarySurface.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPShape/PGeom_Ellipse.cxx b/src/FromOCCT/TKPShape/PGeom_Ellipse.cxx new file mode 100644 index 000000000..05e3af115 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Ellipse.cxx @@ -0,0 +1,76 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PGeom_Ellipse.hxx b/src/FromOCCT/TKPShape/PGeom_Ellipse.hxx new file mode 100644 index 000000000..676cd87da --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Ellipse.hxx @@ -0,0 +1,80 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom_Ellipse_HeaderFile +#define _PGeom_Ellipse_HeaderFile + +#include +#include +#include +#include + +#include +#include +class gp_Ax2; + + +class PGeom_Ellipse : public PGeom_Conic +{ + +public: + + + //! Creates an ellipse with default values. + Standard_EXPORT PGeom_Ellipse(); + + //! Creates an Ellipse with , + //! and as field values. + //! The major radius of the ellipse is on the "XAxis" + //! and the minor radius of the ellipse is on the + //! "YAxis". + Standard_EXPORT PGeom_Ellipse(const gp_Ax2& aPosition, const Standard_Real aMajorRadius, const Standard_Real aMinorRadius); + + //! Set the value of the field majorRadius with . + Standard_EXPORT void MajorRadius (const Standard_Real aMajorRadius) ; + + //! Returns the value of the field majorRadius. + Standard_EXPORT Standard_Real MajorRadius() const; + + //! Set the value of the field minorRadius with . + Standard_EXPORT void MinorRadius (const Standard_Real aMinorRadius) ; + + //! Returns the value of the field minorRadius. + Standard_EXPORT Standard_Real MinorRadius() const; + +PGeom_Ellipse(const Storage_stCONSTclCOM& a) : PGeom_Conic(a) +{ + +} + Standard_Real _CSFDB_GetPGeom_EllipsemajorRadius() const { return majorRadius; } + void _CSFDB_SetPGeom_EllipsemajorRadius(const Standard_Real p) { majorRadius = p; } + Standard_Real _CSFDB_GetPGeom_EllipseminorRadius() const { return minorRadius; } + void _CSFDB_SetPGeom_EllipseminorRadius(const Standard_Real p) { minorRadius = p; } + + + + DEFINE_STANDARD_RTTI(PGeom_Ellipse) + +protected: + + + + +private: + + + Standard_Real majorRadius; + Standard_Real minorRadius; + + +}; + + + + + + + +#endif // _PGeom_Ellipse_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom_Ellipse.ixx b/src/FromOCCT/TKPShape/PGeom_Ellipse.ixx new file mode 100644 index 000000000..17728355a --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Ellipse.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom_Ellipse,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom_Ellipse) + + + diff --git a/src/FromOCCT/TKPShape/PGeom_Ellipse.jxx b/src/FromOCCT/TKPShape/PGeom_Ellipse.jxx new file mode 100644 index 000000000..d78b24175 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Ellipse.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPShape/PGeom_Geometry.cxx b/src/FromOCCT/TKPShape/PGeom_Geometry.cxx new file mode 100644 index 000000000..28bbec124 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Geometry.cxx @@ -0,0 +1,17 @@ +// 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 diff --git a/src/FromOCCT/TKPShape/PGeom_Geometry.hxx b/src/FromOCCT/TKPShape/PGeom_Geometry.hxx new file mode 100644 index 000000000..36ed96d3b --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Geometry.hxx @@ -0,0 +1,54 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom_Geometry_HeaderFile +#define _PGeom_Geometry_HeaderFile + +#include +#include +#include +#include + +#include + + +class PGeom_Geometry : public Standard_Persistent +{ + +public: + + +PGeom_Geometry(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} +PGeom_Geometry( ) +{ + +} + + + + DEFINE_STANDARD_RTTI(PGeom_Geometry) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PGeom_Geometry_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom_Geometry.ixx b/src/FromOCCT/TKPShape/PGeom_Geometry.ixx new file mode 100644 index 000000000..a0d4b0bc1 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Geometry.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom_Geometry,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom_Geometry) + + + diff --git a/src/FromOCCT/TKPShape/PGeom_Geometry.jxx b/src/FromOCCT/TKPShape/PGeom_Geometry.jxx new file mode 100644 index 000000000..dae46571d --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Geometry.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKPShape/PGeom_Hyperbola.cxx b/src/FromOCCT/TKPShape/PGeom_Hyperbola.cxx new file mode 100644 index 000000000..bb96b7258 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Hyperbola.cxx @@ -0,0 +1,76 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PGeom_Hyperbola.hxx b/src/FromOCCT/TKPShape/PGeom_Hyperbola.hxx new file mode 100644 index 000000000..c93411b1a --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Hyperbola.hxx @@ -0,0 +1,80 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom_Hyperbola_HeaderFile +#define _PGeom_Hyperbola_HeaderFile + +#include +#include +#include +#include + +#include +#include +class gp_Ax2; + + +class PGeom_Hyperbola : public PGeom_Conic +{ + +public: + + + //! Creates an Hyperbola with default values. + Standard_EXPORT PGeom_Hyperbola(); + + //! Creates an Hyperbola with , + //! and as field values. + //! The major radius of the hyperbola is on the XAxis + //! and the minor radius is on the YAxis of the + //! hyperbola. + Standard_EXPORT PGeom_Hyperbola(const gp_Ax2& aPosition, const Standard_Real aMajorRadius, const Standard_Real aMinorRadius); + + //! Set the value of the field majorRadius with . + Standard_EXPORT void MajorRadius (const Standard_Real aMajorRadius) ; + + //! Returns the value of the field majorRadius. + Standard_EXPORT Standard_Real MajorRadius() const; + + //! Set the value of the field minorRadius with . + Standard_EXPORT void MinorRadius (const Standard_Real aMinorRadius) ; + + //! Returns the value of the field minorRadius. + Standard_EXPORT Standard_Real MinorRadius() const; + +PGeom_Hyperbola(const Storage_stCONSTclCOM& a) : PGeom_Conic(a) +{ + +} + Standard_Real _CSFDB_GetPGeom_HyperbolamajorRadius() const { return majorRadius; } + void _CSFDB_SetPGeom_HyperbolamajorRadius(const Standard_Real p) { majorRadius = p; } + Standard_Real _CSFDB_GetPGeom_HyperbolaminorRadius() const { return minorRadius; } + void _CSFDB_SetPGeom_HyperbolaminorRadius(const Standard_Real p) { minorRadius = p; } + + + + DEFINE_STANDARD_RTTI(PGeom_Hyperbola) + +protected: + + + + +private: + + + Standard_Real majorRadius; + Standard_Real minorRadius; + + +}; + + + + + + + +#endif // _PGeom_Hyperbola_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom_Hyperbola.ixx b/src/FromOCCT/TKPShape/PGeom_Hyperbola.ixx new file mode 100644 index 000000000..55cff179b --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Hyperbola.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom_Hyperbola,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom_Hyperbola) + + + diff --git a/src/FromOCCT/TKPShape/PGeom_Hyperbola.jxx b/src/FromOCCT/TKPShape/PGeom_Hyperbola.jxx new file mode 100644 index 000000000..024404276 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Hyperbola.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPShape/PGeom_Line.cxx b/src/FromOCCT/TKPShape/PGeom_Line.cxx new file mode 100644 index 000000000..0d10df602 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Line.cxx @@ -0,0 +1,53 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PGeom_Line.hxx b/src/FromOCCT/TKPShape/PGeom_Line.hxx new file mode 100644 index 000000000..e833f7367 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Line.hxx @@ -0,0 +1,68 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom_Line_HeaderFile +#define _PGeom_Line_HeaderFile + +#include +#include +#include +#include + +#include +#include +class gp_Ax1; + + +class PGeom_Line : public PGeom_Curve +{ + +public: + + + //! Creates a line with default values. + Standard_EXPORT PGeom_Line(); + + //! Creates a line located in 3D space with + //! . The Location of is the + //! origin of the line. + Standard_EXPORT PGeom_Line(const gp_Ax1& aPosition); + + //! Set the value of the field position with . + Standard_EXPORT void Position (const gp_Ax1& aPosition) ; + + //! Returns the value of the field position. + Standard_EXPORT gp_Ax1 Position() const; + +PGeom_Line(const Storage_stCONSTclCOM& a) : PGeom_Curve(a) +{ + +} + const gp_Ax1& _CSFDB_GetPGeom_Lineposition() const { return position; } + + + + DEFINE_STANDARD_RTTI(PGeom_Line) + +protected: + + + + +private: + + + gp_Ax1 position; + + +}; + + + + + + + +#endif // _PGeom_Line_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom_Line.ixx b/src/FromOCCT/TKPShape/PGeom_Line.ixx new file mode 100644 index 000000000..835abb038 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Line.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom_Line,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom_Line) + + + diff --git a/src/FromOCCT/TKPShape/PGeom_Line.jxx b/src/FromOCCT/TKPShape/PGeom_Line.jxx new file mode 100644 index 000000000..8c7386dd6 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Line.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPShape/PGeom_OffsetCurve.cxx b/src/FromOCCT/TKPShape/PGeom_OffsetCurve.cxx new file mode 100644 index 000000000..c18bc1058 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_OffsetCurve.cxx @@ -0,0 +1,94 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PGeom_OffsetCurve.hxx b/src/FromOCCT/TKPShape/PGeom_OffsetCurve.hxx new file mode 100644 index 000000000..0628b62d9 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_OffsetCurve.hxx @@ -0,0 +1,91 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom_OffsetCurve_HeaderFile +#define _PGeom_OffsetCurve_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +class PGeom_Curve; +class gp_Dir; + + +class PGeom_OffsetCurve : public PGeom_Curve +{ + +public: + + + //! Creates an OffsetCurve with default values. + Standard_EXPORT PGeom_OffsetCurve(); + + //! is the basis curve, + //! is the distance between and the basis curve at + //! any point. defines the fixed + //! reference direction (offset direction). + Standard_EXPORT PGeom_OffsetCurve(const Handle(PGeom_Curve)& aBasisCurve, const Standard_Real aOffsetValue, const gp_Dir& aOffsetDirection); + + //! Set the field basisCurve with . + Standard_EXPORT void BasisCurve (const Handle(PGeom_Curve)& aBasisCurve) ; + + //! The basis curve can be an offset curve. + Standard_EXPORT Handle(PGeom_Curve) BasisCurve() const; + + //! Set the value of the field offsetDirection with + //! . + Standard_EXPORT void OffsetDirection (const gp_Dir& aOffsetDirection) ; + + //! Returns the direction of offset. + Standard_EXPORT gp_Dir OffsetDirection() const; + + //! Set the field offsetValue with . + Standard_EXPORT void OffsetValue (const Standard_Real aOffsetValue) ; + + //! Returns the value of the field offsetValue. + Standard_EXPORT Standard_Real OffsetValue() const; + +PGeom_OffsetCurve(const Storage_stCONSTclCOM& a) : PGeom_Curve(a) +{ + +} + Handle(PGeom_Curve) _CSFDB_GetPGeom_OffsetCurvebasisCurve() const { return basisCurve; } + void _CSFDB_SetPGeom_OffsetCurvebasisCurve(const Handle(PGeom_Curve)& p) { basisCurve = p; } + const gp_Dir& _CSFDB_GetPGeom_OffsetCurveoffsetDirection() const { return offsetDirection; } + Standard_Real _CSFDB_GetPGeom_OffsetCurveoffsetValue() const { return offsetValue; } + void _CSFDB_SetPGeom_OffsetCurveoffsetValue(const Standard_Real p) { offsetValue = p; } + + + + DEFINE_STANDARD_RTTI(PGeom_OffsetCurve) + +protected: + + + + +private: + + + Handle(PGeom_Curve) basisCurve; + gp_Dir offsetDirection; + Standard_Real offsetValue; + + +}; + + + + + + + +#endif // _PGeom_OffsetCurve_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom_OffsetCurve.ixx b/src/FromOCCT/TKPShape/PGeom_OffsetCurve.ixx new file mode 100644 index 000000000..b4595e0fd --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_OffsetCurve.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom_OffsetCurve,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom_OffsetCurve) + + + diff --git a/src/FromOCCT/TKPShape/PGeom_OffsetCurve.jxx b/src/FromOCCT/TKPShape/PGeom_OffsetCurve.jxx new file mode 100644 index 000000000..986ab5f27 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_OffsetCurve.jxx @@ -0,0 +1,3 @@ +#include +#include +#include diff --git a/src/FromOCCT/TKPShape/PGeom_OffsetSurface.cxx b/src/FromOCCT/TKPShape/PGeom_OffsetSurface.cxx new file mode 100644 index 000000000..36a773c3c --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_OffsetSurface.cxx @@ -0,0 +1,75 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PGeom_OffsetSurface.hxx b/src/FromOCCT/TKPShape/PGeom_OffsetSurface.hxx new file mode 100644 index 000000000..b4bb7f175 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_OffsetSurface.hxx @@ -0,0 +1,81 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom_OffsetSurface_HeaderFile +#define _PGeom_OffsetSurface_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class PGeom_Surface; + + +class PGeom_OffsetSurface : public PGeom_Surface +{ + +public: + + + //! Creates an OffsetSurface with default values. + Standard_EXPORT PGeom_OffsetSurface(); + + //! is the basis surface, + //! is the distance between and the + //! basis surface at any point. + //! defines the fixed reference direction (offset + //! direction). + Standard_EXPORT PGeom_OffsetSurface(const Handle(PGeom_Surface)& aBasisSurface, const Standard_Real aOffsetValue); + + //! Set the field basisSurface with . + Standard_EXPORT void BasisSurface (const Handle(PGeom_Surface)& aBasisSurface) ; + + //! The basis surface can be an offset surface. + Standard_EXPORT Handle(PGeom_Surface) BasisSurface() const; + + //! Set the field offsetValue with . + Standard_EXPORT void OffsetValue (const Standard_Real aOffsetValue) ; + + //! Returns the value of the field offsetValue. + Standard_EXPORT Standard_Real OffsetValue() const; + +PGeom_OffsetSurface(const Storage_stCONSTclCOM& a) : PGeom_Surface(a) +{ + +} + Handle(PGeom_Surface) _CSFDB_GetPGeom_OffsetSurfacebasisSurface() const { return basisSurface; } + void _CSFDB_SetPGeom_OffsetSurfacebasisSurface(const Handle(PGeom_Surface)& p) { basisSurface = p; } + Standard_Real _CSFDB_GetPGeom_OffsetSurfaceoffsetValue() const { return offsetValue; } + void _CSFDB_SetPGeom_OffsetSurfaceoffsetValue(const Standard_Real p) { offsetValue = p; } + + + + DEFINE_STANDARD_RTTI(PGeom_OffsetSurface) + +protected: + + + + +private: + + + Handle(PGeom_Surface) basisSurface; + Standard_Real offsetValue; + + +}; + + + + + + + +#endif // _PGeom_OffsetSurface_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom_OffsetSurface.ixx b/src/FromOCCT/TKPShape/PGeom_OffsetSurface.ixx new file mode 100644 index 000000000..af38ad0f9 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_OffsetSurface.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom_OffsetSurface,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom_OffsetSurface) + + + diff --git a/src/FromOCCT/TKPShape/PGeom_OffsetSurface.jxx b/src/FromOCCT/TKPShape/PGeom_OffsetSurface.jxx new file mode 100644 index 000000000..6686cd8b8 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_OffsetSurface.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPShape/PGeom_Parabola.cxx b/src/FromOCCT/TKPShape/PGeom_Parabola.cxx new file mode 100644 index 000000000..823736a80 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Parabola.cxx @@ -0,0 +1,56 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PGeom_Parabola.hxx b/src/FromOCCT/TKPShape/PGeom_Parabola.hxx new file mode 100644 index 000000000..85d86af0d --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Parabola.hxx @@ -0,0 +1,69 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom_Parabola_HeaderFile +#define _PGeom_Parabola_HeaderFile + +#include +#include +#include +#include + +#include +#include +class gp_Ax2; + + +class PGeom_Parabola : public PGeom_Conic +{ + +public: + + + //! Creates a parabola with default values. + Standard_EXPORT PGeom_Parabola(); + + //! Creates a Parabola with and + //! as field values. + Standard_EXPORT PGeom_Parabola(const gp_Ax2& aPosition, const Standard_Real aFocalLength); + + //! Set the value of the field focalLength with + //! . + Standard_EXPORT void FocalLength (const Standard_Real aFocalLength) ; + + //! Retruns the value of the field focalLength. + Standard_EXPORT Standard_Real FocalLength() const; + +PGeom_Parabola(const Storage_stCONSTclCOM& a) : PGeom_Conic(a) +{ + +} + Standard_Real _CSFDB_GetPGeom_ParabolafocalLength() const { return focalLength; } + void _CSFDB_SetPGeom_ParabolafocalLength(const Standard_Real p) { focalLength = p; } + + + + DEFINE_STANDARD_RTTI(PGeom_Parabola) + +protected: + + + + +private: + + + Standard_Real focalLength; + + +}; + + + + + + + +#endif // _PGeom_Parabola_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom_Parabola.ixx b/src/FromOCCT/TKPShape/PGeom_Parabola.ixx new file mode 100644 index 000000000..ed03115a4 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Parabola.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom_Parabola,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom_Parabola) + + + diff --git a/src/FromOCCT/TKPShape/PGeom_Parabola.jxx b/src/FromOCCT/TKPShape/PGeom_Parabola.jxx new file mode 100644 index 000000000..4d18a79be --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Parabola.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPShape/PGeom_Plane.cxx b/src/FromOCCT/TKPShape/PGeom_Plane.cxx new file mode 100644 index 000000000..c52348e18 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Plane.cxx @@ -0,0 +1,36 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PGeom_Plane.hxx b/src/FromOCCT/TKPShape/PGeom_Plane.hxx new file mode 100644 index 000000000..49320378d --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Plane.hxx @@ -0,0 +1,57 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom_Plane_HeaderFile +#define _PGeom_Plane_HeaderFile + +#include +#include +#include +#include + +#include +class gp_Ax3; + + +class PGeom_Plane : public PGeom_ElementarySurface +{ + +public: + + + //! Create a plane with default values. + Standard_EXPORT PGeom_Plane(); + + //! Creates a Plane with these field values. + Standard_EXPORT PGeom_Plane(const gp_Ax3& aPosition); + +PGeom_Plane(const Storage_stCONSTclCOM& a) : PGeom_ElementarySurface(a) +{ + +} + + + + DEFINE_STANDARD_RTTI(PGeom_Plane) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PGeom_Plane_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom_Plane.ixx b/src/FromOCCT/TKPShape/PGeom_Plane.ixx new file mode 100644 index 000000000..999101ed0 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Plane.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom_Plane,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom_Plane) + + + diff --git a/src/FromOCCT/TKPShape/PGeom_Plane.jxx b/src/FromOCCT/TKPShape/PGeom_Plane.jxx new file mode 100644 index 000000000..402546722 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Plane.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPShape/PGeom_Point.cxx b/src/FromOCCT/TKPShape/PGeom_Point.cxx new file mode 100644 index 000000000..f7b7a6dff --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Point.cxx @@ -0,0 +1,17 @@ +// 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 diff --git a/src/FromOCCT/TKPShape/PGeom_Point.hxx b/src/FromOCCT/TKPShape/PGeom_Point.hxx new file mode 100644 index 000000000..bdc3d51ef --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Point.hxx @@ -0,0 +1,54 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom_Point_HeaderFile +#define _PGeom_Point_HeaderFile + +#include +#include +#include +#include + +#include + + +class PGeom_Point : public PGeom_Geometry +{ + +public: + + +PGeom_Point(const Storage_stCONSTclCOM& a) : PGeom_Geometry(a) +{ + +} +PGeom_Point( ) +{ + +} + + + + DEFINE_STANDARD_RTTI(PGeom_Point) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PGeom_Point_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom_Point.ixx b/src/FromOCCT/TKPShape/PGeom_Point.ixx new file mode 100644 index 000000000..57e14240d --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Point.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom_Point,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom_Point) + + + diff --git a/src/FromOCCT/TKPShape/PGeom_Point.jxx b/src/FromOCCT/TKPShape/PGeom_Point.jxx new file mode 100644 index 000000000..49f659851 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Point.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKPShape/PGeom_RectangularTrimmedSurface.cxx b/src/FromOCCT/TKPShape/PGeom_RectangularTrimmedSurface.cxx new file mode 100644 index 000000000..06958970f --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_RectangularTrimmedSurface.cxx @@ -0,0 +1,135 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PGeom_RectangularTrimmedSurface.hxx b/src/FromOCCT/TKPShape/PGeom_RectangularTrimmedSurface.hxx new file mode 100644 index 000000000..1cb4e224a --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_RectangularTrimmedSurface.hxx @@ -0,0 +1,105 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom_RectangularTrimmedSurface_HeaderFile +#define _PGeom_RectangularTrimmedSurface_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class PGeom_Surface; + + +class PGeom_RectangularTrimmedSurface : public PGeom_BoundedSurface +{ + +public: + + + //! Creates a RectangularTrimmedSurface with default values. + Standard_EXPORT PGeom_RectangularTrimmedSurface(); + + //! Creates a RectangularTrimmedSurface with these values. + Standard_EXPORT PGeom_RectangularTrimmedSurface(const Handle(PGeom_Surface)& aBasisSurface, const Standard_Real aFirstU, const Standard_Real aLastU, const Standard_Real aFirstV, const Standard_Real aLastV); + + //! Set the value of the field basisSurface with + //! . + Standard_EXPORT void BasisSurface (const Handle(PGeom_Surface)& aBasisSurface) ; + + //! Returns the value of the field basisSurface. + Standard_EXPORT Handle(PGeom_Surface) BasisSurface() const; + + //! Set the value of the field firstU with . + Standard_EXPORT void FirstU (const Standard_Real aFirstU) ; + + //! Returns the value of the field firstU. + Standard_EXPORT Standard_Real FirstU() const; + + //! Set the value of the field lastU with . + Standard_EXPORT void LastU (const Standard_Real aLastU) ; + + //! Returns the value of the field lastU. + Standard_EXPORT Standard_Real LastU() const; + + //! Set the value of the field firstV with . + Standard_EXPORT void FirstV (const Standard_Real aFirstV) ; + + //! Returns the value of the field firstV. + Standard_EXPORT Standard_Real FirstV() const; + + //! Set the value of the field lastV with . + Standard_EXPORT void LastV (const Standard_Real aLastV) ; + + //! Returns the value of the field lastV. + Standard_EXPORT Standard_Real LastV() const; + +PGeom_RectangularTrimmedSurface(const Storage_stCONSTclCOM& a) : PGeom_BoundedSurface(a) +{ + +} + Handle(PGeom_Surface) _CSFDB_GetPGeom_RectangularTrimmedSurfacebasisSurface() const { return basisSurface; } + void _CSFDB_SetPGeom_RectangularTrimmedSurfacebasisSurface(const Handle(PGeom_Surface)& p) { basisSurface = p; } + Standard_Real _CSFDB_GetPGeom_RectangularTrimmedSurfacefirstU() const { return firstU; } + void _CSFDB_SetPGeom_RectangularTrimmedSurfacefirstU(const Standard_Real p) { firstU = p; } + Standard_Real _CSFDB_GetPGeom_RectangularTrimmedSurfacelastU() const { return lastU; } + void _CSFDB_SetPGeom_RectangularTrimmedSurfacelastU(const Standard_Real p) { lastU = p; } + Standard_Real _CSFDB_GetPGeom_RectangularTrimmedSurfacefirstV() const { return firstV; } + void _CSFDB_SetPGeom_RectangularTrimmedSurfacefirstV(const Standard_Real p) { firstV = p; } + Standard_Real _CSFDB_GetPGeom_RectangularTrimmedSurfacelastV() const { return lastV; } + void _CSFDB_SetPGeom_RectangularTrimmedSurfacelastV(const Standard_Real p) { lastV = p; } + + + + DEFINE_STANDARD_RTTI(PGeom_RectangularTrimmedSurface) + +protected: + + + + +private: + + + Handle(PGeom_Surface) basisSurface; + Standard_Real firstU; + Standard_Real lastU; + Standard_Real firstV; + Standard_Real lastV; + + +}; + + + + + + + +#endif // _PGeom_RectangularTrimmedSurface_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom_RectangularTrimmedSurface.ixx b/src/FromOCCT/TKPShape/PGeom_RectangularTrimmedSurface.ixx new file mode 100644 index 000000000..caa39f697 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_RectangularTrimmedSurface.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom_RectangularTrimmedSurface,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom_RectangularTrimmedSurface) + + + diff --git a/src/FromOCCT/TKPShape/PGeom_RectangularTrimmedSurface.jxx b/src/FromOCCT/TKPShape/PGeom_RectangularTrimmedSurface.jxx new file mode 100644 index 000000000..6ffa46a4a --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_RectangularTrimmedSurface.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPShape/PGeom_SphericalSurface.cxx b/src/FromOCCT/TKPShape/PGeom_SphericalSurface.cxx new file mode 100644 index 000000000..a556734fc --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_SphericalSurface.cxx @@ -0,0 +1,56 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PGeom_SphericalSurface.hxx b/src/FromOCCT/TKPShape/PGeom_SphericalSurface.hxx new file mode 100644 index 000000000..89ec050ab --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_SphericalSurface.hxx @@ -0,0 +1,67 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom_SphericalSurface_HeaderFile +#define _PGeom_SphericalSurface_HeaderFile + +#include +#include +#include +#include + +#include +#include +class gp_Ax3; + + +class PGeom_SphericalSurface : public PGeom_ElementarySurface +{ + +public: + + + //! Creates a SphericalSurface with default values. + Standard_EXPORT PGeom_SphericalSurface(); + + //! Creates a SphericalSurface with these values. + Standard_EXPORT PGeom_SphericalSurface(const gp_Ax3& aPosition, const Standard_Real aRadius); + + //! Set the field radius with . + Standard_EXPORT void Radius (const Standard_Real aRadius) ; + + //! Returns the value of the field radius. + Standard_EXPORT Standard_Real Radius() const; + +PGeom_SphericalSurface(const Storage_stCONSTclCOM& a) : PGeom_ElementarySurface(a) +{ + +} + Standard_Real _CSFDB_GetPGeom_SphericalSurfaceradius() const { return radius; } + void _CSFDB_SetPGeom_SphericalSurfaceradius(const Standard_Real p) { radius = p; } + + + + DEFINE_STANDARD_RTTI(PGeom_SphericalSurface) + +protected: + + + + +private: + + + Standard_Real radius; + + +}; + + + + + + + +#endif // _PGeom_SphericalSurface_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom_SphericalSurface.ixx b/src/FromOCCT/TKPShape/PGeom_SphericalSurface.ixx new file mode 100644 index 000000000..24c9eaaa8 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_SphericalSurface.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom_SphericalSurface,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom_SphericalSurface) + + + diff --git a/src/FromOCCT/TKPShape/PGeom_SphericalSurface.jxx b/src/FromOCCT/TKPShape/PGeom_SphericalSurface.jxx new file mode 100644 index 000000000..dcb76003e --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_SphericalSurface.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPShape/PGeom_Surface.cxx b/src/FromOCCT/TKPShape/PGeom_Surface.cxx new file mode 100644 index 000000000..ca8cc5847 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Surface.cxx @@ -0,0 +1,17 @@ +// 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 diff --git a/src/FromOCCT/TKPShape/PGeom_Surface.hxx b/src/FromOCCT/TKPShape/PGeom_Surface.hxx new file mode 100644 index 000000000..34dc13b01 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Surface.hxx @@ -0,0 +1,54 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom_Surface_HeaderFile +#define _PGeom_Surface_HeaderFile + +#include +#include +#include +#include + +#include + + +class PGeom_Surface : public PGeom_Geometry +{ + +public: + + +PGeom_Surface(const Storage_stCONSTclCOM& a) : PGeom_Geometry(a) +{ + +} +PGeom_Surface( ) +{ + +} + + + + DEFINE_STANDARD_RTTI(PGeom_Surface) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PGeom_Surface_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom_Surface.ixx b/src/FromOCCT/TKPShape/PGeom_Surface.ixx new file mode 100644 index 000000000..f30657dd1 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Surface.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom_Surface,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom_Surface) + + + diff --git a/src/FromOCCT/TKPShape/PGeom_Surface.jxx b/src/FromOCCT/TKPShape/PGeom_Surface.jxx new file mode 100644 index 000000000..4e1ec5f51 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Surface.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKPShape/PGeom_SurfaceOfLinearExtrusion.cxx b/src/FromOCCT/TKPShape/PGeom_SurfaceOfLinearExtrusion.cxx new file mode 100644 index 000000000..2bfc28d22 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_SurfaceOfLinearExtrusion.cxx @@ -0,0 +1,37 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PGeom_SurfaceOfLinearExtrusion.hxx b/src/FromOCCT/TKPShape/PGeom_SurfaceOfLinearExtrusion.hxx new file mode 100644 index 000000000..88f253d15 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_SurfaceOfLinearExtrusion.hxx @@ -0,0 +1,59 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom_SurfaceOfLinearExtrusion_HeaderFile +#define _PGeom_SurfaceOfLinearExtrusion_HeaderFile + +#include +#include +#include +#include + +#include +#include +class PGeom_Curve; +class gp_Dir; + + +class PGeom_SurfaceOfLinearExtrusion : public PGeom_SweptSurface +{ + +public: + + + //! Creates a SurfaceOfLinearExtrusion with default values. + Standard_EXPORT PGeom_SurfaceOfLinearExtrusion(); + + //! Creates a SurfaceOfLinearExtrusion with these values. + Standard_EXPORT PGeom_SurfaceOfLinearExtrusion(const Handle(PGeom_Curve)& aBasisCurve, const gp_Dir& aDirection); + +PGeom_SurfaceOfLinearExtrusion(const Storage_stCONSTclCOM& a) : PGeom_SweptSurface(a) +{ + +} + + + + DEFINE_STANDARD_RTTI(PGeom_SurfaceOfLinearExtrusion) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PGeom_SurfaceOfLinearExtrusion_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom_SurfaceOfLinearExtrusion.ixx b/src/FromOCCT/TKPShape/PGeom_SurfaceOfLinearExtrusion.ixx new file mode 100644 index 000000000..4cbbf9b6a --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_SurfaceOfLinearExtrusion.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom_SurfaceOfLinearExtrusion,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom_SurfaceOfLinearExtrusion) + + + diff --git a/src/FromOCCT/TKPShape/PGeom_SurfaceOfLinearExtrusion.jxx b/src/FromOCCT/TKPShape/PGeom_SurfaceOfLinearExtrusion.jxx new file mode 100644 index 000000000..72e358a9c --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_SurfaceOfLinearExtrusion.jxx @@ -0,0 +1,3 @@ +#include +#include +#include diff --git a/src/FromOCCT/TKPShape/PGeom_SurfaceOfRevolution.cxx b/src/FromOCCT/TKPShape/PGeom_SurfaceOfRevolution.cxx new file mode 100644 index 000000000..4d17112d9 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_SurfaceOfRevolution.cxx @@ -0,0 +1,57 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PGeom_SurfaceOfRevolution.hxx b/src/FromOCCT/TKPShape/PGeom_SurfaceOfRevolution.hxx new file mode 100644 index 000000000..27f078095 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_SurfaceOfRevolution.hxx @@ -0,0 +1,69 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom_SurfaceOfRevolution_HeaderFile +#define _PGeom_SurfaceOfRevolution_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class PGeom_Curve; +class gp_Dir; +class gp_Pnt; + + +class PGeom_SurfaceOfRevolution : public PGeom_SweptSurface +{ + +public: + + + //! Creates a SurfaceOfRevolution with default values. + Standard_EXPORT PGeom_SurfaceOfRevolution(); + + //! Creates a SurfaceOfRevolution with these values. + Standard_EXPORT PGeom_SurfaceOfRevolution(const Handle(PGeom_Curve)& aBasisCurve, const gp_Dir& aDirection, const gp_Pnt& aLocation); + + //! Set the value of the field location with . + Standard_EXPORT void Location (const gp_Pnt& aLocation) ; + + //! Returns the value of the field location. + Standard_EXPORT gp_Pnt Location() const; + +PGeom_SurfaceOfRevolution(const Storage_stCONSTclCOM& a) : PGeom_SweptSurface(a) +{ + +} + const gp_Pnt& _CSFDB_GetPGeom_SurfaceOfRevolutionlocation() const { return location; } + + + + DEFINE_STANDARD_RTTI(PGeom_SurfaceOfRevolution) + +protected: + + + + +private: + + + gp_Pnt location; + + +}; + + + + + + + +#endif // _PGeom_SurfaceOfRevolution_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom_SurfaceOfRevolution.ixx b/src/FromOCCT/TKPShape/PGeom_SurfaceOfRevolution.ixx new file mode 100644 index 000000000..afebb6793 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_SurfaceOfRevolution.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom_SurfaceOfRevolution,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom_SurfaceOfRevolution) + + + diff --git a/src/FromOCCT/TKPShape/PGeom_SurfaceOfRevolution.jxx b/src/FromOCCT/TKPShape/PGeom_SurfaceOfRevolution.jxx new file mode 100644 index 000000000..eb36b856f --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_SurfaceOfRevolution.jxx @@ -0,0 +1,4 @@ +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPShape/PGeom_SweptSurface.cxx b/src/FromOCCT/TKPShape/PGeom_SweptSurface.cxx new file mode 100644 index 000000000..4e7f502aa --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_SweptSurface.cxx @@ -0,0 +1,75 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PGeom_SweptSurface.hxx b/src/FromOCCT/TKPShape/PGeom_SweptSurface.hxx new file mode 100644 index 000000000..908574acc --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_SweptSurface.hxx @@ -0,0 +1,77 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom_SweptSurface_HeaderFile +#define _PGeom_SweptSurface_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class PGeom_Curve; +class gp_Dir; + + +class PGeom_SweptSurface : public PGeom_Surface +{ + +public: + + + //! Set the value of the field basisCurve with . + Standard_EXPORT void BasisCurve (const Handle(PGeom_Curve)& aBasisCurve) ; + + //! Returns the value of the field basisCurve. + Standard_EXPORT Handle(PGeom_Curve) BasisCurve() const; + + //! Set the value of the field direction with . + Standard_EXPORT void Direction (const gp_Dir& aDirection) ; + + //! Returns the value of the field direction. + Standard_EXPORT gp_Dir Direction() const; + +PGeom_SweptSurface(const Storage_stCONSTclCOM& a) : PGeom_Surface(a) +{ + +} + Handle(PGeom_Curve) _CSFDB_GetPGeom_SweptSurfacebasisCurve() const { return basisCurve; } + void _CSFDB_SetPGeom_SweptSurfacebasisCurve(const Handle(PGeom_Curve)& p) { basisCurve = p; } + const gp_Dir& _CSFDB_GetPGeom_SweptSurfacedirection() const { return direction; } + + + + DEFINE_STANDARD_RTTI(PGeom_SweptSurface) + +protected: + + + //! Initializes the field(s) with default value(s). + Standard_EXPORT PGeom_SweptSurface(); + + //! Initialize the fields with these values. + Standard_EXPORT PGeom_SweptSurface(const Handle(PGeom_Curve)& aBasisCurve, const gp_Dir& aDirection); + + Handle(PGeom_Curve) basisCurve; + gp_Dir direction; + + +private: + + + + +}; + + + + + + + +#endif // _PGeom_SweptSurface_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom_SweptSurface.ixx b/src/FromOCCT/TKPShape/PGeom_SweptSurface.ixx new file mode 100644 index 000000000..11b2187c5 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_SweptSurface.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom_SweptSurface,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom_SweptSurface) + + + diff --git a/src/FromOCCT/TKPShape/PGeom_SweptSurface.jxx b/src/FromOCCT/TKPShape/PGeom_SweptSurface.jxx new file mode 100644 index 000000000..e34dba0c6 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_SweptSurface.jxx @@ -0,0 +1,3 @@ +#include +#include +#include diff --git a/src/FromOCCT/TKPShape/PGeom_ToroidalSurface.cxx b/src/FromOCCT/TKPShape/PGeom_ToroidalSurface.cxx new file mode 100644 index 000000000..a473a9d3f --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_ToroidalSurface.cxx @@ -0,0 +1,76 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PGeom_ToroidalSurface.hxx b/src/FromOCCT/TKPShape/PGeom_ToroidalSurface.hxx new file mode 100644 index 000000000..4c9d8cae4 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_ToroidalSurface.hxx @@ -0,0 +1,76 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom_ToroidalSurface_HeaderFile +#define _PGeom_ToroidalSurface_HeaderFile + +#include +#include +#include +#include + +#include +#include +class gp_Ax3; + + +class PGeom_ToroidalSurface : public PGeom_ElementarySurface +{ + +public: + + + //! Creates a ToroidalSurface with default values. + Standard_EXPORT PGeom_ToroidalSurface(); + + //! Creates a ToroidalSurface with these values. + Standard_EXPORT PGeom_ToroidalSurface(const gp_Ax3& aPosition, const Standard_Real aMajorRadius, const Standard_Real aMinorRadius); + + //! Set the field majorRadius with . + Standard_EXPORT void MajorRadius (const Standard_Real aMajorRadius) ; + + //! Returns the value of the field majorRadius. + Standard_EXPORT Standard_Real MajorRadius() const; + + //! Set the field minorRadius with . + Standard_EXPORT void MinorRadius (const Standard_Real aMinorRadius) ; + + //! Returns the value of the field minorRadius. + Standard_EXPORT Standard_Real MinorRadius() const; + +PGeom_ToroidalSurface(const Storage_stCONSTclCOM& a) : PGeom_ElementarySurface(a) +{ + +} + Standard_Real _CSFDB_GetPGeom_ToroidalSurfacemajorRadius() const { return majorRadius; } + void _CSFDB_SetPGeom_ToroidalSurfacemajorRadius(const Standard_Real p) { majorRadius = p; } + Standard_Real _CSFDB_GetPGeom_ToroidalSurfaceminorRadius() const { return minorRadius; } + void _CSFDB_SetPGeom_ToroidalSurfaceminorRadius(const Standard_Real p) { minorRadius = p; } + + + + DEFINE_STANDARD_RTTI(PGeom_ToroidalSurface) + +protected: + + + + +private: + + + Standard_Real majorRadius; + Standard_Real minorRadius; + + +}; + + + + + + + +#endif // _PGeom_ToroidalSurface_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom_ToroidalSurface.ixx b/src/FromOCCT/TKPShape/PGeom_ToroidalSurface.ixx new file mode 100644 index 000000000..d7732b52c --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_ToroidalSurface.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom_ToroidalSurface,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom_ToroidalSurface) + + + diff --git a/src/FromOCCT/TKPShape/PGeom_ToroidalSurface.jxx b/src/FromOCCT/TKPShape/PGeom_ToroidalSurface.jxx new file mode 100644 index 000000000..241e1b2dc --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_ToroidalSurface.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPShape/PGeom_Transformation.cxx b/src/FromOCCT/TKPShape/PGeom_Transformation.cxx new file mode 100644 index 000000000..4ca919774 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Transformation.cxx @@ -0,0 +1,53 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PGeom_Transformation.hxx b/src/FromOCCT/TKPShape/PGeom_Transformation.hxx new file mode 100644 index 000000000..f8fabb314 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Transformation.hxx @@ -0,0 +1,66 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom_Transformation_HeaderFile +#define _PGeom_Transformation_HeaderFile + +#include +#include +#include +#include + +#include +#include +class gp_Trsf; + + +class PGeom_Transformation : public Standard_Persistent +{ + +public: + + + //! Creates a transformation with default values. + Standard_EXPORT PGeom_Transformation(); + + //! Creates a transformation with . + Standard_EXPORT PGeom_Transformation(const gp_Trsf& aTrsf); + + //! Set the field trsf with . + Standard_EXPORT void Trsf (const gp_Trsf& aTrsf) ; + + //! Returns the value of the field trsf. + Standard_EXPORT gp_Trsf Trsf() const; + +PGeom_Transformation(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + const gp_Trsf& _CSFDB_GetPGeom_Transformationtrsf() const { return trsf; } + + + + DEFINE_STANDARD_RTTI(PGeom_Transformation) + +protected: + + + + +private: + + + gp_Trsf trsf; + + +}; + + + + + + + +#endif // _PGeom_Transformation_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom_Transformation.ixx b/src/FromOCCT/TKPShape/PGeom_Transformation.ixx new file mode 100644 index 000000000..d7ca36c4a --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Transformation.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom_Transformation,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom_Transformation) + + + diff --git a/src/FromOCCT/TKPShape/PGeom_Transformation.jxx b/src/FromOCCT/TKPShape/PGeom_Transformation.jxx new file mode 100644 index 000000000..44319d72c --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Transformation.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPShape/PGeom_TrimmedCurve.cxx b/src/FromOCCT/TKPShape/PGeom_TrimmedCurve.cxx new file mode 100644 index 000000000..f707e7596 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_TrimmedCurve.cxx @@ -0,0 +1,94 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PGeom_TrimmedCurve.hxx b/src/FromOCCT/TKPShape/PGeom_TrimmedCurve.hxx new file mode 100644 index 000000000..9e9b9d4df --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_TrimmedCurve.hxx @@ -0,0 +1,88 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom_TrimmedCurve_HeaderFile +#define _PGeom_TrimmedCurve_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class PGeom_Curve; + + +class PGeom_TrimmedCurve : public PGeom_BoundedCurve +{ + +public: + + + //! Creates a TrimmedCurve with default values. + Standard_EXPORT PGeom_TrimmedCurve(); + + //! Creates a TrimmedCurve with these field values. + Standard_EXPORT PGeom_TrimmedCurve(const Handle(PGeom_Curve)& aBasisCurve, const Standard_Real aFirstU, const Standard_Real aLastU); + + //! Set the value of the field firstU with . + Standard_EXPORT void FirstU (const Standard_Real aFirstU) ; + + //! Returns the value of the field firstU. + Standard_EXPORT Standard_Real FirstU() const; + + //! Set the value of the field lastU with . + Standard_EXPORT void LastU (const Standard_Real aLastU) ; + + //! Returns the value of the field lastU. + Standard_EXPORT Standard_Real LastU() const; + + //! Set the value of the field basisCurve with . + //! This curve can be a trimmed curve. + Standard_EXPORT void BasisCurve (const Handle(PGeom_Curve)& aBasisCurve) ; + + //! Returns the value of the field basisCurve. + //! This curve can be a trimmed curve. + Standard_EXPORT Handle(PGeom_Curve) BasisCurve() const; + +PGeom_TrimmedCurve(const Storage_stCONSTclCOM& a) : PGeom_BoundedCurve(a) +{ + +} + Handle(PGeom_Curve) _CSFDB_GetPGeom_TrimmedCurvebasisCurve() const { return basisCurve; } + void _CSFDB_SetPGeom_TrimmedCurvebasisCurve(const Handle(PGeom_Curve)& p) { basisCurve = p; } + Standard_Real _CSFDB_GetPGeom_TrimmedCurvefirstU() const { return firstU; } + void _CSFDB_SetPGeom_TrimmedCurvefirstU(const Standard_Real p) { firstU = p; } + Standard_Real _CSFDB_GetPGeom_TrimmedCurvelastU() const { return lastU; } + void _CSFDB_SetPGeom_TrimmedCurvelastU(const Standard_Real p) { lastU = p; } + + + + DEFINE_STANDARD_RTTI(PGeom_TrimmedCurve) + +protected: + + + + +private: + + + Handle(PGeom_Curve) basisCurve; + Standard_Real firstU; + Standard_Real lastU; + + +}; + + + + + + + +#endif // _PGeom_TrimmedCurve_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom_TrimmedCurve.ixx b/src/FromOCCT/TKPShape/PGeom_TrimmedCurve.ixx new file mode 100644 index 000000000..65ddcc647 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_TrimmedCurve.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom_TrimmedCurve,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom_TrimmedCurve) + + + diff --git a/src/FromOCCT/TKPShape/PGeom_TrimmedCurve.jxx b/src/FromOCCT/TKPShape/PGeom_TrimmedCurve.jxx new file mode 100644 index 000000000..57e43f550 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_TrimmedCurve.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPShape/PGeom_Vector.cxx b/src/FromOCCT/TKPShape/PGeom_Vector.cxx new file mode 100644 index 000000000..ee3d6f7a2 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Vector.cxx @@ -0,0 +1,53 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PGeom_Vector.hxx b/src/FromOCCT/TKPShape/PGeom_Vector.hxx new file mode 100644 index 000000000..d84da6139 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Vector.hxx @@ -0,0 +1,66 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom_Vector_HeaderFile +#define _PGeom_Vector_HeaderFile + +#include +#include +#include +#include + +#include +#include +class gp_Vec; + + +class PGeom_Vector : public PGeom_Geometry +{ + +public: + + + //! Set the field vec. + Standard_EXPORT void Vec (const gp_Vec& aVec) ; + + //! Returns the value of the field vec. + Standard_EXPORT gp_Vec Vec() const; + +PGeom_Vector(const Storage_stCONSTclCOM& a) : PGeom_Geometry(a) +{ + +} + const gp_Vec& _CSFDB_GetPGeom_Vectorvec() const { return vec; } + + + + DEFINE_STANDARD_RTTI(PGeom_Vector) + +protected: + + + //! Initializes the field(s) with default value(s). + Standard_EXPORT PGeom_Vector(); + + //! Initializes the field vec with . + Standard_EXPORT PGeom_Vector(const gp_Vec& aVec); + + gp_Vec vec; + + +private: + + + + +}; + + + + + + + +#endif // _PGeom_Vector_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom_Vector.ixx b/src/FromOCCT/TKPShape/PGeom_Vector.ixx new file mode 100644 index 000000000..4ab95b890 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Vector.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom_Vector,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom_Vector) + + + diff --git a/src/FromOCCT/TKPShape/PGeom_Vector.jxx b/src/FromOCCT/TKPShape/PGeom_Vector.jxx new file mode 100644 index 000000000..773103bb7 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_Vector.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPShape/PGeom_VectorWithMagnitude.cxx b/src/FromOCCT/TKPShape/PGeom_VectorWithMagnitude.cxx new file mode 100644 index 000000000..e63796f33 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_VectorWithMagnitude.cxx @@ -0,0 +1,35 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PGeom_VectorWithMagnitude.hxx b/src/FromOCCT/TKPShape/PGeom_VectorWithMagnitude.hxx new file mode 100644 index 000000000..0117498a0 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_VectorWithMagnitude.hxx @@ -0,0 +1,57 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PGeom_VectorWithMagnitude_HeaderFile +#define _PGeom_VectorWithMagnitude_HeaderFile + +#include +#include +#include +#include + +#include +class gp_Vec; + + +class PGeom_VectorWithMagnitude : public PGeom_Vector +{ + +public: + + + //! Creates a VectorWithMagnitude with default values. + Standard_EXPORT PGeom_VectorWithMagnitude(); + + //! Creates a VectorWithMagnitude with . + Standard_EXPORT PGeom_VectorWithMagnitude(const gp_Vec& aVec); + +PGeom_VectorWithMagnitude(const Storage_stCONSTclCOM& a) : PGeom_Vector(a) +{ + +} + + + + DEFINE_STANDARD_RTTI(PGeom_VectorWithMagnitude) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PGeom_VectorWithMagnitude_HeaderFile diff --git a/src/FromOCCT/TKPShape/PGeom_VectorWithMagnitude.ixx b/src/FromOCCT/TKPShape/PGeom_VectorWithMagnitude.ixx new file mode 100644 index 000000000..a49abb14b --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_VectorWithMagnitude.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PGeom_VectorWithMagnitude,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PGeom_VectorWithMagnitude) + + + diff --git a/src/FromOCCT/TKPShape/PGeom_VectorWithMagnitude.jxx b/src/FromOCCT/TKPShape/PGeom_VectorWithMagnitude.jxx new file mode 100644 index 000000000..b2e862047 --- /dev/null +++ b/src/FromOCCT/TKPShape/PGeom_VectorWithMagnitude.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPShape/PPoly_FieldOfHArray1OfTriangle.hxx b/src/FromOCCT/TKPShape/PPoly_FieldOfHArray1OfTriangle.hxx new file mode 100644 index 000000000..125e58e27 --- /dev/null +++ b/src/FromOCCT/TKPShape/PPoly_FieldOfHArray1OfTriangle.hxx @@ -0,0 +1,90 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PPoly_FieldOfHArray1OfTriangle_HeaderFile +#define _PPoly_FieldOfHArray1OfTriangle_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class Standard_NegativeValue; +class Standard_OutOfRange; +class Standard_DimensionMismatch; +class Standard_NullObject; +class PPoly_Triangle; +class PPoly_VArrayNodeOfFieldOfHArray1OfTriangle; +class PPoly_VArrayTNodeOfFieldOfHArray1OfTriangle; + + + +Standard_EXPORT const Handle(Standard_Type)& STANDARD_TYPE(PPoly_FieldOfHArray1OfTriangle); + + +class PPoly_FieldOfHArray1OfTriangle : public DBC_BaseArray +{ + +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT PPoly_FieldOfHArray1OfTriangle(); + + Standard_EXPORT PPoly_FieldOfHArray1OfTriangle(const Standard_Integer Size); + + Standard_EXPORT PPoly_FieldOfHArray1OfTriangle(const PPoly_FieldOfHArray1OfTriangle& Varray); + + Standard_EXPORT void Resize (const Standard_Integer Size) ; + + Standard_EXPORT void Assign (const PPoly_FieldOfHArray1OfTriangle& Other) ; + void operator = (const PPoly_FieldOfHArray1OfTriangle& Other) +{ + Assign(Other); +} + + Standard_EXPORT void SetValue (const Standard_Integer Index, const PPoly_Triangle& Value) ; + + Standard_EXPORT PPoly_Triangle& Value (const Standard_Integer Index) const; + PPoly_Triangle& operator () (const Standard_Integer Index) const +{ + return Value(Index); +} + + Standard_EXPORT void Destroy() ; +~PPoly_FieldOfHArray1OfTriangle() +{ + Destroy(); +} + + + +protected: + + + + +private: + +#ifdef CSFDB +// DBC_VArray : field +// +#endif + + + +}; + + + + + + + +#endif // _PPoly_FieldOfHArray1OfTriangle_HeaderFile diff --git a/src/FromOCCT/TKPShape/PPoly_FieldOfHArray1OfTriangle_0.cxx b/src/FromOCCT/TKPShape/PPoly_FieldOfHArray1OfTriangle_0.cxx new file mode 100644 index 000000000..d39530f27 --- /dev/null +++ b/src/FromOCCT/TKPShape/PPoly_FieldOfHArray1OfTriangle_0.cxx @@ -0,0 +1,27 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include +#include + +#define Item PPoly_Triangle +#define Item_hxx +#define DBC_VArrayNode PPoly_VArrayNodeOfFieldOfHArray1OfTriangle +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PPoly_VArrayTNodeOfFieldOfHArray1OfTriangle +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PPoly_VArrayNodeOfFieldOfHArray1OfTriangle +#define DBC_VArrayNode_Type_() PPoly_VArrayNodeOfFieldOfHArray1OfTriangle_Type_() +#define DBC_VArray PPoly_FieldOfHArray1OfTriangle +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PPoly_HArray1OfTriangle.hxx b/src/FromOCCT/TKPShape/PPoly_HArray1OfTriangle.hxx new file mode 100644 index 000000000..642e9eaba --- /dev/null +++ b/src/FromOCCT/TKPShape/PPoly_HArray1OfTriangle.hxx @@ -0,0 +1,132 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PPoly_HArray1OfTriangle_HeaderFile +#define _PPoly_HArray1OfTriangle_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class Standard_OutOfRange; +class Standard_RangeError; +class PPoly_Triangle; +class PPoly_FieldOfHArray1OfTriangle; +class PPoly_VArrayNodeOfFieldOfHArray1OfTriangle; +class PPoly_VArrayTNodeOfFieldOfHArray1OfTriangle; + + +class PPoly_HArray1OfTriangle : public Standard_Persistent +{ + +public: + + + Standard_EXPORT PPoly_HArray1OfTriangle(const Standard_Integer Low, const Standard_Integer Up); + + Standard_EXPORT PPoly_HArray1OfTriangle(const Standard_Integer Low, const Standard_Integer Up, const PPoly_Triangle& V); + + Standard_Integer Length() const; + + Standard_Integer Lower() const; + + Standard_EXPORT void SetValue (const Standard_Integer Index, const PPoly_Triangle& Value) ; + + Standard_Integer Upper() const; + + Standard_EXPORT PPoly_Triangle Value (const Standard_Integer Index) const; + +PPoly_HArray1OfTriangle( ) +{ + +} +PPoly_HArray1OfTriangle(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Standard_Integer _CSFDB_GetPPoly_HArray1OfTriangleLowerBound() const { return LowerBound; } + void _CSFDB_SetPPoly_HArray1OfTriangleLowerBound(const Standard_Integer p) { LowerBound = p; } + Standard_Integer _CSFDB_GetPPoly_HArray1OfTriangleUpperBound() const { return UpperBound; } + void _CSFDB_SetPPoly_HArray1OfTriangleUpperBound(const Standard_Integer p) { UpperBound = p; } + const PPoly_FieldOfHArray1OfTriangle& _CSFDB_GetPPoly_HArray1OfTriangleData() const { return Data; } + + + + DEFINE_STANDARD_RTTI(PPoly_HArray1OfTriangle) + +protected: + + + + +private: + + + Standard_EXPORT PPoly_FieldOfHArray1OfTriangle Field() const; + + Standard_EXPORT Standard_Address Datas() const; + + Standard_Integer LowerBound; + Standard_Integer UpperBound; + PPoly_FieldOfHArray1OfTriangle Data; + + +}; + +#define Item PPoly_Triangle +#define Item_hxx +#define PCollection_FieldOfHArray1 PPoly_FieldOfHArray1OfTriangle +#define PCollection_FieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PPoly_VArrayNodeOfFieldOfHArray1OfTriangle +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PPoly_VArrayTNodeOfFieldOfHArray1OfTriangle +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PPoly_VArrayNodeOfFieldOfHArray1OfTriangle +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PPoly_VArrayTNodeOfFieldOfHArray1OfTriangle +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PPoly_VArrayNodeOfFieldOfHArray1OfTriangle +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PPoly_VArrayNodeOfFieldOfHArray1OfTriangle_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PPoly_VArrayNodeOfFieldOfHArray1OfTriangle +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PPoly_VArrayNodeOfFieldOfHArray1OfTriangle_Type_() +#define PCollection_HArray1 PPoly_HArray1OfTriangle +#define PCollection_HArray1_hxx +#define Handle_PCollection_HArray1 Handle_PPoly_HArray1OfTriangle +#define PCollection_HArray1_Type_() PPoly_HArray1OfTriangle_Type_() + +#include + +#undef Item +#undef Item_hxx +#undef PCollection_FieldOfHArray1 +#undef PCollection_FieldOfHArray1_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray1 +#undef PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray1 +#undef PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_Type_ +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_Type_ +#undef PCollection_HArray1 +#undef PCollection_HArray1_hxx +#undef Handle_PCollection_HArray1 +#undef PCollection_HArray1_Type_ + + + + +#endif // _PPoly_HArray1OfTriangle_HeaderFile diff --git a/src/FromOCCT/TKPShape/PPoly_HArray1OfTriangle_0.cxx b/src/FromOCCT/TKPShape/PPoly_HArray1OfTriangle_0.cxx new file mode 100644 index 000000000..fa33381df --- /dev/null +++ b/src/FromOCCT/TKPShape/PPoly_HArray1OfTriangle_0.cxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PPoly_HArray1OfTriangle,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PPoly_HArray1OfTriangle) + + +#define Item PPoly_Triangle +#define Item_hxx +#define PCollection_FieldOfHArray1 PPoly_FieldOfHArray1OfTriangle +#define PCollection_FieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PPoly_VArrayNodeOfFieldOfHArray1OfTriangle +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PPoly_VArrayTNodeOfFieldOfHArray1OfTriangle +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PPoly_VArrayNodeOfFieldOfHArray1OfTriangle +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PPoly_VArrayTNodeOfFieldOfHArray1OfTriangle +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PPoly_VArrayNodeOfFieldOfHArray1OfTriangle +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PPoly_VArrayNodeOfFieldOfHArray1OfTriangle_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PPoly_VArrayNodeOfFieldOfHArray1OfTriangle +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PPoly_VArrayNodeOfFieldOfHArray1OfTriangle_Type_() +#define PCollection_HArray1 PPoly_HArray1OfTriangle +#define PCollection_HArray1_hxx +#define Handle_PCollection_HArray1 Handle_PPoly_HArray1OfTriangle +#define PCollection_HArray1_Type_() PPoly_HArray1OfTriangle_Type_() +#include + diff --git a/src/FromOCCT/TKPShape/PPoly_Polygon2D.cxx b/src/FromOCCT/TKPShape/PPoly_Polygon2D.cxx new file mode 100644 index 000000000..f612c929e --- /dev/null +++ b/src/FromOCCT/TKPShape/PPoly_Polygon2D.cxx @@ -0,0 +1,48 @@ +// 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::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/FromOCCT/TKPShape/PPoly_Polygon2D.hxx b/src/FromOCCT/TKPShape/PPoly_Polygon2D.hxx new file mode 100644 index 000000000..e27b8ba0c --- /dev/null +++ b/src/FromOCCT/TKPShape/PPoly_Polygon2D.hxx @@ -0,0 +1,77 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PPoly_Polygon2D_HeaderFile +#define _PPoly_Polygon2D_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +class PColgp_HArray1OfPnt2d; + + +class PPoly_Polygon2D : public Standard_Persistent +{ + +public: + + + //! Defaults with allocation of nodes. + Standard_EXPORT PPoly_Polygon2D(const Handle(PColgp_HArray1OfPnt2d)& Nodes, const Standard_Real Defl); + + Standard_EXPORT Standard_Real Deflection() const; + + Standard_EXPORT void Deflection (const Standard_Real Defl) ; + + Standard_EXPORT Standard_Integer NbNodes() const; + + Standard_EXPORT Handle(PColgp_HArray1OfPnt2d) Nodes() const; + + Standard_EXPORT void Nodes (const Handle(PColgp_HArray1OfPnt2d)& Nodes) ; + +PPoly_Polygon2D( ) +{ + +} +PPoly_Polygon2D(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Standard_Real _CSFDB_GetPPoly_Polygon2DmyDeflection() const { return myDeflection; } + void _CSFDB_SetPPoly_Polygon2DmyDeflection(const Standard_Real p) { myDeflection = p; } + Handle(PColgp_HArray1OfPnt2d) _CSFDB_GetPPoly_Polygon2DmyNodes() const { return myNodes; } + void _CSFDB_SetPPoly_Polygon2DmyNodes(const Handle(PColgp_HArray1OfPnt2d)& p) { myNodes = p; } + + + + DEFINE_STANDARD_RTTI(PPoly_Polygon2D) + +protected: + + + + +private: + + + Standard_Real myDeflection; + Handle(PColgp_HArray1OfPnt2d) myNodes; + + +}; + + + + + + + +#endif // _PPoly_Polygon2D_HeaderFile diff --git a/src/FromOCCT/TKPShape/PPoly_Polygon2D.ixx b/src/FromOCCT/TKPShape/PPoly_Polygon2D.ixx new file mode 100644 index 000000000..28bfac3b1 --- /dev/null +++ b/src/FromOCCT/TKPShape/PPoly_Polygon2D.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PPoly_Polygon2D,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PPoly_Polygon2D) + + + diff --git a/src/FromOCCT/TKPShape/PPoly_Polygon2D.jxx b/src/FromOCCT/TKPShape/PPoly_Polygon2D.jxx new file mode 100644 index 000000000..d1e605874 --- /dev/null +++ b/src/FromOCCT/TKPShape/PPoly_Polygon2D.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKPShape/PPoly_Polygon3D.cxx b/src/FromOCCT/TKPShape/PPoly_Polygon3D.cxx new file mode 100644 index 000000000..b825b3e6a --- /dev/null +++ b/src/FromOCCT/TKPShape/PPoly_Polygon3D.cxx @@ -0,0 +1,131 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PPoly_Polygon3D.hxx b/src/FromOCCT/TKPShape/PPoly_Polygon3D.hxx new file mode 100644 index 000000000..3c593eb3f --- /dev/null +++ b/src/FromOCCT/TKPShape/PPoly_Polygon3D.hxx @@ -0,0 +1,94 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PPoly_Polygon3D_HeaderFile +#define _PPoly_Polygon3D_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class PColgp_HArray1OfPnt; +class PColStd_HArray1OfReal; + + +class PPoly_Polygon3D : public Standard_Persistent +{ + +public: + + + //! Defaults with allocation of nodes. + Standard_EXPORT PPoly_Polygon3D(const Handle(PColgp_HArray1OfPnt)& Nodes, const Standard_Real Defl); + + //! Defaults with allocation of nodes + Parameters + Standard_EXPORT PPoly_Polygon3D(const Handle(PColgp_HArray1OfPnt)& Nodes, const Handle(PColStd_HArray1OfReal)& Parameters, const Standard_Real Defl); + + Standard_EXPORT Standard_Real Deflection() const; + + Standard_EXPORT void Deflection (const Standard_Real Defl) ; + + Standard_EXPORT Standard_Integer NbNodes() const; + + Standard_EXPORT Handle(PColgp_HArray1OfPnt) Nodes() const; + + Standard_EXPORT void Nodes (const Handle(PColgp_HArray1OfPnt)& Nodes) ; + + Standard_EXPORT Standard_Boolean HasParameters() const; + + //! Sets the value of myParameters + Standard_EXPORT void Parameters (const Handle(PColStd_HArray1OfReal)& Parameters) ; + + //! Reference on the parameters values. + Standard_EXPORT Handle(PColStd_HArray1OfReal) Parameters() const; + +PPoly_Polygon3D( ) +{ + +} +PPoly_Polygon3D(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Standard_Real _CSFDB_GetPPoly_Polygon3DmyDeflection() const { return myDeflection; } + void _CSFDB_SetPPoly_Polygon3DmyDeflection(const Standard_Real p) { myDeflection = p; } + Handle(PColgp_HArray1OfPnt) _CSFDB_GetPPoly_Polygon3DmyNodes() const { return myNodes; } + void _CSFDB_SetPPoly_Polygon3DmyNodes(const Handle(PColgp_HArray1OfPnt)& p) { myNodes = p; } + Handle(PColStd_HArray1OfReal) _CSFDB_GetPPoly_Polygon3DmyParameters() const { return myParameters; } + void _CSFDB_SetPPoly_Polygon3DmyParameters(const Handle(PColStd_HArray1OfReal)& p) { myParameters = p; } + + + + DEFINE_STANDARD_RTTI(PPoly_Polygon3D) + +protected: + + + + +private: + + + Standard_Real myDeflection; + Handle(PColgp_HArray1OfPnt) myNodes; + Handle(PColStd_HArray1OfReal) myParameters; + + +}; + + + + + + + +#endif // _PPoly_Polygon3D_HeaderFile diff --git a/src/FromOCCT/TKPShape/PPoly_Polygon3D.ixx b/src/FromOCCT/TKPShape/PPoly_Polygon3D.ixx new file mode 100644 index 000000000..2ef126615 --- /dev/null +++ b/src/FromOCCT/TKPShape/PPoly_Polygon3D.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PPoly_Polygon3D,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PPoly_Polygon3D) + + + diff --git a/src/FromOCCT/TKPShape/PPoly_Polygon3D.jxx b/src/FromOCCT/TKPShape/PPoly_Polygon3D.jxx new file mode 100644 index 000000000..f23ecff72 --- /dev/null +++ b/src/FromOCCT/TKPShape/PPoly_Polygon3D.jxx @@ -0,0 +1,3 @@ +#include +#include +#include diff --git a/src/FromOCCT/TKPShape/PPoly_PolygonOnTriangulation.cxx b/src/FromOCCT/TKPShape/PPoly_PolygonOnTriangulation.cxx new file mode 100644 index 000000000..059b244a1 --- /dev/null +++ b/src/FromOCCT/TKPShape/PPoly_PolygonOnTriangulation.cxx @@ -0,0 +1,134 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PPoly_PolygonOnTriangulation.hxx b/src/FromOCCT/TKPShape/PPoly_PolygonOnTriangulation.hxx new file mode 100644 index 000000000..05e0cd2fa --- /dev/null +++ b/src/FromOCCT/TKPShape/PPoly_PolygonOnTriangulation.hxx @@ -0,0 +1,93 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PPoly_PolygonOnTriangulation_HeaderFile +#define _PPoly_PolygonOnTriangulation_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class PColStd_HArray1OfInteger; +class PColStd_HArray1OfReal; +class Standard_NullObject; + + +class PPoly_PolygonOnTriangulation : public Standard_Persistent +{ + +public: + + + Standard_EXPORT PPoly_PolygonOnTriangulation(); + + //! Defaults with allocation of nodes. + Standard_EXPORT PPoly_PolygonOnTriangulation(const Handle(PColStd_HArray1OfInteger)& Nodes, const Standard_Real Defl); + + //! Defaults with allocation of nodes. + Standard_EXPORT PPoly_PolygonOnTriangulation(const Handle(PColStd_HArray1OfInteger)& Nodes, const Standard_Real Defl, const Handle(PColStd_HArray1OfReal)& Parameters); + + Standard_EXPORT Standard_Real Deflection() const; + + Standard_EXPORT void Deflection (const Standard_Real D) ; + + Standard_EXPORT Standard_Integer NbNodes() const; + + //! Reference on the 3d nodes indices. + Standard_EXPORT Handle(PColStd_HArray1OfInteger) Nodes() const; + + Standard_EXPORT void Nodes (const Handle(PColStd_HArray1OfInteger)& Nodes) ; + + Standard_EXPORT Standard_Boolean HasParameters() const; + + //! Returns the parameters values. + Standard_EXPORT Handle(PColStd_HArray1OfReal) Parameters() const; + + Standard_EXPORT void Parameters (const Handle(PColStd_HArray1OfReal)& Param) ; + +PPoly_PolygonOnTriangulation(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Standard_Real _CSFDB_GetPPoly_PolygonOnTriangulationmyDeflection() const { return myDeflection; } + void _CSFDB_SetPPoly_PolygonOnTriangulationmyDeflection(const Standard_Real p) { myDeflection = p; } + Handle(PColStd_HArray1OfInteger) _CSFDB_GetPPoly_PolygonOnTriangulationmyNodes() const { return myNodes; } + void _CSFDB_SetPPoly_PolygonOnTriangulationmyNodes(const Handle(PColStd_HArray1OfInteger)& p) { myNodes = p; } + Handle(PColStd_HArray1OfReal) _CSFDB_GetPPoly_PolygonOnTriangulationmyParameters() const { return myParameters; } + void _CSFDB_SetPPoly_PolygonOnTriangulationmyParameters(const Handle(PColStd_HArray1OfReal)& p) { myParameters = p; } + + + + DEFINE_STANDARD_RTTI(PPoly_PolygonOnTriangulation) + +protected: + + + + +private: + + + Standard_Real myDeflection; + Handle(PColStd_HArray1OfInteger) myNodes; + Handle(PColStd_HArray1OfReal) myParameters; + + +}; + + + + + + + +#endif // _PPoly_PolygonOnTriangulation_HeaderFile diff --git a/src/FromOCCT/TKPShape/PPoly_PolygonOnTriangulation.ixx b/src/FromOCCT/TKPShape/PPoly_PolygonOnTriangulation.ixx new file mode 100644 index 000000000..067604217 --- /dev/null +++ b/src/FromOCCT/TKPShape/PPoly_PolygonOnTriangulation.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PPoly_PolygonOnTriangulation,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PPoly_PolygonOnTriangulation) + + + diff --git a/src/FromOCCT/TKPShape/PPoly_PolygonOnTriangulation.jxx b/src/FromOCCT/TKPShape/PPoly_PolygonOnTriangulation.jxx new file mode 100644 index 000000000..26c4c9e6b --- /dev/null +++ b/src/FromOCCT/TKPShape/PPoly_PolygonOnTriangulation.jxx @@ -0,0 +1,4 @@ +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPShape/PPoly_Triangle.cxx b/src/FromOCCT/TKPShape/PPoly_Triangle.cxx new file mode 100644 index 000000000..e5b1c6584 --- /dev/null +++ b/src/FromOCCT/TKPShape/PPoly_Triangle.cxx @@ -0,0 +1,58 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PPoly_Triangle.hxx b/src/FromOCCT/TKPShape/PPoly_Triangle.hxx new file mode 100644 index 000000000..d875d379a --- /dev/null +++ b/src/FromOCCT/TKPShape/PPoly_Triangle.hxx @@ -0,0 +1,60 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PPoly_Triangle_HeaderFile +#define _PPoly_Triangle_HeaderFile + +#include +#include +#include + +#include +#include + + +Standard_EXPORT const Handle(Standard_Type)& STANDARD_TYPE(PPoly_Triangle); + +//! A Triangle is a triplet of node indices. +class PPoly_Triangle +{ + +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT PPoly_Triangle(const Standard_Integer N1, const Standard_Integer N2, const Standard_Integer N3); + + Standard_EXPORT void Set (const Standard_Integer N1, const Standard_Integer N2, const Standard_Integer N3) ; + + Standard_EXPORT void Get (Standard_Integer& N1, Standard_Integer& N2, Standard_Integer& N3) const; +PPoly_Triangle( ) +{ + +} + Standard_Integer& _CSFDB_GetPPoly_TrianglemyNodes(const Standard_Integer i1) { return myNodes[i1]; } + + + +protected: + + + + +private: + + + Standard_Integer myNodes[3]; + + +}; + + + + + + + +#endif // _PPoly_Triangle_HeaderFile diff --git a/src/FromOCCT/TKPShape/PPoly_Triangle.ixx b/src/FromOCCT/TKPShape/PPoly_Triangle.ixx new file mode 100644 index 000000000..dc8629988 --- /dev/null +++ b/src/FromOCCT/TKPShape/PPoly_Triangle.ixx @@ -0,0 +1,7 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + diff --git a/src/FromOCCT/TKPShape/PPoly_Triangle.jxx b/src/FromOCCT/TKPShape/PPoly_Triangle.jxx new file mode 100644 index 000000000..0daf74481 --- /dev/null +++ b/src/FromOCCT/TKPShape/PPoly_Triangle.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKPShape/PPoly_Triangulation.cxx b/src/FromOCCT/TKPShape/PPoly_Triangulation.cxx new file mode 100644 index 000000000..4d1b11d98 --- /dev/null +++ b/src/FromOCCT/TKPShape/PPoly_Triangulation.cxx @@ -0,0 +1,137 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PPoly_Triangulation.hxx b/src/FromOCCT/TKPShape/PPoly_Triangulation.hxx new file mode 100644 index 000000000..01733f4d9 --- /dev/null +++ b/src/FromOCCT/TKPShape/PPoly_Triangulation.hxx @@ -0,0 +1,102 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PPoly_Triangulation_HeaderFile +#define _PPoly_Triangulation_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class PColgp_HArray1OfPnt; +class PColgp_HArray1OfPnt2d; +class PPoly_HArray1OfTriangle; + + +class PPoly_Triangulation : public Standard_Persistent +{ + +public: + + + //! Defaults with allocation of Nodes and Triangles. + Standard_EXPORT PPoly_Triangulation(const Standard_Real Defl, const Handle(PColgp_HArray1OfPnt)& Nodes, const Handle(PPoly_HArray1OfTriangle)& Triangles); + + //! Defaults with allocation of Nodes and Triangles. + Standard_EXPORT PPoly_Triangulation(const Standard_Real Defl, const Handle(PColgp_HArray1OfPnt)& Nodes, const Handle(PColgp_HArray1OfPnt2d)& UVNodes, const Handle(PPoly_HArray1OfTriangle)& Triangles); + + Standard_EXPORT Standard_Real Deflection() const; + + Standard_EXPORT void Deflection (const Standard_Real D) ; + + //! Null if the nodes are not yet defined. + Standard_EXPORT Standard_Integer NbNodes() const; + + //! Null if the Triangles are not yet defined. + Standard_EXPORT Standard_Integer NbTriangles() const; + + Standard_EXPORT Standard_Boolean HasUVNodes() const; + + //! Const reference on the 3d nodes values. + Standard_EXPORT Handle(PColgp_HArray1OfPnt) Nodes() const; + + //! Const reference on the 2d nodes values. + Standard_EXPORT Handle(PColgp_HArray1OfPnt2d) UVNodes() const; + + //! Const reference on the triangles. + Standard_EXPORT Handle(PPoly_HArray1OfTriangle) Triangles() const; + +PPoly_Triangulation( ) +{ + +} +PPoly_Triangulation(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Standard_Real _CSFDB_GetPPoly_TriangulationmyDeflection() const { return myDeflection; } + void _CSFDB_SetPPoly_TriangulationmyDeflection(const Standard_Real p) { myDeflection = p; } + Handle(PColgp_HArray1OfPnt) _CSFDB_GetPPoly_TriangulationmyNodes() const { return myNodes; } + void _CSFDB_SetPPoly_TriangulationmyNodes(const Handle(PColgp_HArray1OfPnt)& p) { myNodes = p; } + Handle(PColgp_HArray1OfPnt2d) _CSFDB_GetPPoly_TriangulationmyUVNodes() const { return myUVNodes; } + void _CSFDB_SetPPoly_TriangulationmyUVNodes(const Handle(PColgp_HArray1OfPnt2d)& p) { myUVNodes = p; } + Handle(PPoly_HArray1OfTriangle) _CSFDB_GetPPoly_TriangulationmyTriangles() const { return myTriangles; } + void _CSFDB_SetPPoly_TriangulationmyTriangles(const Handle(PPoly_HArray1OfTriangle)& p) { myTriangles = p; } + + + + DEFINE_STANDARD_RTTI(PPoly_Triangulation) + +protected: + + + + +private: + + + Standard_Real myDeflection; + Handle(PColgp_HArray1OfPnt) myNodes; + Handle(PColgp_HArray1OfPnt2d) myUVNodes; + Handle(PPoly_HArray1OfTriangle) myTriangles; + + +}; + + + + + + + +#endif // _PPoly_Triangulation_HeaderFile diff --git a/src/FromOCCT/TKPShape/PPoly_Triangulation.ixx b/src/FromOCCT/TKPShape/PPoly_Triangulation.ixx new file mode 100644 index 000000000..4b879305a --- /dev/null +++ b/src/FromOCCT/TKPShape/PPoly_Triangulation.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PPoly_Triangulation,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PPoly_Triangulation) + + + diff --git a/src/FromOCCT/TKPShape/PPoly_Triangulation.jxx b/src/FromOCCT/TKPShape/PPoly_Triangulation.jxx new file mode 100644 index 000000000..808e5707c --- /dev/null +++ b/src/FromOCCT/TKPShape/PPoly_Triangulation.jxx @@ -0,0 +1,4 @@ +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPShape/PPoly_VArrayNodeOfFieldOfHArray1OfTriangle.hxx b/src/FromOCCT/TKPShape/PPoly_VArrayNodeOfFieldOfHArray1OfTriangle.hxx new file mode 100644 index 000000000..29c3b2276 --- /dev/null +++ b/src/FromOCCT/TKPShape/PPoly_VArrayNodeOfFieldOfHArray1OfTriangle.hxx @@ -0,0 +1,65 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PPoly_VArrayNodeOfFieldOfHArray1OfTriangle_HeaderFile +#define _PPoly_VArrayNodeOfFieldOfHArray1OfTriangle_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class PPoly_Triangle; +class PPoly_FieldOfHArray1OfTriangle; +class PPoly_VArrayTNodeOfFieldOfHArray1OfTriangle; + + +class PPoly_VArrayNodeOfFieldOfHArray1OfTriangle : public PStandard_ArrayNode +{ + +public: + + + Standard_EXPORT PPoly_VArrayNodeOfFieldOfHArray1OfTriangle(); + + Standard_EXPORT PPoly_VArrayNodeOfFieldOfHArray1OfTriangle(const PPoly_Triangle& aValue); + + Standard_EXPORT void SetValue (const PPoly_Triangle& aValue) ; + + Standard_EXPORT Standard_Address Value() const; + +PPoly_VArrayNodeOfFieldOfHArray1OfTriangle(const Storage_stCONSTclCOM& a) : PStandard_ArrayNode(a) +{ + +} + const PPoly_Triangle& _CSFDB_GetPPoly_VArrayNodeOfFieldOfHArray1OfTrianglemyValue() const { return myValue; } + + + + DEFINE_STANDARD_RTTI(PPoly_VArrayNodeOfFieldOfHArray1OfTriangle) + +protected: + + + + +private: + + + PPoly_Triangle myValue; + + +}; + + + + + + + +#endif // _PPoly_VArrayNodeOfFieldOfHArray1OfTriangle_HeaderFile diff --git a/src/FromOCCT/TKPShape/PPoly_VArrayNodeOfFieldOfHArray1OfTriangle_0.cxx b/src/FromOCCT/TKPShape/PPoly_VArrayNodeOfFieldOfHArray1OfTriangle_0.cxx new file mode 100644 index 000000000..a37bb3479 --- /dev/null +++ b/src/FromOCCT/TKPShape/PPoly_VArrayNodeOfFieldOfHArray1OfTriangle_0.cxx @@ -0,0 +1,30 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PPoly_VArrayNodeOfFieldOfHArray1OfTriangle,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PPoly_VArrayNodeOfFieldOfHArray1OfTriangle) + + +#define Item PPoly_Triangle +#define Item_hxx +#define DBC_VArrayNode PPoly_VArrayNodeOfFieldOfHArray1OfTriangle +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PPoly_VArrayTNodeOfFieldOfHArray1OfTriangle +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PPoly_VArrayNodeOfFieldOfHArray1OfTriangle +#define DBC_VArrayNode_Type_() PPoly_VArrayNodeOfFieldOfHArray1OfTriangle_Type_() +#define DBC_VArray PPoly_FieldOfHArray1OfTriangle +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PPoly_VArrayTNodeOfFieldOfHArray1OfTriangle.hxx b/src/FromOCCT/TKPShape/PPoly_VArrayTNodeOfFieldOfHArray1OfTriangle.hxx new file mode 100644 index 000000000..e3065b4f0 --- /dev/null +++ b/src/FromOCCT/TKPShape/PPoly_VArrayTNodeOfFieldOfHArray1OfTriangle.hxx @@ -0,0 +1,82 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PPoly_VArrayTNodeOfFieldOfHArray1OfTriangle_HeaderFile +#define _PPoly_VArrayTNodeOfFieldOfHArray1OfTriangle_HeaderFile + +#include +#include +#include + +#include +#include +#include +class PPoly_Triangle; +class PPoly_FieldOfHArray1OfTriangle; +class PPoly_VArrayNodeOfFieldOfHArray1OfTriangle; + + + +class PPoly_VArrayTNodeOfFieldOfHArray1OfTriangle +{ +public: + + DEFINE_STANDARD_ALLOC + + + PPoly_VArrayTNodeOfFieldOfHArray1OfTriangle(); + + PPoly_VArrayTNodeOfFieldOfHArray1OfTriangle(const PPoly_Triangle& aValue); + + void SetValue (const PPoly_Triangle& aValue) ; + + Standard_Address Value() const; + + + + +protected: + + + + + +private: + + + + PPoly_Triangle myValue; + + +}; + +#define Item PPoly_Triangle +#define Item_hxx +#define DBC_VArrayNode PPoly_VArrayNodeOfFieldOfHArray1OfTriangle +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PPoly_VArrayTNodeOfFieldOfHArray1OfTriangle +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PPoly_VArrayNodeOfFieldOfHArray1OfTriangle +#define DBC_VArrayNode_Type_() PPoly_VArrayNodeOfFieldOfHArray1OfTriangle_Type_() +#define DBC_VArray PPoly_FieldOfHArray1OfTriangle +#define DBC_VArray_hxx + +#include + +#undef Item +#undef Item_hxx +#undef DBC_VArrayNode +#undef DBC_VArrayNode_hxx +#undef DBC_VArrayTNode +#undef DBC_VArrayTNode_hxx +#undef Handle_DBC_VArrayNode +#undef DBC_VArrayNode_Type_ +#undef DBC_VArray +#undef DBC_VArray_hxx + + + + +#endif // _PPoly_VArrayTNodeOfFieldOfHArray1OfTriangle_HeaderFile diff --git a/src/FromOCCT/TKPShape/PPoly_VArrayTNodeOfFieldOfHArray1OfTriangle_0.cxx b/src/FromOCCT/TKPShape/PPoly_VArrayTNodeOfFieldOfHArray1OfTriangle_0.cxx new file mode 100644 index 000000000..83624a6d9 --- /dev/null +++ b/src/FromOCCT/TKPShape/PPoly_VArrayTNodeOfFieldOfHArray1OfTriangle_0.cxx @@ -0,0 +1,24 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + +#define Item PPoly_Triangle +#define Item_hxx +#define DBC_VArrayNode PPoly_VArrayNodeOfFieldOfHArray1OfTriangle +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PPoly_VArrayTNodeOfFieldOfHArray1OfTriangle +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PPoly_VArrayNodeOfFieldOfHArray1OfTriangle +#define DBC_VArrayNode_Type_() PPoly_VArrayNodeOfFieldOfHArray1OfTriangle_Type_() +#define DBC_VArray PPoly_FieldOfHArray1OfTriangle +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PTopLoc_Datum3D.cxx b/src/FromOCCT/TKPShape/PTopLoc_Datum3D.cxx new file mode 100644 index 000000000..11da67216 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopLoc_Datum3D.cxx @@ -0,0 +1,47 @@ +// 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 +#include + +//======================================================================= +//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/FromOCCT/TKPShape/PTopLoc_Datum3D.hxx b/src/FromOCCT/TKPShape/PTopLoc_Datum3D.hxx new file mode 100644 index 000000000..940d2fae6 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopLoc_Datum3D.hxx @@ -0,0 +1,68 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PTopLoc_Datum3D_HeaderFile +#define _PTopLoc_Datum3D_HeaderFile + +#include +#include +#include +#include + +#include +#include +class Standard_ConstructionError; +class gp_Trsf; + + +class PTopLoc_Datum3D : public Standard_Persistent +{ + +public: + + + //! Creates a local coordinate system with the + //! transformation. An error is raised if the + //! transformation is not rigid. + Standard_EXPORT PTopLoc_Datum3D(const gp_Trsf& T); + + //! Returns the transformation defining the coordinate + //! system. + Standard_EXPORT gp_Trsf Transformation() const; + +PTopLoc_Datum3D( ) +{ + +} +PTopLoc_Datum3D(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + const gp_Trsf& _CSFDB_GetPTopLoc_Datum3DmyTrsf() const { return myTrsf; } + + + + DEFINE_STANDARD_RTTI(PTopLoc_Datum3D) + +protected: + + + + +private: + + + gp_Trsf myTrsf; + + +}; + + + + + + + +#endif // _PTopLoc_Datum3D_HeaderFile diff --git a/src/FromOCCT/TKPShape/PTopLoc_Datum3D.ixx b/src/FromOCCT/TKPShape/PTopLoc_Datum3D.ixx new file mode 100644 index 000000000..07f6e5c6f --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopLoc_Datum3D.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PTopLoc_Datum3D,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PTopLoc_Datum3D) + + + diff --git a/src/FromOCCT/TKPShape/PTopLoc_Datum3D.jxx b/src/FromOCCT/TKPShape/PTopLoc_Datum3D.jxx new file mode 100644 index 000000000..c35271748 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopLoc_Datum3D.jxx @@ -0,0 +1,3 @@ +#include +#include +#include diff --git a/src/FromOCCT/TKPShape/PTopLoc_ItemLocation.cxx b/src/FromOCCT/TKPShape/PTopLoc_ItemLocation.cxx new file mode 100644 index 000000000..46a61c12b --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopLoc_ItemLocation.cxx @@ -0,0 +1,66 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PTopLoc_ItemLocation.hxx b/src/FromOCCT/TKPShape/PTopLoc_ItemLocation.hxx new file mode 100644 index 000000000..51225bf20 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopLoc_ItemLocation.hxx @@ -0,0 +1,75 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PTopLoc_ItemLocation_HeaderFile +#define _PTopLoc_ItemLocation_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +class PTopLoc_Datum3D; +class PTopLoc_Location; + + +class PTopLoc_ItemLocation : public Standard_Persistent +{ + +public: + + + Standard_EXPORT PTopLoc_ItemLocation(const Handle(PTopLoc_Datum3D)& D, const Standard_Integer P, const PTopLoc_Location& N); + + Standard_EXPORT Handle(PTopLoc_Datum3D) Datum3D() const; + + Standard_EXPORT Standard_Integer Power() const; + + Standard_EXPORT PTopLoc_Location Next() const; + +PTopLoc_ItemLocation( ) +{ + +} +PTopLoc_ItemLocation(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Handle(PTopLoc_Datum3D) _CSFDB_GetPTopLoc_ItemLocationmyDatum() const { return myDatum; } + void _CSFDB_SetPTopLoc_ItemLocationmyDatum(const Handle(PTopLoc_Datum3D)& p) { myDatum = p; } + Standard_Integer _CSFDB_GetPTopLoc_ItemLocationmyPower() const { return myPower; } + void _CSFDB_SetPTopLoc_ItemLocationmyPower(const Standard_Integer p) { myPower = p; } + const PTopLoc_Location& _CSFDB_GetPTopLoc_ItemLocationmyNext() const { return myNext; } + + + + DEFINE_STANDARD_RTTI(PTopLoc_ItemLocation) + +protected: + + + + +private: + + + Handle(PTopLoc_Datum3D) myDatum; + Standard_Integer myPower; + PTopLoc_Location myNext; + + +}; + + + + + + + +#endif // _PTopLoc_ItemLocation_HeaderFile diff --git a/src/FromOCCT/TKPShape/PTopLoc_ItemLocation.ixx b/src/FromOCCT/TKPShape/PTopLoc_ItemLocation.ixx new file mode 100644 index 000000000..fd5f89dbb --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopLoc_ItemLocation.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PTopLoc_ItemLocation,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PTopLoc_ItemLocation) + + + diff --git a/src/FromOCCT/TKPShape/PTopLoc_ItemLocation.jxx b/src/FromOCCT/TKPShape/PTopLoc_ItemLocation.jxx new file mode 100644 index 000000000..2ce5b1af4 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopLoc_ItemLocation.jxx @@ -0,0 +1,3 @@ +#include +#include +#include diff --git a/src/FromOCCT/TKPShape/PTopLoc_Location.cxx b/src/FromOCCT/TKPShape/PTopLoc_Location.cxx new file mode 100644 index 000000000..71d96152d --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopLoc_Location.cxx @@ -0,0 +1,89 @@ +// 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 +#include + +//======================================================================= +//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/FromOCCT/TKPShape/PTopLoc_Location.hxx b/src/FromOCCT/TKPShape/PTopLoc_Location.hxx new file mode 100644 index 000000000..07aa4d8ba --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopLoc_Location.hxx @@ -0,0 +1,88 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PTopLoc_Location_HeaderFile +#define _PTopLoc_Location_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +class PTopLoc_ItemLocation; +class Standard_NoSuchObject; +class PTopLoc_Datum3D; + + +Standard_EXPORT const Handle(Standard_Type)& STANDARD_TYPE(PTopLoc_Location); + +//! 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. +class PTopLoc_Location +{ + +public: + + DEFINE_STANDARD_ALLOC + + + //! Creates an Identity Location. + Standard_EXPORT PTopLoc_Location(); + + //! Creates a location being the product. + //! N * D ^ P + Standard_EXPORT PTopLoc_Location(const Handle(PTopLoc_Datum3D)& D, const Standard_Integer P, const PTopLoc_Location& N); + + //! True when the location is an identity. + Standard_EXPORT Standard_Boolean IsIdentity() const; + + //! Returns the first Datum. An error is raised if the + //! location is an identity. + Standard_EXPORT Handle(PTopLoc_Datum3D) Datum3D() const; + + //! Returns the power elevation of the first datum. An + //! error is raised if the location is an identity. + Standard_EXPORT Standard_Integer Power() const; + + //! Returns next Location. An error is raised if the + //! location is an identity. + Standard_EXPORT PTopLoc_Location Next() const; + Handle(PTopLoc_ItemLocation) _CSFDB_GetPTopLoc_LocationmyData() const { return myData; } + void _CSFDB_SetPTopLoc_LocationmyData(const Handle(PTopLoc_ItemLocation)& p) { myData = p; } + + + +protected: + + + + +private: + + + Handle(PTopLoc_ItemLocation) myData; + + +}; + + + + + + + +#endif // _PTopLoc_Location_HeaderFile diff --git a/src/FromOCCT/TKPShape/PTopLoc_Location.ixx b/src/FromOCCT/TKPShape/PTopLoc_Location.ixx new file mode 100644 index 000000000..1f52f35c9 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopLoc_Location.ixx @@ -0,0 +1,7 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + diff --git a/src/FromOCCT/TKPShape/PTopLoc_Location.jxx b/src/FromOCCT/TKPShape/PTopLoc_Location.jxx new file mode 100644 index 000000000..2d39ee9b9 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopLoc_Location.jxx @@ -0,0 +1,4 @@ +#include +#include +#include +#include diff --git a/src/FromOCCT/TKPShape/PTopoDS_CompSolid.cxx b/src/FromOCCT/TKPShape/PTopoDS_CompSolid.cxx new file mode 100644 index 000000000..2d7c47af7 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_CompSolid.cxx @@ -0,0 +1,20 @@ +// 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::PTopoDS_CompSolid() +{} diff --git a/src/FromOCCT/TKPShape/PTopoDS_CompSolid.hxx b/src/FromOCCT/TKPShape/PTopoDS_CompSolid.hxx new file mode 100644 index 000000000..d8a919bb2 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_CompSolid.hxx @@ -0,0 +1,52 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PTopoDS_CompSolid_HeaderFile +#define _PTopoDS_CompSolid_HeaderFile + +#include +#include +#include +#include + +#include + + +class PTopoDS_CompSolid : public PTopoDS_HShape +{ + +public: + + + Standard_EXPORT PTopoDS_CompSolid(); + +PTopoDS_CompSolid(const Storage_stCONSTclCOM& a) : PTopoDS_HShape(a) +{ + +} + + + + DEFINE_STANDARD_RTTI(PTopoDS_CompSolid) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PTopoDS_CompSolid_HeaderFile diff --git a/src/FromOCCT/TKPShape/PTopoDS_CompSolid.ixx b/src/FromOCCT/TKPShape/PTopoDS_CompSolid.ixx new file mode 100644 index 000000000..4b6845803 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_CompSolid.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PTopoDS_CompSolid,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PTopoDS_CompSolid) + + + diff --git a/src/FromOCCT/TKPShape/PTopoDS_CompSolid.jxx b/src/FromOCCT/TKPShape/PTopoDS_CompSolid.jxx new file mode 100644 index 000000000..f3804262f --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_CompSolid.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKPShape/PTopoDS_Compound.cxx b/src/FromOCCT/TKPShape/PTopoDS_Compound.cxx new file mode 100644 index 000000000..c0d57271a --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_Compound.cxx @@ -0,0 +1,21 @@ +// 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::PTopoDS_Compound() +{} + diff --git a/src/FromOCCT/TKPShape/PTopoDS_Compound.hxx b/src/FromOCCT/TKPShape/PTopoDS_Compound.hxx new file mode 100644 index 000000000..c5076b05b --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_Compound.hxx @@ -0,0 +1,52 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PTopoDS_Compound_HeaderFile +#define _PTopoDS_Compound_HeaderFile + +#include +#include +#include +#include + +#include + + +class PTopoDS_Compound : public PTopoDS_HShape +{ + +public: + + + Standard_EXPORT PTopoDS_Compound(); + +PTopoDS_Compound(const Storage_stCONSTclCOM& a) : PTopoDS_HShape(a) +{ + +} + + + + DEFINE_STANDARD_RTTI(PTopoDS_Compound) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PTopoDS_Compound_HeaderFile diff --git a/src/FromOCCT/TKPShape/PTopoDS_Compound.ixx b/src/FromOCCT/TKPShape/PTopoDS_Compound.ixx new file mode 100644 index 000000000..ab4799f56 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_Compound.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PTopoDS_Compound,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PTopoDS_Compound) + + + diff --git a/src/FromOCCT/TKPShape/PTopoDS_Compound.jxx b/src/FromOCCT/TKPShape/PTopoDS_Compound.jxx new file mode 100644 index 000000000..3940ead35 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_Compound.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKPShape/PTopoDS_Edge.cxx b/src/FromOCCT/TKPShape/PTopoDS_Edge.cxx new file mode 100644 index 000000000..d77342014 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_Edge.cxx @@ -0,0 +1,20 @@ +// 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::PTopoDS_Edge() +{} diff --git a/src/FromOCCT/TKPShape/PTopoDS_Edge.hxx b/src/FromOCCT/TKPShape/PTopoDS_Edge.hxx new file mode 100644 index 000000000..1926f3514 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_Edge.hxx @@ -0,0 +1,52 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PTopoDS_Edge_HeaderFile +#define _PTopoDS_Edge_HeaderFile + +#include +#include +#include +#include + +#include + + +class PTopoDS_Edge : public PTopoDS_HShape +{ + +public: + + + Standard_EXPORT PTopoDS_Edge(); + +PTopoDS_Edge(const Storage_stCONSTclCOM& a) : PTopoDS_HShape(a) +{ + +} + + + + DEFINE_STANDARD_RTTI(PTopoDS_Edge) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PTopoDS_Edge_HeaderFile diff --git a/src/FromOCCT/TKPShape/PTopoDS_Edge.ixx b/src/FromOCCT/TKPShape/PTopoDS_Edge.ixx new file mode 100644 index 000000000..5662fa5f8 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_Edge.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PTopoDS_Edge,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PTopoDS_Edge) + + + diff --git a/src/FromOCCT/TKPShape/PTopoDS_Edge.jxx b/src/FromOCCT/TKPShape/PTopoDS_Edge.jxx new file mode 100644 index 000000000..c92b7236d --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_Edge.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKPShape/PTopoDS_Face.cxx b/src/FromOCCT/TKPShape/PTopoDS_Face.cxx new file mode 100644 index 000000000..eebff7f82 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_Face.cxx @@ -0,0 +1,20 @@ +// 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::PTopoDS_Face() +{} diff --git a/src/FromOCCT/TKPShape/PTopoDS_Face.hxx b/src/FromOCCT/TKPShape/PTopoDS_Face.hxx new file mode 100644 index 000000000..76f84e80d --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_Face.hxx @@ -0,0 +1,52 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PTopoDS_Face_HeaderFile +#define _PTopoDS_Face_HeaderFile + +#include +#include +#include +#include + +#include + + +class PTopoDS_Face : public PTopoDS_HShape +{ + +public: + + + Standard_EXPORT PTopoDS_Face(); + +PTopoDS_Face(const Storage_stCONSTclCOM& a) : PTopoDS_HShape(a) +{ + +} + + + + DEFINE_STANDARD_RTTI(PTopoDS_Face) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PTopoDS_Face_HeaderFile diff --git a/src/FromOCCT/TKPShape/PTopoDS_Face.ixx b/src/FromOCCT/TKPShape/PTopoDS_Face.ixx new file mode 100644 index 000000000..ee9f72a7c --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_Face.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PTopoDS_Face,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PTopoDS_Face) + + + diff --git a/src/FromOCCT/TKPShape/PTopoDS_Face.jxx b/src/FromOCCT/TKPShape/PTopoDS_Face.jxx new file mode 100644 index 000000000..3b26adfbe --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_Face.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKPShape/PTopoDS_FieldOfHArray1OfHShape.hxx b/src/FromOCCT/TKPShape/PTopoDS_FieldOfHArray1OfHShape.hxx new file mode 100644 index 000000000..b9d23bbab --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_FieldOfHArray1OfHShape.hxx @@ -0,0 +1,91 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PTopoDS_FieldOfHArray1OfHShape_HeaderFile +#define _PTopoDS_FieldOfHArray1OfHShape_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +class Standard_NegativeValue; +class Standard_OutOfRange; +class Standard_DimensionMismatch; +class Standard_NullObject; +class PTopoDS_HShape; +class PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape; +class PTopoDS_VArrayTNodeOfFieldOfHArray1OfHShape; + + + +Standard_EXPORT const Handle(Standard_Type)& STANDARD_TYPE(PTopoDS_FieldOfHArray1OfHShape); + + +class PTopoDS_FieldOfHArray1OfHShape : public DBC_BaseArray +{ + +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT PTopoDS_FieldOfHArray1OfHShape(); + + Standard_EXPORT PTopoDS_FieldOfHArray1OfHShape(const Standard_Integer Size); + + Standard_EXPORT PTopoDS_FieldOfHArray1OfHShape(const PTopoDS_FieldOfHArray1OfHShape& Varray); + + Standard_EXPORT void Resize (const Standard_Integer Size) ; + + Standard_EXPORT void Assign (const PTopoDS_FieldOfHArray1OfHShape& Other) ; + void operator = (const PTopoDS_FieldOfHArray1OfHShape& Other) +{ + Assign(Other); +} + + Standard_EXPORT void SetValue (const Standard_Integer Index, const Handle(PTopoDS_HShape)& Value) ; + + Standard_EXPORT Handle(PTopoDS_HShape)& Value (const Standard_Integer Index) const; + Handle(PTopoDS_HShape)& operator () (const Standard_Integer Index) const +{ + return Value(Index); +} + + Standard_EXPORT void Destroy() ; +~PTopoDS_FieldOfHArray1OfHShape() +{ + Destroy(); +} + + + +protected: + + + + +private: + +#ifdef CSFDB +// DBC_VArray : field +// +#endif + + + +}; + + + + + + + +#endif // _PTopoDS_FieldOfHArray1OfHShape_HeaderFile diff --git a/src/FromOCCT/TKPShape/PTopoDS_FieldOfHArray1OfHShape_0.cxx b/src/FromOCCT/TKPShape/PTopoDS_FieldOfHArray1OfHShape_0.cxx new file mode 100644 index 000000000..b94d8546d --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_FieldOfHArray1OfHShape_0.cxx @@ -0,0 +1,27 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include +#include + +#define Item Handle(PTopoDS_HShape) +#define Item_hxx +#define DBC_VArrayNode PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PTopoDS_VArrayTNodeOfFieldOfHArray1OfHShape +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape +#define DBC_VArrayNode_Type_() PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape_Type_() +#define DBC_VArray PTopoDS_FieldOfHArray1OfHShape +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PTopoDS_FieldOfHArray1OfShape1.hxx b/src/FromOCCT/TKPShape/PTopoDS_FieldOfHArray1OfShape1.hxx new file mode 100644 index 000000000..5b9a58279 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_FieldOfHArray1OfShape1.hxx @@ -0,0 +1,90 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PTopoDS_FieldOfHArray1OfShape1_HeaderFile +#define _PTopoDS_FieldOfHArray1OfShape1_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class Standard_NegativeValue; +class Standard_OutOfRange; +class Standard_DimensionMismatch; +class Standard_NullObject; +class PTopoDS_Shape1; +class PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1; +class PTopoDS_VArrayTNodeOfFieldOfHArray1OfShape1; + + + +Standard_EXPORT const Handle(Standard_Type)& STANDARD_TYPE(PTopoDS_FieldOfHArray1OfShape1); + + +class PTopoDS_FieldOfHArray1OfShape1 : public DBC_BaseArray +{ + +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT PTopoDS_FieldOfHArray1OfShape1(); + + Standard_EXPORT PTopoDS_FieldOfHArray1OfShape1(const Standard_Integer Size); + + Standard_EXPORT PTopoDS_FieldOfHArray1OfShape1(const PTopoDS_FieldOfHArray1OfShape1& Varray); + + Standard_EXPORT void Resize (const Standard_Integer Size) ; + + Standard_EXPORT void Assign (const PTopoDS_FieldOfHArray1OfShape1& Other) ; + void operator = (const PTopoDS_FieldOfHArray1OfShape1& Other) +{ + Assign(Other); +} + + Standard_EXPORT void SetValue (const Standard_Integer Index, const PTopoDS_Shape1& Value) ; + + Standard_EXPORT PTopoDS_Shape1& Value (const Standard_Integer Index) const; + PTopoDS_Shape1& operator () (const Standard_Integer Index) const +{ + return Value(Index); +} + + Standard_EXPORT void Destroy() ; +~PTopoDS_FieldOfHArray1OfShape1() +{ + Destroy(); +} + + + +protected: + + + + +private: + +#ifdef CSFDB +// DBC_VArray : field +// +#endif + + + +}; + + + + + + + +#endif // _PTopoDS_FieldOfHArray1OfShape1_HeaderFile diff --git a/src/FromOCCT/TKPShape/PTopoDS_FieldOfHArray1OfShape1_0.cxx b/src/FromOCCT/TKPShape/PTopoDS_FieldOfHArray1OfShape1_0.cxx new file mode 100644 index 000000000..f9c2700c3 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_FieldOfHArray1OfShape1_0.cxx @@ -0,0 +1,27 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include +#include + +#define Item PTopoDS_Shape1 +#define Item_hxx +#define DBC_VArrayNode PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1 +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PTopoDS_VArrayTNodeOfFieldOfHArray1OfShape1 +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1 +#define DBC_VArrayNode_Type_() PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1_Type_() +#define DBC_VArray PTopoDS_FieldOfHArray1OfShape1 +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PTopoDS_HArray1OfHShape.hxx b/src/FromOCCT/TKPShape/PTopoDS_HArray1OfHShape.hxx new file mode 100644 index 000000000..f7236ba44 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_HArray1OfHShape.hxx @@ -0,0 +1,132 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PTopoDS_HArray1OfHShape_HeaderFile +#define _PTopoDS_HArray1OfHShape_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class PTopoDS_HShape; +class Standard_OutOfRange; +class Standard_RangeError; +class PTopoDS_FieldOfHArray1OfHShape; +class PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape; +class PTopoDS_VArrayTNodeOfFieldOfHArray1OfHShape; + + +class PTopoDS_HArray1OfHShape : public Standard_Persistent +{ + +public: + + + Standard_EXPORT PTopoDS_HArray1OfHShape(const Standard_Integer Low, const Standard_Integer Up); + + Standard_EXPORT PTopoDS_HArray1OfHShape(const Standard_Integer Low, const Standard_Integer Up, const Handle(PTopoDS_HShape)& V); + + Standard_Integer Length() const; + + Standard_Integer Lower() const; + + Standard_EXPORT void SetValue (const Standard_Integer Index, const Handle(PTopoDS_HShape)& Value) ; + + Standard_Integer Upper() const; + + Standard_EXPORT Handle(PTopoDS_HShape) Value (const Standard_Integer Index) const; + +PTopoDS_HArray1OfHShape( ) +{ + +} +PTopoDS_HArray1OfHShape(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Standard_Integer _CSFDB_GetPTopoDS_HArray1OfHShapeLowerBound() const { return LowerBound; } + void _CSFDB_SetPTopoDS_HArray1OfHShapeLowerBound(const Standard_Integer p) { LowerBound = p; } + Standard_Integer _CSFDB_GetPTopoDS_HArray1OfHShapeUpperBound() const { return UpperBound; } + void _CSFDB_SetPTopoDS_HArray1OfHShapeUpperBound(const Standard_Integer p) { UpperBound = p; } + const PTopoDS_FieldOfHArray1OfHShape& _CSFDB_GetPTopoDS_HArray1OfHShapeData() const { return Data; } + + + + DEFINE_STANDARD_RTTI(PTopoDS_HArray1OfHShape) + +protected: + + + + +private: + + + Standard_EXPORT PTopoDS_FieldOfHArray1OfHShape Field() const; + + Standard_EXPORT Standard_Address Datas() const; + + Standard_Integer LowerBound; + Standard_Integer UpperBound; + PTopoDS_FieldOfHArray1OfHShape Data; + + +}; + +#define Item Handle(PTopoDS_HShape) +#define Item_hxx +#define PCollection_FieldOfHArray1 PTopoDS_FieldOfHArray1OfHShape +#define PCollection_FieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PTopoDS_VArrayTNodeOfFieldOfHArray1OfHShape +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PTopoDS_VArrayTNodeOfFieldOfHArray1OfHShape +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape_Type_() +#define PCollection_HArray1 PTopoDS_HArray1OfHShape +#define PCollection_HArray1_hxx +#define Handle_PCollection_HArray1 Handle_PTopoDS_HArray1OfHShape +#define PCollection_HArray1_Type_() PTopoDS_HArray1OfHShape_Type_() + +#include + +#undef Item +#undef Item_hxx +#undef PCollection_FieldOfHArray1 +#undef PCollection_FieldOfHArray1_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray1 +#undef PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray1 +#undef PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_Type_ +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_Type_ +#undef PCollection_HArray1 +#undef PCollection_HArray1_hxx +#undef Handle_PCollection_HArray1 +#undef PCollection_HArray1_Type_ + + + + +#endif // _PTopoDS_HArray1OfHShape_HeaderFile diff --git a/src/FromOCCT/TKPShape/PTopoDS_HArray1OfHShape_0.cxx b/src/FromOCCT/TKPShape/PTopoDS_HArray1OfHShape_0.cxx new file mode 100644 index 000000000..f7443db33 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_HArray1OfHShape_0.cxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PTopoDS_HArray1OfHShape,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PTopoDS_HArray1OfHShape) + + +#define Item Handle(PTopoDS_HShape) +#define Item_hxx +#define PCollection_FieldOfHArray1 PTopoDS_FieldOfHArray1OfHShape +#define PCollection_FieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PTopoDS_VArrayTNodeOfFieldOfHArray1OfHShape +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PTopoDS_VArrayTNodeOfFieldOfHArray1OfHShape +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape_Type_() +#define PCollection_HArray1 PTopoDS_HArray1OfHShape +#define PCollection_HArray1_hxx +#define Handle_PCollection_HArray1 Handle_PTopoDS_HArray1OfHShape +#define PCollection_HArray1_Type_() PTopoDS_HArray1OfHShape_Type_() +#include + diff --git a/src/FromOCCT/TKPShape/PTopoDS_HArray1OfShape1.hxx b/src/FromOCCT/TKPShape/PTopoDS_HArray1OfShape1.hxx new file mode 100644 index 000000000..8e0e79ddf --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_HArray1OfShape1.hxx @@ -0,0 +1,132 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PTopoDS_HArray1OfShape1_HeaderFile +#define _PTopoDS_HArray1OfShape1_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class Standard_OutOfRange; +class Standard_RangeError; +class PTopoDS_Shape1; +class PTopoDS_FieldOfHArray1OfShape1; +class PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1; +class PTopoDS_VArrayTNodeOfFieldOfHArray1OfShape1; + + +class PTopoDS_HArray1OfShape1 : public Standard_Persistent +{ + +public: + + + Standard_EXPORT PTopoDS_HArray1OfShape1(const Standard_Integer Low, const Standard_Integer Up); + + Standard_EXPORT PTopoDS_HArray1OfShape1(const Standard_Integer Low, const Standard_Integer Up, const PTopoDS_Shape1& V); + + Standard_Integer Length() const; + + Standard_Integer Lower() const; + + Standard_EXPORT void SetValue (const Standard_Integer Index, const PTopoDS_Shape1& Value) ; + + Standard_Integer Upper() const; + + Standard_EXPORT PTopoDS_Shape1 Value (const Standard_Integer Index) const; + +PTopoDS_HArray1OfShape1( ) +{ + +} +PTopoDS_HArray1OfShape1(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Standard_Integer _CSFDB_GetPTopoDS_HArray1OfShape1LowerBound() const { return LowerBound; } + void _CSFDB_SetPTopoDS_HArray1OfShape1LowerBound(const Standard_Integer p) { LowerBound = p; } + Standard_Integer _CSFDB_GetPTopoDS_HArray1OfShape1UpperBound() const { return UpperBound; } + void _CSFDB_SetPTopoDS_HArray1OfShape1UpperBound(const Standard_Integer p) { UpperBound = p; } + const PTopoDS_FieldOfHArray1OfShape1& _CSFDB_GetPTopoDS_HArray1OfShape1Data() const { return Data; } + + + + DEFINE_STANDARD_RTTI(PTopoDS_HArray1OfShape1) + +protected: + + + + +private: + + + Standard_EXPORT PTopoDS_FieldOfHArray1OfShape1 Field() const; + + Standard_EXPORT Standard_Address Datas() const; + + Standard_Integer LowerBound; + Standard_Integer UpperBound; + PTopoDS_FieldOfHArray1OfShape1 Data; + + +}; + +#define Item PTopoDS_Shape1 +#define Item_hxx +#define PCollection_FieldOfHArray1 PTopoDS_FieldOfHArray1OfShape1 +#define PCollection_FieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1 +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PTopoDS_VArrayTNodeOfFieldOfHArray1OfShape1 +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1 +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PTopoDS_VArrayTNodeOfFieldOfHArray1OfShape1 +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1 +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1 +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1_Type_() +#define PCollection_HArray1 PTopoDS_HArray1OfShape1 +#define PCollection_HArray1_hxx +#define Handle_PCollection_HArray1 Handle_PTopoDS_HArray1OfShape1 +#define PCollection_HArray1_Type_() PTopoDS_HArray1OfShape1_Type_() + +#include + +#undef Item +#undef Item_hxx +#undef PCollection_FieldOfHArray1 +#undef PCollection_FieldOfHArray1_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray1 +#undef PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_hxx +#undef PCollection_VArrayTNodeOfFieldOfHArray1 +#undef PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_Type_ +#undef Handle_PCollection_VArrayNodeOfFieldOfHArray1 +#undef PCollection_VArrayNodeOfFieldOfHArray1_Type_ +#undef PCollection_HArray1 +#undef PCollection_HArray1_hxx +#undef Handle_PCollection_HArray1 +#undef PCollection_HArray1_Type_ + + + + +#endif // _PTopoDS_HArray1OfShape1_HeaderFile diff --git a/src/FromOCCT/TKPShape/PTopoDS_HArray1OfShape1_0.cxx b/src/FromOCCT/TKPShape/PTopoDS_HArray1OfShape1_0.cxx new file mode 100644 index 000000000..18d0bd079 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_HArray1OfShape1_0.cxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PTopoDS_HArray1OfShape1,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PTopoDS_HArray1OfShape1) + + +#define Item PTopoDS_Shape1 +#define Item_hxx +#define PCollection_FieldOfHArray1 PTopoDS_FieldOfHArray1OfShape1 +#define PCollection_FieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1 +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PTopoDS_VArrayTNodeOfFieldOfHArray1OfShape1 +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayNodeOfFieldOfHArray1 PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1 +#define PCollection_VArrayNodeOfFieldOfHArray1_hxx +#define PCollection_VArrayTNodeOfFieldOfHArray1 PTopoDS_VArrayTNodeOfFieldOfHArray1OfShape1 +#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1 +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1_Type_() +#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1 +#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1_Type_() +#define PCollection_HArray1 PTopoDS_HArray1OfShape1 +#define PCollection_HArray1_hxx +#define Handle_PCollection_HArray1 Handle_PTopoDS_HArray1OfShape1 +#define PCollection_HArray1_Type_() PTopoDS_HArray1OfShape1_Type_() +#include + diff --git a/src/FromOCCT/TKPShape/PTopoDS_HShape.cxx b/src/FromOCCT/TKPShape/PTopoDS_HShape.cxx new file mode 100644 index 000000000..32d3fa2b4 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_HShape.cxx @@ -0,0 +1,100 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PTopoDS_HShape.hxx b/src/FromOCCT/TKPShape/PTopoDS_HShape.hxx new file mode 100644 index 000000000..d4bb2f702 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_HShape.hxx @@ -0,0 +1,77 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PTopoDS_HShape_HeaderFile +#define _PTopoDS_HShape_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +class PTopoDS_TShape; +class PTopLoc_Location; + + +class PTopoDS_HShape : public ObjMgt_ExternShareable +{ + +public: + + + Standard_EXPORT PTopoDS_HShape(); + + Standard_EXPORT Handle(PTopoDS_TShape) TShape() const; + + Standard_EXPORT void TShape (const Handle(PTopoDS_TShape)& T) ; + + Standard_EXPORT PTopLoc_Location Location() const; + + Standard_EXPORT void Location (const PTopLoc_Location& L) ; + + Standard_EXPORT TopAbs_Orientation Orientation() const; + + Standard_EXPORT void Orientation (const TopAbs_Orientation O) ; + +PTopoDS_HShape(const Storage_stCONSTclCOM& a) : ObjMgt_ExternShareable(a) +{ + +} + Handle(PTopoDS_TShape) _CSFDB_GetPTopoDS_HShapemyTShape() const { return myTShape; } + void _CSFDB_SetPTopoDS_HShapemyTShape(const Handle(PTopoDS_TShape)& p) { myTShape = p; } + const PTopLoc_Location& _CSFDB_GetPTopoDS_HShapemyLocation() const { return myLocation; } + TopAbs_Orientation _CSFDB_GetPTopoDS_HShapemyOrient() const { return myOrient; } + void _CSFDB_SetPTopoDS_HShapemyOrient(const TopAbs_Orientation p) { myOrient = p; } + + + + DEFINE_STANDARD_RTTI(PTopoDS_HShape) + +protected: + + + + +private: + + + Handle(PTopoDS_TShape) myTShape; + PTopLoc_Location myLocation; + TopAbs_Orientation myOrient; + + +}; + + + + + + + +#endif // _PTopoDS_HShape_HeaderFile diff --git a/src/FromOCCT/TKPShape/PTopoDS_HShape.ixx b/src/FromOCCT/TKPShape/PTopoDS_HShape.ixx new file mode 100644 index 000000000..a95a7d1e1 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_HShape.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PTopoDS_HShape,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PTopoDS_HShape) + + + diff --git a/src/FromOCCT/TKPShape/PTopoDS_HShape.jxx b/src/FromOCCT/TKPShape/PTopoDS_HShape.jxx new file mode 100644 index 000000000..bc84c11d1 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_HShape.jxx @@ -0,0 +1,3 @@ +#include +#include +#include diff --git a/src/FromOCCT/TKPShape/PTopoDS_Shape1.cxx b/src/FromOCCT/TKPShape/PTopoDS_Shape1.cxx new file mode 100644 index 000000000..1f139286c --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_Shape1.cxx @@ -0,0 +1,99 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKPShape/PTopoDS_Shape1.hxx b/src/FromOCCT/TKPShape/PTopoDS_Shape1.hxx new file mode 100644 index 000000000..a730ba934 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_Shape1.hxx @@ -0,0 +1,88 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PTopoDS_Shape1_HeaderFile +#define _PTopoDS_Shape1_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class PTopoDS_TShape1; +class PTopLoc_Location; + + +Standard_EXPORT const Handle(Standard_Type)& STANDARD_TYPE(PTopoDS_Shape1); + +//! 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. +class PTopoDS_Shape1 +{ + +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT PTopoDS_Shape1(); + + Standard_EXPORT void Nullify() ; + + Standard_EXPORT const Handle(PTopoDS_TShape1)& TShape() const; + + Standard_EXPORT void TShape (const Handle(PTopoDS_TShape1)& T) ; + + Standard_EXPORT PTopLoc_Location Location() const; + + Standard_EXPORT void Location (const PTopLoc_Location& L) ; + + Standard_EXPORT TopAbs_Orientation Orientation() const; + + Standard_EXPORT void Orientation (const TopAbs_Orientation O) ; + Handle(PTopoDS_TShape1) _CSFDB_GetPTopoDS_Shape1myTShape() const { return myTShape; } + void _CSFDB_SetPTopoDS_Shape1myTShape(const Handle(PTopoDS_TShape1)& p) { myTShape = p; } + const PTopLoc_Location& _CSFDB_GetPTopoDS_Shape1myLocation() const { return myLocation; } + TopAbs_Orientation _CSFDB_GetPTopoDS_Shape1myOrient() const { return myOrient; } + void _CSFDB_SetPTopoDS_Shape1myOrient(const TopAbs_Orientation p) { myOrient = p; } + + + +protected: + + + + +private: + + + Handle(PTopoDS_TShape1) myTShape; + PTopLoc_Location myLocation; + TopAbs_Orientation myOrient; + + +}; + + + + + + + +#endif // _PTopoDS_Shape1_HeaderFile diff --git a/src/FromOCCT/TKPShape/PTopoDS_Shape1.ixx b/src/FromOCCT/TKPShape/PTopoDS_Shape1.ixx new file mode 100644 index 000000000..9a99e6c83 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_Shape1.ixx @@ -0,0 +1,7 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + diff --git a/src/FromOCCT/TKPShape/PTopoDS_Shape1.jxx b/src/FromOCCT/TKPShape/PTopoDS_Shape1.jxx new file mode 100644 index 000000000..827f4bffc --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_Shape1.jxx @@ -0,0 +1,3 @@ +#include +#include +#include diff --git a/src/FromOCCT/TKPShape/PTopoDS_Shell.cxx b/src/FromOCCT/TKPShape/PTopoDS_Shell.cxx new file mode 100644 index 000000000..52c6c64da --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_Shell.cxx @@ -0,0 +1,20 @@ +// 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::PTopoDS_Shell() +{} diff --git a/src/FromOCCT/TKPShape/PTopoDS_Shell.hxx b/src/FromOCCT/TKPShape/PTopoDS_Shell.hxx new file mode 100644 index 000000000..ba50c8ae9 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_Shell.hxx @@ -0,0 +1,52 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PTopoDS_Shell_HeaderFile +#define _PTopoDS_Shell_HeaderFile + +#include +#include +#include +#include + +#include + + +class PTopoDS_Shell : public PTopoDS_HShape +{ + +public: + + + Standard_EXPORT PTopoDS_Shell(); + +PTopoDS_Shell(const Storage_stCONSTclCOM& a) : PTopoDS_HShape(a) +{ + +} + + + + DEFINE_STANDARD_RTTI(PTopoDS_Shell) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PTopoDS_Shell_HeaderFile diff --git a/src/FromOCCT/TKPShape/PTopoDS_Shell.ixx b/src/FromOCCT/TKPShape/PTopoDS_Shell.ixx new file mode 100644 index 000000000..b5880e5aa --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_Shell.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PTopoDS_Shell,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PTopoDS_Shell) + + + diff --git a/src/FromOCCT/TKPShape/PTopoDS_Shell.jxx b/src/FromOCCT/TKPShape/PTopoDS_Shell.jxx new file mode 100644 index 000000000..438508241 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_Shell.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKPShape/PTopoDS_Solid.cxx b/src/FromOCCT/TKPShape/PTopoDS_Solid.cxx new file mode 100644 index 000000000..77dc07579 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_Solid.cxx @@ -0,0 +1,20 @@ +// 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::PTopoDS_Solid() +{} diff --git a/src/FromOCCT/TKPShape/PTopoDS_Solid.hxx b/src/FromOCCT/TKPShape/PTopoDS_Solid.hxx new file mode 100644 index 000000000..62b096973 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_Solid.hxx @@ -0,0 +1,52 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PTopoDS_Solid_HeaderFile +#define _PTopoDS_Solid_HeaderFile + +#include +#include +#include +#include + +#include + + +class PTopoDS_Solid : public PTopoDS_HShape +{ + +public: + + + Standard_EXPORT PTopoDS_Solid(); + +PTopoDS_Solid(const Storage_stCONSTclCOM& a) : PTopoDS_HShape(a) +{ + +} + + + + DEFINE_STANDARD_RTTI(PTopoDS_Solid) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PTopoDS_Solid_HeaderFile diff --git a/src/FromOCCT/TKPShape/PTopoDS_Solid.ixx b/src/FromOCCT/TKPShape/PTopoDS_Solid.ixx new file mode 100644 index 000000000..180e6f752 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_Solid.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PTopoDS_Solid,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PTopoDS_Solid) + + + diff --git a/src/FromOCCT/TKPShape/PTopoDS_Solid.jxx b/src/FromOCCT/TKPShape/PTopoDS_Solid.jxx new file mode 100644 index 000000000..bce2fb2e0 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_Solid.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKPShape/PTopoDS_TCompSolid.cxx b/src/FromOCCT/TKPShape/PTopoDS_TCompSolid.cxx new file mode 100644 index 000000000..be0b9cee9 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TCompSolid.cxx @@ -0,0 +1,38 @@ +// 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 + +//======================================================================= +//function : PTopoDS_TCompSolid +//purpose : +//======================================================================= + +PTopoDS_TCompSolid::PTopoDS_TCompSolid() +{ +} + + + +//======================================================================= +//function : ShapeType +//purpose : +//======================================================================= + +TopAbs_ShapeEnum PTopoDS_TCompSolid::ShapeType() const +{ + return TopAbs_COMPSOLID; +} diff --git a/src/FromOCCT/TKPShape/PTopoDS_TCompSolid.hxx b/src/FromOCCT/TKPShape/PTopoDS_TCompSolid.hxx new file mode 100644 index 000000000..b6fc08c37 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TCompSolid.hxx @@ -0,0 +1,56 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PTopoDS_TCompSolid_HeaderFile +#define _PTopoDS_TCompSolid_HeaderFile + +#include +#include +#include +#include + +#include +#include + + +class PTopoDS_TCompSolid : public PTopoDS_TShape +{ + +public: + + + //! The new TCompSolid is empty. + Standard_EXPORT PTopoDS_TCompSolid(); + + Standard_EXPORT TopAbs_ShapeEnum ShapeType() const; + +PTopoDS_TCompSolid(const Storage_stCONSTclCOM& a) : PTopoDS_TShape(a) +{ + +} + + + + DEFINE_STANDARD_RTTI(PTopoDS_TCompSolid) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PTopoDS_TCompSolid_HeaderFile diff --git a/src/FromOCCT/TKPShape/PTopoDS_TCompSolid.ixx b/src/FromOCCT/TKPShape/PTopoDS_TCompSolid.ixx new file mode 100644 index 000000000..2f6577573 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TCompSolid.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PTopoDS_TCompSolid,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PTopoDS_TCompSolid) + + + diff --git a/src/FromOCCT/TKPShape/PTopoDS_TCompSolid.jxx b/src/FromOCCT/TKPShape/PTopoDS_TCompSolid.jxx new file mode 100644 index 000000000..3fe1fdeb0 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TCompSolid.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKPShape/PTopoDS_TCompSolid1.cxx b/src/FromOCCT/TKPShape/PTopoDS_TCompSolid1.cxx new file mode 100644 index 000000000..c2b07f171 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TCompSolid1.cxx @@ -0,0 +1,38 @@ +// 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 + +//======================================================================= +//function : PTopoDS_TCompSolid1 +//purpose : +//======================================================================= + +PTopoDS_TCompSolid1::PTopoDS_TCompSolid1() +{ +} + + + +//======================================================================= +//function : ShapeType +//purpose : +//======================================================================= + +TopAbs_ShapeEnum PTopoDS_TCompSolid1::ShapeType() const +{ + return TopAbs_COMPSOLID; +} diff --git a/src/FromOCCT/TKPShape/PTopoDS_TCompSolid1.hxx b/src/FromOCCT/TKPShape/PTopoDS_TCompSolid1.hxx new file mode 100644 index 000000000..affa91c21 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TCompSolid1.hxx @@ -0,0 +1,56 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PTopoDS_TCompSolid1_HeaderFile +#define _PTopoDS_TCompSolid1_HeaderFile + +#include +#include +#include +#include + +#include +#include + + +class PTopoDS_TCompSolid1 : public PTopoDS_TShape1 +{ + +public: + + + //! The new TCompSolid11 is empty. + Standard_EXPORT PTopoDS_TCompSolid1(); + + Standard_EXPORT TopAbs_ShapeEnum ShapeType() const; + +PTopoDS_TCompSolid1(const Storage_stCONSTclCOM& a) : PTopoDS_TShape1(a) +{ + +} + + + + DEFINE_STANDARD_RTTI(PTopoDS_TCompSolid1) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PTopoDS_TCompSolid1_HeaderFile diff --git a/src/FromOCCT/TKPShape/PTopoDS_TCompSolid1.ixx b/src/FromOCCT/TKPShape/PTopoDS_TCompSolid1.ixx new file mode 100644 index 000000000..85b5e3a12 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TCompSolid1.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PTopoDS_TCompSolid1,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PTopoDS_TCompSolid1) + + + diff --git a/src/FromOCCT/TKPShape/PTopoDS_TCompSolid1.jxx b/src/FromOCCT/TKPShape/PTopoDS_TCompSolid1.jxx new file mode 100644 index 000000000..f19d557b4 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TCompSolid1.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKPShape/PTopoDS_TCompound.cxx b/src/FromOCCT/TKPShape/PTopoDS_TCompound.cxx new file mode 100644 index 000000000..21c7513a6 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TCompound.cxx @@ -0,0 +1,38 @@ +// 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 + +//======================================================================= +//function : PTopoDS_TCompound +//purpose : +//======================================================================= + +PTopoDS_TCompound::PTopoDS_TCompound() +{ +} + + + +//======================================================================= +//function : ShapeType +//purpose : +//======================================================================= + +TopAbs_ShapeEnum PTopoDS_TCompound::ShapeType() const +{ + return TopAbs_COMPOUND; +} diff --git a/src/FromOCCT/TKPShape/PTopoDS_TCompound.hxx b/src/FromOCCT/TKPShape/PTopoDS_TCompound.hxx new file mode 100644 index 000000000..fefdc4af5 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TCompound.hxx @@ -0,0 +1,56 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PTopoDS_TCompound_HeaderFile +#define _PTopoDS_TCompound_HeaderFile + +#include +#include +#include +#include + +#include +#include + + +class PTopoDS_TCompound : public PTopoDS_TShape +{ + +public: + + + //! the new TCompound is empty. + Standard_EXPORT PTopoDS_TCompound(); + + Standard_EXPORT TopAbs_ShapeEnum ShapeType() const; + +PTopoDS_TCompound(const Storage_stCONSTclCOM& a) : PTopoDS_TShape(a) +{ + +} + + + + DEFINE_STANDARD_RTTI(PTopoDS_TCompound) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PTopoDS_TCompound_HeaderFile diff --git a/src/FromOCCT/TKPShape/PTopoDS_TCompound.ixx b/src/FromOCCT/TKPShape/PTopoDS_TCompound.ixx new file mode 100644 index 000000000..c94c20da1 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TCompound.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PTopoDS_TCompound,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PTopoDS_TCompound) + + + diff --git a/src/FromOCCT/TKPShape/PTopoDS_TCompound.jxx b/src/FromOCCT/TKPShape/PTopoDS_TCompound.jxx new file mode 100644 index 000000000..321ccd022 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TCompound.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKPShape/PTopoDS_TCompound1.cxx b/src/FromOCCT/TKPShape/PTopoDS_TCompound1.cxx new file mode 100644 index 000000000..47f1206ef --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TCompound1.cxx @@ -0,0 +1,38 @@ +// 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 + +//======================================================================= +//function : PTopoDS_TCompound1 +//purpose : +//======================================================================= + +PTopoDS_TCompound1::PTopoDS_TCompound1() +{ +} + + + +//======================================================================= +//function : ShapeType +//purpose : +//======================================================================= + +TopAbs_ShapeEnum PTopoDS_TCompound1::ShapeType() const +{ + return TopAbs_COMPOUND; +} diff --git a/src/FromOCCT/TKPShape/PTopoDS_TCompound1.hxx b/src/FromOCCT/TKPShape/PTopoDS_TCompound1.hxx new file mode 100644 index 000000000..c42044f08 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TCompound1.hxx @@ -0,0 +1,56 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PTopoDS_TCompound1_HeaderFile +#define _PTopoDS_TCompound1_HeaderFile + +#include +#include +#include +#include + +#include +#include + + +class PTopoDS_TCompound1 : public PTopoDS_TShape1 +{ + +public: + + + //! the new TCompound1 is empty. + Standard_EXPORT PTopoDS_TCompound1(); + + Standard_EXPORT TopAbs_ShapeEnum ShapeType() const; + +PTopoDS_TCompound1(const Storage_stCONSTclCOM& a) : PTopoDS_TShape1(a) +{ + +} + + + + DEFINE_STANDARD_RTTI(PTopoDS_TCompound1) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PTopoDS_TCompound1_HeaderFile diff --git a/src/FromOCCT/TKPShape/PTopoDS_TCompound1.ixx b/src/FromOCCT/TKPShape/PTopoDS_TCompound1.ixx new file mode 100644 index 000000000..02b6a6163 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TCompound1.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PTopoDS_TCompound1,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PTopoDS_TCompound1) + + + diff --git a/src/FromOCCT/TKPShape/PTopoDS_TCompound1.jxx b/src/FromOCCT/TKPShape/PTopoDS_TCompound1.jxx new file mode 100644 index 000000000..b3b958ca1 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TCompound1.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKPShape/PTopoDS_TEdge.cxx b/src/FromOCCT/TKPShape/PTopoDS_TEdge.cxx new file mode 100644 index 000000000..d54526162 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TEdge.cxx @@ -0,0 +1,27 @@ +// 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 + +//======================================================================= +//function : ShapeType +//purpose : +//======================================================================= + +TopAbs_ShapeEnum PTopoDS_TEdge::ShapeType() const +{ + return TopAbs_EDGE; +} diff --git a/src/FromOCCT/TKPShape/PTopoDS_TEdge.hxx b/src/FromOCCT/TKPShape/PTopoDS_TEdge.hxx new file mode 100644 index 000000000..b0c704d48 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TEdge.hxx @@ -0,0 +1,57 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PTopoDS_TEdge_HeaderFile +#define _PTopoDS_TEdge_HeaderFile + +#include +#include +#include +#include + +#include +#include + + +class PTopoDS_TEdge : public PTopoDS_TShape +{ + +public: + + + Standard_EXPORT TopAbs_ShapeEnum ShapeType() const; + +PTopoDS_TEdge(const Storage_stCONSTclCOM& a) : PTopoDS_TShape(a) +{ + +} +PTopoDS_TEdge( ) +{ + +} + + + + DEFINE_STANDARD_RTTI(PTopoDS_TEdge) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PTopoDS_TEdge_HeaderFile diff --git a/src/FromOCCT/TKPShape/PTopoDS_TEdge.ixx b/src/FromOCCT/TKPShape/PTopoDS_TEdge.ixx new file mode 100644 index 000000000..17ec49caf --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TEdge.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PTopoDS_TEdge,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PTopoDS_TEdge) + + + diff --git a/src/FromOCCT/TKPShape/PTopoDS_TEdge.jxx b/src/FromOCCT/TKPShape/PTopoDS_TEdge.jxx new file mode 100644 index 000000000..69c4b397e --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TEdge.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKPShape/PTopoDS_TEdge1.cxx b/src/FromOCCT/TKPShape/PTopoDS_TEdge1.cxx new file mode 100644 index 000000000..89765375f --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TEdge1.cxx @@ -0,0 +1,27 @@ +// 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 + +//======================================================================= +//function : ShapeType +//purpose : +//======================================================================= + +TopAbs_ShapeEnum PTopoDS_TEdge1::ShapeType() const +{ + return TopAbs_EDGE; +} diff --git a/src/FromOCCT/TKPShape/PTopoDS_TEdge1.hxx b/src/FromOCCT/TKPShape/PTopoDS_TEdge1.hxx new file mode 100644 index 000000000..cd5e5d339 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TEdge1.hxx @@ -0,0 +1,57 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PTopoDS_TEdge1_HeaderFile +#define _PTopoDS_TEdge1_HeaderFile + +#include +#include +#include +#include + +#include +#include + + +class PTopoDS_TEdge1 : public PTopoDS_TShape1 +{ + +public: + + + Standard_EXPORT TopAbs_ShapeEnum ShapeType() const; + +PTopoDS_TEdge1(const Storage_stCONSTclCOM& a) : PTopoDS_TShape1(a) +{ + +} +PTopoDS_TEdge1( ) +{ + +} + + + + DEFINE_STANDARD_RTTI(PTopoDS_TEdge1) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PTopoDS_TEdge1_HeaderFile diff --git a/src/FromOCCT/TKPShape/PTopoDS_TEdge1.ixx b/src/FromOCCT/TKPShape/PTopoDS_TEdge1.ixx new file mode 100644 index 000000000..6e790bdb1 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TEdge1.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PTopoDS_TEdge1,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PTopoDS_TEdge1) + + + diff --git a/src/FromOCCT/TKPShape/PTopoDS_TEdge1.jxx b/src/FromOCCT/TKPShape/PTopoDS_TEdge1.jxx new file mode 100644 index 000000000..580f870d1 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TEdge1.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKPShape/PTopoDS_TFace.cxx b/src/FromOCCT/TKPShape/PTopoDS_TFace.cxx new file mode 100644 index 000000000..9137d0bdd --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TFace.cxx @@ -0,0 +1,38 @@ +// 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 + +//======================================================================= +//function : PTopoDS_TFace +//purpose : +//======================================================================= + +PTopoDS_TFace::PTopoDS_TFace() +{ +} + + + +//======================================================================= +//function : ShapeType +//purpose : +//======================================================================= + +TopAbs_ShapeEnum PTopoDS_TFace::ShapeType() const +{ + return TopAbs_FACE; +} diff --git a/src/FromOCCT/TKPShape/PTopoDS_TFace.hxx b/src/FromOCCT/TKPShape/PTopoDS_TFace.hxx new file mode 100644 index 000000000..4cd9da96d --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TFace.hxx @@ -0,0 +1,56 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PTopoDS_TFace_HeaderFile +#define _PTopoDS_TFace_HeaderFile + +#include +#include +#include +#include + +#include +#include + + +class PTopoDS_TFace : public PTopoDS_TShape +{ + +public: + + + //! the new TFace covers the whole 2D space. + Standard_EXPORT PTopoDS_TFace(); + + Standard_EXPORT TopAbs_ShapeEnum ShapeType() const; + +PTopoDS_TFace(const Storage_stCONSTclCOM& a) : PTopoDS_TShape(a) +{ + +} + + + + DEFINE_STANDARD_RTTI(PTopoDS_TFace) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PTopoDS_TFace_HeaderFile diff --git a/src/FromOCCT/TKPShape/PTopoDS_TFace.ixx b/src/FromOCCT/TKPShape/PTopoDS_TFace.ixx new file mode 100644 index 000000000..7e0714972 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TFace.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PTopoDS_TFace,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PTopoDS_TFace) + + + diff --git a/src/FromOCCT/TKPShape/PTopoDS_TFace.jxx b/src/FromOCCT/TKPShape/PTopoDS_TFace.jxx new file mode 100644 index 000000000..73ccc5383 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TFace.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKPShape/PTopoDS_TFace1.cxx b/src/FromOCCT/TKPShape/PTopoDS_TFace1.cxx new file mode 100644 index 000000000..db3680801 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TFace1.cxx @@ -0,0 +1,38 @@ +// 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 + +//======================================================================= +//function : PTopoDS_TFace1 +//purpose : +//======================================================================= + +PTopoDS_TFace1::PTopoDS_TFace1() +{ +} + + + +//======================================================================= +//function : ShapeType +//purpose : +//======================================================================= + +TopAbs_ShapeEnum PTopoDS_TFace1::ShapeType() const +{ + return TopAbs_FACE; +} diff --git a/src/FromOCCT/TKPShape/PTopoDS_TFace1.hxx b/src/FromOCCT/TKPShape/PTopoDS_TFace1.hxx new file mode 100644 index 000000000..81346ba3c --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TFace1.hxx @@ -0,0 +1,56 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PTopoDS_TFace1_HeaderFile +#define _PTopoDS_TFace1_HeaderFile + +#include +#include +#include +#include + +#include +#include + + +class PTopoDS_TFace1 : public PTopoDS_TShape1 +{ + +public: + + + //! the new TFace1 covers the whole 2D space. + Standard_EXPORT PTopoDS_TFace1(); + + Standard_EXPORT TopAbs_ShapeEnum ShapeType() const; + +PTopoDS_TFace1(const Storage_stCONSTclCOM& a) : PTopoDS_TShape1(a) +{ + +} + + + + DEFINE_STANDARD_RTTI(PTopoDS_TFace1) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PTopoDS_TFace1_HeaderFile diff --git a/src/FromOCCT/TKPShape/PTopoDS_TFace1.ixx b/src/FromOCCT/TKPShape/PTopoDS_TFace1.ixx new file mode 100644 index 000000000..7109d2b09 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TFace1.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PTopoDS_TFace1,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PTopoDS_TFace1) + + + diff --git a/src/FromOCCT/TKPShape/PTopoDS_TFace1.jxx b/src/FromOCCT/TKPShape/PTopoDS_TFace1.jxx new file mode 100644 index 000000000..013ad5e0e --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TFace1.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKPShape/PTopoDS_TShape.cxx b/src/FromOCCT/TKPShape/PTopoDS_TShape.cxx new file mode 100644 index 000000000..dad134d29 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TShape.cxx @@ -0,0 +1,211 @@ +// 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 + +// 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/FromOCCT/TKPShape/PTopoDS_TShape.hxx b/src/FromOCCT/TKPShape/PTopoDS_TShape.hxx new file mode 100644 index 000000000..c2fb8bc4f --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TShape.hxx @@ -0,0 +1,117 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PTopoDS_TShape_HeaderFile +#define _PTopoDS_TShape_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class PTopoDS_HArray1OfHShape; +class PTopoDS_HShape; + + +class PTopoDS_TShape : public Standard_Persistent +{ + +public: + + + //! Returns the type as a term of the ShapeEnum enum : + //! VERTEX, EDGE, WIRE, FACE, .... + Standard_EXPORT virtual TopAbs_ShapeEnum ShapeType() const = 0; + + //! Returns the modification flag. + Standard_EXPORT Standard_Boolean Modified() const; + + //! Sets the modification flag. + Standard_EXPORT void Modified (const Standard_Boolean M) ; + + //! Returns the checked flag. + Standard_EXPORT Standard_Boolean Checked() const; + + //! Sets the checked flag. + Standard_EXPORT void Checked (const Standard_Boolean C) ; + + //! Returns the orientability flag. + Standard_EXPORT Standard_Boolean Orientable() const; + + //! Sets the orientability flag. + Standard_EXPORT void Orientable (const Standard_Boolean C) ; + + //! Returns the closedness flag. + Standard_EXPORT Standard_Boolean Closed() const; + + //! Sets the closedness flag. + Standard_EXPORT void Closed (const Standard_Boolean C) ; + + //! Returns the infinity flag. + Standard_EXPORT Standard_Boolean Infinite() const; + + //! Sets the infinity flag. + Standard_EXPORT void Infinite (const Standard_Boolean C) ; + + //! Returns the convexness flag. + Standard_EXPORT Standard_Boolean Convex() const; + + //! Sets the convexness flag. + Standard_EXPORT void Convex (const Standard_Boolean C) ; + + //! Sets the hshape list + Standard_EXPORT Handle(PTopoDS_HArray1OfHShape) Shapes() const; + + //! Sets the i th element of the HShape list + Standard_EXPORT Handle(PTopoDS_HShape) Shapes (const Standard_Integer I) const; + + //! Returns the HShape list + Standard_EXPORT void Shapes (const Handle(PTopoDS_HArray1OfHShape)& S) ; + + //! Returns the i th element of the hshape list + Standard_EXPORT void Shapes (const Standard_Integer I, const Handle(PTopoDS_HShape)& S) ; + +PTopoDS_TShape(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Handle(PTopoDS_HArray1OfHShape) _CSFDB_GetPTopoDS_TShapemyShapes() const { return myShapes; } + void _CSFDB_SetPTopoDS_TShapemyShapes(const Handle(PTopoDS_HArray1OfHShape)& p) { myShapes = p; } + Standard_Integer _CSFDB_GetPTopoDS_TShapemyFlags() const { return myFlags; } + void _CSFDB_SetPTopoDS_TShapemyFlags(const Standard_Integer p) { myFlags = p; } + + + + DEFINE_STANDARD_RTTI(PTopoDS_TShape) + +protected: + + + Standard_EXPORT PTopoDS_TShape(); + + + +private: + + + Handle(PTopoDS_HArray1OfHShape) myShapes; + Standard_Integer myFlags; + + +}; + + + + + + + +#endif // _PTopoDS_TShape_HeaderFile diff --git a/src/FromOCCT/TKPShape/PTopoDS_TShape.ixx b/src/FromOCCT/TKPShape/PTopoDS_TShape.ixx new file mode 100644 index 000000000..d97d75b04 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TShape.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PTopoDS_TShape,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PTopoDS_TShape) + + + diff --git a/src/FromOCCT/TKPShape/PTopoDS_TShape.jxx b/src/FromOCCT/TKPShape/PTopoDS_TShape.jxx new file mode 100644 index 000000000..1f6bb1b5f --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TShape.jxx @@ -0,0 +1,3 @@ +#include +#include +#include diff --git a/src/FromOCCT/TKPShape/PTopoDS_TShape1.cxx b/src/FromOCCT/TKPShape/PTopoDS_TShape1.cxx new file mode 100644 index 000000000..5e5ff1bb7 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TShape1.cxx @@ -0,0 +1,201 @@ +// 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 + +// 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/FromOCCT/TKPShape/PTopoDS_TShape1.hxx b/src/FromOCCT/TKPShape/PTopoDS_TShape1.hxx new file mode 100644 index 000000000..dffd700ce --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TShape1.hxx @@ -0,0 +1,117 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PTopoDS_TShape1_HeaderFile +#define _PTopoDS_TShape1_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class PTopoDS_HArray1OfShape1; +class PTopoDS_Shape1; + + +class PTopoDS_TShape1 : public Standard_Persistent +{ + +public: + + + //! Returns the type as a term of the ShapeEnum enum : + //! VERTEX, EDGE, WIRE, FACE, .... + Standard_EXPORT virtual TopAbs_ShapeEnum ShapeType() const = 0; + + //! Returns the modification flag. + Standard_EXPORT Standard_Boolean Modified() const; + + //! Sets the modification flag. + Standard_EXPORT void Modified (const Standard_Boolean M) ; + + //! Returns the checked flag. + Standard_EXPORT Standard_Boolean Checked() const; + + //! Sets the checked flag. + Standard_EXPORT void Checked (const Standard_Boolean C) ; + + //! Returns the orientability flag. + Standard_EXPORT Standard_Boolean Orientable() const; + + //! Sets the orientability flag. + Standard_EXPORT void Orientable (const Standard_Boolean C) ; + + //! Returns the closedness flag. + Standard_EXPORT Standard_Boolean Closed() const; + + //! Sets the closedness flag. + Standard_EXPORT void Closed (const Standard_Boolean C) ; + + //! Returns the infinity flag. + Standard_EXPORT Standard_Boolean Infinite() const; + + //! Sets the infinity flag. + Standard_EXPORT void Infinite (const Standard_Boolean C) ; + + //! Returns the convexness flag. + Standard_EXPORT Standard_Boolean Convex() const; + + //! Sets the convexness flag. + Standard_EXPORT void Convex (const Standard_Boolean C) ; + + //! Returns the hshape list + Standard_EXPORT Handle(PTopoDS_HArray1OfShape1) Shapes() const; + + //! Returns the i th element of the Shape1 list + Standard_EXPORT PTopoDS_Shape1 Shapes (const Standard_Integer I) const; + + //! Sets the Shape1 list + Standard_EXPORT void Shapes (const Handle(PTopoDS_HArray1OfShape1)& S) ; + + //! Sets the i th element of the hshape list + Standard_EXPORT void Shapes (const Standard_Integer I, const PTopoDS_Shape1& S) ; + +PTopoDS_TShape1(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Handle(PTopoDS_HArray1OfShape1) _CSFDB_GetPTopoDS_TShape1myShapes() const { return myShapes; } + void _CSFDB_SetPTopoDS_TShape1myShapes(const Handle(PTopoDS_HArray1OfShape1)& p) { myShapes = p; } + Standard_Integer _CSFDB_GetPTopoDS_TShape1myFlags() const { return myFlags; } + void _CSFDB_SetPTopoDS_TShape1myFlags(const Standard_Integer p) { myFlags = p; } + + + + DEFINE_STANDARD_RTTI(PTopoDS_TShape1) + +protected: + + + Standard_EXPORT PTopoDS_TShape1(); + + + +private: + + + Handle(PTopoDS_HArray1OfShape1) myShapes; + Standard_Integer myFlags; + + +}; + + + + + + + +#endif // _PTopoDS_TShape1_HeaderFile diff --git a/src/FromOCCT/TKPShape/PTopoDS_TShape1.ixx b/src/FromOCCT/TKPShape/PTopoDS_TShape1.ixx new file mode 100644 index 000000000..e8dcec924 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TShape1.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PTopoDS_TShape1,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PTopoDS_TShape1) + + + diff --git a/src/FromOCCT/TKPShape/PTopoDS_TShape1.jxx b/src/FromOCCT/TKPShape/PTopoDS_TShape1.jxx new file mode 100644 index 000000000..0654f14f5 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TShape1.jxx @@ -0,0 +1,3 @@ +#include +#include +#include diff --git a/src/FromOCCT/TKPShape/PTopoDS_TShell.cxx b/src/FromOCCT/TKPShape/PTopoDS_TShell.cxx new file mode 100644 index 000000000..1417b446b --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TShell.cxx @@ -0,0 +1,41 @@ +// 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 + +//======================================================================= +//function : PTopoDS_TShell +//purpose : +//======================================================================= + +PTopoDS_TShell::PTopoDS_TShell() +{ +} + + +//======================================================================= +//function : ShapeType +//purpose : +//======================================================================= + +TopAbs_ShapeEnum PTopoDS_TShell::ShapeType() const +{ + return TopAbs_SHELL; +} + + + + diff --git a/src/FromOCCT/TKPShape/PTopoDS_TShell.hxx b/src/FromOCCT/TKPShape/PTopoDS_TShell.hxx new file mode 100644 index 000000000..2b582dceb --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TShell.hxx @@ -0,0 +1,55 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PTopoDS_TShell_HeaderFile +#define _PTopoDS_TShell_HeaderFile + +#include +#include +#include +#include + +#include +#include + + +class PTopoDS_TShell : public PTopoDS_TShape +{ + +public: + + + Standard_EXPORT PTopoDS_TShell(); + + Standard_EXPORT TopAbs_ShapeEnum ShapeType() const; + +PTopoDS_TShell(const Storage_stCONSTclCOM& a) : PTopoDS_TShape(a) +{ + +} + + + + DEFINE_STANDARD_RTTI(PTopoDS_TShell) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PTopoDS_TShell_HeaderFile diff --git a/src/FromOCCT/TKPShape/PTopoDS_TShell.ixx b/src/FromOCCT/TKPShape/PTopoDS_TShell.ixx new file mode 100644 index 000000000..d33c9c7e7 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TShell.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PTopoDS_TShell,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PTopoDS_TShell) + + + diff --git a/src/FromOCCT/TKPShape/PTopoDS_TShell.jxx b/src/FromOCCT/TKPShape/PTopoDS_TShell.jxx new file mode 100644 index 000000000..1c02e1b7d --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TShell.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKPShape/PTopoDS_TShell1.cxx b/src/FromOCCT/TKPShape/PTopoDS_TShell1.cxx new file mode 100644 index 000000000..88d14d00a --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TShell1.cxx @@ -0,0 +1,41 @@ +// 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 + +//======================================================================= +//function : PTopoDS_TShell1 +//purpose : +//======================================================================= + +PTopoDS_TShell1::PTopoDS_TShell1() +{ +} + + +//======================================================================= +//function : ShapeType +//purpose : +//======================================================================= + +TopAbs_ShapeEnum PTopoDS_TShell1::ShapeType() const +{ + return TopAbs_SHELL; +} + + + + diff --git a/src/FromOCCT/TKPShape/PTopoDS_TShell1.hxx b/src/FromOCCT/TKPShape/PTopoDS_TShell1.hxx new file mode 100644 index 000000000..d58c6a9be --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TShell1.hxx @@ -0,0 +1,55 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PTopoDS_TShell1_HeaderFile +#define _PTopoDS_TShell1_HeaderFile + +#include +#include +#include +#include + +#include +#include + + +class PTopoDS_TShell1 : public PTopoDS_TShape1 +{ + +public: + + + Standard_EXPORT PTopoDS_TShell1(); + + Standard_EXPORT TopAbs_ShapeEnum ShapeType() const; + +PTopoDS_TShell1(const Storage_stCONSTclCOM& a) : PTopoDS_TShape1(a) +{ + +} + + + + DEFINE_STANDARD_RTTI(PTopoDS_TShell1) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PTopoDS_TShell1_HeaderFile diff --git a/src/FromOCCT/TKPShape/PTopoDS_TShell1.ixx b/src/FromOCCT/TKPShape/PTopoDS_TShell1.ixx new file mode 100644 index 000000000..10b6686e0 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TShell1.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PTopoDS_TShell1,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PTopoDS_TShell1) + + + diff --git a/src/FromOCCT/TKPShape/PTopoDS_TShell1.jxx b/src/FromOCCT/TKPShape/PTopoDS_TShell1.jxx new file mode 100644 index 000000000..f67ba5fe5 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TShell1.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKPShape/PTopoDS_TSolid.cxx b/src/FromOCCT/TKPShape/PTopoDS_TSolid.cxx new file mode 100644 index 000000000..ec14bd78c --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TSolid.cxx @@ -0,0 +1,38 @@ +// 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 + +//======================================================================= +//function : PTopoDS_TSolid +//purpose : +//======================================================================= + +PTopoDS_TSolid::PTopoDS_TSolid() +{ +} + + + +//======================================================================= +//function : ShapeType +//purpose : +//======================================================================= + +TopAbs_ShapeEnum PTopoDS_TSolid::ShapeType() const +{ + return TopAbs_SOLID; +} diff --git a/src/FromOCCT/TKPShape/PTopoDS_TSolid.hxx b/src/FromOCCT/TKPShape/PTopoDS_TSolid.hxx new file mode 100644 index 000000000..0caa7a98a --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TSolid.hxx @@ -0,0 +1,57 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PTopoDS_TSolid_HeaderFile +#define _PTopoDS_TSolid_HeaderFile + +#include +#include +#include +#include + +#include +#include + + +class PTopoDS_TSolid : public PTopoDS_TShape +{ + +public: + + + //! The new TSolid has no boundary and covers the + //! whole 3D space. + Standard_EXPORT PTopoDS_TSolid(); + + Standard_EXPORT TopAbs_ShapeEnum ShapeType() const; + +PTopoDS_TSolid(const Storage_stCONSTclCOM& a) : PTopoDS_TShape(a) +{ + +} + + + + DEFINE_STANDARD_RTTI(PTopoDS_TSolid) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PTopoDS_TSolid_HeaderFile diff --git a/src/FromOCCT/TKPShape/PTopoDS_TSolid.ixx b/src/FromOCCT/TKPShape/PTopoDS_TSolid.ixx new file mode 100644 index 000000000..e2abeabda --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TSolid.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PTopoDS_TSolid,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PTopoDS_TSolid) + + + diff --git a/src/FromOCCT/TKPShape/PTopoDS_TSolid.jxx b/src/FromOCCT/TKPShape/PTopoDS_TSolid.jxx new file mode 100644 index 000000000..0e13ae93c --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TSolid.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKPShape/PTopoDS_TSolid1.cxx b/src/FromOCCT/TKPShape/PTopoDS_TSolid1.cxx new file mode 100644 index 000000000..cf325e0d1 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TSolid1.cxx @@ -0,0 +1,38 @@ +// 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 + +//======================================================================= +//function : PTopoDS_TSolid1 +//purpose : +//======================================================================= + +PTopoDS_TSolid1::PTopoDS_TSolid1() +{ +} + + + +//======================================================================= +//function : ShapeType +//purpose : +//======================================================================= + +TopAbs_ShapeEnum PTopoDS_TSolid1::ShapeType() const +{ + return TopAbs_SOLID; +} diff --git a/src/FromOCCT/TKPShape/PTopoDS_TSolid1.hxx b/src/FromOCCT/TKPShape/PTopoDS_TSolid1.hxx new file mode 100644 index 000000000..8f2cf0567 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TSolid1.hxx @@ -0,0 +1,57 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PTopoDS_TSolid1_HeaderFile +#define _PTopoDS_TSolid1_HeaderFile + +#include +#include +#include +#include + +#include +#include + + +class PTopoDS_TSolid1 : public PTopoDS_TShape1 +{ + +public: + + + //! The new TSolid1 has no boundary and covers the + //! whole 3D space. + Standard_EXPORT PTopoDS_TSolid1(); + + Standard_EXPORT TopAbs_ShapeEnum ShapeType() const; + +PTopoDS_TSolid1(const Storage_stCONSTclCOM& a) : PTopoDS_TShape1(a) +{ + +} + + + + DEFINE_STANDARD_RTTI(PTopoDS_TSolid1) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PTopoDS_TSolid1_HeaderFile diff --git a/src/FromOCCT/TKPShape/PTopoDS_TSolid1.ixx b/src/FromOCCT/TKPShape/PTopoDS_TSolid1.ixx new file mode 100644 index 000000000..5c47dde59 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TSolid1.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PTopoDS_TSolid1,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PTopoDS_TSolid1) + + + diff --git a/src/FromOCCT/TKPShape/PTopoDS_TSolid1.jxx b/src/FromOCCT/TKPShape/PTopoDS_TSolid1.jxx new file mode 100644 index 000000000..a45b6718b --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TSolid1.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKPShape/PTopoDS_TVertex.cxx b/src/FromOCCT/TKPShape/PTopoDS_TVertex.cxx new file mode 100644 index 000000000..7e2ba0f36 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TVertex.cxx @@ -0,0 +1,28 @@ +// 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 + + +//======================================================================= +//function : ShapeType +//purpose : +//======================================================================= + +TopAbs_ShapeEnum PTopoDS_TVertex::ShapeType() const +{ + return TopAbs_VERTEX; +} diff --git a/src/FromOCCT/TKPShape/PTopoDS_TVertex.hxx b/src/FromOCCT/TKPShape/PTopoDS_TVertex.hxx new file mode 100644 index 000000000..dfdf98367 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TVertex.hxx @@ -0,0 +1,57 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PTopoDS_TVertex_HeaderFile +#define _PTopoDS_TVertex_HeaderFile + +#include +#include +#include +#include + +#include +#include + + +class PTopoDS_TVertex : public PTopoDS_TShape +{ + +public: + + + Standard_EXPORT TopAbs_ShapeEnum ShapeType() const; + +PTopoDS_TVertex(const Storage_stCONSTclCOM& a) : PTopoDS_TShape(a) +{ + +} +PTopoDS_TVertex( ) +{ + +} + + + + DEFINE_STANDARD_RTTI(PTopoDS_TVertex) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PTopoDS_TVertex_HeaderFile diff --git a/src/FromOCCT/TKPShape/PTopoDS_TVertex.ixx b/src/FromOCCT/TKPShape/PTopoDS_TVertex.ixx new file mode 100644 index 000000000..54a6ffb7e --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TVertex.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PTopoDS_TVertex,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PTopoDS_TVertex) + + + diff --git a/src/FromOCCT/TKPShape/PTopoDS_TVertex.jxx b/src/FromOCCT/TKPShape/PTopoDS_TVertex.jxx new file mode 100644 index 000000000..ffd2918b1 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TVertex.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKPShape/PTopoDS_TVertex1.cxx b/src/FromOCCT/TKPShape/PTopoDS_TVertex1.cxx new file mode 100644 index 000000000..d3ba6613c --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TVertex1.cxx @@ -0,0 +1,28 @@ +// 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 + + +//======================================================================= +//function : ShapeType +//purpose : +//======================================================================= + +TopAbs_ShapeEnum PTopoDS_TVertex1::ShapeType() const +{ + return TopAbs_VERTEX; +} diff --git a/src/FromOCCT/TKPShape/PTopoDS_TVertex1.hxx b/src/FromOCCT/TKPShape/PTopoDS_TVertex1.hxx new file mode 100644 index 000000000..77fd2d720 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TVertex1.hxx @@ -0,0 +1,57 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PTopoDS_TVertex1_HeaderFile +#define _PTopoDS_TVertex1_HeaderFile + +#include +#include +#include +#include + +#include +#include + + +class PTopoDS_TVertex1 : public PTopoDS_TShape1 +{ + +public: + + + Standard_EXPORT TopAbs_ShapeEnum ShapeType() const; + +PTopoDS_TVertex1(const Storage_stCONSTclCOM& a) : PTopoDS_TShape1(a) +{ + +} +PTopoDS_TVertex1( ) +{ + +} + + + + DEFINE_STANDARD_RTTI(PTopoDS_TVertex1) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PTopoDS_TVertex1_HeaderFile diff --git a/src/FromOCCT/TKPShape/PTopoDS_TVertex1.ixx b/src/FromOCCT/TKPShape/PTopoDS_TVertex1.ixx new file mode 100644 index 000000000..fc248fd8c --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TVertex1.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PTopoDS_TVertex1,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PTopoDS_TVertex1) + + + diff --git a/src/FromOCCT/TKPShape/PTopoDS_TVertex1.jxx b/src/FromOCCT/TKPShape/PTopoDS_TVertex1.jxx new file mode 100644 index 000000000..1ccaa1c94 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TVertex1.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKPShape/PTopoDS_TWire.cxx b/src/FromOCCT/TKPShape/PTopoDS_TWire.cxx new file mode 100644 index 000000000..ba367ed04 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TWire.cxx @@ -0,0 +1,36 @@ +// 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 + +//======================================================================= +//function : PTopoDS_TWire +//purpose : +//======================================================================= + +PTopoDS_TWire::PTopoDS_TWire() +{ +} + +//======================================================================= +//function : ShapeType +//purpose : +//======================================================================= + +TopAbs_ShapeEnum PTopoDS_TWire::ShapeType() const +{ + return TopAbs_WIRE; +} diff --git a/src/FromOCCT/TKPShape/PTopoDS_TWire.hxx b/src/FromOCCT/TKPShape/PTopoDS_TWire.hxx new file mode 100644 index 000000000..218315f0a --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TWire.hxx @@ -0,0 +1,55 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PTopoDS_TWire_HeaderFile +#define _PTopoDS_TWire_HeaderFile + +#include +#include +#include +#include + +#include +#include + + +class PTopoDS_TWire : public PTopoDS_TShape +{ + +public: + + + Standard_EXPORT PTopoDS_TWire(); + + Standard_EXPORT TopAbs_ShapeEnum ShapeType() const; + +PTopoDS_TWire(const Storage_stCONSTclCOM& a) : PTopoDS_TShape(a) +{ + +} + + + + DEFINE_STANDARD_RTTI(PTopoDS_TWire) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PTopoDS_TWire_HeaderFile diff --git a/src/FromOCCT/TKPShape/PTopoDS_TWire.ixx b/src/FromOCCT/TKPShape/PTopoDS_TWire.ixx new file mode 100644 index 000000000..3123d1cce --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TWire.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PTopoDS_TWire,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PTopoDS_TWire) + + + diff --git a/src/FromOCCT/TKPShape/PTopoDS_TWire.jxx b/src/FromOCCT/TKPShape/PTopoDS_TWire.jxx new file mode 100644 index 000000000..b42e744d2 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TWire.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKPShape/PTopoDS_TWire1.cxx b/src/FromOCCT/TKPShape/PTopoDS_TWire1.cxx new file mode 100644 index 000000000..e583920c0 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TWire1.cxx @@ -0,0 +1,36 @@ +// 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 + +//======================================================================= +//function : PTopoDS_TWire1 +//purpose : +//======================================================================= + +PTopoDS_TWire1::PTopoDS_TWire1() +{ +} + +//======================================================================= +//function : ShapeType +//purpose : +//======================================================================= + +TopAbs_ShapeEnum PTopoDS_TWire1::ShapeType() const +{ + return TopAbs_WIRE; +} diff --git a/src/FromOCCT/TKPShape/PTopoDS_TWire1.hxx b/src/FromOCCT/TKPShape/PTopoDS_TWire1.hxx new file mode 100644 index 000000000..c0b55afc7 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TWire1.hxx @@ -0,0 +1,55 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PTopoDS_TWire1_HeaderFile +#define _PTopoDS_TWire1_HeaderFile + +#include +#include +#include +#include + +#include +#include + + +class PTopoDS_TWire1 : public PTopoDS_TShape1 +{ + +public: + + + Standard_EXPORT PTopoDS_TWire1(); + + Standard_EXPORT TopAbs_ShapeEnum ShapeType() const; + +PTopoDS_TWire1(const Storage_stCONSTclCOM& a) : PTopoDS_TShape1(a) +{ + +} + + + + DEFINE_STANDARD_RTTI(PTopoDS_TWire1) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PTopoDS_TWire1_HeaderFile diff --git a/src/FromOCCT/TKPShape/PTopoDS_TWire1.ixx b/src/FromOCCT/TKPShape/PTopoDS_TWire1.ixx new file mode 100644 index 000000000..d444f2637 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TWire1.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PTopoDS_TWire1,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PTopoDS_TWire1) + + + diff --git a/src/FromOCCT/TKPShape/PTopoDS_TWire1.jxx b/src/FromOCCT/TKPShape/PTopoDS_TWire1.jxx new file mode 100644 index 000000000..0cd4b0a30 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_TWire1.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKPShape/PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape.hxx b/src/FromOCCT/TKPShape/PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape.hxx new file mode 100644 index 000000000..9f3345010 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape.hxx @@ -0,0 +1,66 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape_HeaderFile +#define _PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class PTopoDS_HShape; +class PTopoDS_FieldOfHArray1OfHShape; +class PTopoDS_VArrayTNodeOfFieldOfHArray1OfHShape; + + +class PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape : public PStandard_ArrayNode +{ + +public: + + + Standard_EXPORT PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape(); + + Standard_EXPORT PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape(const Handle(PTopoDS_HShape)& aValue); + + Standard_EXPORT void SetValue (const Handle(PTopoDS_HShape)& aValue) ; + + Standard_EXPORT Standard_Address Value() const; + +PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape(const Storage_stCONSTclCOM& a) : PStandard_ArrayNode(a) +{ + +} + Handle(PTopoDS_HShape) _CSFDB_GetPTopoDS_VArrayNodeOfFieldOfHArray1OfHShapemyValue() const { return myValue; } + void _CSFDB_SetPTopoDS_VArrayNodeOfFieldOfHArray1OfHShapemyValue(const Handle(PTopoDS_HShape)& p) { myValue = p; } + + + + DEFINE_STANDARD_RTTI(PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape) + +protected: + + + + +private: + + + Handle(PTopoDS_HShape) myValue; + + +}; + + + + + + + +#endif // _PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape_HeaderFile diff --git a/src/FromOCCT/TKPShape/PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape_0.cxx b/src/FromOCCT/TKPShape/PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape_0.cxx new file mode 100644 index 000000000..13fa88fe2 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape_0.cxx @@ -0,0 +1,30 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape) + + +#define Item Handle(PTopoDS_HShape) +#define Item_hxx +#define DBC_VArrayNode PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PTopoDS_VArrayTNodeOfFieldOfHArray1OfHShape +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape +#define DBC_VArrayNode_Type_() PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape_Type_() +#define DBC_VArray PTopoDS_FieldOfHArray1OfHShape +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1.hxx b/src/FromOCCT/TKPShape/PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1.hxx new file mode 100644 index 000000000..102f1c539 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1.hxx @@ -0,0 +1,65 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1_HeaderFile +#define _PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class PTopoDS_Shape1; +class PTopoDS_FieldOfHArray1OfShape1; +class PTopoDS_VArrayTNodeOfFieldOfHArray1OfShape1; + + +class PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1 : public PStandard_ArrayNode +{ + +public: + + + Standard_EXPORT PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1(); + + Standard_EXPORT PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1(const PTopoDS_Shape1& aValue); + + Standard_EXPORT void SetValue (const PTopoDS_Shape1& aValue) ; + + Standard_EXPORT Standard_Address Value() const; + +PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1(const Storage_stCONSTclCOM& a) : PStandard_ArrayNode(a) +{ + +} + const PTopoDS_Shape1& _CSFDB_GetPTopoDS_VArrayNodeOfFieldOfHArray1OfShape1myValue() const { return myValue; } + + + + DEFINE_STANDARD_RTTI(PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1) + +protected: + + + + +private: + + + PTopoDS_Shape1 myValue; + + +}; + + + + + + + +#endif // _PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1_HeaderFile diff --git a/src/FromOCCT/TKPShape/PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1_0.cxx b/src/FromOCCT/TKPShape/PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1_0.cxx new file mode 100644 index 000000000..c8dba88a5 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1_0.cxx @@ -0,0 +1,30 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1) + + +#define Item PTopoDS_Shape1 +#define Item_hxx +#define DBC_VArrayNode PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1 +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PTopoDS_VArrayTNodeOfFieldOfHArray1OfShape1 +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1 +#define DBC_VArrayNode_Type_() PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1_Type_() +#define DBC_VArray PTopoDS_FieldOfHArray1OfShape1 +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PTopoDS_VArrayTNodeOfFieldOfHArray1OfHShape.hxx b/src/FromOCCT/TKPShape/PTopoDS_VArrayTNodeOfFieldOfHArray1OfHShape.hxx new file mode 100644 index 000000000..9704dca03 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_VArrayTNodeOfFieldOfHArray1OfHShape.hxx @@ -0,0 +1,82 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PTopoDS_VArrayTNodeOfFieldOfHArray1OfHShape_HeaderFile +#define _PTopoDS_VArrayTNodeOfFieldOfHArray1OfHShape_HeaderFile + +#include +#include +#include + +#include +#include +#include +class PTopoDS_HShape; +class PTopoDS_FieldOfHArray1OfHShape; +class PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape; + + + +class PTopoDS_VArrayTNodeOfFieldOfHArray1OfHShape +{ +public: + + DEFINE_STANDARD_ALLOC + + + PTopoDS_VArrayTNodeOfFieldOfHArray1OfHShape(); + + PTopoDS_VArrayTNodeOfFieldOfHArray1OfHShape(const Handle(PTopoDS_HShape)& aValue); + + void SetValue (const Handle(PTopoDS_HShape)& aValue) ; + + Standard_Address Value() const; + + + + +protected: + + + + + +private: + + + + Handle(PTopoDS_HShape) myValue; + + +}; + +#define Item Handle(PTopoDS_HShape) +#define Item_hxx +#define DBC_VArrayNode PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PTopoDS_VArrayTNodeOfFieldOfHArray1OfHShape +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape +#define DBC_VArrayNode_Type_() PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape_Type_() +#define DBC_VArray PTopoDS_FieldOfHArray1OfHShape +#define DBC_VArray_hxx + +#include + +#undef Item +#undef Item_hxx +#undef DBC_VArrayNode +#undef DBC_VArrayNode_hxx +#undef DBC_VArrayTNode +#undef DBC_VArrayTNode_hxx +#undef Handle_DBC_VArrayNode +#undef DBC_VArrayNode_Type_ +#undef DBC_VArray +#undef DBC_VArray_hxx + + + + +#endif // _PTopoDS_VArrayTNodeOfFieldOfHArray1OfHShape_HeaderFile diff --git a/src/FromOCCT/TKPShape/PTopoDS_VArrayTNodeOfFieldOfHArray1OfHShape_0.cxx b/src/FromOCCT/TKPShape/PTopoDS_VArrayTNodeOfFieldOfHArray1OfHShape_0.cxx new file mode 100644 index 000000000..9eb674036 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_VArrayTNodeOfFieldOfHArray1OfHShape_0.cxx @@ -0,0 +1,24 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + +#define Item Handle(PTopoDS_HShape) +#define Item_hxx +#define DBC_VArrayNode PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PTopoDS_VArrayTNodeOfFieldOfHArray1OfHShape +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape +#define DBC_VArrayNode_Type_() PTopoDS_VArrayNodeOfFieldOfHArray1OfHShape_Type_() +#define DBC_VArray PTopoDS_FieldOfHArray1OfHShape +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PTopoDS_VArrayTNodeOfFieldOfHArray1OfShape1.hxx b/src/FromOCCT/TKPShape/PTopoDS_VArrayTNodeOfFieldOfHArray1OfShape1.hxx new file mode 100644 index 000000000..f61907d78 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_VArrayTNodeOfFieldOfHArray1OfShape1.hxx @@ -0,0 +1,82 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PTopoDS_VArrayTNodeOfFieldOfHArray1OfShape1_HeaderFile +#define _PTopoDS_VArrayTNodeOfFieldOfHArray1OfShape1_HeaderFile + +#include +#include +#include + +#include +#include +#include +class PTopoDS_Shape1; +class PTopoDS_FieldOfHArray1OfShape1; +class PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1; + + + +class PTopoDS_VArrayTNodeOfFieldOfHArray1OfShape1 +{ +public: + + DEFINE_STANDARD_ALLOC + + + PTopoDS_VArrayTNodeOfFieldOfHArray1OfShape1(); + + PTopoDS_VArrayTNodeOfFieldOfHArray1OfShape1(const PTopoDS_Shape1& aValue); + + void SetValue (const PTopoDS_Shape1& aValue) ; + + Standard_Address Value() const; + + + + +protected: + + + + + +private: + + + + PTopoDS_Shape1 myValue; + + +}; + +#define Item PTopoDS_Shape1 +#define Item_hxx +#define DBC_VArrayNode PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1 +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PTopoDS_VArrayTNodeOfFieldOfHArray1OfShape1 +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1 +#define DBC_VArrayNode_Type_() PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1_Type_() +#define DBC_VArray PTopoDS_FieldOfHArray1OfShape1 +#define DBC_VArray_hxx + +#include + +#undef Item +#undef Item_hxx +#undef DBC_VArrayNode +#undef DBC_VArrayNode_hxx +#undef DBC_VArrayTNode +#undef DBC_VArrayTNode_hxx +#undef Handle_DBC_VArrayNode +#undef DBC_VArrayNode_Type_ +#undef DBC_VArray +#undef DBC_VArray_hxx + + + + +#endif // _PTopoDS_VArrayTNodeOfFieldOfHArray1OfShape1_HeaderFile diff --git a/src/FromOCCT/TKPShape/PTopoDS_VArrayTNodeOfFieldOfHArray1OfShape1_0.cxx b/src/FromOCCT/TKPShape/PTopoDS_VArrayTNodeOfFieldOfHArray1OfShape1_0.cxx new file mode 100644 index 000000000..81d19cf79 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_VArrayTNodeOfFieldOfHArray1OfShape1_0.cxx @@ -0,0 +1,24 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include + + +#define Item PTopoDS_Shape1 +#define Item_hxx +#define DBC_VArrayNode PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1 +#define DBC_VArrayNode_hxx +#define DBC_VArrayTNode PTopoDS_VArrayTNodeOfFieldOfHArray1OfShape1 +#define DBC_VArrayTNode_hxx +#define Handle_DBC_VArrayNode Handle_PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1 +#define DBC_VArrayNode_Type_() PTopoDS_VArrayNodeOfFieldOfHArray1OfShape1_Type_() +#define DBC_VArray PTopoDS_FieldOfHArray1OfShape1 +#define DBC_VArray_hxx +#include + diff --git a/src/FromOCCT/TKPShape/PTopoDS_Vertex.cxx b/src/FromOCCT/TKPShape/PTopoDS_Vertex.cxx new file mode 100644 index 000000000..84537d474 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_Vertex.cxx @@ -0,0 +1,20 @@ +// 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::PTopoDS_Vertex() +{} diff --git a/src/FromOCCT/TKPShape/PTopoDS_Vertex.hxx b/src/FromOCCT/TKPShape/PTopoDS_Vertex.hxx new file mode 100644 index 000000000..ea7031e5c --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_Vertex.hxx @@ -0,0 +1,52 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PTopoDS_Vertex_HeaderFile +#define _PTopoDS_Vertex_HeaderFile + +#include +#include +#include +#include + +#include + + +class PTopoDS_Vertex : public PTopoDS_HShape +{ + +public: + + + Standard_EXPORT PTopoDS_Vertex(); + +PTopoDS_Vertex(const Storage_stCONSTclCOM& a) : PTopoDS_HShape(a) +{ + +} + + + + DEFINE_STANDARD_RTTI(PTopoDS_Vertex) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PTopoDS_Vertex_HeaderFile diff --git a/src/FromOCCT/TKPShape/PTopoDS_Vertex.ixx b/src/FromOCCT/TKPShape/PTopoDS_Vertex.ixx new file mode 100644 index 000000000..bdb0ba463 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_Vertex.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PTopoDS_Vertex,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PTopoDS_Vertex) + + + diff --git a/src/FromOCCT/TKPShape/PTopoDS_Vertex.jxx b/src/FromOCCT/TKPShape/PTopoDS_Vertex.jxx new file mode 100644 index 000000000..d5b84a607 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_Vertex.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKPShape/PTopoDS_Wire.cxx b/src/FromOCCT/TKPShape/PTopoDS_Wire.cxx new file mode 100644 index 000000000..fd3aef89f --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_Wire.cxx @@ -0,0 +1,20 @@ +// 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::PTopoDS_Wire() +{} diff --git a/src/FromOCCT/TKPShape/PTopoDS_Wire.hxx b/src/FromOCCT/TKPShape/PTopoDS_Wire.hxx new file mode 100644 index 000000000..c591dc89f --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_Wire.hxx @@ -0,0 +1,52 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PTopoDS_Wire_HeaderFile +#define _PTopoDS_Wire_HeaderFile + +#include +#include +#include +#include + +#include + + +class PTopoDS_Wire : public PTopoDS_HShape +{ + +public: + + + Standard_EXPORT PTopoDS_Wire(); + +PTopoDS_Wire(const Storage_stCONSTclCOM& a) : PTopoDS_HShape(a) +{ + +} + + + + DEFINE_STANDARD_RTTI(PTopoDS_Wire) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PTopoDS_Wire_HeaderFile diff --git a/src/FromOCCT/TKPShape/PTopoDS_Wire.ixx b/src/FromOCCT/TKPShape/PTopoDS_Wire.ixx new file mode 100644 index 000000000..98cd5f840 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_Wire.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PTopoDS_Wire,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PTopoDS_Wire) + + + diff --git a/src/FromOCCT/TKPShape/PTopoDS_Wire.jxx b/src/FromOCCT/TKPShape/PTopoDS_Wire.jxx new file mode 100644 index 000000000..0e3ec9726 --- /dev/null +++ b/src/FromOCCT/TKPShape/PTopoDS_Wire.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKShapeSchema/CMakeLists.txt b/src/FromOCCT/TKShapeSchema/CMakeLists.txt new file mode 100755 index 000000000..341400717 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/CMakeLists.txt @@ -0,0 +1,684 @@ +# Copyright (C) 2012-2015 CEA/DEN, EDF R&D, OPEN CASCADE +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# + +# --- options --- + +# additional include directories +INCLUDE_DIRECTORIES( + ${CAS_INCLUDE_DIRS} + ${PROJECT_SOURCE_DIR}/src/FromOCCT/TKPShape + ${PROJECT_SOURCE_DIR}/src/FromOCCT/PTKernel + ${CMAKE_CURRENT_SOURCE_DIR} +) + +# additional preprocessor / compiler flags +ADD_DEFINITIONS( + ${CAS_DEFINITIONS} + ) + +# libraries to link to +SET(_link_LIBRARIES + ${CAS_TKernel} ${CAS_TKG2d} + ${CAS_TKMath} ${CAS_TKCDF} + TKPShape + PTKernel + ) + +# --- headers --- + +SET(GEOM_HEADERS + Handle_PCDMShape_Document.hxx + PCDMShape_Document.hxx + PCDMShape_Document.ixx + PCDMShape_Document.jxx + ShapeSchema_DBC_VArrayOfCharacter.hxx + ShapeSchema_DBC_VArrayOfCharacter.ixx + ShapeSchema_DBC_VArrayOfExtCharacter.hxx + ShapeSchema_DBC_VArrayOfExtCharacter.ixx + ShapeSchema_gp_Ax1.hxx + ShapeSchema_gp_Ax1.ixx + ShapeSchema_gp_Ax22d.hxx + ShapeSchema_gp_Ax22d.ixx + ShapeSchema_gp_Ax2d.hxx + ShapeSchema_gp_Ax2d.ixx + ShapeSchema_gp_Ax2.hxx + ShapeSchema_gp_Ax2.ixx + ShapeSchema_gp_Ax3.hxx + ShapeSchema_gp_Ax3.ixx + ShapeSchema_gp_Circ2d.hxx + ShapeSchema_gp_Circ2d.ixx + ShapeSchema_gp_Dir2d.hxx + ShapeSchema_gp_Dir2d.ixx + ShapeSchema_gp_Dir.hxx + ShapeSchema_gp_Dir.ixx + ShapeSchema_gp_Lin2d.hxx + ShapeSchema_gp_Lin2d.ixx + ShapeSchema_gp_Mat2d.hxx + ShapeSchema_gp_Mat2d.ixx + ShapeSchema_gp_Mat.hxx + ShapeSchema_gp_Mat.ixx + ShapeSchema_gp_Pnt2d.hxx + ShapeSchema_gp_Pnt2d.ixx + ShapeSchema_gp_Pnt.hxx + ShapeSchema_gp_Pnt.ixx + ShapeSchema_gp_Trsf2d.hxx + ShapeSchema_gp_Trsf2d.ixx + ShapeSchema_gp_Trsf.hxx + ShapeSchema_gp_Trsf.ixx + ShapeSchema_gp_Vec2d.hxx + ShapeSchema_gp_Vec2d.ixx + ShapeSchema_gp_Vec.hxx + ShapeSchema_gp_Vec.ixx + ShapeSchema_gp_XY.hxx + ShapeSchema_gp_XY.ixx + ShapeSchema_gp_XYZ.hxx + ShapeSchema_gp_XYZ.ixx + ShapeSchema.hxx + ShapeSchema_ObjMgt_ExternRef.hxx + ShapeSchema_ObjMgt_ExternRef.ixx + ShapeSchema_ObjMgt_ExternShareable.hxx + ShapeSchema_ObjMgt_ExternShareable.ixx + ShapeSchema_ObjMgt_PSeqOfExtRef.hxx + ShapeSchema_ObjMgt_PSeqOfExtRef.ixx + ShapeSchema_ObjMgt_SeqNodeOfPSeqOfExtRef.hxx + ShapeSchema_ObjMgt_SeqNodeOfPSeqOfExtRef.ixx + ShapeSchema_PBRep_Curve3D.hxx + ShapeSchema_PBRep_Curve3D.ixx + ShapeSchema_PBRep_CurveOn2Surfaces.hxx + ShapeSchema_PBRep_CurveOn2Surfaces.ixx + ShapeSchema_PBRep_CurveOnClosedSurface.hxx + ShapeSchema_PBRep_CurveOnClosedSurface.ixx + ShapeSchema_PBRep_CurveOnSurface.hxx + ShapeSchema_PBRep_CurveOnSurface.ixx + ShapeSchema_PBRep_CurveRepresentation.hxx + ShapeSchema_PBRep_CurveRepresentation.ixx + ShapeSchema_PBRep_GCurve.hxx + ShapeSchema_PBRep_GCurve.ixx + ShapeSchema_PBRep_PointOnCurve.hxx + ShapeSchema_PBRep_PointOnCurve.ixx + ShapeSchema_PBRep_PointOnCurveOnSurface.hxx + ShapeSchema_PBRep_PointOnCurveOnSurface.ixx + ShapeSchema_PBRep_PointOnSurface.hxx + ShapeSchema_PBRep_PointOnSurface.ixx + ShapeSchema_PBRep_PointRepresentation.hxx + ShapeSchema_PBRep_PointRepresentation.ixx + ShapeSchema_PBRep_PointsOnSurface.hxx + ShapeSchema_PBRep_PointsOnSurface.ixx + ShapeSchema_PBRep_Polygon3D.hxx + ShapeSchema_PBRep_Polygon3D.ixx + ShapeSchema_PBRep_PolygonOnClosedSurface.hxx + ShapeSchema_PBRep_PolygonOnClosedSurface.ixx + ShapeSchema_PBRep_PolygonOnClosedTriangulation.hxx + ShapeSchema_PBRep_PolygonOnClosedTriangulation.ixx + ShapeSchema_PBRep_PolygonOnSurface.hxx + ShapeSchema_PBRep_PolygonOnSurface.ixx + ShapeSchema_PBRep_PolygonOnTriangulation.hxx + ShapeSchema_PBRep_PolygonOnTriangulation.ixx + ShapeSchema_PBRep_TEdge1.hxx + ShapeSchema_PBRep_TEdge1.ixx + ShapeSchema_PBRep_TEdge.hxx + ShapeSchema_PBRep_TEdge.ixx + ShapeSchema_PBRep_TFace1.hxx + ShapeSchema_PBRep_TFace1.ixx + ShapeSchema_PBRep_TFace.hxx + ShapeSchema_PBRep_TFace.ixx + ShapeSchema_PBRep_TVertex1.hxx + ShapeSchema_PBRep_TVertex1.ixx + ShapeSchema_PBRep_TVertex.hxx + ShapeSchema_PBRep_TVertex.ixx + ShapeSchema_PCDM_Document.hxx + ShapeSchema_PCDM_Document.ixx + ShapeSchema_PCDMShape_Document.hxx + ShapeSchema_PCDMShape_Document.ixx + ShapeSchema_PColgp_FieldOfHArray1OfCirc2d.hxx + ShapeSchema_PColgp_FieldOfHArray1OfCirc2d.ixx + ShapeSchema_PColgp_FieldOfHArray1OfDir2d.hxx + ShapeSchema_PColgp_FieldOfHArray1OfDir2d.ixx + ShapeSchema_PColgp_FieldOfHArray1OfDir.hxx + ShapeSchema_PColgp_FieldOfHArray1OfDir.ixx + ShapeSchema_PColgp_FieldOfHArray1OfLin2d.hxx + ShapeSchema_PColgp_FieldOfHArray1OfLin2d.ixx + ShapeSchema_PColgp_FieldOfHArray1OfPnt2d.hxx + ShapeSchema_PColgp_FieldOfHArray1OfPnt2d.ixx + ShapeSchema_PColgp_FieldOfHArray1OfPnt.hxx + ShapeSchema_PColgp_FieldOfHArray1OfPnt.ixx + ShapeSchema_PColgp_FieldOfHArray1OfVec2d.hxx + ShapeSchema_PColgp_FieldOfHArray1OfVec2d.ixx + ShapeSchema_PColgp_FieldOfHArray1OfVec.hxx + ShapeSchema_PColgp_FieldOfHArray1OfVec.ixx + ShapeSchema_PColgp_FieldOfHArray1OfXY.hxx + ShapeSchema_PColgp_FieldOfHArray1OfXY.ixx + ShapeSchema_PColgp_FieldOfHArray1OfXYZ.hxx + ShapeSchema_PColgp_FieldOfHArray1OfXYZ.ixx + ShapeSchema_PColgp_FieldOfHArray2OfCirc2d.hxx + ShapeSchema_PColgp_FieldOfHArray2OfCirc2d.ixx + ShapeSchema_PColgp_FieldOfHArray2OfDir2d.hxx + ShapeSchema_PColgp_FieldOfHArray2OfDir2d.ixx + ShapeSchema_PColgp_FieldOfHArray2OfDir.hxx + ShapeSchema_PColgp_FieldOfHArray2OfDir.ixx + ShapeSchema_PColgp_FieldOfHArray2OfLin2d.hxx + ShapeSchema_PColgp_FieldOfHArray2OfLin2d.ixx + ShapeSchema_PColgp_FieldOfHArray2OfPnt2d.hxx + ShapeSchema_PColgp_FieldOfHArray2OfPnt2d.ixx + ShapeSchema_PColgp_FieldOfHArray2OfPnt.hxx + ShapeSchema_PColgp_FieldOfHArray2OfPnt.ixx + ShapeSchema_PColgp_FieldOfHArray2OfVec2d.hxx + ShapeSchema_PColgp_FieldOfHArray2OfVec2d.ixx + ShapeSchema_PColgp_FieldOfHArray2OfVec.hxx + ShapeSchema_PColgp_FieldOfHArray2OfVec.ixx + ShapeSchema_PColgp_FieldOfHArray2OfXY.hxx + ShapeSchema_PColgp_FieldOfHArray2OfXY.ixx + ShapeSchema_PColgp_FieldOfHArray2OfXYZ.hxx + ShapeSchema_PColgp_FieldOfHArray2OfXYZ.ixx + ShapeSchema_PColgp_HArray1OfCirc2d.hxx + ShapeSchema_PColgp_HArray1OfCirc2d.ixx + ShapeSchema_PColgp_HArray1OfDir2d.hxx + ShapeSchema_PColgp_HArray1OfDir2d.ixx + ShapeSchema_PColgp_HArray1OfDir.hxx + ShapeSchema_PColgp_HArray1OfDir.ixx + ShapeSchema_PColgp_HArray1OfLin2d.hxx + ShapeSchema_PColgp_HArray1OfLin2d.ixx + ShapeSchema_PColgp_HArray1OfPnt2d.hxx + ShapeSchema_PColgp_HArray1OfPnt2d.ixx + ShapeSchema_PColgp_HArray1OfPnt.hxx + ShapeSchema_PColgp_HArray1OfPnt.ixx + ShapeSchema_PColgp_HArray1OfVec2d.hxx + ShapeSchema_PColgp_HArray1OfVec2d.ixx + ShapeSchema_PColgp_HArray1OfVec.hxx + ShapeSchema_PColgp_HArray1OfVec.ixx + ShapeSchema_PColgp_HArray1OfXY.hxx + ShapeSchema_PColgp_HArray1OfXY.ixx + ShapeSchema_PColgp_HArray1OfXYZ.hxx + ShapeSchema_PColgp_HArray1OfXYZ.ixx + ShapeSchema_PColgp_HArray2OfCirc2d.hxx + ShapeSchema_PColgp_HArray2OfCirc2d.ixx + ShapeSchema_PColgp_HArray2OfDir2d.hxx + ShapeSchema_PColgp_HArray2OfDir2d.ixx + ShapeSchema_PColgp_HArray2OfDir.hxx + ShapeSchema_PColgp_HArray2OfDir.ixx + ShapeSchema_PColgp_HArray2OfLin2d.hxx + ShapeSchema_PColgp_HArray2OfLin2d.ixx + ShapeSchema_PColgp_HArray2OfPnt2d.hxx + ShapeSchema_PColgp_HArray2OfPnt2d.ixx + ShapeSchema_PColgp_HArray2OfPnt.hxx + ShapeSchema_PColgp_HArray2OfPnt.ixx + ShapeSchema_PColgp_HArray2OfVec2d.hxx + ShapeSchema_PColgp_HArray2OfVec2d.ixx + ShapeSchema_PColgp_HArray2OfVec.hxx + ShapeSchema_PColgp_HArray2OfVec.ixx + ShapeSchema_PColgp_HArray2OfXY.hxx + ShapeSchema_PColgp_HArray2OfXY.ixx + ShapeSchema_PColgp_HArray2OfXYZ.hxx + ShapeSchema_PColgp_HArray2OfXYZ.ixx + ShapeSchema_PColgp_HSequenceOfDir.hxx + ShapeSchema_PColgp_HSequenceOfDir.ixx + ShapeSchema_PColgp_HSequenceOfPnt.hxx + ShapeSchema_PColgp_HSequenceOfPnt.ixx + ShapeSchema_PColgp_HSequenceOfVec.hxx + ShapeSchema_PColgp_HSequenceOfVec.ixx + ShapeSchema_PColgp_HSequenceOfXYZ.hxx + ShapeSchema_PColgp_HSequenceOfXYZ.ixx + ShapeSchema_PColgp_SeqNodeOfHSequenceOfDir.hxx + ShapeSchema_PColgp_SeqNodeOfHSequenceOfDir.ixx + ShapeSchema_PColgp_SeqNodeOfHSequenceOfPnt.hxx + ShapeSchema_PColgp_SeqNodeOfHSequenceOfPnt.ixx + ShapeSchema_PColgp_SeqNodeOfHSequenceOfVec.hxx + ShapeSchema_PColgp_SeqNodeOfHSequenceOfVec.ixx + ShapeSchema_PColgp_SeqNodeOfHSequenceOfXYZ.hxx + ShapeSchema_PColgp_SeqNodeOfHSequenceOfXYZ.ixx + ShapeSchema_PCollection_HAsciiString.hxx + ShapeSchema_PCollection_HAsciiString.ixx + ShapeSchema_PCollection_HExtendedString.hxx + ShapeSchema_PCollection_HExtendedString.ixx + ShapeSchema_PColStd_FieldOfHArray1OfInteger.hxx + ShapeSchema_PColStd_FieldOfHArray1OfInteger.ixx + ShapeSchema_PColStd_FieldOfHArray1OfReal.hxx + ShapeSchema_PColStd_FieldOfHArray1OfReal.ixx + ShapeSchema_PColStd_FieldOfHArray2OfReal.hxx + ShapeSchema_PColStd_FieldOfHArray2OfReal.ixx + ShapeSchema_PColStd_HArray1OfInteger.hxx + ShapeSchema_PColStd_HArray1OfInteger.ixx + ShapeSchema_PColStd_HArray1OfReal.hxx + ShapeSchema_PColStd_HArray1OfReal.ixx + ShapeSchema_PColStd_HArray2OfReal.hxx + ShapeSchema_PColStd_HArray2OfReal.ixx + ShapeSchema_PGeom2d_AxisPlacement.hxx + ShapeSchema_PGeom2d_AxisPlacement.ixx + ShapeSchema_PGeom2d_BezierCurve.hxx + ShapeSchema_PGeom2d_BezierCurve.ixx + ShapeSchema_PGeom2d_BoundedCurve.hxx + ShapeSchema_PGeom2d_BoundedCurve.ixx + ShapeSchema_PGeom2d_BSplineCurve.hxx + ShapeSchema_PGeom2d_BSplineCurve.ixx + ShapeSchema_PGeom2d_CartesianPoint.hxx + ShapeSchema_PGeom2d_CartesianPoint.ixx + ShapeSchema_PGeom2d_Circle.hxx + ShapeSchema_PGeom2d_Circle.ixx + ShapeSchema_PGeom2d_Conic.hxx + ShapeSchema_PGeom2d_Conic.ixx + ShapeSchema_PGeom2d_Curve.hxx + ShapeSchema_PGeom2d_Curve.ixx + ShapeSchema_PGeom2d_Direction.hxx + ShapeSchema_PGeom2d_Direction.ixx + ShapeSchema_PGeom2d_Ellipse.hxx + ShapeSchema_PGeom2d_Ellipse.ixx + ShapeSchema_PGeom2d_Geometry.hxx + ShapeSchema_PGeom2d_Geometry.ixx + ShapeSchema_PGeom2d_Hyperbola.hxx + ShapeSchema_PGeom2d_Hyperbola.ixx + ShapeSchema_PGeom2d_Line.hxx + ShapeSchema_PGeom2d_Line.ixx + ShapeSchema_PGeom2d_OffsetCurve.hxx + ShapeSchema_PGeom2d_OffsetCurve.ixx + ShapeSchema_PGeom2d_Parabola.hxx + ShapeSchema_PGeom2d_Parabola.ixx + ShapeSchema_PGeom2d_Point.hxx + ShapeSchema_PGeom2d_Point.ixx + ShapeSchema_PGeom2d_Transformation.hxx + ShapeSchema_PGeom2d_Transformation.ixx + ShapeSchema_PGeom2d_TrimmedCurve.hxx + ShapeSchema_PGeom2d_TrimmedCurve.ixx + ShapeSchema_PGeom2d_Vector.hxx + ShapeSchema_PGeom2d_Vector.ixx + ShapeSchema_PGeom2d_VectorWithMagnitude.hxx + ShapeSchema_PGeom2d_VectorWithMagnitude.ixx + ShapeSchema_PGeom_Axis1Placement.hxx + ShapeSchema_PGeom_Axis1Placement.ixx + ShapeSchema_PGeom_Axis2Placement.hxx + ShapeSchema_PGeom_Axis2Placement.ixx + ShapeSchema_PGeom_AxisPlacement.hxx + ShapeSchema_PGeom_AxisPlacement.ixx + ShapeSchema_PGeom_BezierCurve.hxx + ShapeSchema_PGeom_BezierCurve.ixx + ShapeSchema_PGeom_BezierSurface.hxx + ShapeSchema_PGeom_BezierSurface.ixx + ShapeSchema_PGeom_BoundedCurve.hxx + ShapeSchema_PGeom_BoundedCurve.ixx + ShapeSchema_PGeom_BoundedSurface.hxx + ShapeSchema_PGeom_BoundedSurface.ixx + ShapeSchema_PGeom_BSplineCurve.hxx + ShapeSchema_PGeom_BSplineCurve.ixx + ShapeSchema_PGeom_BSplineSurface.hxx + ShapeSchema_PGeom_BSplineSurface.ixx + ShapeSchema_PGeom_CartesianPoint.hxx + ShapeSchema_PGeom_CartesianPoint.ixx + ShapeSchema_PGeom_Circle.hxx + ShapeSchema_PGeom_Circle.ixx + ShapeSchema_PGeom_ConicalSurface.hxx + ShapeSchema_PGeom_ConicalSurface.ixx + ShapeSchema_PGeom_Conic.hxx + ShapeSchema_PGeom_Conic.ixx + ShapeSchema_PGeom_Curve.hxx + ShapeSchema_PGeom_Curve.ixx + ShapeSchema_PGeom_CylindricalSurface.hxx + ShapeSchema_PGeom_CylindricalSurface.ixx + ShapeSchema_PGeom_Direction.hxx + ShapeSchema_PGeom_Direction.ixx + ShapeSchema_PGeom_ElementarySurface.hxx + ShapeSchema_PGeom_ElementarySurface.ixx + ShapeSchema_PGeom_Ellipse.hxx + ShapeSchema_PGeom_Ellipse.ixx + ShapeSchema_PGeom_Geometry.hxx + ShapeSchema_PGeom_Geometry.ixx + ShapeSchema_PGeom_Hyperbola.hxx + ShapeSchema_PGeom_Hyperbola.ixx + ShapeSchema_PGeom_Line.hxx + ShapeSchema_PGeom_Line.ixx + ShapeSchema_PGeom_OffsetCurve.hxx + ShapeSchema_PGeom_OffsetCurve.ixx + ShapeSchema_PGeom_OffsetSurface.hxx + ShapeSchema_PGeom_OffsetSurface.ixx + ShapeSchema_PGeom_Parabola.hxx + ShapeSchema_PGeom_Parabola.ixx + ShapeSchema_PGeom_Plane.hxx + ShapeSchema_PGeom_Plane.ixx + ShapeSchema_PGeom_Point.hxx + ShapeSchema_PGeom_Point.ixx + ShapeSchema_PGeom_RectangularTrimmedSurface.hxx + ShapeSchema_PGeom_RectangularTrimmedSurface.ixx + ShapeSchema_PGeom_SphericalSurface.hxx + ShapeSchema_PGeom_SphericalSurface.ixx + ShapeSchema_PGeom_Surface.hxx + ShapeSchema_PGeom_Surface.ixx + ShapeSchema_PGeom_SurfaceOfLinearExtrusion.hxx + ShapeSchema_PGeom_SurfaceOfLinearExtrusion.ixx + ShapeSchema_PGeom_SurfaceOfRevolution.hxx + ShapeSchema_PGeom_SurfaceOfRevolution.ixx + ShapeSchema_PGeom_SweptSurface.hxx + ShapeSchema_PGeom_SweptSurface.ixx + ShapeSchema_PGeom_ToroidalSurface.hxx + ShapeSchema_PGeom_ToroidalSurface.ixx + ShapeSchema_PGeom_Transformation.hxx + ShapeSchema_PGeom_Transformation.ixx + ShapeSchema_PGeom_TrimmedCurve.hxx + ShapeSchema_PGeom_TrimmedCurve.ixx + ShapeSchema_PGeom_Vector.hxx + ShapeSchema_PGeom_Vector.ixx + ShapeSchema_PGeom_VectorWithMagnitude.hxx + ShapeSchema_PGeom_VectorWithMagnitude.ixx + ShapeSchema_PMMgt_PManaged.hxx + ShapeSchema_PMMgt_PManaged.ixx + ShapeSchema_PPoly_FieldOfHArray1OfTriangle.hxx + ShapeSchema_PPoly_FieldOfHArray1OfTriangle.ixx + ShapeSchema_PPoly_HArray1OfTriangle.hxx + ShapeSchema_PPoly_HArray1OfTriangle.ixx + ShapeSchema_PPoly_Polygon2D.hxx + ShapeSchema_PPoly_Polygon2D.ixx + ShapeSchema_PPoly_Polygon3D.hxx + ShapeSchema_PPoly_Polygon3D.ixx + ShapeSchema_PPoly_PolygonOnTriangulation.hxx + ShapeSchema_PPoly_PolygonOnTriangulation.ixx + ShapeSchema_PPoly_Triangle.hxx + ShapeSchema_PPoly_Triangle.ixx + ShapeSchema_PPoly_Triangulation.hxx + ShapeSchema_PPoly_Triangulation.ixx + ShapeSchema_PTopLoc_Datum3D.hxx + ShapeSchema_PTopLoc_Datum3D.ixx + ShapeSchema_PTopLoc_ItemLocation.hxx + ShapeSchema_PTopLoc_ItemLocation.ixx + ShapeSchema_PTopLoc_Location.hxx + ShapeSchema_PTopLoc_Location.ixx + ShapeSchema_PTopoDS_Compound.hxx + ShapeSchema_PTopoDS_Compound.ixx + ShapeSchema_PTopoDS_CompSolid.hxx + ShapeSchema_PTopoDS_CompSolid.ixx + ShapeSchema_PTopoDS_Edge.hxx + ShapeSchema_PTopoDS_Edge.ixx + ShapeSchema_PTopoDS_Face.hxx + ShapeSchema_PTopoDS_Face.ixx + ShapeSchema_PTopoDS_FieldOfHArray1OfHShape.hxx + ShapeSchema_PTopoDS_FieldOfHArray1OfHShape.ixx + ShapeSchema_PTopoDS_FieldOfHArray1OfShape1.hxx + ShapeSchema_PTopoDS_FieldOfHArray1OfShape1.ixx + ShapeSchema_PTopoDS_HArray1OfHShape.hxx + ShapeSchema_PTopoDS_HArray1OfHShape.ixx + ShapeSchema_PTopoDS_HArray1OfShape1.hxx + ShapeSchema_PTopoDS_HArray1OfShape1.ixx + ShapeSchema_PTopoDS_HShape.hxx + ShapeSchema_PTopoDS_HShape.ixx + ShapeSchema_PTopoDS_Shape1.hxx + ShapeSchema_PTopoDS_Shape1.ixx + ShapeSchema_PTopoDS_Shell.hxx + ShapeSchema_PTopoDS_Shell.ixx + ShapeSchema_PTopoDS_Solid.hxx + ShapeSchema_PTopoDS_Solid.ixx + ShapeSchema_PTopoDS_TCompound1.hxx + ShapeSchema_PTopoDS_TCompound1.ixx + ShapeSchema_PTopoDS_TCompound.hxx + ShapeSchema_PTopoDS_TCompound.ixx + ShapeSchema_PTopoDS_TCompSolid1.hxx + ShapeSchema_PTopoDS_TCompSolid1.ixx + ShapeSchema_PTopoDS_TCompSolid.hxx + ShapeSchema_PTopoDS_TCompSolid.ixx + ShapeSchema_PTopoDS_TEdge1.hxx + ShapeSchema_PTopoDS_TEdge1.ixx + ShapeSchema_PTopoDS_TEdge.hxx + ShapeSchema_PTopoDS_TEdge.ixx + ShapeSchema_PTopoDS_TFace1.hxx + ShapeSchema_PTopoDS_TFace1.ixx + ShapeSchema_PTopoDS_TFace.hxx + ShapeSchema_PTopoDS_TFace.ixx + ShapeSchema_PTopoDS_TShape1.hxx + ShapeSchema_PTopoDS_TShape1.ixx + ShapeSchema_PTopoDS_TShape.hxx + ShapeSchema_PTopoDS_TShape.ixx + ShapeSchema_PTopoDS_TShell1.hxx + ShapeSchema_PTopoDS_TShell1.ixx + ShapeSchema_PTopoDS_TShell.hxx + ShapeSchema_PTopoDS_TShell.ixx + ShapeSchema_PTopoDS_TSolid1.hxx + ShapeSchema_PTopoDS_TSolid1.ixx + ShapeSchema_PTopoDS_TSolid.hxx + ShapeSchema_PTopoDS_TSolid.ixx + ShapeSchema_PTopoDS_TVertex1.hxx + ShapeSchema_PTopoDS_TVertex1.ixx + ShapeSchema_PTopoDS_TVertex.hxx + ShapeSchema_PTopoDS_TVertex.ixx + ShapeSchema_PTopoDS_TWire1.hxx + ShapeSchema_PTopoDS_TWire1.ixx + ShapeSchema_PTopoDS_TWire.hxx + ShapeSchema_PTopoDS_TWire.ixx + ShapeSchema_PTopoDS_Vertex.hxx + ShapeSchema_PTopoDS_Vertex.ixx + ShapeSchema_PTopoDS_Wire.hxx + ShapeSchema_PTopoDS_Wire.ixx + ShapeSchema_Standard_Persistent.hxx + ShapeSchema_Standard_Persistent.ixx + ) + +# --- sources --- + +SET(GEOM_SOURCES + PCDMShape_Document.cxx + ShapeSchema.cxx + ShapeSchema_DBC_VArrayOfCharacter.cxx + ShapeSchema_DBC_VArrayOfExtCharacter.cxx + ShapeSchema_gp_Ax1.cxx + ShapeSchema_gp_Ax22d.cxx + ShapeSchema_gp_Ax2.cxx + ShapeSchema_gp_Ax2d.cxx + ShapeSchema_gp_Ax3.cxx + ShapeSchema_gp_Circ2d.cxx + ShapeSchema_gp_Dir2d.cxx + ShapeSchema_gp_Dir.cxx + ShapeSchema_gp_Lin2d.cxx + ShapeSchema_gp_Mat2d.cxx + ShapeSchema_gp_Mat.cxx + ShapeSchema_gp_Pnt2d.cxx + ShapeSchema_gp_Pnt.cxx + ShapeSchema_gp_Trsf2d.cxx + ShapeSchema_gp_Trsf.cxx + ShapeSchema_gp_Vec2d.cxx + ShapeSchema_gp_Vec.cxx + ShapeSchema_gp_XY.cxx + ShapeSchema_gp_XYZ.cxx + ShapeSchema_ObjMgt_ExternRef.cxx + ShapeSchema_ObjMgt_ExternShareable.cxx + ShapeSchema_ObjMgt_PSeqOfExtRef.cxx + ShapeSchema_ObjMgt_SeqNodeOfPSeqOfExtRef.cxx + ShapeSchema_PBRep_Curve3D.cxx + ShapeSchema_PBRep_CurveOn2Surfaces.cxx + ShapeSchema_PBRep_CurveOnClosedSurface.cxx + ShapeSchema_PBRep_CurveOnSurface.cxx + ShapeSchema_PBRep_CurveRepresentation.cxx + ShapeSchema_PBRep_GCurve.cxx + ShapeSchema_PBRep_PointOnCurve.cxx + ShapeSchema_PBRep_PointOnCurveOnSurface.cxx + ShapeSchema_PBRep_PointOnSurface.cxx + ShapeSchema_PBRep_PointRepresentation.cxx + ShapeSchema_PBRep_PointsOnSurface.cxx + ShapeSchema_PBRep_Polygon3D.cxx + ShapeSchema_PBRep_PolygonOnClosedSurface.cxx + ShapeSchema_PBRep_PolygonOnClosedTriangulation.cxx + ShapeSchema_PBRep_PolygonOnSurface.cxx + ShapeSchema_PBRep_PolygonOnTriangulation.cxx + ShapeSchema_PBRep_TEdge1.cxx + ShapeSchema_PBRep_TEdge.cxx + ShapeSchema_PBRep_TFace1.cxx + ShapeSchema_PBRep_TFace.cxx + ShapeSchema_PBRep_TVertex1.cxx + ShapeSchema_PBRep_TVertex.cxx + ShapeSchema_PCDM_Document.cxx + ShapeSchema_PCDMShape_Document.cxx + ShapeSchema_PColgp_FieldOfHArray1OfCirc2d.cxx + ShapeSchema_PColgp_FieldOfHArray1OfDir2d.cxx + ShapeSchema_PColgp_FieldOfHArray1OfDir.cxx + ShapeSchema_PColgp_FieldOfHArray1OfLin2d.cxx + ShapeSchema_PColgp_FieldOfHArray1OfPnt2d.cxx + ShapeSchema_PColgp_FieldOfHArray1OfPnt.cxx + ShapeSchema_PColgp_FieldOfHArray1OfVec2d.cxx + ShapeSchema_PColgp_FieldOfHArray1OfVec.cxx + ShapeSchema_PColgp_FieldOfHArray1OfXY.cxx + ShapeSchema_PColgp_FieldOfHArray1OfXYZ.cxx + ShapeSchema_PColgp_FieldOfHArray2OfCirc2d.cxx + ShapeSchema_PColgp_FieldOfHArray2OfDir2d.cxx + ShapeSchema_PColgp_FieldOfHArray2OfDir.cxx + ShapeSchema_PColgp_FieldOfHArray2OfLin2d.cxx + ShapeSchema_PColgp_FieldOfHArray2OfPnt2d.cxx + ShapeSchema_PColgp_FieldOfHArray2OfPnt.cxx + ShapeSchema_PColgp_FieldOfHArray2OfVec2d.cxx + ShapeSchema_PColgp_FieldOfHArray2OfVec.cxx + ShapeSchema_PColgp_FieldOfHArray2OfXY.cxx + ShapeSchema_PColgp_FieldOfHArray2OfXYZ.cxx + ShapeSchema_PColgp_HArray1OfCirc2d.cxx + ShapeSchema_PColgp_HArray1OfDir2d.cxx + ShapeSchema_PColgp_HArray1OfDir.cxx + ShapeSchema_PColgp_HArray1OfLin2d.cxx + ShapeSchema_PColgp_HArray1OfPnt2d.cxx + ShapeSchema_PColgp_HArray1OfPnt.cxx + ShapeSchema_PColgp_HArray1OfVec2d.cxx + ShapeSchema_PColgp_HArray1OfVec.cxx + ShapeSchema_PColgp_HArray1OfXY.cxx + ShapeSchema_PColgp_HArray1OfXYZ.cxx + ShapeSchema_PColgp_HArray2OfCirc2d.cxx + ShapeSchema_PColgp_HArray2OfDir2d.cxx + ShapeSchema_PColgp_HArray2OfDir.cxx + ShapeSchema_PColgp_HArray2OfLin2d.cxx + ShapeSchema_PColgp_HArray2OfPnt2d.cxx + ShapeSchema_PColgp_HArray2OfPnt.cxx + ShapeSchema_PColgp_HArray2OfVec2d.cxx + ShapeSchema_PColgp_HArray2OfVec.cxx + ShapeSchema_PColgp_HArray2OfXY.cxx + ShapeSchema_PColgp_HArray2OfXYZ.cxx + ShapeSchema_PColgp_HSequenceOfDir.cxx + ShapeSchema_PColgp_HSequenceOfPnt.cxx + ShapeSchema_PColgp_HSequenceOfVec.cxx + ShapeSchema_PColgp_HSequenceOfXYZ.cxx + ShapeSchema_PColgp_SeqNodeOfHSequenceOfDir.cxx + ShapeSchema_PColgp_SeqNodeOfHSequenceOfPnt.cxx + ShapeSchema_PColgp_SeqNodeOfHSequenceOfVec.cxx + ShapeSchema_PColgp_SeqNodeOfHSequenceOfXYZ.cxx + ShapeSchema_PCollection_HAsciiString.cxx + ShapeSchema_PCollection_HExtendedString.cxx + ShapeSchema_PColStd_FieldOfHArray1OfInteger.cxx + ShapeSchema_PColStd_FieldOfHArray1OfReal.cxx + ShapeSchema_PColStd_FieldOfHArray2OfReal.cxx + ShapeSchema_PColStd_HArray1OfInteger.cxx + ShapeSchema_PColStd_HArray1OfReal.cxx + ShapeSchema_PColStd_HArray2OfReal.cxx + ShapeSchema_PGeom2d_AxisPlacement.cxx + ShapeSchema_PGeom2d_BezierCurve.cxx + ShapeSchema_PGeom2d_BoundedCurve.cxx + ShapeSchema_PGeom2d_BSplineCurve.cxx + ShapeSchema_PGeom2d_CartesianPoint.cxx + ShapeSchema_PGeom2d_Circle.cxx + ShapeSchema_PGeom2d_Conic.cxx + ShapeSchema_PGeom2d_Curve.cxx + ShapeSchema_PGeom2d_Direction.cxx + ShapeSchema_PGeom2d_Ellipse.cxx + ShapeSchema_PGeom2d_Geometry.cxx + ShapeSchema_PGeom2d_Hyperbola.cxx + ShapeSchema_PGeom2d_Line.cxx + ShapeSchema_PGeom2d_OffsetCurve.cxx + ShapeSchema_PGeom2d_Parabola.cxx + ShapeSchema_PGeom2d_Point.cxx + ShapeSchema_PGeom2d_Transformation.cxx + ShapeSchema_PGeom2d_TrimmedCurve.cxx + ShapeSchema_PGeom2d_Vector.cxx + ShapeSchema_PGeom2d_VectorWithMagnitude.cxx + ShapeSchema_PGeom_Axis1Placement.cxx + ShapeSchema_PGeom_Axis2Placement.cxx + ShapeSchema_PGeom_AxisPlacement.cxx + ShapeSchema_PGeom_BezierCurve.cxx + ShapeSchema_PGeom_BezierSurface.cxx + ShapeSchema_PGeom_BoundedCurve.cxx + ShapeSchema_PGeom_BoundedSurface.cxx + ShapeSchema_PGeom_BSplineCurve.cxx + ShapeSchema_PGeom_BSplineSurface.cxx + ShapeSchema_PGeom_CartesianPoint.cxx + ShapeSchema_PGeom_Circle.cxx + ShapeSchema_PGeom_ConicalSurface.cxx + ShapeSchema_PGeom_Conic.cxx + ShapeSchema_PGeom_Curve.cxx + ShapeSchema_PGeom_CylindricalSurface.cxx + ShapeSchema_PGeom_Direction.cxx + ShapeSchema_PGeom_ElementarySurface.cxx + ShapeSchema_PGeom_Ellipse.cxx + ShapeSchema_PGeom_Geometry.cxx + ShapeSchema_PGeom_Hyperbola.cxx + ShapeSchema_PGeom_Line.cxx + ShapeSchema_PGeom_OffsetCurve.cxx + ShapeSchema_PGeom_OffsetSurface.cxx + ShapeSchema_PGeom_Parabola.cxx + ShapeSchema_PGeom_Plane.cxx + ShapeSchema_PGeom_Point.cxx + ShapeSchema_PGeom_RectangularTrimmedSurface.cxx + ShapeSchema_PGeom_SphericalSurface.cxx + ShapeSchema_PGeom_Surface.cxx + ShapeSchema_PGeom_SurfaceOfLinearExtrusion.cxx + ShapeSchema_PGeom_SurfaceOfRevolution.cxx + ShapeSchema_PGeom_SweptSurface.cxx + ShapeSchema_PGeom_ToroidalSurface.cxx + ShapeSchema_PGeom_Transformation.cxx + ShapeSchema_PGeom_TrimmedCurve.cxx + ShapeSchema_PGeom_Vector.cxx + ShapeSchema_PGeom_VectorWithMagnitude.cxx + ShapeSchema_PMMgt_PManaged.cxx + ShapeSchema_PPoly_FieldOfHArray1OfTriangle.cxx + ShapeSchema_PPoly_HArray1OfTriangle.cxx + ShapeSchema_PPoly_Polygon2D.cxx + ShapeSchema_PPoly_Polygon3D.cxx + ShapeSchema_PPoly_PolygonOnTriangulation.cxx + ShapeSchema_PPoly_Triangle.cxx + ShapeSchema_PPoly_Triangulation.cxx + ShapeSchema_PTopLoc_Datum3D.cxx + ShapeSchema_PTopLoc_ItemLocation.cxx + ShapeSchema_PTopLoc_Location.cxx + ShapeSchema_PTopoDS_Compound.cxx + ShapeSchema_PTopoDS_CompSolid.cxx + ShapeSchema_PTopoDS_Edge.cxx + ShapeSchema_PTopoDS_Face.cxx + ShapeSchema_PTopoDS_FieldOfHArray1OfHShape.cxx + ShapeSchema_PTopoDS_FieldOfHArray1OfShape1.cxx + ShapeSchema_PTopoDS_HArray1OfHShape.cxx + ShapeSchema_PTopoDS_HArray1OfShape1.cxx + ShapeSchema_PTopoDS_HShape.cxx + ShapeSchema_PTopoDS_Shape1.cxx + ShapeSchema_PTopoDS_Shell.cxx + ShapeSchema_PTopoDS_Solid.cxx + ShapeSchema_PTopoDS_TCompound1.cxx + ShapeSchema_PTopoDS_TCompound.cxx + ShapeSchema_PTopoDS_TCompSolid1.cxx + ShapeSchema_PTopoDS_TCompSolid.cxx + ShapeSchema_PTopoDS_TEdge1.cxx + ShapeSchema_PTopoDS_TEdge.cxx + ShapeSchema_PTopoDS_TFace1.cxx + ShapeSchema_PTopoDS_TFace.cxx + ShapeSchema_PTopoDS_TShape1.cxx + ShapeSchema_PTopoDS_TShape.cxx + ShapeSchema_PTopoDS_TShell1.cxx + ShapeSchema_PTopoDS_TShell.cxx + ShapeSchema_PTopoDS_TSolid1.cxx + ShapeSchema_PTopoDS_TSolid.cxx + ShapeSchema_PTopoDS_TVertex1.cxx + ShapeSchema_PTopoDS_TVertex.cxx + ShapeSchema_PTopoDS_TWire1.cxx + ShapeSchema_PTopoDS_TWire.cxx + ShapeSchema_PTopoDS_Vertex.cxx + ShapeSchema_PTopoDS_Wire.cxx + ShapeSchema_Standard_Persistent.cxx + ) + +# --- rules --- + +ADD_LIBRARY(TKShapeSchema ${GEOM_SOURCES}) +TARGET_LINK_LIBRARIES(TKShapeSchema ${_link_LIBRARIES}) +INSTALL(TARGETS TKShapeSchema EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) + +INSTALL(FILES ${GEOM_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) diff --git a/src/FromOCCT/TKShapeSchema/Handle_PCDMShape_Document.hxx b/src/FromOCCT/TKShapeSchema/Handle_PCDMShape_Document.hxx new file mode 100644 index 000000000..e84273c31 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/Handle_PCDMShape_Document.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PCDMShape_Document_HeaderFile +#define _Handle_PCDMShape_Document_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PCDM_Document); +class PCDMShape_Document; + +DEFINE_STANDARD_PHANDLE(PCDMShape_Document,PCDM_Document) + +#endif diff --git a/src/FromOCCT/TKShapeSchema/PCDMShape_Document.cxx b/src/FromOCCT/TKShapeSchema/PCDMShape_Document.cxx new file mode 100644 index 000000000..b7666801d --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/PCDMShape_Document.cxx @@ -0,0 +1,54 @@ +// 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 + + +//======================================================================= +//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/FromOCCT/TKShapeSchema/PCDMShape_Document.hxx b/src/FromOCCT/TKShapeSchema/PCDMShape_Document.hxx new file mode 100644 index 000000000..d24cb99f7 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/PCDMShape_Document.hxx @@ -0,0 +1,62 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PCDMShape_Document_HeaderFile +#define _PCDMShape_Document_HeaderFile + +#include +#include +#include +#include + +#include +#include +class PTopoDS_Shape1; + + +class PCDMShape_Document : public PCDM_Document +{ + +public: + + + Standard_EXPORT PCDMShape_Document(); + + Standard_EXPORT PCDMShape_Document(const PTopoDS_Shape1& T); + + Standard_EXPORT const PTopoDS_Shape1 Shape() const; + + Standard_EXPORT void Shape (const PTopoDS_Shape1& T) ; + +PCDMShape_Document(const Storage_stCONSTclCOM& a) : PCDM_Document(a) +{ + +} + const PTopoDS_Shape1& _CSFDB_GetPCDMShape_DocumentmyShape() const { return myShape; } + + + + DEFINE_STANDARD_RTTI(PCDMShape_Document) + +protected: + + + + +private: + + + PTopoDS_Shape1 myShape; + + +}; + + + + + + + +#endif // _PCDMShape_Document_HeaderFile diff --git a/src/FromOCCT/TKShapeSchema/PCDMShape_Document.ixx b/src/FromOCCT/TKShapeSchema/PCDMShape_Document.ixx new file mode 100644 index 000000000..8f626ce91 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/PCDMShape_Document.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PCDMShape_Document,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PCDMShape_Document) + + + diff --git a/src/FromOCCT/TKShapeSchema/PCDMShape_Document.jxx b/src/FromOCCT/TKShapeSchema/PCDMShape_Document.jxx new file mode 100644 index 000000000..b1cef9472 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/PCDMShape_Document.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema.cxx new file mode 100644 index 000000000..53920ccfe --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema.cxx @@ -0,0 +1,926 @@ +#ifndef _ShapeSchema_HeaderFile +#include +#endif +#ifndef _Storage_StreamUnknownTypeError_HeaderFile +#include +#endif +#ifndef _TColStd_SequenceOfAsciiString_HeaderFile +#include +#endif +#ifndef _ShapeSchema_ObjMgt_ExternShareable_HeaderFile +#include +#endif +#ifndef _ShapeSchema_ObjMgt_ExternRef_HeaderFile +#include +#endif +#ifndef _ShapeSchema_ObjMgt_PSeqOfExtRef_HeaderFile +#include +#endif +#ifndef _ShapeSchema_ObjMgt_SeqNodeOfPSeqOfExtRef_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PTopLoc_Datum3D_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PTopLoc_ItemLocation_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColgp_HArray1OfCirc2d_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColgp_HArray1OfDir2d_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColgp_HArray1OfLin2d_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColgp_HArray1OfPnt2d_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColgp_HArray1OfVec2d_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColgp_HArray1OfXY_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColgp_HArray1OfDir_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColgp_HArray1OfPnt_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColgp_HArray1OfVec_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColgp_HArray1OfXYZ_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColgp_HArray2OfCirc2d_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColgp_HArray2OfDir2d_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColgp_HArray2OfLin2d_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColgp_HArray2OfPnt2d_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColgp_HArray2OfVec2d_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColgp_HArray2OfXY_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColgp_HArray2OfDir_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColgp_HArray2OfPnt_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColgp_HArray2OfVec_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColgp_HArray2OfXYZ_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColgp_HSequenceOfDir_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColgp_SeqNodeOfHSequenceOfDir_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColgp_HSequenceOfPnt_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColgp_SeqNodeOfHSequenceOfPnt_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColgp_HSequenceOfVec_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColgp_SeqNodeOfHSequenceOfVec_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColgp_HSequenceOfXYZ_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColgp_SeqNodeOfHSequenceOfXYZ_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom2d_Transformation_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom2d_Geometry_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom2d_Point_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom2d_CartesianPoint_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom2d_Vector_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom2d_Direction_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom2d_VectorWithMagnitude_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom2d_AxisPlacement_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom2d_Curve_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom2d_Line_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom2d_Conic_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom2d_Circle_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom2d_Ellipse_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom2d_Hyperbola_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom2d_Parabola_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom2d_BoundedCurve_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom2d_BezierCurve_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom2d_BSplineCurve_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom2d_TrimmedCurve_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom2d_OffsetCurve_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom_Transformation_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom_Geometry_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom_Point_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom_CartesianPoint_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom_Vector_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom_Direction_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom_VectorWithMagnitude_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom_AxisPlacement_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom_Axis1Placement_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom_Axis2Placement_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom_Curve_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom_Line_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom_Conic_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom_Circle_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom_Ellipse_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom_Hyperbola_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom_Parabola_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom_BoundedCurve_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom_BezierCurve_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom_BSplineCurve_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom_TrimmedCurve_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom_OffsetCurve_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom_Surface_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom_ElementarySurface_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom_Plane_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom_ConicalSurface_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom_CylindricalSurface_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom_SphericalSurface_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom_ToroidalSurface_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom_SweptSurface_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom_SurfaceOfLinearExtrusion_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom_SurfaceOfRevolution_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom_BoundedSurface_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom_BezierSurface_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom_BSplineSurface_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom_RectangularTrimmedSurface_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom_OffsetSurface_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PPoly_Triangulation_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PPoly_Polygon3D_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PPoly_Polygon2D_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PPoly_PolygonOnTriangulation_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PPoly_HArray1OfTriangle_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PTopoDS_HShape_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PTopoDS_TShape_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PTopoDS_TVertex_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PTopoDS_Vertex_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PTopoDS_TEdge_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PTopoDS_Edge_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PTopoDS_TWire_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PTopoDS_Wire_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PTopoDS_TFace_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PTopoDS_Face_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PTopoDS_TShell_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PTopoDS_Shell_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PTopoDS_TSolid_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PTopoDS_Solid_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PTopoDS_TCompSolid_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PTopoDS_CompSolid_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PTopoDS_TCompound_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PTopoDS_Compound_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PTopoDS_HArray1OfHShape_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PTopoDS_TShape1_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PTopoDS_TVertex1_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PTopoDS_TEdge1_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PTopoDS_TWire1_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PTopoDS_TFace1_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PTopoDS_TShell1_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PTopoDS_TSolid1_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PTopoDS_TCompSolid1_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PTopoDS_TCompound1_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PTopoDS_HArray1OfShape1_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PBRep_CurveRepresentation_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PBRep_GCurve_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PBRep_Curve3D_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PBRep_CurveOnSurface_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PBRep_CurveOnClosedSurface_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PBRep_Polygon3D_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PBRep_PolygonOnTriangulation_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PBRep_PolygonOnClosedTriangulation_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PBRep_PolygonOnSurface_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PBRep_PolygonOnClosedSurface_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PBRep_CurveOn2Surfaces_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PBRep_PointRepresentation_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PBRep_PointOnCurve_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PBRep_PointsOnSurface_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PBRep_PointOnCurveOnSurface_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PBRep_PointOnSurface_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PBRep_TFace_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PBRep_TEdge_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PBRep_TVertex_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PBRep_TFace1_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PBRep_TEdge1_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PBRep_TVertex1_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PCDMShape_Document_HeaderFile +#include +#endif +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PCollection_HAsciiString_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PMMgt_PManaged_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColStd_HArray1OfReal_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColStd_HArray1OfInteger_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColStd_HArray2OfReal_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PCDM_Document_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PCollection_HExtendedString_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema,Storage_Schema) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema,Storage_Schema) + +Storage_BEGIN_ADD_TYPES(ShapeSchema) +Storage_ADD_TYPES(ShapeSchema,ObjMgt_ExternShareable,ShapeSchema_ObjMgt_ExternShareable) +Storage_ADD_TYPES(ShapeSchema,ObjMgt_ExternRef,ShapeSchema_ObjMgt_ExternRef) +Storage_ADD_TYPES(ShapeSchema,ObjMgt_PSeqOfExtRef,ShapeSchema_ObjMgt_PSeqOfExtRef) +Storage_ADD_TYPES(ShapeSchema,ObjMgt_SeqNodeOfPSeqOfExtRef,ShapeSchema_ObjMgt_SeqNodeOfPSeqOfExtRef) +Storage_ADD_TYPES(ShapeSchema,PTopLoc_Datum3D,ShapeSchema_PTopLoc_Datum3D) +Storage_ADD_TYPES(ShapeSchema,PTopLoc_ItemLocation,ShapeSchema_PTopLoc_ItemLocation) +Storage_ADD_TYPES(ShapeSchema,PColgp_HArray1OfCirc2d,ShapeSchema_PColgp_HArray1OfCirc2d) +Storage_ADD_TYPES(ShapeSchema,PColgp_HArray1OfDir2d,ShapeSchema_PColgp_HArray1OfDir2d) +Storage_ADD_TYPES(ShapeSchema,PColgp_HArray1OfLin2d,ShapeSchema_PColgp_HArray1OfLin2d) +Storage_ADD_TYPES(ShapeSchema,PColgp_HArray1OfPnt2d,ShapeSchema_PColgp_HArray1OfPnt2d) +Storage_ADD_TYPES(ShapeSchema,PColgp_HArray1OfVec2d,ShapeSchema_PColgp_HArray1OfVec2d) +Storage_ADD_TYPES(ShapeSchema,PColgp_HArray1OfXY,ShapeSchema_PColgp_HArray1OfXY) +Storage_ADD_TYPES(ShapeSchema,PColgp_HArray1OfDir,ShapeSchema_PColgp_HArray1OfDir) +Storage_ADD_TYPES(ShapeSchema,PColgp_HArray1OfPnt,ShapeSchema_PColgp_HArray1OfPnt) +Storage_ADD_TYPES(ShapeSchema,PColgp_HArray1OfVec,ShapeSchema_PColgp_HArray1OfVec) +Storage_ADD_TYPES(ShapeSchema,PColgp_HArray1OfXYZ,ShapeSchema_PColgp_HArray1OfXYZ) +Storage_ADD_TYPES(ShapeSchema,PColgp_HArray2OfCirc2d,ShapeSchema_PColgp_HArray2OfCirc2d) +Storage_ADD_TYPES(ShapeSchema,PColgp_HArray2OfDir2d,ShapeSchema_PColgp_HArray2OfDir2d) +Storage_ADD_TYPES(ShapeSchema,PColgp_HArray2OfLin2d,ShapeSchema_PColgp_HArray2OfLin2d) +Storage_ADD_TYPES(ShapeSchema,PColgp_HArray2OfPnt2d,ShapeSchema_PColgp_HArray2OfPnt2d) +Storage_ADD_TYPES(ShapeSchema,PColgp_HArray2OfVec2d,ShapeSchema_PColgp_HArray2OfVec2d) +Storage_ADD_TYPES(ShapeSchema,PColgp_HArray2OfXY,ShapeSchema_PColgp_HArray2OfXY) +Storage_ADD_TYPES(ShapeSchema,PColgp_HArray2OfDir,ShapeSchema_PColgp_HArray2OfDir) +Storage_ADD_TYPES(ShapeSchema,PColgp_HArray2OfPnt,ShapeSchema_PColgp_HArray2OfPnt) +Storage_ADD_TYPES(ShapeSchema,PColgp_HArray2OfVec,ShapeSchema_PColgp_HArray2OfVec) +Storage_ADD_TYPES(ShapeSchema,PColgp_HArray2OfXYZ,ShapeSchema_PColgp_HArray2OfXYZ) +Storage_ADD_TYPES(ShapeSchema,PColgp_HSequenceOfDir,ShapeSchema_PColgp_HSequenceOfDir) +Storage_ADD_TYPES(ShapeSchema,PColgp_SeqNodeOfHSequenceOfDir,ShapeSchema_PColgp_SeqNodeOfHSequenceOfDir) +Storage_ADD_TYPES(ShapeSchema,PColgp_HSequenceOfPnt,ShapeSchema_PColgp_HSequenceOfPnt) +Storage_ADD_TYPES(ShapeSchema,PColgp_SeqNodeOfHSequenceOfPnt,ShapeSchema_PColgp_SeqNodeOfHSequenceOfPnt) +Storage_ADD_TYPES(ShapeSchema,PColgp_HSequenceOfVec,ShapeSchema_PColgp_HSequenceOfVec) +Storage_ADD_TYPES(ShapeSchema,PColgp_SeqNodeOfHSequenceOfVec,ShapeSchema_PColgp_SeqNodeOfHSequenceOfVec) +Storage_ADD_TYPES(ShapeSchema,PColgp_HSequenceOfXYZ,ShapeSchema_PColgp_HSequenceOfXYZ) +Storage_ADD_TYPES(ShapeSchema,PColgp_SeqNodeOfHSequenceOfXYZ,ShapeSchema_PColgp_SeqNodeOfHSequenceOfXYZ) +Storage_ADD_TYPES(ShapeSchema,PGeom2d_Transformation,ShapeSchema_PGeom2d_Transformation) +Storage_ADD_TYPES(ShapeSchema,PGeom2d_Geometry,ShapeSchema_PGeom2d_Geometry) +Storage_ADD_TYPES(ShapeSchema,PGeom2d_Point,ShapeSchema_PGeom2d_Point) +Storage_ADD_TYPES(ShapeSchema,PGeom2d_CartesianPoint,ShapeSchema_PGeom2d_CartesianPoint) +Storage_ADD_TYPES(ShapeSchema,PGeom2d_Vector,ShapeSchema_PGeom2d_Vector) +Storage_ADD_TYPES(ShapeSchema,PGeom2d_Direction,ShapeSchema_PGeom2d_Direction) +Storage_ADD_TYPES(ShapeSchema,PGeom2d_VectorWithMagnitude,ShapeSchema_PGeom2d_VectorWithMagnitude) +Storage_ADD_TYPES(ShapeSchema,PGeom2d_AxisPlacement,ShapeSchema_PGeom2d_AxisPlacement) +Storage_ADD_TYPES(ShapeSchema,PGeom2d_Curve,ShapeSchema_PGeom2d_Curve) +Storage_ADD_TYPES(ShapeSchema,PGeom2d_Line,ShapeSchema_PGeom2d_Line) +Storage_ADD_TYPES(ShapeSchema,PGeom2d_Conic,ShapeSchema_PGeom2d_Conic) +Storage_ADD_TYPES(ShapeSchema,PGeom2d_Circle,ShapeSchema_PGeom2d_Circle) +Storage_ADD_TYPES(ShapeSchema,PGeom2d_Ellipse,ShapeSchema_PGeom2d_Ellipse) +Storage_ADD_TYPES(ShapeSchema,PGeom2d_Hyperbola,ShapeSchema_PGeom2d_Hyperbola) +Storage_ADD_TYPES(ShapeSchema,PGeom2d_Parabola,ShapeSchema_PGeom2d_Parabola) +Storage_ADD_TYPES(ShapeSchema,PGeom2d_BoundedCurve,ShapeSchema_PGeom2d_BoundedCurve) +Storage_ADD_TYPES(ShapeSchema,PGeom2d_BezierCurve,ShapeSchema_PGeom2d_BezierCurve) +Storage_ADD_TYPES(ShapeSchema,PGeom2d_BSplineCurve,ShapeSchema_PGeom2d_BSplineCurve) +Storage_ADD_TYPES(ShapeSchema,PGeom2d_TrimmedCurve,ShapeSchema_PGeom2d_TrimmedCurve) +Storage_ADD_TYPES(ShapeSchema,PGeom2d_OffsetCurve,ShapeSchema_PGeom2d_OffsetCurve) +Storage_ADD_TYPES(ShapeSchema,PGeom_Transformation,ShapeSchema_PGeom_Transformation) +Storage_ADD_TYPES(ShapeSchema,PGeom_Geometry,ShapeSchema_PGeom_Geometry) +Storage_ADD_TYPES(ShapeSchema,PGeom_Point,ShapeSchema_PGeom_Point) +Storage_ADD_TYPES(ShapeSchema,PGeom_CartesianPoint,ShapeSchema_PGeom_CartesianPoint) +Storage_ADD_TYPES(ShapeSchema,PGeom_Vector,ShapeSchema_PGeom_Vector) +Storage_ADD_TYPES(ShapeSchema,PGeom_Direction,ShapeSchema_PGeom_Direction) +Storage_ADD_TYPES(ShapeSchema,PGeom_VectorWithMagnitude,ShapeSchema_PGeom_VectorWithMagnitude) +Storage_ADD_TYPES(ShapeSchema,PGeom_AxisPlacement,ShapeSchema_PGeom_AxisPlacement) +Storage_ADD_TYPES(ShapeSchema,PGeom_Axis1Placement,ShapeSchema_PGeom_Axis1Placement) +Storage_ADD_TYPES(ShapeSchema,PGeom_Axis2Placement,ShapeSchema_PGeom_Axis2Placement) +Storage_ADD_TYPES(ShapeSchema,PGeom_Curve,ShapeSchema_PGeom_Curve) +Storage_ADD_TYPES(ShapeSchema,PGeom_Line,ShapeSchema_PGeom_Line) +Storage_ADD_TYPES(ShapeSchema,PGeom_Conic,ShapeSchema_PGeom_Conic) +Storage_ADD_TYPES(ShapeSchema,PGeom_Circle,ShapeSchema_PGeom_Circle) +Storage_ADD_TYPES(ShapeSchema,PGeom_Ellipse,ShapeSchema_PGeom_Ellipse) +Storage_ADD_TYPES(ShapeSchema,PGeom_Hyperbola,ShapeSchema_PGeom_Hyperbola) +Storage_ADD_TYPES(ShapeSchema,PGeom_Parabola,ShapeSchema_PGeom_Parabola) +Storage_ADD_TYPES(ShapeSchema,PGeom_BoundedCurve,ShapeSchema_PGeom_BoundedCurve) +Storage_ADD_TYPES(ShapeSchema,PGeom_BezierCurve,ShapeSchema_PGeom_BezierCurve) +Storage_ADD_TYPES(ShapeSchema,PGeom_BSplineCurve,ShapeSchema_PGeom_BSplineCurve) +Storage_ADD_TYPES(ShapeSchema,PGeom_TrimmedCurve,ShapeSchema_PGeom_TrimmedCurve) +Storage_ADD_TYPES(ShapeSchema,PGeom_OffsetCurve,ShapeSchema_PGeom_OffsetCurve) +Storage_ADD_TYPES(ShapeSchema,PGeom_Surface,ShapeSchema_PGeom_Surface) +Storage_ADD_TYPES(ShapeSchema,PGeom_ElementarySurface,ShapeSchema_PGeom_ElementarySurface) +Storage_ADD_TYPES(ShapeSchema,PGeom_Plane,ShapeSchema_PGeom_Plane) +Storage_ADD_TYPES(ShapeSchema,PGeom_ConicalSurface,ShapeSchema_PGeom_ConicalSurface) +Storage_ADD_TYPES(ShapeSchema,PGeom_CylindricalSurface,ShapeSchema_PGeom_CylindricalSurface) +Storage_ADD_TYPES(ShapeSchema,PGeom_SphericalSurface,ShapeSchema_PGeom_SphericalSurface) +Storage_ADD_TYPES(ShapeSchema,PGeom_ToroidalSurface,ShapeSchema_PGeom_ToroidalSurface) +Storage_ADD_TYPES(ShapeSchema,PGeom_SweptSurface,ShapeSchema_PGeom_SweptSurface) +Storage_ADD_TYPES(ShapeSchema,PGeom_SurfaceOfLinearExtrusion,ShapeSchema_PGeom_SurfaceOfLinearExtrusion) +Storage_ADD_TYPES(ShapeSchema,PGeom_SurfaceOfRevolution,ShapeSchema_PGeom_SurfaceOfRevolution) +Storage_ADD_TYPES(ShapeSchema,PGeom_BoundedSurface,ShapeSchema_PGeom_BoundedSurface) +Storage_ADD_TYPES(ShapeSchema,PGeom_BezierSurface,ShapeSchema_PGeom_BezierSurface) +Storage_ADD_TYPES(ShapeSchema,PGeom_BSplineSurface,ShapeSchema_PGeom_BSplineSurface) +Storage_ADD_TYPES(ShapeSchema,PGeom_RectangularTrimmedSurface,ShapeSchema_PGeom_RectangularTrimmedSurface) +Storage_ADD_TYPES(ShapeSchema,PGeom_OffsetSurface,ShapeSchema_PGeom_OffsetSurface) +Storage_ADD_TYPES(ShapeSchema,PPoly_Triangulation,ShapeSchema_PPoly_Triangulation) +Storage_ADD_TYPES(ShapeSchema,PPoly_Polygon3D,ShapeSchema_PPoly_Polygon3D) +Storage_ADD_TYPES(ShapeSchema,PPoly_Polygon2D,ShapeSchema_PPoly_Polygon2D) +Storage_ADD_TYPES(ShapeSchema,PPoly_PolygonOnTriangulation,ShapeSchema_PPoly_PolygonOnTriangulation) +Storage_ADD_TYPES(ShapeSchema,PPoly_HArray1OfTriangle,ShapeSchema_PPoly_HArray1OfTriangle) +Storage_ADD_TYPES(ShapeSchema,PTopoDS_HShape,ShapeSchema_PTopoDS_HShape) +Storage_ADD_TYPES(ShapeSchema,PTopoDS_TShape,ShapeSchema_PTopoDS_TShape) +Storage_ADD_TYPES(ShapeSchema,PTopoDS_TVertex,ShapeSchema_PTopoDS_TVertex) +Storage_ADD_TYPES(ShapeSchema,PTopoDS_Vertex,ShapeSchema_PTopoDS_Vertex) +Storage_ADD_TYPES(ShapeSchema,PTopoDS_TEdge,ShapeSchema_PTopoDS_TEdge) +Storage_ADD_TYPES(ShapeSchema,PTopoDS_Edge,ShapeSchema_PTopoDS_Edge) +Storage_ADD_TYPES(ShapeSchema,PTopoDS_TWire,ShapeSchema_PTopoDS_TWire) +Storage_ADD_TYPES(ShapeSchema,PTopoDS_Wire,ShapeSchema_PTopoDS_Wire) +Storage_ADD_TYPES(ShapeSchema,PTopoDS_TFace,ShapeSchema_PTopoDS_TFace) +Storage_ADD_TYPES(ShapeSchema,PTopoDS_Face,ShapeSchema_PTopoDS_Face) +Storage_ADD_TYPES(ShapeSchema,PTopoDS_TShell,ShapeSchema_PTopoDS_TShell) +Storage_ADD_TYPES(ShapeSchema,PTopoDS_Shell,ShapeSchema_PTopoDS_Shell) +Storage_ADD_TYPES(ShapeSchema,PTopoDS_TSolid,ShapeSchema_PTopoDS_TSolid) +Storage_ADD_TYPES(ShapeSchema,PTopoDS_Solid,ShapeSchema_PTopoDS_Solid) +Storage_ADD_TYPES(ShapeSchema,PTopoDS_TCompSolid,ShapeSchema_PTopoDS_TCompSolid) +Storage_ADD_TYPES(ShapeSchema,PTopoDS_CompSolid,ShapeSchema_PTopoDS_CompSolid) +Storage_ADD_TYPES(ShapeSchema,PTopoDS_TCompound,ShapeSchema_PTopoDS_TCompound) +Storage_ADD_TYPES(ShapeSchema,PTopoDS_Compound,ShapeSchema_PTopoDS_Compound) +Storage_ADD_TYPES(ShapeSchema,PTopoDS_HArray1OfHShape,ShapeSchema_PTopoDS_HArray1OfHShape) +Storage_ADD_TYPES(ShapeSchema,PTopoDS_TShape1,ShapeSchema_PTopoDS_TShape1) +Storage_ADD_TYPES(ShapeSchema,PTopoDS_TVertex1,ShapeSchema_PTopoDS_TVertex1) +Storage_ADD_TYPES(ShapeSchema,PTopoDS_TEdge1,ShapeSchema_PTopoDS_TEdge1) +Storage_ADD_TYPES(ShapeSchema,PTopoDS_TWire1,ShapeSchema_PTopoDS_TWire1) +Storage_ADD_TYPES(ShapeSchema,PTopoDS_TFace1,ShapeSchema_PTopoDS_TFace1) +Storage_ADD_TYPES(ShapeSchema,PTopoDS_TShell1,ShapeSchema_PTopoDS_TShell1) +Storage_ADD_TYPES(ShapeSchema,PTopoDS_TSolid1,ShapeSchema_PTopoDS_TSolid1) +Storage_ADD_TYPES(ShapeSchema,PTopoDS_TCompSolid1,ShapeSchema_PTopoDS_TCompSolid1) +Storage_ADD_TYPES(ShapeSchema,PTopoDS_TCompound1,ShapeSchema_PTopoDS_TCompound1) +Storage_ADD_TYPES(ShapeSchema,PTopoDS_HArray1OfShape1,ShapeSchema_PTopoDS_HArray1OfShape1) +Storage_ADD_TYPES(ShapeSchema,PBRep_CurveRepresentation,ShapeSchema_PBRep_CurveRepresentation) +Storage_ADD_TYPES(ShapeSchema,PBRep_GCurve,ShapeSchema_PBRep_GCurve) +Storage_ADD_TYPES(ShapeSchema,PBRep_Curve3D,ShapeSchema_PBRep_Curve3D) +Storage_ADD_TYPES(ShapeSchema,PBRep_CurveOnSurface,ShapeSchema_PBRep_CurveOnSurface) +Storage_ADD_TYPES(ShapeSchema,PBRep_CurveOnClosedSurface,ShapeSchema_PBRep_CurveOnClosedSurface) +Storage_ADD_TYPES(ShapeSchema,PBRep_Polygon3D,ShapeSchema_PBRep_Polygon3D) +Storage_ADD_TYPES(ShapeSchema,PBRep_PolygonOnTriangulation,ShapeSchema_PBRep_PolygonOnTriangulation) +Storage_ADD_TYPES(ShapeSchema,PBRep_PolygonOnClosedTriangulation,ShapeSchema_PBRep_PolygonOnClosedTriangulation) +Storage_ADD_TYPES(ShapeSchema,PBRep_PolygonOnSurface,ShapeSchema_PBRep_PolygonOnSurface) +Storage_ADD_TYPES(ShapeSchema,PBRep_PolygonOnClosedSurface,ShapeSchema_PBRep_PolygonOnClosedSurface) +Storage_ADD_TYPES(ShapeSchema,PBRep_CurveOn2Surfaces,ShapeSchema_PBRep_CurveOn2Surfaces) +Storage_ADD_TYPES(ShapeSchema,PBRep_PointRepresentation,ShapeSchema_PBRep_PointRepresentation) +Storage_ADD_TYPES(ShapeSchema,PBRep_PointOnCurve,ShapeSchema_PBRep_PointOnCurve) +Storage_ADD_TYPES(ShapeSchema,PBRep_PointsOnSurface,ShapeSchema_PBRep_PointsOnSurface) +Storage_ADD_TYPES(ShapeSchema,PBRep_PointOnCurveOnSurface,ShapeSchema_PBRep_PointOnCurveOnSurface) +Storage_ADD_TYPES(ShapeSchema,PBRep_PointOnSurface,ShapeSchema_PBRep_PointOnSurface) +Storage_ADD_TYPES(ShapeSchema,PBRep_TFace,ShapeSchema_PBRep_TFace) +Storage_ADD_TYPES(ShapeSchema,PBRep_TEdge,ShapeSchema_PBRep_TEdge) +Storage_ADD_TYPES(ShapeSchema,PBRep_TVertex,ShapeSchema_PBRep_TVertex) +Storage_ADD_TYPES(ShapeSchema,PBRep_TFace1,ShapeSchema_PBRep_TFace1) +Storage_ADD_TYPES(ShapeSchema,PBRep_TEdge1,ShapeSchema_PBRep_TEdge1) +Storage_ADD_TYPES(ShapeSchema,PBRep_TVertex1,ShapeSchema_PBRep_TVertex1) +Storage_ADD_TYPES(ShapeSchema,PCDMShape_Document,ShapeSchema_PCDMShape_Document) +Storage_ADD_TYPES(ShapeSchema,Standard_Persistent,ShapeSchema_Standard_Persistent) +Storage_ADD_TYPES(ShapeSchema,PCollection_HAsciiString,ShapeSchema_PCollection_HAsciiString) +Storage_ADD_TYPES(ShapeSchema,PMMgt_PManaged,ShapeSchema_PMMgt_PManaged) +Storage_ADD_TYPES(ShapeSchema,PColStd_HArray1OfReal,ShapeSchema_PColStd_HArray1OfReal) +Storage_ADD_TYPES(ShapeSchema,PColStd_HArray1OfInteger,ShapeSchema_PColStd_HArray1OfInteger) +Storage_ADD_TYPES(ShapeSchema,PColStd_HArray2OfReal,ShapeSchema_PColStd_HArray2OfReal) +Storage_ADD_TYPES(ShapeSchema,PCDM_Document,ShapeSchema_PCDM_Document) +Storage_ADD_TYPES(ShapeSchema,PCollection_HExtendedString,ShapeSchema_PCollection_HExtendedString) +Storage_END_ADD_TYPES(ShapeSchema) + +Storage_BEGIN_READ_SELECTION(ShapeSchema) +Storage_READ_SELECTION(ShapeSchema,ObjMgt_ExternRef,ShapeSchema_ObjMgt_ExternRef) +Storage_READ_SELECTION(ShapeSchema,ObjMgt_PSeqOfExtRef,ShapeSchema_ObjMgt_PSeqOfExtRef) +Storage_READ_SELECTION(ShapeSchema,ObjMgt_SeqNodeOfPSeqOfExtRef,ShapeSchema_ObjMgt_SeqNodeOfPSeqOfExtRef) +Storage_READ_SELECTION(ShapeSchema,PTopLoc_Datum3D,ShapeSchema_PTopLoc_Datum3D) +Storage_READ_SELECTION(ShapeSchema,PTopLoc_ItemLocation,ShapeSchema_PTopLoc_ItemLocation) +Storage_READ_SELECTION(ShapeSchema,PColgp_HArray1OfCirc2d,ShapeSchema_PColgp_HArray1OfCirc2d) +Storage_READ_SELECTION(ShapeSchema,PColgp_HArray1OfDir2d,ShapeSchema_PColgp_HArray1OfDir2d) +Storage_READ_SELECTION(ShapeSchema,PColgp_HArray1OfLin2d,ShapeSchema_PColgp_HArray1OfLin2d) +Storage_READ_SELECTION(ShapeSchema,PColgp_HArray1OfPnt2d,ShapeSchema_PColgp_HArray1OfPnt2d) +Storage_READ_SELECTION(ShapeSchema,PColgp_HArray1OfVec2d,ShapeSchema_PColgp_HArray1OfVec2d) +Storage_READ_SELECTION(ShapeSchema,PColgp_HArray1OfXY,ShapeSchema_PColgp_HArray1OfXY) +Storage_READ_SELECTION(ShapeSchema,PColgp_HArray1OfDir,ShapeSchema_PColgp_HArray1OfDir) +Storage_READ_SELECTION(ShapeSchema,PColgp_HArray1OfPnt,ShapeSchema_PColgp_HArray1OfPnt) +Storage_READ_SELECTION(ShapeSchema,PColgp_HArray1OfVec,ShapeSchema_PColgp_HArray1OfVec) +Storage_READ_SELECTION(ShapeSchema,PColgp_HArray1OfXYZ,ShapeSchema_PColgp_HArray1OfXYZ) +Storage_READ_SELECTION(ShapeSchema,PColgp_HArray2OfCirc2d,ShapeSchema_PColgp_HArray2OfCirc2d) +Storage_READ_SELECTION(ShapeSchema,PColgp_HArray2OfDir2d,ShapeSchema_PColgp_HArray2OfDir2d) +Storage_READ_SELECTION(ShapeSchema,PColgp_HArray2OfLin2d,ShapeSchema_PColgp_HArray2OfLin2d) +Storage_READ_SELECTION(ShapeSchema,PColgp_HArray2OfPnt2d,ShapeSchema_PColgp_HArray2OfPnt2d) +Storage_READ_SELECTION(ShapeSchema,PColgp_HArray2OfVec2d,ShapeSchema_PColgp_HArray2OfVec2d) +Storage_READ_SELECTION(ShapeSchema,PColgp_HArray2OfXY,ShapeSchema_PColgp_HArray2OfXY) +Storage_READ_SELECTION(ShapeSchema,PColgp_HArray2OfDir,ShapeSchema_PColgp_HArray2OfDir) +Storage_READ_SELECTION(ShapeSchema,PColgp_HArray2OfPnt,ShapeSchema_PColgp_HArray2OfPnt) +Storage_READ_SELECTION(ShapeSchema,PColgp_HArray2OfVec,ShapeSchema_PColgp_HArray2OfVec) +Storage_READ_SELECTION(ShapeSchema,PColgp_HArray2OfXYZ,ShapeSchema_PColgp_HArray2OfXYZ) +Storage_READ_SELECTION(ShapeSchema,PColgp_HSequenceOfDir,ShapeSchema_PColgp_HSequenceOfDir) +Storage_READ_SELECTION(ShapeSchema,PColgp_SeqNodeOfHSequenceOfDir,ShapeSchema_PColgp_SeqNodeOfHSequenceOfDir) +Storage_READ_SELECTION(ShapeSchema,PColgp_HSequenceOfPnt,ShapeSchema_PColgp_HSequenceOfPnt) +Storage_READ_SELECTION(ShapeSchema,PColgp_SeqNodeOfHSequenceOfPnt,ShapeSchema_PColgp_SeqNodeOfHSequenceOfPnt) +Storage_READ_SELECTION(ShapeSchema,PColgp_HSequenceOfVec,ShapeSchema_PColgp_HSequenceOfVec) +Storage_READ_SELECTION(ShapeSchema,PColgp_SeqNodeOfHSequenceOfVec,ShapeSchema_PColgp_SeqNodeOfHSequenceOfVec) +Storage_READ_SELECTION(ShapeSchema,PColgp_HSequenceOfXYZ,ShapeSchema_PColgp_HSequenceOfXYZ) +Storage_READ_SELECTION(ShapeSchema,PColgp_SeqNodeOfHSequenceOfXYZ,ShapeSchema_PColgp_SeqNodeOfHSequenceOfXYZ) +Storage_READ_SELECTION(ShapeSchema,PGeom2d_Transformation,ShapeSchema_PGeom2d_Transformation) +Storage_READ_SELECTION(ShapeSchema,PGeom2d_CartesianPoint,ShapeSchema_PGeom2d_CartesianPoint) +Storage_READ_SELECTION(ShapeSchema,PGeom2d_Direction,ShapeSchema_PGeom2d_Direction) +Storage_READ_SELECTION(ShapeSchema,PGeom2d_VectorWithMagnitude,ShapeSchema_PGeom2d_VectorWithMagnitude) +Storage_READ_SELECTION(ShapeSchema,PGeom2d_AxisPlacement,ShapeSchema_PGeom2d_AxisPlacement) +Storage_READ_SELECTION(ShapeSchema,PGeom2d_Line,ShapeSchema_PGeom2d_Line) +Storage_READ_SELECTION(ShapeSchema,PGeom2d_Circle,ShapeSchema_PGeom2d_Circle) +Storage_READ_SELECTION(ShapeSchema,PGeom2d_Ellipse,ShapeSchema_PGeom2d_Ellipse) +Storage_READ_SELECTION(ShapeSchema,PGeom2d_Hyperbola,ShapeSchema_PGeom2d_Hyperbola) +Storage_READ_SELECTION(ShapeSchema,PGeom2d_Parabola,ShapeSchema_PGeom2d_Parabola) +Storage_READ_SELECTION(ShapeSchema,PGeom2d_BezierCurve,ShapeSchema_PGeom2d_BezierCurve) +Storage_READ_SELECTION(ShapeSchema,PGeom2d_BSplineCurve,ShapeSchema_PGeom2d_BSplineCurve) +Storage_READ_SELECTION(ShapeSchema,PGeom2d_TrimmedCurve,ShapeSchema_PGeom2d_TrimmedCurve) +Storage_READ_SELECTION(ShapeSchema,PGeom2d_OffsetCurve,ShapeSchema_PGeom2d_OffsetCurve) +Storage_READ_SELECTION(ShapeSchema,PGeom_Transformation,ShapeSchema_PGeom_Transformation) +Storage_READ_SELECTION(ShapeSchema,PGeom_CartesianPoint,ShapeSchema_PGeom_CartesianPoint) +Storage_READ_SELECTION(ShapeSchema,PGeom_Direction,ShapeSchema_PGeom_Direction) +Storage_READ_SELECTION(ShapeSchema,PGeom_VectorWithMagnitude,ShapeSchema_PGeom_VectorWithMagnitude) +Storage_READ_SELECTION(ShapeSchema,PGeom_Axis1Placement,ShapeSchema_PGeom_Axis1Placement) +Storage_READ_SELECTION(ShapeSchema,PGeom_Axis2Placement,ShapeSchema_PGeom_Axis2Placement) +Storage_READ_SELECTION(ShapeSchema,PGeom_Line,ShapeSchema_PGeom_Line) +Storage_READ_SELECTION(ShapeSchema,PGeom_Circle,ShapeSchema_PGeom_Circle) +Storage_READ_SELECTION(ShapeSchema,PGeom_Ellipse,ShapeSchema_PGeom_Ellipse) +Storage_READ_SELECTION(ShapeSchema,PGeom_Hyperbola,ShapeSchema_PGeom_Hyperbola) +Storage_READ_SELECTION(ShapeSchema,PGeom_Parabola,ShapeSchema_PGeom_Parabola) +Storage_READ_SELECTION(ShapeSchema,PGeom_BezierCurve,ShapeSchema_PGeom_BezierCurve) +Storage_READ_SELECTION(ShapeSchema,PGeom_BSplineCurve,ShapeSchema_PGeom_BSplineCurve) +Storage_READ_SELECTION(ShapeSchema,PGeom_TrimmedCurve,ShapeSchema_PGeom_TrimmedCurve) +Storage_READ_SELECTION(ShapeSchema,PGeom_OffsetCurve,ShapeSchema_PGeom_OffsetCurve) +Storage_READ_SELECTION(ShapeSchema,PGeom_Plane,ShapeSchema_PGeom_Plane) +Storage_READ_SELECTION(ShapeSchema,PGeom_ConicalSurface,ShapeSchema_PGeom_ConicalSurface) +Storage_READ_SELECTION(ShapeSchema,PGeom_CylindricalSurface,ShapeSchema_PGeom_CylindricalSurface) +Storage_READ_SELECTION(ShapeSchema,PGeom_SphericalSurface,ShapeSchema_PGeom_SphericalSurface) +Storage_READ_SELECTION(ShapeSchema,PGeom_ToroidalSurface,ShapeSchema_PGeom_ToroidalSurface) +Storage_READ_SELECTION(ShapeSchema,PGeom_SurfaceOfLinearExtrusion,ShapeSchema_PGeom_SurfaceOfLinearExtrusion) +Storage_READ_SELECTION(ShapeSchema,PGeom_SurfaceOfRevolution,ShapeSchema_PGeom_SurfaceOfRevolution) +Storage_READ_SELECTION(ShapeSchema,PGeom_BezierSurface,ShapeSchema_PGeom_BezierSurface) +Storage_READ_SELECTION(ShapeSchema,PGeom_BSplineSurface,ShapeSchema_PGeom_BSplineSurface) +Storage_READ_SELECTION(ShapeSchema,PGeom_RectangularTrimmedSurface,ShapeSchema_PGeom_RectangularTrimmedSurface) +Storage_READ_SELECTION(ShapeSchema,PGeom_OffsetSurface,ShapeSchema_PGeom_OffsetSurface) +Storage_READ_SELECTION(ShapeSchema,PPoly_Triangulation,ShapeSchema_PPoly_Triangulation) +Storage_READ_SELECTION(ShapeSchema,PPoly_Polygon3D,ShapeSchema_PPoly_Polygon3D) +Storage_READ_SELECTION(ShapeSchema,PPoly_Polygon2D,ShapeSchema_PPoly_Polygon2D) +Storage_READ_SELECTION(ShapeSchema,PPoly_PolygonOnTriangulation,ShapeSchema_PPoly_PolygonOnTriangulation) +Storage_READ_SELECTION(ShapeSchema,PPoly_HArray1OfTriangle,ShapeSchema_PPoly_HArray1OfTriangle) +Storage_READ_SELECTION(ShapeSchema,PTopoDS_HShape,ShapeSchema_PTopoDS_HShape) +Storage_READ_SELECTION(ShapeSchema,PTopoDS_Vertex,ShapeSchema_PTopoDS_Vertex) +Storage_READ_SELECTION(ShapeSchema,PTopoDS_Edge,ShapeSchema_PTopoDS_Edge) +Storage_READ_SELECTION(ShapeSchema,PTopoDS_TWire,ShapeSchema_PTopoDS_TWire) +Storage_READ_SELECTION(ShapeSchema,PTopoDS_Wire,ShapeSchema_PTopoDS_Wire) +Storage_READ_SELECTION(ShapeSchema,PTopoDS_TFace,ShapeSchema_PTopoDS_TFace) +Storage_READ_SELECTION(ShapeSchema,PTopoDS_Face,ShapeSchema_PTopoDS_Face) +Storage_READ_SELECTION(ShapeSchema,PTopoDS_TShell,ShapeSchema_PTopoDS_TShell) +Storage_READ_SELECTION(ShapeSchema,PTopoDS_Shell,ShapeSchema_PTopoDS_Shell) +Storage_READ_SELECTION(ShapeSchema,PTopoDS_TSolid,ShapeSchema_PTopoDS_TSolid) +Storage_READ_SELECTION(ShapeSchema,PTopoDS_Solid,ShapeSchema_PTopoDS_Solid) +Storage_READ_SELECTION(ShapeSchema,PTopoDS_TCompSolid,ShapeSchema_PTopoDS_TCompSolid) +Storage_READ_SELECTION(ShapeSchema,PTopoDS_CompSolid,ShapeSchema_PTopoDS_CompSolid) +Storage_READ_SELECTION(ShapeSchema,PTopoDS_TCompound,ShapeSchema_PTopoDS_TCompound) +Storage_READ_SELECTION(ShapeSchema,PTopoDS_Compound,ShapeSchema_PTopoDS_Compound) +Storage_READ_SELECTION(ShapeSchema,PTopoDS_HArray1OfHShape,ShapeSchema_PTopoDS_HArray1OfHShape) +Storage_READ_SELECTION(ShapeSchema,PTopoDS_TWire1,ShapeSchema_PTopoDS_TWire1) +Storage_READ_SELECTION(ShapeSchema,PTopoDS_TFace1,ShapeSchema_PTopoDS_TFace1) +Storage_READ_SELECTION(ShapeSchema,PTopoDS_TShell1,ShapeSchema_PTopoDS_TShell1) +Storage_READ_SELECTION(ShapeSchema,PTopoDS_TSolid1,ShapeSchema_PTopoDS_TSolid1) +Storage_READ_SELECTION(ShapeSchema,PTopoDS_TCompSolid1,ShapeSchema_PTopoDS_TCompSolid1) +Storage_READ_SELECTION(ShapeSchema,PTopoDS_TCompound1,ShapeSchema_PTopoDS_TCompound1) +Storage_READ_SELECTION(ShapeSchema,PTopoDS_HArray1OfShape1,ShapeSchema_PTopoDS_HArray1OfShape1) +Storage_READ_SELECTION(ShapeSchema,PBRep_Curve3D,ShapeSchema_PBRep_Curve3D) +Storage_READ_SELECTION(ShapeSchema,PBRep_CurveOnSurface,ShapeSchema_PBRep_CurveOnSurface) +Storage_READ_SELECTION(ShapeSchema,PBRep_CurveOnClosedSurface,ShapeSchema_PBRep_CurveOnClosedSurface) +Storage_READ_SELECTION(ShapeSchema,PBRep_Polygon3D,ShapeSchema_PBRep_Polygon3D) +Storage_READ_SELECTION(ShapeSchema,PBRep_PolygonOnTriangulation,ShapeSchema_PBRep_PolygonOnTriangulation) +Storage_READ_SELECTION(ShapeSchema,PBRep_PolygonOnClosedTriangulation,ShapeSchema_PBRep_PolygonOnClosedTriangulation) +Storage_READ_SELECTION(ShapeSchema,PBRep_PolygonOnSurface,ShapeSchema_PBRep_PolygonOnSurface) +Storage_READ_SELECTION(ShapeSchema,PBRep_PolygonOnClosedSurface,ShapeSchema_PBRep_PolygonOnClosedSurface) +Storage_READ_SELECTION(ShapeSchema,PBRep_CurveOn2Surfaces,ShapeSchema_PBRep_CurveOn2Surfaces) +Storage_READ_SELECTION(ShapeSchema,PBRep_PointOnCurve,ShapeSchema_PBRep_PointOnCurve) +Storage_READ_SELECTION(ShapeSchema,PBRep_PointOnCurveOnSurface,ShapeSchema_PBRep_PointOnCurveOnSurface) +Storage_READ_SELECTION(ShapeSchema,PBRep_PointOnSurface,ShapeSchema_PBRep_PointOnSurface) +Storage_READ_SELECTION(ShapeSchema,PBRep_TFace,ShapeSchema_PBRep_TFace) +Storage_READ_SELECTION(ShapeSchema,PBRep_TEdge,ShapeSchema_PBRep_TEdge) +Storage_READ_SELECTION(ShapeSchema,PBRep_TVertex,ShapeSchema_PBRep_TVertex) +Storage_READ_SELECTION(ShapeSchema,PBRep_TFace1,ShapeSchema_PBRep_TFace1) +Storage_READ_SELECTION(ShapeSchema,PBRep_TEdge1,ShapeSchema_PBRep_TEdge1) +Storage_READ_SELECTION(ShapeSchema,PBRep_TVertex1,ShapeSchema_PBRep_TVertex1) +Storage_READ_SELECTION(ShapeSchema,PCDMShape_Document,ShapeSchema_PCDMShape_Document) +Storage_READ_SELECTION(ShapeSchema,PCollection_HAsciiString,ShapeSchema_PCollection_HAsciiString) +Storage_READ_SELECTION(ShapeSchema,PColStd_HArray1OfReal,ShapeSchema_PColStd_HArray1OfReal) +Storage_READ_SELECTION(ShapeSchema,PColStd_HArray1OfInteger,ShapeSchema_PColStd_HArray1OfInteger) +Storage_READ_SELECTION(ShapeSchema,PColStd_HArray2OfReal,ShapeSchema_PColStd_HArray2OfReal) +Storage_READ_SELECTION(ShapeSchema,PCollection_HExtendedString,ShapeSchema_PCollection_HExtendedString) +Storage_END_READ_SELECTION(ShapeSchema) + +Storage_BEGIN_SCHEMA_TYPES(ShapeSchema) +Storage_SCHEMA_TYPES(ObjMgt_ExternShareable) +Storage_SCHEMA_TYPES(ObjMgt_ExternRef) +Storage_SCHEMA_TYPES(ObjMgt_PSeqOfExtRef) +Storage_SCHEMA_TYPES(ObjMgt_SeqNodeOfPSeqOfExtRef) +Storage_SCHEMA_TYPES(PTopLoc_Datum3D) +Storage_SCHEMA_TYPES(PTopLoc_ItemLocation) +Storage_SCHEMA_TYPES(PColgp_HArray1OfCirc2d) +Storage_SCHEMA_TYPES(PColgp_HArray1OfDir2d) +Storage_SCHEMA_TYPES(PColgp_HArray1OfLin2d) +Storage_SCHEMA_TYPES(PColgp_HArray1OfPnt2d) +Storage_SCHEMA_TYPES(PColgp_HArray1OfVec2d) +Storage_SCHEMA_TYPES(PColgp_HArray1OfXY) +Storage_SCHEMA_TYPES(PColgp_HArray1OfDir) +Storage_SCHEMA_TYPES(PColgp_HArray1OfPnt) +Storage_SCHEMA_TYPES(PColgp_HArray1OfVec) +Storage_SCHEMA_TYPES(PColgp_HArray1OfXYZ) +Storage_SCHEMA_TYPES(PColgp_HArray2OfCirc2d) +Storage_SCHEMA_TYPES(PColgp_HArray2OfDir2d) +Storage_SCHEMA_TYPES(PColgp_HArray2OfLin2d) +Storage_SCHEMA_TYPES(PColgp_HArray2OfPnt2d) +Storage_SCHEMA_TYPES(PColgp_HArray2OfVec2d) +Storage_SCHEMA_TYPES(PColgp_HArray2OfXY) +Storage_SCHEMA_TYPES(PColgp_HArray2OfDir) +Storage_SCHEMA_TYPES(PColgp_HArray2OfPnt) +Storage_SCHEMA_TYPES(PColgp_HArray2OfVec) +Storage_SCHEMA_TYPES(PColgp_HArray2OfXYZ) +Storage_SCHEMA_TYPES(PColgp_HSequenceOfDir) +Storage_SCHEMA_TYPES(PColgp_SeqNodeOfHSequenceOfDir) +Storage_SCHEMA_TYPES(PColgp_HSequenceOfPnt) +Storage_SCHEMA_TYPES(PColgp_SeqNodeOfHSequenceOfPnt) +Storage_SCHEMA_TYPES(PColgp_HSequenceOfVec) +Storage_SCHEMA_TYPES(PColgp_SeqNodeOfHSequenceOfVec) +Storage_SCHEMA_TYPES(PColgp_HSequenceOfXYZ) +Storage_SCHEMA_TYPES(PColgp_SeqNodeOfHSequenceOfXYZ) +Storage_SCHEMA_TYPES(PGeom2d_Transformation) +Storage_SCHEMA_TYPES(PGeom2d_Geometry) +Storage_SCHEMA_TYPES(PGeom2d_Point) +Storage_SCHEMA_TYPES(PGeom2d_CartesianPoint) +Storage_SCHEMA_TYPES(PGeom2d_Vector) +Storage_SCHEMA_TYPES(PGeom2d_Direction) +Storage_SCHEMA_TYPES(PGeom2d_VectorWithMagnitude) +Storage_SCHEMA_TYPES(PGeom2d_AxisPlacement) +Storage_SCHEMA_TYPES(PGeom2d_Curve) +Storage_SCHEMA_TYPES(PGeom2d_Line) +Storage_SCHEMA_TYPES(PGeom2d_Conic) +Storage_SCHEMA_TYPES(PGeom2d_Circle) +Storage_SCHEMA_TYPES(PGeom2d_Ellipse) +Storage_SCHEMA_TYPES(PGeom2d_Hyperbola) +Storage_SCHEMA_TYPES(PGeom2d_Parabola) +Storage_SCHEMA_TYPES(PGeom2d_BoundedCurve) +Storage_SCHEMA_TYPES(PGeom2d_BezierCurve) +Storage_SCHEMA_TYPES(PGeom2d_BSplineCurve) +Storage_SCHEMA_TYPES(PGeom2d_TrimmedCurve) +Storage_SCHEMA_TYPES(PGeom2d_OffsetCurve) +Storage_SCHEMA_TYPES(PGeom_Transformation) +Storage_SCHEMA_TYPES(PGeom_Geometry) +Storage_SCHEMA_TYPES(PGeom_Point) +Storage_SCHEMA_TYPES(PGeom_CartesianPoint) +Storage_SCHEMA_TYPES(PGeom_Vector) +Storage_SCHEMA_TYPES(PGeom_Direction) +Storage_SCHEMA_TYPES(PGeom_VectorWithMagnitude) +Storage_SCHEMA_TYPES(PGeom_AxisPlacement) +Storage_SCHEMA_TYPES(PGeom_Axis1Placement) +Storage_SCHEMA_TYPES(PGeom_Axis2Placement) +Storage_SCHEMA_TYPES(PGeom_Curve) +Storage_SCHEMA_TYPES(PGeom_Line) +Storage_SCHEMA_TYPES(PGeom_Conic) +Storage_SCHEMA_TYPES(PGeom_Circle) +Storage_SCHEMA_TYPES(PGeom_Ellipse) +Storage_SCHEMA_TYPES(PGeom_Hyperbola) +Storage_SCHEMA_TYPES(PGeom_Parabola) +Storage_SCHEMA_TYPES(PGeom_BoundedCurve) +Storage_SCHEMA_TYPES(PGeom_BezierCurve) +Storage_SCHEMA_TYPES(PGeom_BSplineCurve) +Storage_SCHEMA_TYPES(PGeom_TrimmedCurve) +Storage_SCHEMA_TYPES(PGeom_OffsetCurve) +Storage_SCHEMA_TYPES(PGeom_Surface) +Storage_SCHEMA_TYPES(PGeom_ElementarySurface) +Storage_SCHEMA_TYPES(PGeom_Plane) +Storage_SCHEMA_TYPES(PGeom_ConicalSurface) +Storage_SCHEMA_TYPES(PGeom_CylindricalSurface) +Storage_SCHEMA_TYPES(PGeom_SphericalSurface) +Storage_SCHEMA_TYPES(PGeom_ToroidalSurface) +Storage_SCHEMA_TYPES(PGeom_SweptSurface) +Storage_SCHEMA_TYPES(PGeom_SurfaceOfLinearExtrusion) +Storage_SCHEMA_TYPES(PGeom_SurfaceOfRevolution) +Storage_SCHEMA_TYPES(PGeom_BoundedSurface) +Storage_SCHEMA_TYPES(PGeom_BezierSurface) +Storage_SCHEMA_TYPES(PGeom_BSplineSurface) +Storage_SCHEMA_TYPES(PGeom_RectangularTrimmedSurface) +Storage_SCHEMA_TYPES(PGeom_OffsetSurface) +Storage_SCHEMA_TYPES(PPoly_Triangulation) +Storage_SCHEMA_TYPES(PPoly_Polygon3D) +Storage_SCHEMA_TYPES(PPoly_Polygon2D) +Storage_SCHEMA_TYPES(PPoly_PolygonOnTriangulation) +Storage_SCHEMA_TYPES(PPoly_HArray1OfTriangle) +Storage_SCHEMA_TYPES(PTopoDS_HShape) +Storage_SCHEMA_TYPES(PTopoDS_TShape) +Storage_SCHEMA_TYPES(PTopoDS_TVertex) +Storage_SCHEMA_TYPES(PTopoDS_Vertex) +Storage_SCHEMA_TYPES(PTopoDS_TEdge) +Storage_SCHEMA_TYPES(PTopoDS_Edge) +Storage_SCHEMA_TYPES(PTopoDS_TWire) +Storage_SCHEMA_TYPES(PTopoDS_Wire) +Storage_SCHEMA_TYPES(PTopoDS_TFace) +Storage_SCHEMA_TYPES(PTopoDS_Face) +Storage_SCHEMA_TYPES(PTopoDS_TShell) +Storage_SCHEMA_TYPES(PTopoDS_Shell) +Storage_SCHEMA_TYPES(PTopoDS_TSolid) +Storage_SCHEMA_TYPES(PTopoDS_Solid) +Storage_SCHEMA_TYPES(PTopoDS_TCompSolid) +Storage_SCHEMA_TYPES(PTopoDS_CompSolid) +Storage_SCHEMA_TYPES(PTopoDS_TCompound) +Storage_SCHEMA_TYPES(PTopoDS_Compound) +Storage_SCHEMA_TYPES(PTopoDS_HArray1OfHShape) +Storage_SCHEMA_TYPES(PTopoDS_TShape1) +Storage_SCHEMA_TYPES(PTopoDS_TVertex1) +Storage_SCHEMA_TYPES(PTopoDS_TEdge1) +Storage_SCHEMA_TYPES(PTopoDS_TWire1) +Storage_SCHEMA_TYPES(PTopoDS_TFace1) +Storage_SCHEMA_TYPES(PTopoDS_TShell1) +Storage_SCHEMA_TYPES(PTopoDS_TSolid1) +Storage_SCHEMA_TYPES(PTopoDS_TCompSolid1) +Storage_SCHEMA_TYPES(PTopoDS_TCompound1) +Storage_SCHEMA_TYPES(PTopoDS_HArray1OfShape1) +Storage_SCHEMA_TYPES(PBRep_CurveRepresentation) +Storage_SCHEMA_TYPES(PBRep_GCurve) +Storage_SCHEMA_TYPES(PBRep_Curve3D) +Storage_SCHEMA_TYPES(PBRep_CurveOnSurface) +Storage_SCHEMA_TYPES(PBRep_CurveOnClosedSurface) +Storage_SCHEMA_TYPES(PBRep_Polygon3D) +Storage_SCHEMA_TYPES(PBRep_PolygonOnTriangulation) +Storage_SCHEMA_TYPES(PBRep_PolygonOnClosedTriangulation) +Storage_SCHEMA_TYPES(PBRep_PolygonOnSurface) +Storage_SCHEMA_TYPES(PBRep_PolygonOnClosedSurface) +Storage_SCHEMA_TYPES(PBRep_CurveOn2Surfaces) +Storage_SCHEMA_TYPES(PBRep_PointRepresentation) +Storage_SCHEMA_TYPES(PBRep_PointOnCurve) +Storage_SCHEMA_TYPES(PBRep_PointsOnSurface) +Storage_SCHEMA_TYPES(PBRep_PointOnCurveOnSurface) +Storage_SCHEMA_TYPES(PBRep_PointOnSurface) +Storage_SCHEMA_TYPES(PBRep_TFace) +Storage_SCHEMA_TYPES(PBRep_TEdge) +Storage_SCHEMA_TYPES(PBRep_TVertex) +Storage_SCHEMA_TYPES(PBRep_TFace1) +Storage_SCHEMA_TYPES(PBRep_TEdge1) +Storage_SCHEMA_TYPES(PBRep_TVertex1) +Storage_SCHEMA_TYPES(PCDMShape_Document) +Storage_SCHEMA_TYPES(Standard_Persistent) +Storage_SCHEMA_TYPES(PCollection_HAsciiString) +Storage_SCHEMA_TYPES(PMMgt_PManaged) +Storage_SCHEMA_TYPES(PColStd_HArray1OfReal) +Storage_SCHEMA_TYPES(PColStd_HArray1OfInteger) +Storage_SCHEMA_TYPES(PColStd_HArray2OfReal) +Storage_SCHEMA_TYPES(PCDM_Document) +Storage_SCHEMA_TYPES(PCollection_HExtendedString) +Storage_END_SCHEMA_TYPES(ShapeSchema) diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema.hxx new file mode 100644 index 000000000..b64e08cf3 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema.hxx @@ -0,0 +1,258 @@ +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_Macros_HeaderFile +#include +#endif +class Handle(ObjMgt_ExternShareable); +class Handle(ObjMgt_ExternRef); +class Handle(ObjMgt_PSeqOfExtRef); +class Handle(ObjMgt_SeqNodeOfPSeqOfExtRef); +class Handle(PTopLoc_Datum3D); +class Handle(PTopLoc_ItemLocation); +class PTopLoc_Location; +class Handle(PColgp_HArray1OfCirc2d); +class PColgp_FieldOfHArray1OfCirc2d; +class Handle(PColgp_HArray1OfDir2d); +class PColgp_FieldOfHArray1OfDir2d; +class Handle(PColgp_HArray1OfLin2d); +class PColgp_FieldOfHArray1OfLin2d; +class Handle(PColgp_HArray1OfPnt2d); +class PColgp_FieldOfHArray1OfPnt2d; +class Handle(PColgp_HArray1OfVec2d); +class PColgp_FieldOfHArray1OfVec2d; +class Handle(PColgp_HArray1OfXY); +class PColgp_FieldOfHArray1OfXY; +class Handle(PColgp_HArray1OfDir); +class PColgp_FieldOfHArray1OfDir; +class Handle(PColgp_HArray1OfPnt); +class PColgp_FieldOfHArray1OfPnt; +class Handle(PColgp_HArray1OfVec); +class PColgp_FieldOfHArray1OfVec; +class Handle(PColgp_HArray1OfXYZ); +class PColgp_FieldOfHArray1OfXYZ; +class Handle(PColgp_HArray2OfCirc2d); +class PColgp_FieldOfHArray2OfCirc2d; +class Handle(PColgp_HArray2OfDir2d); +class PColgp_FieldOfHArray2OfDir2d; +class Handle(PColgp_HArray2OfLin2d); +class PColgp_FieldOfHArray2OfLin2d; +class Handle(PColgp_HArray2OfPnt2d); +class PColgp_FieldOfHArray2OfPnt2d; +class Handle(PColgp_HArray2OfVec2d); +class PColgp_FieldOfHArray2OfVec2d; +class Handle(PColgp_HArray2OfXY); +class PColgp_FieldOfHArray2OfXY; +class Handle(PColgp_HArray2OfDir); +class PColgp_FieldOfHArray2OfDir; +class Handle(PColgp_HArray2OfPnt); +class PColgp_FieldOfHArray2OfPnt; +class Handle(PColgp_HArray2OfVec); +class PColgp_FieldOfHArray2OfVec; +class Handle(PColgp_HArray2OfXYZ); +class PColgp_FieldOfHArray2OfXYZ; +class Handle(PColgp_HSequenceOfDir); +class Handle(PColgp_SeqNodeOfHSequenceOfDir); +class Handle(PColgp_HSequenceOfPnt); +class Handle(PColgp_SeqNodeOfHSequenceOfPnt); +class Handle(PColgp_HSequenceOfVec); +class Handle(PColgp_SeqNodeOfHSequenceOfVec); +class Handle(PColgp_HSequenceOfXYZ); +class Handle(PColgp_SeqNodeOfHSequenceOfXYZ); +class Handle(PGeom2d_Transformation); +class Handle(PGeom2d_Geometry); +class Handle(PGeom2d_Point); +class Handle(PGeom2d_CartesianPoint); +class Handle(PGeom2d_Vector); +class Handle(PGeom2d_Direction); +class Handle(PGeom2d_VectorWithMagnitude); +class Handle(PGeom2d_AxisPlacement); +class Handle(PGeom2d_Curve); +class Handle(PGeom2d_Line); +class Handle(PGeom2d_Conic); +class Handle(PGeom2d_Circle); +class Handle(PGeom2d_Ellipse); +class Handle(PGeom2d_Hyperbola); +class Handle(PGeom2d_Parabola); +class Handle(PGeom2d_BoundedCurve); +class Handle(PGeom2d_BezierCurve); +class Handle(PGeom2d_BSplineCurve); +class Handle(PGeom2d_TrimmedCurve); +class Handle(PGeom2d_OffsetCurve); +class Handle(PGeom_Transformation); +class Handle(PGeom_Geometry); +class Handle(PGeom_Point); +class Handle(PGeom_CartesianPoint); +class Handle(PGeom_Vector); +class Handle(PGeom_Direction); +class Handle(PGeom_VectorWithMagnitude); +class Handle(PGeom_AxisPlacement); +class Handle(PGeom_Axis1Placement); +class Handle(PGeom_Axis2Placement); +class Handle(PGeom_Curve); +class Handle(PGeom_Line); +class Handle(PGeom_Conic); +class Handle(PGeom_Circle); +class Handle(PGeom_Ellipse); +class Handle(PGeom_Hyperbola); +class Handle(PGeom_Parabola); +class Handle(PGeom_BoundedCurve); +class Handle(PGeom_BezierCurve); +class Handle(PGeom_BSplineCurve); +class Handle(PGeom_TrimmedCurve); +class Handle(PGeom_OffsetCurve); +class Handle(PGeom_Surface); +class Handle(PGeom_ElementarySurface); +class Handle(PGeom_Plane); +class Handle(PGeom_ConicalSurface); +class Handle(PGeom_CylindricalSurface); +class Handle(PGeom_SphericalSurface); +class Handle(PGeom_ToroidalSurface); +class Handle(PGeom_SweptSurface); +class Handle(PGeom_SurfaceOfLinearExtrusion); +class Handle(PGeom_SurfaceOfRevolution); +class Handle(PGeom_BoundedSurface); +class Handle(PGeom_BezierSurface); +class Handle(PGeom_BSplineSurface); +class Handle(PGeom_RectangularTrimmedSurface); +class Handle(PGeom_OffsetSurface); +class PPoly_Triangle; +class Handle(PPoly_Triangulation); +class Handle(PPoly_Polygon3D); +class Handle(PPoly_Polygon2D); +class Handle(PPoly_PolygonOnTriangulation); +class Handle(PPoly_HArray1OfTriangle); +class PPoly_FieldOfHArray1OfTriangle; +class Handle(PTopoDS_HShape); +class Handle(PTopoDS_TShape); +class Handle(PTopoDS_TVertex); +class Handle(PTopoDS_Vertex); +class Handle(PTopoDS_TEdge); +class Handle(PTopoDS_Edge); +class Handle(PTopoDS_TWire); +class Handle(PTopoDS_Wire); +class Handle(PTopoDS_TFace); +class Handle(PTopoDS_Face); +class Handle(PTopoDS_TShell); +class Handle(PTopoDS_Shell); +class Handle(PTopoDS_TSolid); +class Handle(PTopoDS_Solid); +class Handle(PTopoDS_TCompSolid); +class Handle(PTopoDS_CompSolid); +class Handle(PTopoDS_TCompound); +class Handle(PTopoDS_Compound); +class Handle(PTopoDS_HArray1OfHShape); +class PTopoDS_FieldOfHArray1OfHShape; +class PTopoDS_Shape1; +class Handle(PTopoDS_TShape1); +class Handle(PTopoDS_TVertex1); +class Handle(PTopoDS_TEdge1); +class Handle(PTopoDS_TWire1); +class Handle(PTopoDS_TFace1); +class Handle(PTopoDS_TShell1); +class Handle(PTopoDS_TSolid1); +class Handle(PTopoDS_TCompSolid1); +class Handle(PTopoDS_TCompound1); +class Handle(PTopoDS_HArray1OfShape1); +class PTopoDS_FieldOfHArray1OfShape1; +class Handle(PBRep_CurveRepresentation); +class Handle(PBRep_GCurve); +class Handle(PBRep_Curve3D); +class Handle(PBRep_CurveOnSurface); +class Handle(PBRep_CurveOnClosedSurface); +class Handle(PBRep_Polygon3D); +class Handle(PBRep_PolygonOnTriangulation); +class Handle(PBRep_PolygonOnClosedTriangulation); +class Handle(PBRep_PolygonOnSurface); +class Handle(PBRep_PolygonOnClosedSurface); +class Handle(PBRep_CurveOn2Surfaces); +class Handle(PBRep_PointRepresentation); +class Handle(PBRep_PointOnCurve); +class Handle(PBRep_PointsOnSurface); +class Handle(PBRep_PointOnCurveOnSurface); +class Handle(PBRep_PointOnSurface); +class Handle(PBRep_TFace); +class Handle(PBRep_TEdge); +class Handle(PBRep_TVertex); +class Handle(PBRep_TFace1); +class Handle(PBRep_TEdge1); +class Handle(PBRep_TVertex1); +class Handle(PCDMShape_Document); +class Handle(Standard_Persistent); +class Standard_Storable; +class Handle(PCollection_HAsciiString); +class Handle(PMMgt_PManaged); +class gp_Trsf; +class gp_Circ2d; +class gp_Dir2d; +class gp_Lin2d; +class gp_Pnt2d; +class gp_Vec2d; +class gp_XY; +class gp_Dir; +class gp_Pnt; +class gp_Vec; +class gp_XYZ; +class gp_Trsf2d; +class gp_Ax2d; +class gp_Ax22d; +class Handle(PColStd_HArray1OfReal); +class Handle(PColStd_HArray1OfInteger); +class gp_Ax1; +class gp_Ax2; +class gp_Ax3; +class Handle(PColStd_HArray2OfReal); +class Handle(PCDM_Document); +class DBC_VArrayOfCharacter; +class Handle(PCollection_HExtendedString); +class gp_Mat; +class gp_Mat2d; +class PColStd_FieldOfHArray1OfReal; +class PColStd_FieldOfHArray1OfInteger; +class PColStd_FieldOfHArray2OfReal; +class DBC_VArrayOfExtCharacter; +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_HeaderFile +#define _ShapeSchema_HeaderFile + +#ifndef _Standard_Macro_HeaderFile +#include +#endif +#ifndef _Storage_Macros_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + +DEFINE_STANDARD_HANDLE(ShapeSchema,Storage_Schema) + + +class ShapeSchema : public Storage_Schema { +public: + + Storage_DECLARE_SCHEMA_METHODS(ShapeSchema) + + DEFINE_STANDARD_RTTI(ShapeSchema) +}; + +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_DBC_VArrayOfCharacter.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_DBC_VArrayOfCharacter.cxx new file mode 100644 index 000000000..7a223a939 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_DBC_VArrayOfCharacter.cxx @@ -0,0 +1,45 @@ +#ifndef _ShapeSchema_DBC_VArrayOfCharacter_HeaderFile +#include +#endif +#ifndef _DBC_VArrayOfCharacter_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void ShapeSchema_DBC_VArrayOfCharacter::SWrite(const DBC_VArrayOfCharacter& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + + f.BeginWriteObjectData(); + f.PutInteger(pp.Length()); + for (Standard_Integer i = 0; i < pp.Length(); i++) { + f.PutCharacter(pp.Value(i)); + + } + f.EndWriteObjectData(); +} + +void ShapeSchema_DBC_VArrayOfCharacter::SRead(DBC_VArrayOfCharacter& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + Standard_Integer size = 0; + + f.BeginReadObjectData(); + f.GetInteger(size); + pp.Resize(size); + + for (Standard_Integer j = 0; j < size; j++) { + Standard_Character par; + + f.GetCharacter(par); + pp.SetValue(j,par); + + } + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_DBC_VArrayOfCharacter.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_DBC_VArrayOfCharacter.hxx new file mode 100644 index 000000000..0bcc3bee2 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_DBC_VArrayOfCharacter.hxx @@ -0,0 +1,26 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_DBC_VArrayOfCharacter_HeaderFile +#define _ShapeSchema_DBC_VArrayOfCharacter_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + + +class DBC_VArrayOfCharacter; + +class ShapeSchema_DBC_VArrayOfCharacter { +public: + Standard_EXPORT static void SAdd(const DBC_VArrayOfCharacter&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const DBC_VArrayOfCharacter&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(DBC_VArrayOfCharacter&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_DBC_VArrayOfCharacter.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_DBC_VArrayOfCharacter.ixx new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_DBC_VArrayOfCharacter.ixx @@ -0,0 +1 @@ + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_DBC_VArrayOfExtCharacter.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_DBC_VArrayOfExtCharacter.cxx new file mode 100644 index 000000000..b618f656e --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_DBC_VArrayOfExtCharacter.cxx @@ -0,0 +1,45 @@ +#ifndef _ShapeSchema_DBC_VArrayOfExtCharacter_HeaderFile +#include +#endif +#ifndef _DBC_VArrayOfExtCharacter_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void ShapeSchema_DBC_VArrayOfExtCharacter::SWrite(const DBC_VArrayOfExtCharacter& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + + f.BeginWriteObjectData(); + f.PutInteger(pp.Length()); + for (Standard_Integer i = 0; i < pp.Length(); i++) { + f.PutExtCharacter(pp.Value(i)); + + } + f.EndWriteObjectData(); +} + +void ShapeSchema_DBC_VArrayOfExtCharacter::SRead(DBC_VArrayOfExtCharacter& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + Standard_Integer size = 0; + + f.BeginReadObjectData(); + f.GetInteger(size); + pp.Resize(size); + + for (Standard_Integer j = 0; j < size; j++) { + Standard_ExtCharacter par; + + f.GetExtCharacter(par); + pp.SetValue(j,par); + + } + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_DBC_VArrayOfExtCharacter.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_DBC_VArrayOfExtCharacter.hxx new file mode 100644 index 000000000..b924bd868 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_DBC_VArrayOfExtCharacter.hxx @@ -0,0 +1,26 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_DBC_VArrayOfExtCharacter_HeaderFile +#define _ShapeSchema_DBC_VArrayOfExtCharacter_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + + +class DBC_VArrayOfExtCharacter; + +class ShapeSchema_DBC_VArrayOfExtCharacter { +public: + Standard_EXPORT static void SAdd(const DBC_VArrayOfExtCharacter&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const DBC_VArrayOfExtCharacter&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(DBC_VArrayOfExtCharacter&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_DBC_VArrayOfExtCharacter.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_DBC_VArrayOfExtCharacter.ixx new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_DBC_VArrayOfExtCharacter.ixx @@ -0,0 +1 @@ + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_ObjMgt_ExternRef.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_ObjMgt_ExternRef.cxx new file mode 100644 index 000000000..92fbe621d --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_ObjMgt_ExternRef.cxx @@ -0,0 +1,87 @@ +#ifndef _ShapeSchema_ObjMgt_ExternRef_HeaderFile +#include +#endif +#ifndef _ObjMgt_ExternRef_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_ObjMgt_ExternRef,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_ObjMgt_ExternRef,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_ObjMgt_ExternRef::New() const +{ + return new ObjMgt_ExternRef(Storage_stCONSTclCOM()); +} + +void ShapeSchema_ObjMgt_ExternRef::SAdd(const Handle(ObjMgt_ExternRef)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"ObjMgt_ExternRef")) { + theSchema->PersistentToAdd(p->_CSFDB_GetObjMgt_ExternRefmyEntryId()); + + } + } +} + +void ShapeSchema_ObjMgt_ExternRef::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_ObjMgt_ExternRef::SAdd((Handle(ObjMgt_ExternRef)&)p,theSchema); +} + +void ShapeSchema_ObjMgt_ExternRef::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(ObjMgt_ExternRef) &pp = (Handle(ObjMgt_ExternRef)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetObjMgt_ExternRefmyEntryId(),f); + f.PutInteger(pp->_CSFDB_GetObjMgt_ExternRefmyBindingIndex()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_ObjMgt_ExternRef::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_ObjMgt_ExternRef::SWrite(p,f,theSchema); +} + + +void ShapeSchema_ObjMgt_ExternRef::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(ObjMgt_ExternRef) &pp = (Handle(ObjMgt_ExternRef)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PCollection_HAsciiString) ObjMgt_ExternRefmyEntryId; + + theSchema->ReadPersistentReference(ObjMgt_ExternRefmyEntryId,f); + pp->_CSFDB_SetObjMgt_ExternRefmyEntryId(ObjMgt_ExternRefmyEntryId); + + Standard_Integer ObjMgt_ExternRefmyBindingIndex; + f.GetInteger(ObjMgt_ExternRefmyBindingIndex); + pp->_CSFDB_SetObjMgt_ExternRefmyBindingIndex(ObjMgt_ExternRefmyBindingIndex); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_ObjMgt_ExternRef::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_ObjMgt_ExternRef::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_ObjMgt_ExternRef.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_ObjMgt_ExternRef.hxx new file mode 100644 index 000000000..afa5a16da --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_ObjMgt_ExternRef.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_ObjMgt_ExternRef_HeaderFile +#define _ShapeSchema_ObjMgt_ExternRef_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_ObjMgt_ExternRef_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_ObjMgt_ExternRef,Storage_CallBack) + +class ShapeSchema_ObjMgt_ExternRef : public Storage_CallBack { +public: + ShapeSchema_ObjMgt_ExternRef() {} + Standard_EXPORT static void SAdd(const Handle(ObjMgt_ExternRef)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_ObjMgt_ExternRef) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_ObjMgt_ExternRef.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_ObjMgt_ExternRef.ixx new file mode 100644 index 000000000..151f10982 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_ObjMgt_ExternRef.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_PCollection_HAsciiString_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_ObjMgt_ExternShareable.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_ObjMgt_ExternShareable.cxx new file mode 100644 index 000000000..785feee94 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_ObjMgt_ExternShareable.cxx @@ -0,0 +1,83 @@ +#ifndef _ShapeSchema_ObjMgt_ExternShareable_HeaderFile +#include +#endif +#ifndef _ObjMgt_ExternShareable_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_ObjMgt_ExternShareable,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_ObjMgt_ExternShareable,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_ObjMgt_ExternShareable::New() const +{ + Handle(Standard_Persistent) NullObject; + return NullObject; +} + +void ShapeSchema_ObjMgt_ExternShareable::SAdd(const Handle(ObjMgt_ExternShareable)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"ObjMgt_ExternShareable")) { + theSchema->PersistentToAdd(p->_CSFDB_GetObjMgt_ExternShareablemyEntry()); + + } + } +} + +void ShapeSchema_ObjMgt_ExternShareable::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_ObjMgt_ExternShareable::SAdd((Handle(ObjMgt_ExternShareable)&)p,theSchema); +} + +void ShapeSchema_ObjMgt_ExternShareable::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(ObjMgt_ExternShareable) &pp = (Handle(ObjMgt_ExternShareable)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetObjMgt_ExternShareablemyEntry(),f); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_ObjMgt_ExternShareable::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_ObjMgt_ExternShareable::SWrite(p,f,theSchema); +} + + +void ShapeSchema_ObjMgt_ExternShareable::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(ObjMgt_ExternShareable) &pp = (Handle(ObjMgt_ExternShareable)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PCollection_HAsciiString) ObjMgt_ExternShareablemyEntry; + + theSchema->ReadPersistentReference(ObjMgt_ExternShareablemyEntry,f); + pp->_CSFDB_SetObjMgt_ExternShareablemyEntry(ObjMgt_ExternShareablemyEntry); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_ObjMgt_ExternShareable::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_ObjMgt_ExternShareable::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_ObjMgt_ExternShareable.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_ObjMgt_ExternShareable.hxx new file mode 100644 index 000000000..830f38bbf --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_ObjMgt_ExternShareable.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_ObjMgt_ExternShareable_HeaderFile +#define _ShapeSchema_ObjMgt_ExternShareable_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_ObjMgt_ExternShareable_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_ObjMgt_ExternShareable,Storage_CallBack) + +class ShapeSchema_ObjMgt_ExternShareable : public Storage_CallBack { +public: + ShapeSchema_ObjMgt_ExternShareable() {} + Standard_EXPORT static void SAdd(const Handle(ObjMgt_ExternShareable)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_ObjMgt_ExternShareable) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_ObjMgt_ExternShareable.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_ObjMgt_ExternShareable.ixx new file mode 100644 index 000000000..151f10982 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_ObjMgt_ExternShareable.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_PCollection_HAsciiString_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_ObjMgt_PSeqOfExtRef.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_ObjMgt_PSeqOfExtRef.cxx new file mode 100644 index 000000000..993742a4f --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_ObjMgt_PSeqOfExtRef.cxx @@ -0,0 +1,94 @@ +#ifndef _ShapeSchema_ObjMgt_PSeqOfExtRef_HeaderFile +#include +#endif +#ifndef _ObjMgt_PSeqOfExtRef_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_ObjMgt_PSeqOfExtRef,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_ObjMgt_PSeqOfExtRef,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_ObjMgt_PSeqOfExtRef::New() const +{ + return new ObjMgt_PSeqOfExtRef(Storage_stCONSTclCOM()); +} + +void ShapeSchema_ObjMgt_PSeqOfExtRef::SAdd(const Handle(ObjMgt_PSeqOfExtRef)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"ObjMgt_PSeqOfExtRef")) { + theSchema->PersistentToAdd(p->_CSFDB_GetObjMgt_PSeqOfExtRefFirstItem()); + theSchema->PersistentToAdd(p->_CSFDB_GetObjMgt_PSeqOfExtRefLastItem()); + + } + } +} + +void ShapeSchema_ObjMgt_PSeqOfExtRef::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_ObjMgt_PSeqOfExtRef::SAdd((Handle(ObjMgt_PSeqOfExtRef)&)p,theSchema); +} + +void ShapeSchema_ObjMgt_PSeqOfExtRef::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(ObjMgt_PSeqOfExtRef) &pp = (Handle(ObjMgt_PSeqOfExtRef)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetObjMgt_PSeqOfExtRefFirstItem(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetObjMgt_PSeqOfExtRefLastItem(),f); + f.PutInteger(pp->_CSFDB_GetObjMgt_PSeqOfExtRefSize()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_ObjMgt_PSeqOfExtRef::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_ObjMgt_PSeqOfExtRef::SWrite(p,f,theSchema); +} + + +void ShapeSchema_ObjMgt_PSeqOfExtRef::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(ObjMgt_PSeqOfExtRef) &pp = (Handle(ObjMgt_PSeqOfExtRef)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(ObjMgt_SeqNodeOfPSeqOfExtRef) ObjMgt_PSeqOfExtRefFirstItem; + + theSchema->ReadPersistentReference(ObjMgt_PSeqOfExtRefFirstItem,f); + pp->_CSFDB_SetObjMgt_PSeqOfExtRefFirstItem(ObjMgt_PSeqOfExtRefFirstItem); + + Handle(ObjMgt_SeqNodeOfPSeqOfExtRef) ObjMgt_PSeqOfExtRefLastItem; + + theSchema->ReadPersistentReference(ObjMgt_PSeqOfExtRefLastItem,f); + pp->_CSFDB_SetObjMgt_PSeqOfExtRefLastItem(ObjMgt_PSeqOfExtRefLastItem); + + Standard_Integer ObjMgt_PSeqOfExtRefSize; + f.GetInteger(ObjMgt_PSeqOfExtRefSize); + pp->_CSFDB_SetObjMgt_PSeqOfExtRefSize(ObjMgt_PSeqOfExtRefSize); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_ObjMgt_PSeqOfExtRef::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_ObjMgt_PSeqOfExtRef::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_ObjMgt_PSeqOfExtRef.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_ObjMgt_PSeqOfExtRef.hxx new file mode 100644 index 000000000..86e363eae --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_ObjMgt_PSeqOfExtRef.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_ObjMgt_PSeqOfExtRef_HeaderFile +#define _ShapeSchema_ObjMgt_PSeqOfExtRef_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_ObjMgt_PSeqOfExtRef_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_ObjMgt_PSeqOfExtRef,Storage_CallBack) + +class ShapeSchema_ObjMgt_PSeqOfExtRef : public Storage_CallBack { +public: + ShapeSchema_ObjMgt_PSeqOfExtRef() {} + Standard_EXPORT static void SAdd(const Handle(ObjMgt_PSeqOfExtRef)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_ObjMgt_PSeqOfExtRef) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_ObjMgt_PSeqOfExtRef.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_ObjMgt_PSeqOfExtRef.ixx new file mode 100644 index 000000000..04fcb202d --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_ObjMgt_PSeqOfExtRef.ixx @@ -0,0 +1,8 @@ +#include +#ifndef _ShapeSchema_ObjMgt_SeqNodeOfPSeqOfExtRef_HeaderFile +#include +#endif +#ifndef _ShapeSchema_ObjMgt_SeqNodeOfPSeqOfExtRef_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_ObjMgt_SeqNodeOfPSeqOfExtRef.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_ObjMgt_SeqNodeOfPSeqOfExtRef.cxx new file mode 100644 index 000000000..12ee30c92 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_ObjMgt_SeqNodeOfPSeqOfExtRef.cxx @@ -0,0 +1,96 @@ +#ifndef _ShapeSchema_ObjMgt_SeqNodeOfPSeqOfExtRef_HeaderFile +#include +#endif +#ifndef _ObjMgt_SeqNodeOfPSeqOfExtRef_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_ObjMgt_SeqNodeOfPSeqOfExtRef,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_ObjMgt_SeqNodeOfPSeqOfExtRef,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_ObjMgt_SeqNodeOfPSeqOfExtRef::New() const +{ + return new ObjMgt_SeqNodeOfPSeqOfExtRef(Storage_stCONSTclCOM()); +} + +void ShapeSchema_ObjMgt_SeqNodeOfPSeqOfExtRef::SAdd(const Handle(ObjMgt_SeqNodeOfPSeqOfExtRef)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"ObjMgt_SeqNodeOfPSeqOfExtRef")) { + theSchema->PersistentToAdd(p->_CSFDB_GetObjMgt_SeqNodeOfPSeqOfExtRefMyPrevious()); + theSchema->PersistentToAdd(p->_CSFDB_GetObjMgt_SeqNodeOfPSeqOfExtRefMyItem()); + theSchema->PersistentToAdd(p->_CSFDB_GetObjMgt_SeqNodeOfPSeqOfExtRefMyNext()); + + } + } +} + +void ShapeSchema_ObjMgt_SeqNodeOfPSeqOfExtRef::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_ObjMgt_SeqNodeOfPSeqOfExtRef::SAdd((Handle(ObjMgt_SeqNodeOfPSeqOfExtRef)&)p,theSchema); +} + +void ShapeSchema_ObjMgt_SeqNodeOfPSeqOfExtRef::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(ObjMgt_SeqNodeOfPSeqOfExtRef) &pp = (Handle(ObjMgt_SeqNodeOfPSeqOfExtRef)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetObjMgt_SeqNodeOfPSeqOfExtRefMyPrevious(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetObjMgt_SeqNodeOfPSeqOfExtRefMyItem(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetObjMgt_SeqNodeOfPSeqOfExtRefMyNext(),f); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_ObjMgt_SeqNodeOfPSeqOfExtRef::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_ObjMgt_SeqNodeOfPSeqOfExtRef::SWrite(p,f,theSchema); +} + + +void ShapeSchema_ObjMgt_SeqNodeOfPSeqOfExtRef::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(ObjMgt_SeqNodeOfPSeqOfExtRef) &pp = (Handle(ObjMgt_SeqNodeOfPSeqOfExtRef)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(ObjMgt_SeqNodeOfPSeqOfExtRef) ObjMgt_SeqNodeOfPSeqOfExtRefMyPrevious; + + theSchema->ReadPersistentReference(ObjMgt_SeqNodeOfPSeqOfExtRefMyPrevious,f); + pp->_CSFDB_SetObjMgt_SeqNodeOfPSeqOfExtRefMyPrevious(ObjMgt_SeqNodeOfPSeqOfExtRefMyPrevious); + + Handle(ObjMgt_ExternRef) ObjMgt_SeqNodeOfPSeqOfExtRefMyItem; + + theSchema->ReadPersistentReference(ObjMgt_SeqNodeOfPSeqOfExtRefMyItem,f); + pp->_CSFDB_SetObjMgt_SeqNodeOfPSeqOfExtRefMyItem(ObjMgt_SeqNodeOfPSeqOfExtRefMyItem); + + Handle(ObjMgt_SeqNodeOfPSeqOfExtRef) ObjMgt_SeqNodeOfPSeqOfExtRefMyNext; + + theSchema->ReadPersistentReference(ObjMgt_SeqNodeOfPSeqOfExtRefMyNext,f); + pp->_CSFDB_SetObjMgt_SeqNodeOfPSeqOfExtRefMyNext(ObjMgt_SeqNodeOfPSeqOfExtRefMyNext); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_ObjMgt_SeqNodeOfPSeqOfExtRef::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_ObjMgt_SeqNodeOfPSeqOfExtRef::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_ObjMgt_SeqNodeOfPSeqOfExtRef.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_ObjMgt_SeqNodeOfPSeqOfExtRef.hxx new file mode 100644 index 000000000..5da43129d --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_ObjMgt_SeqNodeOfPSeqOfExtRef.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_ObjMgt_SeqNodeOfPSeqOfExtRef_HeaderFile +#define _ShapeSchema_ObjMgt_SeqNodeOfPSeqOfExtRef_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_ObjMgt_SeqNodeOfPSeqOfExtRef_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PMMgt_PManaged_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_ObjMgt_SeqNodeOfPSeqOfExtRef,Storage_CallBack) + +class ShapeSchema_ObjMgt_SeqNodeOfPSeqOfExtRef : public Storage_CallBack { +public: + ShapeSchema_ObjMgt_SeqNodeOfPSeqOfExtRef() {} + Standard_EXPORT static void SAdd(const Handle(ObjMgt_SeqNodeOfPSeqOfExtRef)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_ObjMgt_SeqNodeOfPSeqOfExtRef) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_ObjMgt_SeqNodeOfPSeqOfExtRef.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_ObjMgt_SeqNodeOfPSeqOfExtRef.ixx new file mode 100644 index 000000000..b61cb5fdb --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_ObjMgt_SeqNodeOfPSeqOfExtRef.ixx @@ -0,0 +1,11 @@ +#include +#ifndef _ShapeSchema_ObjMgt_SeqNodeOfPSeqOfExtRef_HeaderFile +#include +#endif +#ifndef _ShapeSchema_ObjMgt_ExternRef_HeaderFile +#include +#endif +#ifndef _ShapeSchema_ObjMgt_SeqNodeOfPSeqOfExtRef_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_Curve3D.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_Curve3D.cxx new file mode 100644 index 000000000..64647f333 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_Curve3D.cxx @@ -0,0 +1,103 @@ +#ifndef _ShapeSchema_PBRep_Curve3D_HeaderFile +#include +#endif +#ifndef _PBRep_Curve3D_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PBRep_Curve3D,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PBRep_Curve3D,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PBRep_Curve3D::New() const +{ + return new PBRep_Curve3D(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PBRep_Curve3D::SAdd(const Handle(PBRep_Curve3D)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PBRep_Curve3D")) { + ShapeSchema_PTopLoc_Location::SAdd(p->_CSFDB_GetPBRep_CurveRepresentationmyLocation(),theSchema); + theSchema->PersistentToAdd(p->_CSFDB_GetPBRep_CurveRepresentationmyNext()); + theSchema->PersistentToAdd(p->_CSFDB_GetPBRep_Curve3DmyCurve3D()); + + } + } +} + +void ShapeSchema_PBRep_Curve3D::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PBRep_Curve3D::SAdd((Handle(PBRep_Curve3D)&)p,theSchema); +} + +void ShapeSchema_PBRep_Curve3D::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PBRep_Curve3D) &pp = (Handle(PBRep_Curve3D)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + ShapeSchema_PTopLoc_Location::SWrite(pp->_CSFDB_GetPBRep_CurveRepresentationmyLocation(),f,theSchema); + theSchema->WritePersistentReference(pp->_CSFDB_GetPBRep_CurveRepresentationmyNext(),f); + f.PutReal(pp->_CSFDB_GetPBRep_GCurvemyFirst()); + f.PutReal(pp->_CSFDB_GetPBRep_GCurvemyLast()); + theSchema->WritePersistentReference(pp->_CSFDB_GetPBRep_Curve3DmyCurve3D(),f); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PBRep_Curve3D::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PBRep_Curve3D::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PBRep_Curve3D::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PBRep_Curve3D) &pp = (Handle(PBRep_Curve3D)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + ShapeSchema_PTopLoc_Location::SRead((PTopLoc_Location&)pp->_CSFDB_GetPBRep_CurveRepresentationmyLocation(),f,theSchema); + + Handle(PBRep_CurveRepresentation) PBRep_CurveRepresentationmyNext; + + theSchema->ReadPersistentReference(PBRep_CurveRepresentationmyNext,f); + pp->_CSFDB_SetPBRep_CurveRepresentationmyNext(PBRep_CurveRepresentationmyNext); + + Standard_Real PBRep_GCurvemyFirst; + f.GetReal(PBRep_GCurvemyFirst); + pp->_CSFDB_SetPBRep_GCurvemyFirst(PBRep_GCurvemyFirst); + + Standard_Real PBRep_GCurvemyLast; + f.GetReal(PBRep_GCurvemyLast); + pp->_CSFDB_SetPBRep_GCurvemyLast(PBRep_GCurvemyLast); + + Handle(PGeom_Curve) PBRep_Curve3DmyCurve3D; + + theSchema->ReadPersistentReference(PBRep_Curve3DmyCurve3D,f); + pp->_CSFDB_SetPBRep_Curve3DmyCurve3D(PBRep_Curve3DmyCurve3D); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PBRep_Curve3D::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PBRep_Curve3D::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_Curve3D.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_Curve3D.hxx new file mode 100644 index 000000000..0bd70c058 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_Curve3D.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PBRep_Curve3D_HeaderFile +#define _ShapeSchema_PBRep_Curve3D_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PBRep_Curve3D_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PBRep_GCurve_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PBRep_Curve3D,Storage_CallBack) + +class ShapeSchema_PBRep_Curve3D : public Storage_CallBack { +public: + ShapeSchema_PBRep_Curve3D() {} + Standard_EXPORT static void SAdd(const Handle(PBRep_Curve3D)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PBRep_Curve3D) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_Curve3D.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_Curve3D.ixx new file mode 100644 index 000000000..3aed8c315 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_Curve3D.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_PGeom_Curve_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_CurveOn2Surfaces.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_CurveOn2Surfaces.cxx new file mode 100644 index 000000000..dd5fa5eab --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_CurveOn2Surfaces.cxx @@ -0,0 +1,111 @@ +#ifndef _ShapeSchema_PBRep_CurveOn2Surfaces_HeaderFile +#include +#endif +#ifndef _PBRep_CurveOn2Surfaces_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PBRep_CurveOn2Surfaces,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PBRep_CurveOn2Surfaces,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PBRep_CurveOn2Surfaces::New() const +{ + return new PBRep_CurveOn2Surfaces(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PBRep_CurveOn2Surfaces::SAdd(const Handle(PBRep_CurveOn2Surfaces)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PBRep_CurveOn2Surfaces")) { + ShapeSchema_PTopLoc_Location::SAdd(p->_CSFDB_GetPBRep_CurveRepresentationmyLocation(),theSchema); + theSchema->PersistentToAdd(p->_CSFDB_GetPBRep_CurveRepresentationmyNext()); + theSchema->PersistentToAdd(p->_CSFDB_GetPBRep_CurveOn2SurfacesmySurface()); + theSchema->PersistentToAdd(p->_CSFDB_GetPBRep_CurveOn2SurfacesmySurface2()); + ShapeSchema_PTopLoc_Location::SAdd(p->_CSFDB_GetPBRep_CurveOn2SurfacesmyLocation2(),theSchema); + + } + } +} + +void ShapeSchema_PBRep_CurveOn2Surfaces::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PBRep_CurveOn2Surfaces::SAdd((Handle(PBRep_CurveOn2Surfaces)&)p,theSchema); +} + +void ShapeSchema_PBRep_CurveOn2Surfaces::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PBRep_CurveOn2Surfaces) &pp = (Handle(PBRep_CurveOn2Surfaces)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + ShapeSchema_PTopLoc_Location::SWrite(pp->_CSFDB_GetPBRep_CurveRepresentationmyLocation(),f,theSchema); + theSchema->WritePersistentReference(pp->_CSFDB_GetPBRep_CurveRepresentationmyNext(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPBRep_CurveOn2SurfacesmySurface(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPBRep_CurveOn2SurfacesmySurface2(),f); + ShapeSchema_PTopLoc_Location::SWrite(pp->_CSFDB_GetPBRep_CurveOn2SurfacesmyLocation2(),f,theSchema); + f.PutInteger(pp->_CSFDB_GetPBRep_CurveOn2SurfacesmyContinuity()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PBRep_CurveOn2Surfaces::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PBRep_CurveOn2Surfaces::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PBRep_CurveOn2Surfaces::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PBRep_CurveOn2Surfaces) &pp = (Handle(PBRep_CurveOn2Surfaces)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + ShapeSchema_PTopLoc_Location::SRead((PTopLoc_Location&)pp->_CSFDB_GetPBRep_CurveRepresentationmyLocation(),f,theSchema); + + Handle(PBRep_CurveRepresentation) PBRep_CurveRepresentationmyNext; + + theSchema->ReadPersistentReference(PBRep_CurveRepresentationmyNext,f); + pp->_CSFDB_SetPBRep_CurveRepresentationmyNext(PBRep_CurveRepresentationmyNext); + + Handle(PGeom_Surface) PBRep_CurveOn2SurfacesmySurface; + + theSchema->ReadPersistentReference(PBRep_CurveOn2SurfacesmySurface,f); + pp->_CSFDB_SetPBRep_CurveOn2SurfacesmySurface(PBRep_CurveOn2SurfacesmySurface); + + Handle(PGeom_Surface) PBRep_CurveOn2SurfacesmySurface2; + + theSchema->ReadPersistentReference(PBRep_CurveOn2SurfacesmySurface2,f); + pp->_CSFDB_SetPBRep_CurveOn2SurfacesmySurface2(PBRep_CurveOn2SurfacesmySurface2); + + ShapeSchema_PTopLoc_Location::SRead((PTopLoc_Location&)pp->_CSFDB_GetPBRep_CurveOn2SurfacesmyLocation2(),f,theSchema); + + GeomAbs_Shape PBRep_CurveOn2SurfacesmyContinuity; + Standard_Integer i_CSFDB_PBRep_CurveOn2SurfacesmyContinuity; + f.GetInteger(i_CSFDB_PBRep_CurveOn2SurfacesmyContinuity); + PBRep_CurveOn2SurfacesmyContinuity = (GeomAbs_Shape)i_CSFDB_PBRep_CurveOn2SurfacesmyContinuity; + pp->_CSFDB_SetPBRep_CurveOn2SurfacesmyContinuity(PBRep_CurveOn2SurfacesmyContinuity); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PBRep_CurveOn2Surfaces::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PBRep_CurveOn2Surfaces::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_CurveOn2Surfaces.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_CurveOn2Surfaces.hxx new file mode 100644 index 000000000..9bfb61918 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_CurveOn2Surfaces.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PBRep_CurveOn2Surfaces_HeaderFile +#define _ShapeSchema_PBRep_CurveOn2Surfaces_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PBRep_CurveOn2Surfaces_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PBRep_CurveRepresentation_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PBRep_CurveOn2Surfaces,Storage_CallBack) + +class ShapeSchema_PBRep_CurveOn2Surfaces : public Storage_CallBack { +public: + ShapeSchema_PBRep_CurveOn2Surfaces() {} + Standard_EXPORT static void SAdd(const Handle(PBRep_CurveOn2Surfaces)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PBRep_CurveOn2Surfaces) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_CurveOn2Surfaces.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_CurveOn2Surfaces.ixx new file mode 100644 index 000000000..de2f52793 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_CurveOn2Surfaces.ixx @@ -0,0 +1,11 @@ +#include +#ifndef _ShapeSchema_PGeom_Surface_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom_Surface_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PTopLoc_Location_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_CurveOnClosedSurface.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_CurveOnClosedSurface.cxx new file mode 100644 index 000000000..30f299536 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_CurveOnClosedSurface.cxx @@ -0,0 +1,136 @@ +#ifndef _ShapeSchema_PBRep_CurveOnClosedSurface_HeaderFile +#include +#endif +#ifndef _PBRep_CurveOnClosedSurface_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PBRep_CurveOnClosedSurface,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PBRep_CurveOnClosedSurface,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PBRep_CurveOnClosedSurface::New() const +{ + return new PBRep_CurveOnClosedSurface(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PBRep_CurveOnClosedSurface::SAdd(const Handle(PBRep_CurveOnClosedSurface)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PBRep_CurveOnClosedSurface")) { + ShapeSchema_PTopLoc_Location::SAdd(p->_CSFDB_GetPBRep_CurveRepresentationmyLocation(),theSchema); + theSchema->PersistentToAdd(p->_CSFDB_GetPBRep_CurveRepresentationmyNext()); + theSchema->PersistentToAdd(p->_CSFDB_GetPBRep_CurveOnSurfacemyPCurve()); + theSchema->PersistentToAdd(p->_CSFDB_GetPBRep_CurveOnSurfacemySurface()); + theSchema->PersistentToAdd(p->_CSFDB_GetPBRep_CurveOnClosedSurfacemyPCurve2()); + + } + } +} + +void ShapeSchema_PBRep_CurveOnClosedSurface::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PBRep_CurveOnClosedSurface::SAdd((Handle(PBRep_CurveOnClosedSurface)&)p,theSchema); +} + +void ShapeSchema_PBRep_CurveOnClosedSurface::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PBRep_CurveOnClosedSurface) &pp = (Handle(PBRep_CurveOnClosedSurface)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + ShapeSchema_PTopLoc_Location::SWrite(pp->_CSFDB_GetPBRep_CurveRepresentationmyLocation(),f,theSchema); + theSchema->WritePersistentReference(pp->_CSFDB_GetPBRep_CurveRepresentationmyNext(),f); + f.PutReal(pp->_CSFDB_GetPBRep_GCurvemyFirst()); + f.PutReal(pp->_CSFDB_GetPBRep_GCurvemyLast()); + theSchema->WritePersistentReference(pp->_CSFDB_GetPBRep_CurveOnSurfacemyPCurve(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPBRep_CurveOnSurfacemySurface(),f); + ShapeSchema_gp_Pnt2d::SWrite(pp->_CSFDB_GetPBRep_CurveOnSurfacemyUV1(),f,theSchema); + ShapeSchema_gp_Pnt2d::SWrite(pp->_CSFDB_GetPBRep_CurveOnSurfacemyUV2(),f,theSchema); + theSchema->WritePersistentReference(pp->_CSFDB_GetPBRep_CurveOnClosedSurfacemyPCurve2(),f); + f.PutInteger(pp->_CSFDB_GetPBRep_CurveOnClosedSurfacemyContinuity()); + ShapeSchema_gp_Pnt2d::SWrite(pp->_CSFDB_GetPBRep_CurveOnClosedSurfacemyUV21(),f,theSchema); + ShapeSchema_gp_Pnt2d::SWrite(pp->_CSFDB_GetPBRep_CurveOnClosedSurfacemyUV22(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PBRep_CurveOnClosedSurface::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PBRep_CurveOnClosedSurface::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PBRep_CurveOnClosedSurface::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PBRep_CurveOnClosedSurface) &pp = (Handle(PBRep_CurveOnClosedSurface)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + ShapeSchema_PTopLoc_Location::SRead((PTopLoc_Location&)pp->_CSFDB_GetPBRep_CurveRepresentationmyLocation(),f,theSchema); + + Handle(PBRep_CurveRepresentation) PBRep_CurveRepresentationmyNext; + + theSchema->ReadPersistentReference(PBRep_CurveRepresentationmyNext,f); + pp->_CSFDB_SetPBRep_CurveRepresentationmyNext(PBRep_CurveRepresentationmyNext); + + Standard_Real PBRep_GCurvemyFirst; + f.GetReal(PBRep_GCurvemyFirst); + pp->_CSFDB_SetPBRep_GCurvemyFirst(PBRep_GCurvemyFirst); + + Standard_Real PBRep_GCurvemyLast; + f.GetReal(PBRep_GCurvemyLast); + pp->_CSFDB_SetPBRep_GCurvemyLast(PBRep_GCurvemyLast); + + Handle(PGeom2d_Curve) PBRep_CurveOnSurfacemyPCurve; + + theSchema->ReadPersistentReference(PBRep_CurveOnSurfacemyPCurve,f); + pp->_CSFDB_SetPBRep_CurveOnSurfacemyPCurve(PBRep_CurveOnSurfacemyPCurve); + + Handle(PGeom_Surface) PBRep_CurveOnSurfacemySurface; + + theSchema->ReadPersistentReference(PBRep_CurveOnSurfacemySurface,f); + pp->_CSFDB_SetPBRep_CurveOnSurfacemySurface(PBRep_CurveOnSurfacemySurface); + + ShapeSchema_gp_Pnt2d::SRead((gp_Pnt2d&)pp->_CSFDB_GetPBRep_CurveOnSurfacemyUV1(),f,theSchema); + + ShapeSchema_gp_Pnt2d::SRead((gp_Pnt2d&)pp->_CSFDB_GetPBRep_CurveOnSurfacemyUV2(),f,theSchema); + + Handle(PGeom2d_Curve) PBRep_CurveOnClosedSurfacemyPCurve2; + + theSchema->ReadPersistentReference(PBRep_CurveOnClosedSurfacemyPCurve2,f); + pp->_CSFDB_SetPBRep_CurveOnClosedSurfacemyPCurve2(PBRep_CurveOnClosedSurfacemyPCurve2); + + GeomAbs_Shape PBRep_CurveOnClosedSurfacemyContinuity; + Standard_Integer i_CSFDB_PBRep_CurveOnClosedSurfacemyContinuity; + f.GetInteger(i_CSFDB_PBRep_CurveOnClosedSurfacemyContinuity); + PBRep_CurveOnClosedSurfacemyContinuity = (GeomAbs_Shape)i_CSFDB_PBRep_CurveOnClosedSurfacemyContinuity; + pp->_CSFDB_SetPBRep_CurveOnClosedSurfacemyContinuity(PBRep_CurveOnClosedSurfacemyContinuity); + + ShapeSchema_gp_Pnt2d::SRead((gp_Pnt2d&)pp->_CSFDB_GetPBRep_CurveOnClosedSurfacemyUV21(),f,theSchema); + + ShapeSchema_gp_Pnt2d::SRead((gp_Pnt2d&)pp->_CSFDB_GetPBRep_CurveOnClosedSurfacemyUV22(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PBRep_CurveOnClosedSurface::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PBRep_CurveOnClosedSurface::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_CurveOnClosedSurface.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_CurveOnClosedSurface.hxx new file mode 100644 index 000000000..0f0c387f4 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_CurveOnClosedSurface.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PBRep_CurveOnClosedSurface_HeaderFile +#define _ShapeSchema_PBRep_CurveOnClosedSurface_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PBRep_CurveOnClosedSurface_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PBRep_CurveOnSurface_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PBRep_CurveOnClosedSurface,Storage_CallBack) + +class ShapeSchema_PBRep_CurveOnClosedSurface : public Storage_CallBack { +public: + ShapeSchema_PBRep_CurveOnClosedSurface() {} + Standard_EXPORT static void SAdd(const Handle(PBRep_CurveOnClosedSurface)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PBRep_CurveOnClosedSurface) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_CurveOnClosedSurface.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_CurveOnClosedSurface.ixx new file mode 100644 index 000000000..99ec7b405 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_CurveOnClosedSurface.ixx @@ -0,0 +1,11 @@ +#include +#ifndef _ShapeSchema_PGeom2d_Curve_HeaderFile +#include +#endif +#ifndef _ShapeSchema_gp_Pnt2d_HeaderFile +#include +#endif +#ifndef _ShapeSchema_gp_Pnt2d_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_CurveOnSurface.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_CurveOnSurface.cxx new file mode 100644 index 000000000..fe526951b --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_CurveOnSurface.cxx @@ -0,0 +1,116 @@ +#ifndef _ShapeSchema_PBRep_CurveOnSurface_HeaderFile +#include +#endif +#ifndef _PBRep_CurveOnSurface_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PBRep_CurveOnSurface,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PBRep_CurveOnSurface,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PBRep_CurveOnSurface::New() const +{ + return new PBRep_CurveOnSurface(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PBRep_CurveOnSurface::SAdd(const Handle(PBRep_CurveOnSurface)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PBRep_CurveOnSurface")) { + ShapeSchema_PTopLoc_Location::SAdd(p->_CSFDB_GetPBRep_CurveRepresentationmyLocation(),theSchema); + theSchema->PersistentToAdd(p->_CSFDB_GetPBRep_CurveRepresentationmyNext()); + theSchema->PersistentToAdd(p->_CSFDB_GetPBRep_CurveOnSurfacemyPCurve()); + theSchema->PersistentToAdd(p->_CSFDB_GetPBRep_CurveOnSurfacemySurface()); + + } + } +} + +void ShapeSchema_PBRep_CurveOnSurface::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PBRep_CurveOnSurface::SAdd((Handle(PBRep_CurveOnSurface)&)p,theSchema); +} + +void ShapeSchema_PBRep_CurveOnSurface::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PBRep_CurveOnSurface) &pp = (Handle(PBRep_CurveOnSurface)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + ShapeSchema_PTopLoc_Location::SWrite(pp->_CSFDB_GetPBRep_CurveRepresentationmyLocation(),f,theSchema); + theSchema->WritePersistentReference(pp->_CSFDB_GetPBRep_CurveRepresentationmyNext(),f); + f.PutReal(pp->_CSFDB_GetPBRep_GCurvemyFirst()); + f.PutReal(pp->_CSFDB_GetPBRep_GCurvemyLast()); + theSchema->WritePersistentReference(pp->_CSFDB_GetPBRep_CurveOnSurfacemyPCurve(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPBRep_CurveOnSurfacemySurface(),f); + ShapeSchema_gp_Pnt2d::SWrite(pp->_CSFDB_GetPBRep_CurveOnSurfacemyUV1(),f,theSchema); + ShapeSchema_gp_Pnt2d::SWrite(pp->_CSFDB_GetPBRep_CurveOnSurfacemyUV2(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PBRep_CurveOnSurface::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PBRep_CurveOnSurface::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PBRep_CurveOnSurface::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PBRep_CurveOnSurface) &pp = (Handle(PBRep_CurveOnSurface)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + ShapeSchema_PTopLoc_Location::SRead((PTopLoc_Location&)pp->_CSFDB_GetPBRep_CurveRepresentationmyLocation(),f,theSchema); + + Handle(PBRep_CurveRepresentation) PBRep_CurveRepresentationmyNext; + + theSchema->ReadPersistentReference(PBRep_CurveRepresentationmyNext,f); + pp->_CSFDB_SetPBRep_CurveRepresentationmyNext(PBRep_CurveRepresentationmyNext); + + Standard_Real PBRep_GCurvemyFirst; + f.GetReal(PBRep_GCurvemyFirst); + pp->_CSFDB_SetPBRep_GCurvemyFirst(PBRep_GCurvemyFirst); + + Standard_Real PBRep_GCurvemyLast; + f.GetReal(PBRep_GCurvemyLast); + pp->_CSFDB_SetPBRep_GCurvemyLast(PBRep_GCurvemyLast); + + Handle(PGeom2d_Curve) PBRep_CurveOnSurfacemyPCurve; + + theSchema->ReadPersistentReference(PBRep_CurveOnSurfacemyPCurve,f); + pp->_CSFDB_SetPBRep_CurveOnSurfacemyPCurve(PBRep_CurveOnSurfacemyPCurve); + + Handle(PGeom_Surface) PBRep_CurveOnSurfacemySurface; + + theSchema->ReadPersistentReference(PBRep_CurveOnSurfacemySurface,f); + pp->_CSFDB_SetPBRep_CurveOnSurfacemySurface(PBRep_CurveOnSurfacemySurface); + + ShapeSchema_gp_Pnt2d::SRead((gp_Pnt2d&)pp->_CSFDB_GetPBRep_CurveOnSurfacemyUV1(),f,theSchema); + + ShapeSchema_gp_Pnt2d::SRead((gp_Pnt2d&)pp->_CSFDB_GetPBRep_CurveOnSurfacemyUV2(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PBRep_CurveOnSurface::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PBRep_CurveOnSurface::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_CurveOnSurface.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_CurveOnSurface.hxx new file mode 100644 index 000000000..8acaf31e3 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_CurveOnSurface.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PBRep_CurveOnSurface_HeaderFile +#define _ShapeSchema_PBRep_CurveOnSurface_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PBRep_CurveOnSurface_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PBRep_GCurve_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PBRep_CurveOnSurface,Storage_CallBack) + +class ShapeSchema_PBRep_CurveOnSurface : public Storage_CallBack { +public: + ShapeSchema_PBRep_CurveOnSurface() {} + Standard_EXPORT static void SAdd(const Handle(PBRep_CurveOnSurface)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PBRep_CurveOnSurface) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_CurveOnSurface.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_CurveOnSurface.ixx new file mode 100644 index 000000000..767352ea2 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_CurveOnSurface.ixx @@ -0,0 +1,14 @@ +#include +#ifndef _ShapeSchema_PGeom2d_Curve_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom_Surface_HeaderFile +#include +#endif +#ifndef _ShapeSchema_gp_Pnt2d_HeaderFile +#include +#endif +#ifndef _ShapeSchema_gp_Pnt2d_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_CurveRepresentation.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_CurveRepresentation.cxx new file mode 100644 index 000000000..11c0c6be8 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_CurveRepresentation.cxx @@ -0,0 +1,87 @@ +#ifndef _ShapeSchema_PBRep_CurveRepresentation_HeaderFile +#include +#endif +#ifndef _PBRep_CurveRepresentation_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PBRep_CurveRepresentation,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PBRep_CurveRepresentation,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PBRep_CurveRepresentation::New() const +{ + Handle(Standard_Persistent) NullObject; + return NullObject; +} + +void ShapeSchema_PBRep_CurveRepresentation::SAdd(const Handle(PBRep_CurveRepresentation)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PBRep_CurveRepresentation")) { + ShapeSchema_PTopLoc_Location::SAdd(p->_CSFDB_GetPBRep_CurveRepresentationmyLocation(),theSchema); + theSchema->PersistentToAdd(p->_CSFDB_GetPBRep_CurveRepresentationmyNext()); + + } + } +} + +void ShapeSchema_PBRep_CurveRepresentation::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PBRep_CurveRepresentation::SAdd((Handle(PBRep_CurveRepresentation)&)p,theSchema); +} + +void ShapeSchema_PBRep_CurveRepresentation::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PBRep_CurveRepresentation) &pp = (Handle(PBRep_CurveRepresentation)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + ShapeSchema_PTopLoc_Location::SWrite(pp->_CSFDB_GetPBRep_CurveRepresentationmyLocation(),f,theSchema); + theSchema->WritePersistentReference(pp->_CSFDB_GetPBRep_CurveRepresentationmyNext(),f); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PBRep_CurveRepresentation::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PBRep_CurveRepresentation::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PBRep_CurveRepresentation::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PBRep_CurveRepresentation) &pp = (Handle(PBRep_CurveRepresentation)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + ShapeSchema_PTopLoc_Location::SRead((PTopLoc_Location&)pp->_CSFDB_GetPBRep_CurveRepresentationmyLocation(),f,theSchema); + + Handle(PBRep_CurveRepresentation) PBRep_CurveRepresentationmyNext; + + theSchema->ReadPersistentReference(PBRep_CurveRepresentationmyNext,f); + pp->_CSFDB_SetPBRep_CurveRepresentationmyNext(PBRep_CurveRepresentationmyNext); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PBRep_CurveRepresentation::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PBRep_CurveRepresentation::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_CurveRepresentation.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_CurveRepresentation.hxx new file mode 100644 index 000000000..dc782bf04 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_CurveRepresentation.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PBRep_CurveRepresentation_HeaderFile +#define _ShapeSchema_PBRep_CurveRepresentation_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PBRep_CurveRepresentation_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PBRep_CurveRepresentation,Storage_CallBack) + +class ShapeSchema_PBRep_CurveRepresentation : public Storage_CallBack { +public: + ShapeSchema_PBRep_CurveRepresentation() {} + Standard_EXPORT static void SAdd(const Handle(PBRep_CurveRepresentation)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PBRep_CurveRepresentation) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_CurveRepresentation.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_CurveRepresentation.ixx new file mode 100644 index 000000000..cdb1be615 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_CurveRepresentation.ixx @@ -0,0 +1,8 @@ +#include +#ifndef _ShapeSchema_PTopLoc_Location_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PBRep_CurveRepresentation_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_GCurve.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_GCurve.cxx new file mode 100644 index 000000000..e78d73a24 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_GCurve.cxx @@ -0,0 +1,97 @@ +#ifndef _ShapeSchema_PBRep_GCurve_HeaderFile +#include +#endif +#ifndef _PBRep_GCurve_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PBRep_GCurve,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PBRep_GCurve,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PBRep_GCurve::New() const +{ + Handle(Standard_Persistent) NullObject; + return NullObject; +} + +void ShapeSchema_PBRep_GCurve::SAdd(const Handle(PBRep_GCurve)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PBRep_GCurve")) { + ShapeSchema_PTopLoc_Location::SAdd(p->_CSFDB_GetPBRep_CurveRepresentationmyLocation(),theSchema); + theSchema->PersistentToAdd(p->_CSFDB_GetPBRep_CurveRepresentationmyNext()); + + } + } +} + +void ShapeSchema_PBRep_GCurve::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PBRep_GCurve::SAdd((Handle(PBRep_GCurve)&)p,theSchema); +} + +void ShapeSchema_PBRep_GCurve::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PBRep_GCurve) &pp = (Handle(PBRep_GCurve)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + ShapeSchema_PTopLoc_Location::SWrite(pp->_CSFDB_GetPBRep_CurveRepresentationmyLocation(),f,theSchema); + theSchema->WritePersistentReference(pp->_CSFDB_GetPBRep_CurveRepresentationmyNext(),f); + f.PutReal(pp->_CSFDB_GetPBRep_GCurvemyFirst()); + f.PutReal(pp->_CSFDB_GetPBRep_GCurvemyLast()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PBRep_GCurve::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PBRep_GCurve::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PBRep_GCurve::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PBRep_GCurve) &pp = (Handle(PBRep_GCurve)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + ShapeSchema_PTopLoc_Location::SRead((PTopLoc_Location&)pp->_CSFDB_GetPBRep_CurveRepresentationmyLocation(),f,theSchema); + + Handle(PBRep_CurveRepresentation) PBRep_CurveRepresentationmyNext; + + theSchema->ReadPersistentReference(PBRep_CurveRepresentationmyNext,f); + pp->_CSFDB_SetPBRep_CurveRepresentationmyNext(PBRep_CurveRepresentationmyNext); + + Standard_Real PBRep_GCurvemyFirst; + f.GetReal(PBRep_GCurvemyFirst); + pp->_CSFDB_SetPBRep_GCurvemyFirst(PBRep_GCurvemyFirst); + + Standard_Real PBRep_GCurvemyLast; + f.GetReal(PBRep_GCurvemyLast); + pp->_CSFDB_SetPBRep_GCurvemyLast(PBRep_GCurvemyLast); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PBRep_GCurve::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PBRep_GCurve::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_GCurve.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_GCurve.hxx new file mode 100644 index 000000000..0a04741de --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_GCurve.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PBRep_GCurve_HeaderFile +#define _ShapeSchema_PBRep_GCurve_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PBRep_GCurve_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PBRep_CurveRepresentation_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PBRep_GCurve,Storage_CallBack) + +class ShapeSchema_PBRep_GCurve : public Storage_CallBack { +public: + ShapeSchema_PBRep_GCurve() {} + Standard_EXPORT static void SAdd(const Handle(PBRep_GCurve)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PBRep_GCurve) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_GCurve.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_GCurve.ixx new file mode 100644 index 000000000..b006d0945 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_GCurve.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointOnCurve.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointOnCurve.cxx new file mode 100644 index 000000000..fee0efaf9 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointOnCurve.cxx @@ -0,0 +1,98 @@ +#ifndef _ShapeSchema_PBRep_PointOnCurve_HeaderFile +#include +#endif +#ifndef _PBRep_PointOnCurve_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PBRep_PointOnCurve,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PBRep_PointOnCurve,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PBRep_PointOnCurve::New() const +{ + return new PBRep_PointOnCurve(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PBRep_PointOnCurve::SAdd(const Handle(PBRep_PointOnCurve)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PBRep_PointOnCurve")) { + ShapeSchema_PTopLoc_Location::SAdd(p->_CSFDB_GetPBRep_PointRepresentationmyLocation(),theSchema); + theSchema->PersistentToAdd(p->_CSFDB_GetPBRep_PointRepresentationmyNext()); + theSchema->PersistentToAdd(p->_CSFDB_GetPBRep_PointOnCurvemyCurve()); + + } + } +} + +void ShapeSchema_PBRep_PointOnCurve::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PBRep_PointOnCurve::SAdd((Handle(PBRep_PointOnCurve)&)p,theSchema); +} + +void ShapeSchema_PBRep_PointOnCurve::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PBRep_PointOnCurve) &pp = (Handle(PBRep_PointOnCurve)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + ShapeSchema_PTopLoc_Location::SWrite(pp->_CSFDB_GetPBRep_PointRepresentationmyLocation(),f,theSchema); + f.PutReal(pp->_CSFDB_GetPBRep_PointRepresentationmyParameter()); + theSchema->WritePersistentReference(pp->_CSFDB_GetPBRep_PointRepresentationmyNext(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPBRep_PointOnCurvemyCurve(),f); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PBRep_PointOnCurve::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PBRep_PointOnCurve::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PBRep_PointOnCurve::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PBRep_PointOnCurve) &pp = (Handle(PBRep_PointOnCurve)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + ShapeSchema_PTopLoc_Location::SRead((PTopLoc_Location&)pp->_CSFDB_GetPBRep_PointRepresentationmyLocation(),f,theSchema); + + Standard_Real PBRep_PointRepresentationmyParameter; + f.GetReal(PBRep_PointRepresentationmyParameter); + pp->_CSFDB_SetPBRep_PointRepresentationmyParameter(PBRep_PointRepresentationmyParameter); + + Handle(PBRep_PointRepresentation) PBRep_PointRepresentationmyNext; + + theSchema->ReadPersistentReference(PBRep_PointRepresentationmyNext,f); + pp->_CSFDB_SetPBRep_PointRepresentationmyNext(PBRep_PointRepresentationmyNext); + + Handle(PGeom_Curve) PBRep_PointOnCurvemyCurve; + + theSchema->ReadPersistentReference(PBRep_PointOnCurvemyCurve,f); + pp->_CSFDB_SetPBRep_PointOnCurvemyCurve(PBRep_PointOnCurvemyCurve); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PBRep_PointOnCurve::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PBRep_PointOnCurve::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointOnCurve.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointOnCurve.hxx new file mode 100644 index 000000000..03f631c86 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointOnCurve.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PBRep_PointOnCurve_HeaderFile +#define _ShapeSchema_PBRep_PointOnCurve_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PBRep_PointOnCurve_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PBRep_PointRepresentation_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PBRep_PointOnCurve,Storage_CallBack) + +class ShapeSchema_PBRep_PointOnCurve : public Storage_CallBack { +public: + ShapeSchema_PBRep_PointOnCurve() {} + Standard_EXPORT static void SAdd(const Handle(PBRep_PointOnCurve)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PBRep_PointOnCurve) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointOnCurve.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointOnCurve.ixx new file mode 100644 index 000000000..644a340f2 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointOnCurve.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_PGeom_Curve_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointOnCurveOnSurface.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointOnCurveOnSurface.cxx new file mode 100644 index 000000000..f57003d3a --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointOnCurveOnSurface.cxx @@ -0,0 +1,105 @@ +#ifndef _ShapeSchema_PBRep_PointOnCurveOnSurface_HeaderFile +#include +#endif +#ifndef _PBRep_PointOnCurveOnSurface_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PBRep_PointOnCurveOnSurface,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PBRep_PointOnCurveOnSurface,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PBRep_PointOnCurveOnSurface::New() const +{ + return new PBRep_PointOnCurveOnSurface(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PBRep_PointOnCurveOnSurface::SAdd(const Handle(PBRep_PointOnCurveOnSurface)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PBRep_PointOnCurveOnSurface")) { + ShapeSchema_PTopLoc_Location::SAdd(p->_CSFDB_GetPBRep_PointRepresentationmyLocation(),theSchema); + theSchema->PersistentToAdd(p->_CSFDB_GetPBRep_PointRepresentationmyNext()); + theSchema->PersistentToAdd(p->_CSFDB_GetPBRep_PointsOnSurfacemySurface()); + theSchema->PersistentToAdd(p->_CSFDB_GetPBRep_PointOnCurveOnSurfacemyPCurve()); + + } + } +} + +void ShapeSchema_PBRep_PointOnCurveOnSurface::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PBRep_PointOnCurveOnSurface::SAdd((Handle(PBRep_PointOnCurveOnSurface)&)p,theSchema); +} + +void ShapeSchema_PBRep_PointOnCurveOnSurface::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PBRep_PointOnCurveOnSurface) &pp = (Handle(PBRep_PointOnCurveOnSurface)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + ShapeSchema_PTopLoc_Location::SWrite(pp->_CSFDB_GetPBRep_PointRepresentationmyLocation(),f,theSchema); + f.PutReal(pp->_CSFDB_GetPBRep_PointRepresentationmyParameter()); + theSchema->WritePersistentReference(pp->_CSFDB_GetPBRep_PointRepresentationmyNext(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPBRep_PointsOnSurfacemySurface(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPBRep_PointOnCurveOnSurfacemyPCurve(),f); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PBRep_PointOnCurveOnSurface::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PBRep_PointOnCurveOnSurface::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PBRep_PointOnCurveOnSurface::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PBRep_PointOnCurveOnSurface) &pp = (Handle(PBRep_PointOnCurveOnSurface)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + ShapeSchema_PTopLoc_Location::SRead((PTopLoc_Location&)pp->_CSFDB_GetPBRep_PointRepresentationmyLocation(),f,theSchema); + + Standard_Real PBRep_PointRepresentationmyParameter; + f.GetReal(PBRep_PointRepresentationmyParameter); + pp->_CSFDB_SetPBRep_PointRepresentationmyParameter(PBRep_PointRepresentationmyParameter); + + Handle(PBRep_PointRepresentation) PBRep_PointRepresentationmyNext; + + theSchema->ReadPersistentReference(PBRep_PointRepresentationmyNext,f); + pp->_CSFDB_SetPBRep_PointRepresentationmyNext(PBRep_PointRepresentationmyNext); + + Handle(PGeom_Surface) PBRep_PointsOnSurfacemySurface; + + theSchema->ReadPersistentReference(PBRep_PointsOnSurfacemySurface,f); + pp->_CSFDB_SetPBRep_PointsOnSurfacemySurface(PBRep_PointsOnSurfacemySurface); + + Handle(PGeom2d_Curve) PBRep_PointOnCurveOnSurfacemyPCurve; + + theSchema->ReadPersistentReference(PBRep_PointOnCurveOnSurfacemyPCurve,f); + pp->_CSFDB_SetPBRep_PointOnCurveOnSurfacemyPCurve(PBRep_PointOnCurveOnSurfacemyPCurve); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PBRep_PointOnCurveOnSurface::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PBRep_PointOnCurveOnSurface::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointOnCurveOnSurface.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointOnCurveOnSurface.hxx new file mode 100644 index 000000000..115cc546b --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointOnCurveOnSurface.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PBRep_PointOnCurveOnSurface_HeaderFile +#define _ShapeSchema_PBRep_PointOnCurveOnSurface_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PBRep_PointOnCurveOnSurface_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PBRep_PointsOnSurface_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PBRep_PointOnCurveOnSurface,Storage_CallBack) + +class ShapeSchema_PBRep_PointOnCurveOnSurface : public Storage_CallBack { +public: + ShapeSchema_PBRep_PointOnCurveOnSurface() {} + Standard_EXPORT static void SAdd(const Handle(PBRep_PointOnCurveOnSurface)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PBRep_PointOnCurveOnSurface) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointOnCurveOnSurface.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointOnCurveOnSurface.ixx new file mode 100644 index 000000000..fb76518c4 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointOnCurveOnSurface.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_PGeom2d_Curve_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointOnSurface.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointOnSurface.cxx new file mode 100644 index 000000000..3f46607bc --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointOnSurface.cxx @@ -0,0 +1,103 @@ +#ifndef _ShapeSchema_PBRep_PointOnSurface_HeaderFile +#include +#endif +#ifndef _PBRep_PointOnSurface_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PBRep_PointOnSurface,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PBRep_PointOnSurface,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PBRep_PointOnSurface::New() const +{ + return new PBRep_PointOnSurface(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PBRep_PointOnSurface::SAdd(const Handle(PBRep_PointOnSurface)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PBRep_PointOnSurface")) { + ShapeSchema_PTopLoc_Location::SAdd(p->_CSFDB_GetPBRep_PointRepresentationmyLocation(),theSchema); + theSchema->PersistentToAdd(p->_CSFDB_GetPBRep_PointRepresentationmyNext()); + theSchema->PersistentToAdd(p->_CSFDB_GetPBRep_PointsOnSurfacemySurface()); + + } + } +} + +void ShapeSchema_PBRep_PointOnSurface::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PBRep_PointOnSurface::SAdd((Handle(PBRep_PointOnSurface)&)p,theSchema); +} + +void ShapeSchema_PBRep_PointOnSurface::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PBRep_PointOnSurface) &pp = (Handle(PBRep_PointOnSurface)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + ShapeSchema_PTopLoc_Location::SWrite(pp->_CSFDB_GetPBRep_PointRepresentationmyLocation(),f,theSchema); + f.PutReal(pp->_CSFDB_GetPBRep_PointRepresentationmyParameter()); + theSchema->WritePersistentReference(pp->_CSFDB_GetPBRep_PointRepresentationmyNext(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPBRep_PointsOnSurfacemySurface(),f); + f.PutReal(pp->_CSFDB_GetPBRep_PointOnSurfacemyParameter2()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PBRep_PointOnSurface::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PBRep_PointOnSurface::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PBRep_PointOnSurface::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PBRep_PointOnSurface) &pp = (Handle(PBRep_PointOnSurface)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + ShapeSchema_PTopLoc_Location::SRead((PTopLoc_Location&)pp->_CSFDB_GetPBRep_PointRepresentationmyLocation(),f,theSchema); + + Standard_Real PBRep_PointRepresentationmyParameter; + f.GetReal(PBRep_PointRepresentationmyParameter); + pp->_CSFDB_SetPBRep_PointRepresentationmyParameter(PBRep_PointRepresentationmyParameter); + + Handle(PBRep_PointRepresentation) PBRep_PointRepresentationmyNext; + + theSchema->ReadPersistentReference(PBRep_PointRepresentationmyNext,f); + pp->_CSFDB_SetPBRep_PointRepresentationmyNext(PBRep_PointRepresentationmyNext); + + Handle(PGeom_Surface) PBRep_PointsOnSurfacemySurface; + + theSchema->ReadPersistentReference(PBRep_PointsOnSurfacemySurface,f); + pp->_CSFDB_SetPBRep_PointsOnSurfacemySurface(PBRep_PointsOnSurfacemySurface); + + Standard_Real PBRep_PointOnSurfacemyParameter2; + f.GetReal(PBRep_PointOnSurfacemyParameter2); + pp->_CSFDB_SetPBRep_PointOnSurfacemyParameter2(PBRep_PointOnSurfacemyParameter2); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PBRep_PointOnSurface::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PBRep_PointOnSurface::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointOnSurface.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointOnSurface.hxx new file mode 100644 index 000000000..6c7d1cc92 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointOnSurface.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PBRep_PointOnSurface_HeaderFile +#define _ShapeSchema_PBRep_PointOnSurface_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PBRep_PointOnSurface_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PBRep_PointsOnSurface_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PBRep_PointOnSurface,Storage_CallBack) + +class ShapeSchema_PBRep_PointOnSurface : public Storage_CallBack { +public: + ShapeSchema_PBRep_PointOnSurface() {} + Standard_EXPORT static void SAdd(const Handle(PBRep_PointOnSurface)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PBRep_PointOnSurface) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointOnSurface.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointOnSurface.ixx new file mode 100644 index 000000000..0ef1d0ddf --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointOnSurface.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointRepresentation.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointRepresentation.cxx new file mode 100644 index 000000000..a0a62305f --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointRepresentation.cxx @@ -0,0 +1,92 @@ +#ifndef _ShapeSchema_PBRep_PointRepresentation_HeaderFile +#include +#endif +#ifndef _PBRep_PointRepresentation_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PBRep_PointRepresentation,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PBRep_PointRepresentation,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PBRep_PointRepresentation::New() const +{ + Handle(Standard_Persistent) NullObject; + return NullObject; +} + +void ShapeSchema_PBRep_PointRepresentation::SAdd(const Handle(PBRep_PointRepresentation)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PBRep_PointRepresentation")) { + ShapeSchema_PTopLoc_Location::SAdd(p->_CSFDB_GetPBRep_PointRepresentationmyLocation(),theSchema); + theSchema->PersistentToAdd(p->_CSFDB_GetPBRep_PointRepresentationmyNext()); + + } + } +} + +void ShapeSchema_PBRep_PointRepresentation::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PBRep_PointRepresentation::SAdd((Handle(PBRep_PointRepresentation)&)p,theSchema); +} + +void ShapeSchema_PBRep_PointRepresentation::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PBRep_PointRepresentation) &pp = (Handle(PBRep_PointRepresentation)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + ShapeSchema_PTopLoc_Location::SWrite(pp->_CSFDB_GetPBRep_PointRepresentationmyLocation(),f,theSchema); + f.PutReal(pp->_CSFDB_GetPBRep_PointRepresentationmyParameter()); + theSchema->WritePersistentReference(pp->_CSFDB_GetPBRep_PointRepresentationmyNext(),f); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PBRep_PointRepresentation::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PBRep_PointRepresentation::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PBRep_PointRepresentation::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PBRep_PointRepresentation) &pp = (Handle(PBRep_PointRepresentation)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + ShapeSchema_PTopLoc_Location::SRead((PTopLoc_Location&)pp->_CSFDB_GetPBRep_PointRepresentationmyLocation(),f,theSchema); + + Standard_Real PBRep_PointRepresentationmyParameter; + f.GetReal(PBRep_PointRepresentationmyParameter); + pp->_CSFDB_SetPBRep_PointRepresentationmyParameter(PBRep_PointRepresentationmyParameter); + + Handle(PBRep_PointRepresentation) PBRep_PointRepresentationmyNext; + + theSchema->ReadPersistentReference(PBRep_PointRepresentationmyNext,f); + pp->_CSFDB_SetPBRep_PointRepresentationmyNext(PBRep_PointRepresentationmyNext); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PBRep_PointRepresentation::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PBRep_PointRepresentation::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointRepresentation.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointRepresentation.hxx new file mode 100644 index 000000000..e0fe658be --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointRepresentation.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PBRep_PointRepresentation_HeaderFile +#define _ShapeSchema_PBRep_PointRepresentation_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PBRep_PointRepresentation_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PBRep_PointRepresentation,Storage_CallBack) + +class ShapeSchema_PBRep_PointRepresentation : public Storage_CallBack { +public: + ShapeSchema_PBRep_PointRepresentation() {} + Standard_EXPORT static void SAdd(const Handle(PBRep_PointRepresentation)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PBRep_PointRepresentation) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointRepresentation.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointRepresentation.ixx new file mode 100644 index 000000000..fb1034deb --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointRepresentation.ixx @@ -0,0 +1,8 @@ +#include +#ifndef _ShapeSchema_PTopLoc_Location_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PBRep_PointRepresentation_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointsOnSurface.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointsOnSurface.cxx new file mode 100644 index 000000000..f11251262 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointsOnSurface.cxx @@ -0,0 +1,99 @@ +#ifndef _ShapeSchema_PBRep_PointsOnSurface_HeaderFile +#include +#endif +#ifndef _PBRep_PointsOnSurface_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PBRep_PointsOnSurface,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PBRep_PointsOnSurface,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PBRep_PointsOnSurface::New() const +{ + Handle(Standard_Persistent) NullObject; + return NullObject; +} + +void ShapeSchema_PBRep_PointsOnSurface::SAdd(const Handle(PBRep_PointsOnSurface)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PBRep_PointsOnSurface")) { + ShapeSchema_PTopLoc_Location::SAdd(p->_CSFDB_GetPBRep_PointRepresentationmyLocation(),theSchema); + theSchema->PersistentToAdd(p->_CSFDB_GetPBRep_PointRepresentationmyNext()); + theSchema->PersistentToAdd(p->_CSFDB_GetPBRep_PointsOnSurfacemySurface()); + + } + } +} + +void ShapeSchema_PBRep_PointsOnSurface::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PBRep_PointsOnSurface::SAdd((Handle(PBRep_PointsOnSurface)&)p,theSchema); +} + +void ShapeSchema_PBRep_PointsOnSurface::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PBRep_PointsOnSurface) &pp = (Handle(PBRep_PointsOnSurface)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + ShapeSchema_PTopLoc_Location::SWrite(pp->_CSFDB_GetPBRep_PointRepresentationmyLocation(),f,theSchema); + f.PutReal(pp->_CSFDB_GetPBRep_PointRepresentationmyParameter()); + theSchema->WritePersistentReference(pp->_CSFDB_GetPBRep_PointRepresentationmyNext(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPBRep_PointsOnSurfacemySurface(),f); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PBRep_PointsOnSurface::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PBRep_PointsOnSurface::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PBRep_PointsOnSurface::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PBRep_PointsOnSurface) &pp = (Handle(PBRep_PointsOnSurface)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + ShapeSchema_PTopLoc_Location::SRead((PTopLoc_Location&)pp->_CSFDB_GetPBRep_PointRepresentationmyLocation(),f,theSchema); + + Standard_Real PBRep_PointRepresentationmyParameter; + f.GetReal(PBRep_PointRepresentationmyParameter); + pp->_CSFDB_SetPBRep_PointRepresentationmyParameter(PBRep_PointRepresentationmyParameter); + + Handle(PBRep_PointRepresentation) PBRep_PointRepresentationmyNext; + + theSchema->ReadPersistentReference(PBRep_PointRepresentationmyNext,f); + pp->_CSFDB_SetPBRep_PointRepresentationmyNext(PBRep_PointRepresentationmyNext); + + Handle(PGeom_Surface) PBRep_PointsOnSurfacemySurface; + + theSchema->ReadPersistentReference(PBRep_PointsOnSurfacemySurface,f); + pp->_CSFDB_SetPBRep_PointsOnSurfacemySurface(PBRep_PointsOnSurfacemySurface); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PBRep_PointsOnSurface::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PBRep_PointsOnSurface::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointsOnSurface.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointsOnSurface.hxx new file mode 100644 index 000000000..b322ad703 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointsOnSurface.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PBRep_PointsOnSurface_HeaderFile +#define _ShapeSchema_PBRep_PointsOnSurface_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PBRep_PointsOnSurface_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PBRep_PointRepresentation_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PBRep_PointsOnSurface,Storage_CallBack) + +class ShapeSchema_PBRep_PointsOnSurface : public Storage_CallBack { +public: + ShapeSchema_PBRep_PointsOnSurface() {} + Standard_EXPORT static void SAdd(const Handle(PBRep_PointsOnSurface)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PBRep_PointsOnSurface) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointsOnSurface.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointsOnSurface.ixx new file mode 100644 index 000000000..12ad6817b --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PointsOnSurface.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_PGeom_Surface_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_Polygon3D.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_Polygon3D.cxx new file mode 100644 index 000000000..864a6661d --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_Polygon3D.cxx @@ -0,0 +1,93 @@ +#ifndef _ShapeSchema_PBRep_Polygon3D_HeaderFile +#include +#endif +#ifndef _PBRep_Polygon3D_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PBRep_Polygon3D,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PBRep_Polygon3D,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PBRep_Polygon3D::New() const +{ + return new PBRep_Polygon3D(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PBRep_Polygon3D::SAdd(const Handle(PBRep_Polygon3D)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PBRep_Polygon3D")) { + ShapeSchema_PTopLoc_Location::SAdd(p->_CSFDB_GetPBRep_CurveRepresentationmyLocation(),theSchema); + theSchema->PersistentToAdd(p->_CSFDB_GetPBRep_CurveRepresentationmyNext()); + theSchema->PersistentToAdd(p->_CSFDB_GetPBRep_Polygon3DmyPolygon3D()); + + } + } +} + +void ShapeSchema_PBRep_Polygon3D::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PBRep_Polygon3D::SAdd((Handle(PBRep_Polygon3D)&)p,theSchema); +} + +void ShapeSchema_PBRep_Polygon3D::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PBRep_Polygon3D) &pp = (Handle(PBRep_Polygon3D)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + ShapeSchema_PTopLoc_Location::SWrite(pp->_CSFDB_GetPBRep_CurveRepresentationmyLocation(),f,theSchema); + theSchema->WritePersistentReference(pp->_CSFDB_GetPBRep_CurveRepresentationmyNext(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPBRep_Polygon3DmyPolygon3D(),f); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PBRep_Polygon3D::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PBRep_Polygon3D::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PBRep_Polygon3D::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PBRep_Polygon3D) &pp = (Handle(PBRep_Polygon3D)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + ShapeSchema_PTopLoc_Location::SRead((PTopLoc_Location&)pp->_CSFDB_GetPBRep_CurveRepresentationmyLocation(),f,theSchema); + + Handle(PBRep_CurveRepresentation) PBRep_CurveRepresentationmyNext; + + theSchema->ReadPersistentReference(PBRep_CurveRepresentationmyNext,f); + pp->_CSFDB_SetPBRep_CurveRepresentationmyNext(PBRep_CurveRepresentationmyNext); + + Handle(PPoly_Polygon3D) PBRep_Polygon3DmyPolygon3D; + + theSchema->ReadPersistentReference(PBRep_Polygon3DmyPolygon3D,f); + pp->_CSFDB_SetPBRep_Polygon3DmyPolygon3D(PBRep_Polygon3DmyPolygon3D); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PBRep_Polygon3D::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PBRep_Polygon3D::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_Polygon3D.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_Polygon3D.hxx new file mode 100644 index 000000000..45a8a85f0 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_Polygon3D.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PBRep_Polygon3D_HeaderFile +#define _ShapeSchema_PBRep_Polygon3D_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PBRep_Polygon3D_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PBRep_CurveRepresentation_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PBRep_Polygon3D,Storage_CallBack) + +class ShapeSchema_PBRep_Polygon3D : public Storage_CallBack { +public: + ShapeSchema_PBRep_Polygon3D() {} + Standard_EXPORT static void SAdd(const Handle(PBRep_Polygon3D)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PBRep_Polygon3D) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_Polygon3D.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_Polygon3D.ixx new file mode 100644 index 000000000..a0dbc0591 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_Polygon3D.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_PPoly_Polygon3D_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PolygonOnClosedSurface.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PolygonOnClosedSurface.cxx new file mode 100644 index 000000000..70c63687b --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PolygonOnClosedSurface.cxx @@ -0,0 +1,107 @@ +#ifndef _ShapeSchema_PBRep_PolygonOnClosedSurface_HeaderFile +#include +#endif +#ifndef _PBRep_PolygonOnClosedSurface_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PBRep_PolygonOnClosedSurface,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PBRep_PolygonOnClosedSurface,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PBRep_PolygonOnClosedSurface::New() const +{ + return new PBRep_PolygonOnClosedSurface(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PBRep_PolygonOnClosedSurface::SAdd(const Handle(PBRep_PolygonOnClosedSurface)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PBRep_PolygonOnClosedSurface")) { + ShapeSchema_PTopLoc_Location::SAdd(p->_CSFDB_GetPBRep_CurveRepresentationmyLocation(),theSchema); + theSchema->PersistentToAdd(p->_CSFDB_GetPBRep_CurveRepresentationmyNext()); + theSchema->PersistentToAdd(p->_CSFDB_GetPBRep_PolygonOnSurfacemyPolygon2D()); + theSchema->PersistentToAdd(p->_CSFDB_GetPBRep_PolygonOnSurfacemySurface()); + theSchema->PersistentToAdd(p->_CSFDB_GetPBRep_PolygonOnClosedSurfacemyPolygon2()); + + } + } +} + +void ShapeSchema_PBRep_PolygonOnClosedSurface::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PBRep_PolygonOnClosedSurface::SAdd((Handle(PBRep_PolygonOnClosedSurface)&)p,theSchema); +} + +void ShapeSchema_PBRep_PolygonOnClosedSurface::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PBRep_PolygonOnClosedSurface) &pp = (Handle(PBRep_PolygonOnClosedSurface)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + ShapeSchema_PTopLoc_Location::SWrite(pp->_CSFDB_GetPBRep_CurveRepresentationmyLocation(),f,theSchema); + theSchema->WritePersistentReference(pp->_CSFDB_GetPBRep_CurveRepresentationmyNext(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPBRep_PolygonOnSurfacemyPolygon2D(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPBRep_PolygonOnSurfacemySurface(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPBRep_PolygonOnClosedSurfacemyPolygon2(),f); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PBRep_PolygonOnClosedSurface::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PBRep_PolygonOnClosedSurface::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PBRep_PolygonOnClosedSurface::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PBRep_PolygonOnClosedSurface) &pp = (Handle(PBRep_PolygonOnClosedSurface)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + ShapeSchema_PTopLoc_Location::SRead((PTopLoc_Location&)pp->_CSFDB_GetPBRep_CurveRepresentationmyLocation(),f,theSchema); + + Handle(PBRep_CurveRepresentation) PBRep_CurveRepresentationmyNext; + + theSchema->ReadPersistentReference(PBRep_CurveRepresentationmyNext,f); + pp->_CSFDB_SetPBRep_CurveRepresentationmyNext(PBRep_CurveRepresentationmyNext); + + Handle(PPoly_Polygon2D) PBRep_PolygonOnSurfacemyPolygon2D; + + theSchema->ReadPersistentReference(PBRep_PolygonOnSurfacemyPolygon2D,f); + pp->_CSFDB_SetPBRep_PolygonOnSurfacemyPolygon2D(PBRep_PolygonOnSurfacemyPolygon2D); + + Handle(PGeom_Surface) PBRep_PolygonOnSurfacemySurface; + + theSchema->ReadPersistentReference(PBRep_PolygonOnSurfacemySurface,f); + pp->_CSFDB_SetPBRep_PolygonOnSurfacemySurface(PBRep_PolygonOnSurfacemySurface); + + Handle(PPoly_Polygon2D) PBRep_PolygonOnClosedSurfacemyPolygon2; + + theSchema->ReadPersistentReference(PBRep_PolygonOnClosedSurfacemyPolygon2,f); + pp->_CSFDB_SetPBRep_PolygonOnClosedSurfacemyPolygon2(PBRep_PolygonOnClosedSurfacemyPolygon2); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PBRep_PolygonOnClosedSurface::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PBRep_PolygonOnClosedSurface::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PolygonOnClosedSurface.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PolygonOnClosedSurface.hxx new file mode 100644 index 000000000..9df21e26f --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PolygonOnClosedSurface.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PBRep_PolygonOnClosedSurface_HeaderFile +#define _ShapeSchema_PBRep_PolygonOnClosedSurface_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PBRep_PolygonOnClosedSurface_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PBRep_PolygonOnSurface_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PBRep_PolygonOnClosedSurface,Storage_CallBack) + +class ShapeSchema_PBRep_PolygonOnClosedSurface : public Storage_CallBack { +public: + ShapeSchema_PBRep_PolygonOnClosedSurface() {} + Standard_EXPORT static void SAdd(const Handle(PBRep_PolygonOnClosedSurface)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PBRep_PolygonOnClosedSurface) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PolygonOnClosedSurface.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PolygonOnClosedSurface.ixx new file mode 100644 index 000000000..12bb92d15 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PolygonOnClosedSurface.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_PPoly_Polygon2D_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PolygonOnClosedTriangulation.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PolygonOnClosedTriangulation.cxx new file mode 100644 index 000000000..1c3bb284a --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PolygonOnClosedTriangulation.cxx @@ -0,0 +1,107 @@ +#ifndef _ShapeSchema_PBRep_PolygonOnClosedTriangulation_HeaderFile +#include +#endif +#ifndef _PBRep_PolygonOnClosedTriangulation_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PBRep_PolygonOnClosedTriangulation,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PBRep_PolygonOnClosedTriangulation,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PBRep_PolygonOnClosedTriangulation::New() const +{ + return new PBRep_PolygonOnClosedTriangulation(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PBRep_PolygonOnClosedTriangulation::SAdd(const Handle(PBRep_PolygonOnClosedTriangulation)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PBRep_PolygonOnClosedTriangulation")) { + ShapeSchema_PTopLoc_Location::SAdd(p->_CSFDB_GetPBRep_CurveRepresentationmyLocation(),theSchema); + theSchema->PersistentToAdd(p->_CSFDB_GetPBRep_CurveRepresentationmyNext()); + theSchema->PersistentToAdd(p->_CSFDB_GetPBRep_PolygonOnTriangulationmyPolygon()); + theSchema->PersistentToAdd(p->_CSFDB_GetPBRep_PolygonOnTriangulationmyTriangulation()); + theSchema->PersistentToAdd(p->_CSFDB_GetPBRep_PolygonOnClosedTriangulationmyPolygon2()); + + } + } +} + +void ShapeSchema_PBRep_PolygonOnClosedTriangulation::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PBRep_PolygonOnClosedTriangulation::SAdd((Handle(PBRep_PolygonOnClosedTriangulation)&)p,theSchema); +} + +void ShapeSchema_PBRep_PolygonOnClosedTriangulation::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PBRep_PolygonOnClosedTriangulation) &pp = (Handle(PBRep_PolygonOnClosedTriangulation)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + ShapeSchema_PTopLoc_Location::SWrite(pp->_CSFDB_GetPBRep_CurveRepresentationmyLocation(),f,theSchema); + theSchema->WritePersistentReference(pp->_CSFDB_GetPBRep_CurveRepresentationmyNext(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPBRep_PolygonOnTriangulationmyPolygon(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPBRep_PolygonOnTriangulationmyTriangulation(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPBRep_PolygonOnClosedTriangulationmyPolygon2(),f); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PBRep_PolygonOnClosedTriangulation::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PBRep_PolygonOnClosedTriangulation::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PBRep_PolygonOnClosedTriangulation::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PBRep_PolygonOnClosedTriangulation) &pp = (Handle(PBRep_PolygonOnClosedTriangulation)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + ShapeSchema_PTopLoc_Location::SRead((PTopLoc_Location&)pp->_CSFDB_GetPBRep_CurveRepresentationmyLocation(),f,theSchema); + + Handle(PBRep_CurveRepresentation) PBRep_CurveRepresentationmyNext; + + theSchema->ReadPersistentReference(PBRep_CurveRepresentationmyNext,f); + pp->_CSFDB_SetPBRep_CurveRepresentationmyNext(PBRep_CurveRepresentationmyNext); + + Handle(PPoly_PolygonOnTriangulation) PBRep_PolygonOnTriangulationmyPolygon; + + theSchema->ReadPersistentReference(PBRep_PolygonOnTriangulationmyPolygon,f); + pp->_CSFDB_SetPBRep_PolygonOnTriangulationmyPolygon(PBRep_PolygonOnTriangulationmyPolygon); + + Handle(PPoly_Triangulation) PBRep_PolygonOnTriangulationmyTriangulation; + + theSchema->ReadPersistentReference(PBRep_PolygonOnTriangulationmyTriangulation,f); + pp->_CSFDB_SetPBRep_PolygonOnTriangulationmyTriangulation(PBRep_PolygonOnTriangulationmyTriangulation); + + Handle(PPoly_PolygonOnTriangulation) PBRep_PolygonOnClosedTriangulationmyPolygon2; + + theSchema->ReadPersistentReference(PBRep_PolygonOnClosedTriangulationmyPolygon2,f); + pp->_CSFDB_SetPBRep_PolygonOnClosedTriangulationmyPolygon2(PBRep_PolygonOnClosedTriangulationmyPolygon2); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PBRep_PolygonOnClosedTriangulation::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PBRep_PolygonOnClosedTriangulation::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PolygonOnClosedTriangulation.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PolygonOnClosedTriangulation.hxx new file mode 100644 index 000000000..1135b167c --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PolygonOnClosedTriangulation.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PBRep_PolygonOnClosedTriangulation_HeaderFile +#define _ShapeSchema_PBRep_PolygonOnClosedTriangulation_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PBRep_PolygonOnClosedTriangulation_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PBRep_PolygonOnTriangulation_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PBRep_PolygonOnClosedTriangulation,Storage_CallBack) + +class ShapeSchema_PBRep_PolygonOnClosedTriangulation : public Storage_CallBack { +public: + ShapeSchema_PBRep_PolygonOnClosedTriangulation() {} + Standard_EXPORT static void SAdd(const Handle(PBRep_PolygonOnClosedTriangulation)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PBRep_PolygonOnClosedTriangulation) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PolygonOnClosedTriangulation.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PolygonOnClosedTriangulation.ixx new file mode 100644 index 000000000..a7399c6e8 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PolygonOnClosedTriangulation.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_PPoly_PolygonOnTriangulation_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PolygonOnSurface.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PolygonOnSurface.cxx new file mode 100644 index 000000000..6a7b96830 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PolygonOnSurface.cxx @@ -0,0 +1,100 @@ +#ifndef _ShapeSchema_PBRep_PolygonOnSurface_HeaderFile +#include +#endif +#ifndef _PBRep_PolygonOnSurface_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PBRep_PolygonOnSurface,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PBRep_PolygonOnSurface,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PBRep_PolygonOnSurface::New() const +{ + return new PBRep_PolygonOnSurface(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PBRep_PolygonOnSurface::SAdd(const Handle(PBRep_PolygonOnSurface)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PBRep_PolygonOnSurface")) { + ShapeSchema_PTopLoc_Location::SAdd(p->_CSFDB_GetPBRep_CurveRepresentationmyLocation(),theSchema); + theSchema->PersistentToAdd(p->_CSFDB_GetPBRep_CurveRepresentationmyNext()); + theSchema->PersistentToAdd(p->_CSFDB_GetPBRep_PolygonOnSurfacemyPolygon2D()); + theSchema->PersistentToAdd(p->_CSFDB_GetPBRep_PolygonOnSurfacemySurface()); + + } + } +} + +void ShapeSchema_PBRep_PolygonOnSurface::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PBRep_PolygonOnSurface::SAdd((Handle(PBRep_PolygonOnSurface)&)p,theSchema); +} + +void ShapeSchema_PBRep_PolygonOnSurface::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PBRep_PolygonOnSurface) &pp = (Handle(PBRep_PolygonOnSurface)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + ShapeSchema_PTopLoc_Location::SWrite(pp->_CSFDB_GetPBRep_CurveRepresentationmyLocation(),f,theSchema); + theSchema->WritePersistentReference(pp->_CSFDB_GetPBRep_CurveRepresentationmyNext(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPBRep_PolygonOnSurfacemyPolygon2D(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPBRep_PolygonOnSurfacemySurface(),f); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PBRep_PolygonOnSurface::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PBRep_PolygonOnSurface::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PBRep_PolygonOnSurface::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PBRep_PolygonOnSurface) &pp = (Handle(PBRep_PolygonOnSurface)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + ShapeSchema_PTopLoc_Location::SRead((PTopLoc_Location&)pp->_CSFDB_GetPBRep_CurveRepresentationmyLocation(),f,theSchema); + + Handle(PBRep_CurveRepresentation) PBRep_CurveRepresentationmyNext; + + theSchema->ReadPersistentReference(PBRep_CurveRepresentationmyNext,f); + pp->_CSFDB_SetPBRep_CurveRepresentationmyNext(PBRep_CurveRepresentationmyNext); + + Handle(PPoly_Polygon2D) PBRep_PolygonOnSurfacemyPolygon2D; + + theSchema->ReadPersistentReference(PBRep_PolygonOnSurfacemyPolygon2D,f); + pp->_CSFDB_SetPBRep_PolygonOnSurfacemyPolygon2D(PBRep_PolygonOnSurfacemyPolygon2D); + + Handle(PGeom_Surface) PBRep_PolygonOnSurfacemySurface; + + theSchema->ReadPersistentReference(PBRep_PolygonOnSurfacemySurface,f); + pp->_CSFDB_SetPBRep_PolygonOnSurfacemySurface(PBRep_PolygonOnSurfacemySurface); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PBRep_PolygonOnSurface::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PBRep_PolygonOnSurface::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PolygonOnSurface.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PolygonOnSurface.hxx new file mode 100644 index 000000000..20bdb44a7 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PolygonOnSurface.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PBRep_PolygonOnSurface_HeaderFile +#define _ShapeSchema_PBRep_PolygonOnSurface_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PBRep_PolygonOnSurface_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PBRep_CurveRepresentation_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PBRep_PolygonOnSurface,Storage_CallBack) + +class ShapeSchema_PBRep_PolygonOnSurface : public Storage_CallBack { +public: + ShapeSchema_PBRep_PolygonOnSurface() {} + Standard_EXPORT static void SAdd(const Handle(PBRep_PolygonOnSurface)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PBRep_PolygonOnSurface) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PolygonOnSurface.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PolygonOnSurface.ixx new file mode 100644 index 000000000..332e97148 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PolygonOnSurface.ixx @@ -0,0 +1,8 @@ +#include +#ifndef _ShapeSchema_PPoly_Polygon2D_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PGeom_Surface_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PolygonOnTriangulation.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PolygonOnTriangulation.cxx new file mode 100644 index 000000000..e98edf27d --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PolygonOnTriangulation.cxx @@ -0,0 +1,100 @@ +#ifndef _ShapeSchema_PBRep_PolygonOnTriangulation_HeaderFile +#include +#endif +#ifndef _PBRep_PolygonOnTriangulation_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PBRep_PolygonOnTriangulation,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PBRep_PolygonOnTriangulation,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PBRep_PolygonOnTriangulation::New() const +{ + return new PBRep_PolygonOnTriangulation(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PBRep_PolygonOnTriangulation::SAdd(const Handle(PBRep_PolygonOnTriangulation)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PBRep_PolygonOnTriangulation")) { + ShapeSchema_PTopLoc_Location::SAdd(p->_CSFDB_GetPBRep_CurveRepresentationmyLocation(),theSchema); + theSchema->PersistentToAdd(p->_CSFDB_GetPBRep_CurveRepresentationmyNext()); + theSchema->PersistentToAdd(p->_CSFDB_GetPBRep_PolygonOnTriangulationmyPolygon()); + theSchema->PersistentToAdd(p->_CSFDB_GetPBRep_PolygonOnTriangulationmyTriangulation()); + + } + } +} + +void ShapeSchema_PBRep_PolygonOnTriangulation::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PBRep_PolygonOnTriangulation::SAdd((Handle(PBRep_PolygonOnTriangulation)&)p,theSchema); +} + +void ShapeSchema_PBRep_PolygonOnTriangulation::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PBRep_PolygonOnTriangulation) &pp = (Handle(PBRep_PolygonOnTriangulation)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + ShapeSchema_PTopLoc_Location::SWrite(pp->_CSFDB_GetPBRep_CurveRepresentationmyLocation(),f,theSchema); + theSchema->WritePersistentReference(pp->_CSFDB_GetPBRep_CurveRepresentationmyNext(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPBRep_PolygonOnTriangulationmyPolygon(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPBRep_PolygonOnTriangulationmyTriangulation(),f); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PBRep_PolygonOnTriangulation::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PBRep_PolygonOnTriangulation::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PBRep_PolygonOnTriangulation::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PBRep_PolygonOnTriangulation) &pp = (Handle(PBRep_PolygonOnTriangulation)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + ShapeSchema_PTopLoc_Location::SRead((PTopLoc_Location&)pp->_CSFDB_GetPBRep_CurveRepresentationmyLocation(),f,theSchema); + + Handle(PBRep_CurveRepresentation) PBRep_CurveRepresentationmyNext; + + theSchema->ReadPersistentReference(PBRep_CurveRepresentationmyNext,f); + pp->_CSFDB_SetPBRep_CurveRepresentationmyNext(PBRep_CurveRepresentationmyNext); + + Handle(PPoly_PolygonOnTriangulation) PBRep_PolygonOnTriangulationmyPolygon; + + theSchema->ReadPersistentReference(PBRep_PolygonOnTriangulationmyPolygon,f); + pp->_CSFDB_SetPBRep_PolygonOnTriangulationmyPolygon(PBRep_PolygonOnTriangulationmyPolygon); + + Handle(PPoly_Triangulation) PBRep_PolygonOnTriangulationmyTriangulation; + + theSchema->ReadPersistentReference(PBRep_PolygonOnTriangulationmyTriangulation,f); + pp->_CSFDB_SetPBRep_PolygonOnTriangulationmyTriangulation(PBRep_PolygonOnTriangulationmyTriangulation); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PBRep_PolygonOnTriangulation::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PBRep_PolygonOnTriangulation::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PolygonOnTriangulation.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PolygonOnTriangulation.hxx new file mode 100644 index 000000000..16dff58cb --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PolygonOnTriangulation.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PBRep_PolygonOnTriangulation_HeaderFile +#define _ShapeSchema_PBRep_PolygonOnTriangulation_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PBRep_PolygonOnTriangulation_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PBRep_CurveRepresentation_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PBRep_PolygonOnTriangulation,Storage_CallBack) + +class ShapeSchema_PBRep_PolygonOnTriangulation : public Storage_CallBack { +public: + ShapeSchema_PBRep_PolygonOnTriangulation() {} + Standard_EXPORT static void SAdd(const Handle(PBRep_PolygonOnTriangulation)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PBRep_PolygonOnTriangulation) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PolygonOnTriangulation.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PolygonOnTriangulation.ixx new file mode 100644 index 000000000..3fd57fb04 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_PolygonOnTriangulation.ixx @@ -0,0 +1,8 @@ +#include +#ifndef _ShapeSchema_PPoly_PolygonOnTriangulation_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PPoly_Triangulation_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TEdge.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TEdge.cxx new file mode 100644 index 000000000..b01486020 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TEdge.cxx @@ -0,0 +1,104 @@ +#ifndef _ShapeSchema_PBRep_TEdge_HeaderFile +#include +#endif +#ifndef _PBRep_TEdge_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PBRep_TEdge,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PBRep_TEdge,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PBRep_TEdge::New() const +{ + return new PBRep_TEdge(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PBRep_TEdge::SAdd(const Handle(PBRep_TEdge)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PBRep_TEdge")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPTopoDS_TShapemyShapes()); + theSchema->PersistentToAdd(p->_CSFDB_GetPBRep_TEdgemyCurves()); + + } + } +} + +void ShapeSchema_PBRep_TEdge::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PBRep_TEdge::SAdd((Handle(PBRep_TEdge)&)p,theSchema); +} + +void ShapeSchema_PBRep_TEdge::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PBRep_TEdge) &pp = (Handle(PBRep_TEdge)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPTopoDS_TShapemyShapes(),f); + f.PutInteger(pp->_CSFDB_GetPTopoDS_TShapemyFlags()); + f.PutReal(pp->_CSFDB_GetPBRep_TEdgemyTolerance()); + f.PutInteger(pp->_CSFDB_GetPBRep_TEdgemyFlags()); + theSchema->WritePersistentReference(pp->_CSFDB_GetPBRep_TEdgemyCurves(),f); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PBRep_TEdge::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PBRep_TEdge::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PBRep_TEdge::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PBRep_TEdge) &pp = (Handle(PBRep_TEdge)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PTopoDS_HArray1OfHShape) PTopoDS_TShapemyShapes; + + theSchema->ReadPersistentReference(PTopoDS_TShapemyShapes,f); + pp->_CSFDB_SetPTopoDS_TShapemyShapes(PTopoDS_TShapemyShapes); + + Standard_Integer PTopoDS_TShapemyFlags; + f.GetInteger(PTopoDS_TShapemyFlags); + pp->_CSFDB_SetPTopoDS_TShapemyFlags(PTopoDS_TShapemyFlags); + + Standard_Real PBRep_TEdgemyTolerance; + f.GetReal(PBRep_TEdgemyTolerance); + pp->_CSFDB_SetPBRep_TEdgemyTolerance(PBRep_TEdgemyTolerance); + + Standard_Integer PBRep_TEdgemyFlags; + f.GetInteger(PBRep_TEdgemyFlags); + pp->_CSFDB_SetPBRep_TEdgemyFlags(PBRep_TEdgemyFlags); + + Handle(PBRep_CurveRepresentation) PBRep_TEdgemyCurves; + + theSchema->ReadPersistentReference(PBRep_TEdgemyCurves,f); + pp->_CSFDB_SetPBRep_TEdgemyCurves(PBRep_TEdgemyCurves); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PBRep_TEdge::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PBRep_TEdge::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TEdge.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TEdge.hxx new file mode 100644 index 000000000..987f9e8fb --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TEdge.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PBRep_TEdge_HeaderFile +#define _ShapeSchema_PBRep_TEdge_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PBRep_TEdge_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PTopoDS_TEdge_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PBRep_TEdge,Storage_CallBack) + +class ShapeSchema_PBRep_TEdge : public Storage_CallBack { +public: + ShapeSchema_PBRep_TEdge() {} + Standard_EXPORT static void SAdd(const Handle(PBRep_TEdge)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PBRep_TEdge) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TEdge.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TEdge.ixx new file mode 100644 index 000000000..95986cdfe --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TEdge.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_PBRep_CurveRepresentation_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TEdge1.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TEdge1.cxx new file mode 100644 index 000000000..5829386a4 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TEdge1.cxx @@ -0,0 +1,104 @@ +#ifndef _ShapeSchema_PBRep_TEdge1_HeaderFile +#include +#endif +#ifndef _PBRep_TEdge1_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PBRep_TEdge1,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PBRep_TEdge1,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PBRep_TEdge1::New() const +{ + return new PBRep_TEdge1(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PBRep_TEdge1::SAdd(const Handle(PBRep_TEdge1)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PBRep_TEdge1")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPTopoDS_TShape1myShapes()); + theSchema->PersistentToAdd(p->_CSFDB_GetPBRep_TEdge1myCurves()); + + } + } +} + +void ShapeSchema_PBRep_TEdge1::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PBRep_TEdge1::SAdd((Handle(PBRep_TEdge1)&)p,theSchema); +} + +void ShapeSchema_PBRep_TEdge1::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PBRep_TEdge1) &pp = (Handle(PBRep_TEdge1)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPTopoDS_TShape1myShapes(),f); + f.PutInteger(pp->_CSFDB_GetPTopoDS_TShape1myFlags()); + f.PutReal(pp->_CSFDB_GetPBRep_TEdge1myTolerance()); + f.PutInteger(pp->_CSFDB_GetPBRep_TEdge1myFlags()); + theSchema->WritePersistentReference(pp->_CSFDB_GetPBRep_TEdge1myCurves(),f); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PBRep_TEdge1::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PBRep_TEdge1::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PBRep_TEdge1::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PBRep_TEdge1) &pp = (Handle(PBRep_TEdge1)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PTopoDS_HArray1OfShape1) PTopoDS_TShape1myShapes; + + theSchema->ReadPersistentReference(PTopoDS_TShape1myShapes,f); + pp->_CSFDB_SetPTopoDS_TShape1myShapes(PTopoDS_TShape1myShapes); + + Standard_Integer PTopoDS_TShape1myFlags; + f.GetInteger(PTopoDS_TShape1myFlags); + pp->_CSFDB_SetPTopoDS_TShape1myFlags(PTopoDS_TShape1myFlags); + + Standard_Real PBRep_TEdge1myTolerance; + f.GetReal(PBRep_TEdge1myTolerance); + pp->_CSFDB_SetPBRep_TEdge1myTolerance(PBRep_TEdge1myTolerance); + + Standard_Integer PBRep_TEdge1myFlags; + f.GetInteger(PBRep_TEdge1myFlags); + pp->_CSFDB_SetPBRep_TEdge1myFlags(PBRep_TEdge1myFlags); + + Handle(PBRep_CurveRepresentation) PBRep_TEdge1myCurves; + + theSchema->ReadPersistentReference(PBRep_TEdge1myCurves,f); + pp->_CSFDB_SetPBRep_TEdge1myCurves(PBRep_TEdge1myCurves); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PBRep_TEdge1::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PBRep_TEdge1::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TEdge1.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TEdge1.hxx new file mode 100644 index 000000000..e79497149 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TEdge1.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PBRep_TEdge1_HeaderFile +#define _ShapeSchema_PBRep_TEdge1_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PBRep_TEdge1_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PTopoDS_TEdge1_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PBRep_TEdge1,Storage_CallBack) + +class ShapeSchema_PBRep_TEdge1 : public Storage_CallBack { +public: + ShapeSchema_PBRep_TEdge1() {} + Standard_EXPORT static void SAdd(const Handle(PBRep_TEdge1)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PBRep_TEdge1) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TEdge1.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TEdge1.ixx new file mode 100644 index 000000000..5cb3f5318 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TEdge1.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_PBRep_CurveRepresentation_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TFace.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TFace.cxx new file mode 100644 index 000000000..aa5866e18 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TFace.cxx @@ -0,0 +1,115 @@ +#ifndef _ShapeSchema_PBRep_TFace_HeaderFile +#include +#endif +#ifndef _PBRep_TFace_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PBRep_TFace,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PBRep_TFace,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PBRep_TFace::New() const +{ + return new PBRep_TFace(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PBRep_TFace::SAdd(const Handle(PBRep_TFace)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PBRep_TFace")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPTopoDS_TShapemyShapes()); + theSchema->PersistentToAdd(p->_CSFDB_GetPBRep_TFacemySurface()); + theSchema->PersistentToAdd(p->_CSFDB_GetPBRep_TFacemyTriangulation()); + ShapeSchema_PTopLoc_Location::SAdd(p->_CSFDB_GetPBRep_TFacemyLocation(),theSchema); + + } + } +} + +void ShapeSchema_PBRep_TFace::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PBRep_TFace::SAdd((Handle(PBRep_TFace)&)p,theSchema); +} + +void ShapeSchema_PBRep_TFace::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PBRep_TFace) &pp = (Handle(PBRep_TFace)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPTopoDS_TShapemyShapes(),f); + f.PutInteger(pp->_CSFDB_GetPTopoDS_TShapemyFlags()); + theSchema->WritePersistentReference(pp->_CSFDB_GetPBRep_TFacemySurface(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPBRep_TFacemyTriangulation(),f); + ShapeSchema_PTopLoc_Location::SWrite(pp->_CSFDB_GetPBRep_TFacemyLocation(),f,theSchema); + f.PutReal(pp->_CSFDB_GetPBRep_TFacemyTolerance()); + f.PutBoolean(pp->_CSFDB_GetPBRep_TFacemyNaturalRestriction()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PBRep_TFace::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PBRep_TFace::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PBRep_TFace::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PBRep_TFace) &pp = (Handle(PBRep_TFace)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PTopoDS_HArray1OfHShape) PTopoDS_TShapemyShapes; + + theSchema->ReadPersistentReference(PTopoDS_TShapemyShapes,f); + pp->_CSFDB_SetPTopoDS_TShapemyShapes(PTopoDS_TShapemyShapes); + + Standard_Integer PTopoDS_TShapemyFlags; + f.GetInteger(PTopoDS_TShapemyFlags); + pp->_CSFDB_SetPTopoDS_TShapemyFlags(PTopoDS_TShapemyFlags); + + Handle(PGeom_Surface) PBRep_TFacemySurface; + + theSchema->ReadPersistentReference(PBRep_TFacemySurface,f); + pp->_CSFDB_SetPBRep_TFacemySurface(PBRep_TFacemySurface); + + Handle(PPoly_Triangulation) PBRep_TFacemyTriangulation; + + theSchema->ReadPersistentReference(PBRep_TFacemyTriangulation,f); + pp->_CSFDB_SetPBRep_TFacemyTriangulation(PBRep_TFacemyTriangulation); + + ShapeSchema_PTopLoc_Location::SRead((PTopLoc_Location&)pp->_CSFDB_GetPBRep_TFacemyLocation(),f,theSchema); + + Standard_Real PBRep_TFacemyTolerance; + f.GetReal(PBRep_TFacemyTolerance); + pp->_CSFDB_SetPBRep_TFacemyTolerance(PBRep_TFacemyTolerance); + + Standard_Boolean PBRep_TFacemyNaturalRestriction; + f.GetBoolean(PBRep_TFacemyNaturalRestriction); + pp->_CSFDB_SetPBRep_TFacemyNaturalRestriction(PBRep_TFacemyNaturalRestriction); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PBRep_TFace::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PBRep_TFace::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TFace.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TFace.hxx new file mode 100644 index 000000000..56385eca5 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TFace.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PBRep_TFace_HeaderFile +#define _ShapeSchema_PBRep_TFace_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PBRep_TFace_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PTopoDS_TFace_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PBRep_TFace,Storage_CallBack) + +class ShapeSchema_PBRep_TFace : public Storage_CallBack { +public: + ShapeSchema_PBRep_TFace() {} + Standard_EXPORT static void SAdd(const Handle(PBRep_TFace)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PBRep_TFace) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TFace.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TFace.ixx new file mode 100644 index 000000000..5ac00192b --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TFace.ixx @@ -0,0 +1,11 @@ +#include +#ifndef _ShapeSchema_PGeom_Surface_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PPoly_Triangulation_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PTopLoc_Location_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TFace1.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TFace1.cxx new file mode 100644 index 000000000..c823d1d39 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TFace1.cxx @@ -0,0 +1,115 @@ +#ifndef _ShapeSchema_PBRep_TFace1_HeaderFile +#include +#endif +#ifndef _PBRep_TFace1_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PBRep_TFace1,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PBRep_TFace1,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PBRep_TFace1::New() const +{ + return new PBRep_TFace1(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PBRep_TFace1::SAdd(const Handle(PBRep_TFace1)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PBRep_TFace1")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPTopoDS_TShape1myShapes()); + theSchema->PersistentToAdd(p->_CSFDB_GetPBRep_TFace1mySurface()); + theSchema->PersistentToAdd(p->_CSFDB_GetPBRep_TFace1myTriangulation()); + ShapeSchema_PTopLoc_Location::SAdd(p->_CSFDB_GetPBRep_TFace1myLocation(),theSchema); + + } + } +} + +void ShapeSchema_PBRep_TFace1::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PBRep_TFace1::SAdd((Handle(PBRep_TFace1)&)p,theSchema); +} + +void ShapeSchema_PBRep_TFace1::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PBRep_TFace1) &pp = (Handle(PBRep_TFace1)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPTopoDS_TShape1myShapes(),f); + f.PutInteger(pp->_CSFDB_GetPTopoDS_TShape1myFlags()); + theSchema->WritePersistentReference(pp->_CSFDB_GetPBRep_TFace1mySurface(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPBRep_TFace1myTriangulation(),f); + ShapeSchema_PTopLoc_Location::SWrite(pp->_CSFDB_GetPBRep_TFace1myLocation(),f,theSchema); + f.PutReal(pp->_CSFDB_GetPBRep_TFace1myTolerance()); + f.PutBoolean(pp->_CSFDB_GetPBRep_TFace1myNaturalRestriction()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PBRep_TFace1::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PBRep_TFace1::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PBRep_TFace1::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PBRep_TFace1) &pp = (Handle(PBRep_TFace1)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PTopoDS_HArray1OfShape1) PTopoDS_TShape1myShapes; + + theSchema->ReadPersistentReference(PTopoDS_TShape1myShapes,f); + pp->_CSFDB_SetPTopoDS_TShape1myShapes(PTopoDS_TShape1myShapes); + + Standard_Integer PTopoDS_TShape1myFlags; + f.GetInteger(PTopoDS_TShape1myFlags); + pp->_CSFDB_SetPTopoDS_TShape1myFlags(PTopoDS_TShape1myFlags); + + Handle(PGeom_Surface) PBRep_TFace1mySurface; + + theSchema->ReadPersistentReference(PBRep_TFace1mySurface,f); + pp->_CSFDB_SetPBRep_TFace1mySurface(PBRep_TFace1mySurface); + + Handle(PPoly_Triangulation) PBRep_TFace1myTriangulation; + + theSchema->ReadPersistentReference(PBRep_TFace1myTriangulation,f); + pp->_CSFDB_SetPBRep_TFace1myTriangulation(PBRep_TFace1myTriangulation); + + ShapeSchema_PTopLoc_Location::SRead((PTopLoc_Location&)pp->_CSFDB_GetPBRep_TFace1myLocation(),f,theSchema); + + Standard_Real PBRep_TFace1myTolerance; + f.GetReal(PBRep_TFace1myTolerance); + pp->_CSFDB_SetPBRep_TFace1myTolerance(PBRep_TFace1myTolerance); + + Standard_Boolean PBRep_TFace1myNaturalRestriction; + f.GetBoolean(PBRep_TFace1myNaturalRestriction); + pp->_CSFDB_SetPBRep_TFace1myNaturalRestriction(PBRep_TFace1myNaturalRestriction); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PBRep_TFace1::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PBRep_TFace1::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TFace1.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TFace1.hxx new file mode 100644 index 000000000..fa76ed119 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TFace1.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PBRep_TFace1_HeaderFile +#define _ShapeSchema_PBRep_TFace1_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PBRep_TFace1_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PTopoDS_TFace1_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PBRep_TFace1,Storage_CallBack) + +class ShapeSchema_PBRep_TFace1 : public Storage_CallBack { +public: + ShapeSchema_PBRep_TFace1() {} + Standard_EXPORT static void SAdd(const Handle(PBRep_TFace1)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PBRep_TFace1) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TFace1.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TFace1.ixx new file mode 100644 index 000000000..43b1c47ec --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TFace1.ixx @@ -0,0 +1,11 @@ +#include +#ifndef _ShapeSchema_PGeom_Surface_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PPoly_Triangulation_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PTopLoc_Location_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TVertex.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TVertex.cxx new file mode 100644 index 000000000..191788b91 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TVertex.cxx @@ -0,0 +1,102 @@ +#ifndef _ShapeSchema_PBRep_TVertex_HeaderFile +#include +#endif +#ifndef _PBRep_TVertex_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PBRep_TVertex,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PBRep_TVertex,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PBRep_TVertex::New() const +{ + return new PBRep_TVertex(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PBRep_TVertex::SAdd(const Handle(PBRep_TVertex)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PBRep_TVertex")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPTopoDS_TShapemyShapes()); + theSchema->PersistentToAdd(p->_CSFDB_GetPBRep_TVertexmyPoints()); + + } + } +} + +void ShapeSchema_PBRep_TVertex::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PBRep_TVertex::SAdd((Handle(PBRep_TVertex)&)p,theSchema); +} + +void ShapeSchema_PBRep_TVertex::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PBRep_TVertex) &pp = (Handle(PBRep_TVertex)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPTopoDS_TShapemyShapes(),f); + f.PutInteger(pp->_CSFDB_GetPTopoDS_TShapemyFlags()); + f.PutReal(pp->_CSFDB_GetPBRep_TVertexmyTolerance()); + ShapeSchema_gp_Pnt::SWrite(pp->_CSFDB_GetPBRep_TVertexmyPnt(),f,theSchema); + theSchema->WritePersistentReference(pp->_CSFDB_GetPBRep_TVertexmyPoints(),f); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PBRep_TVertex::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PBRep_TVertex::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PBRep_TVertex::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PBRep_TVertex) &pp = (Handle(PBRep_TVertex)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PTopoDS_HArray1OfHShape) PTopoDS_TShapemyShapes; + + theSchema->ReadPersistentReference(PTopoDS_TShapemyShapes,f); + pp->_CSFDB_SetPTopoDS_TShapemyShapes(PTopoDS_TShapemyShapes); + + Standard_Integer PTopoDS_TShapemyFlags; + f.GetInteger(PTopoDS_TShapemyFlags); + pp->_CSFDB_SetPTopoDS_TShapemyFlags(PTopoDS_TShapemyFlags); + + Standard_Real PBRep_TVertexmyTolerance; + f.GetReal(PBRep_TVertexmyTolerance); + pp->_CSFDB_SetPBRep_TVertexmyTolerance(PBRep_TVertexmyTolerance); + + ShapeSchema_gp_Pnt::SRead((gp_Pnt&)pp->_CSFDB_GetPBRep_TVertexmyPnt(),f,theSchema); + + Handle(PBRep_PointRepresentation) PBRep_TVertexmyPoints; + + theSchema->ReadPersistentReference(PBRep_TVertexmyPoints,f); + pp->_CSFDB_SetPBRep_TVertexmyPoints(PBRep_TVertexmyPoints); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PBRep_TVertex::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PBRep_TVertex::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TVertex.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TVertex.hxx new file mode 100644 index 000000000..2c55574ec --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TVertex.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PBRep_TVertex_HeaderFile +#define _ShapeSchema_PBRep_TVertex_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PBRep_TVertex_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PTopoDS_TVertex_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PBRep_TVertex,Storage_CallBack) + +class ShapeSchema_PBRep_TVertex : public Storage_CallBack { +public: + ShapeSchema_PBRep_TVertex() {} + Standard_EXPORT static void SAdd(const Handle(PBRep_TVertex)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PBRep_TVertex) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TVertex.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TVertex.ixx new file mode 100644 index 000000000..26b837902 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TVertex.ixx @@ -0,0 +1,8 @@ +#include +#ifndef _ShapeSchema_gp_Pnt_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PBRep_PointRepresentation_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TVertex1.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TVertex1.cxx new file mode 100644 index 000000000..46bd46571 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TVertex1.cxx @@ -0,0 +1,102 @@ +#ifndef _ShapeSchema_PBRep_TVertex1_HeaderFile +#include +#endif +#ifndef _PBRep_TVertex1_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PBRep_TVertex1,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PBRep_TVertex1,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PBRep_TVertex1::New() const +{ + return new PBRep_TVertex1(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PBRep_TVertex1::SAdd(const Handle(PBRep_TVertex1)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PBRep_TVertex1")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPTopoDS_TShape1myShapes()); + theSchema->PersistentToAdd(p->_CSFDB_GetPBRep_TVertex1myPoints()); + + } + } +} + +void ShapeSchema_PBRep_TVertex1::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PBRep_TVertex1::SAdd((Handle(PBRep_TVertex1)&)p,theSchema); +} + +void ShapeSchema_PBRep_TVertex1::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PBRep_TVertex1) &pp = (Handle(PBRep_TVertex1)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPTopoDS_TShape1myShapes(),f); + f.PutInteger(pp->_CSFDB_GetPTopoDS_TShape1myFlags()); + f.PutReal(pp->_CSFDB_GetPBRep_TVertex1myTolerance()); + ShapeSchema_gp_Pnt::SWrite(pp->_CSFDB_GetPBRep_TVertex1myPnt(),f,theSchema); + theSchema->WritePersistentReference(pp->_CSFDB_GetPBRep_TVertex1myPoints(),f); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PBRep_TVertex1::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PBRep_TVertex1::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PBRep_TVertex1::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PBRep_TVertex1) &pp = (Handle(PBRep_TVertex1)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PTopoDS_HArray1OfShape1) PTopoDS_TShape1myShapes; + + theSchema->ReadPersistentReference(PTopoDS_TShape1myShapes,f); + pp->_CSFDB_SetPTopoDS_TShape1myShapes(PTopoDS_TShape1myShapes); + + Standard_Integer PTopoDS_TShape1myFlags; + f.GetInteger(PTopoDS_TShape1myFlags); + pp->_CSFDB_SetPTopoDS_TShape1myFlags(PTopoDS_TShape1myFlags); + + Standard_Real PBRep_TVertex1myTolerance; + f.GetReal(PBRep_TVertex1myTolerance); + pp->_CSFDB_SetPBRep_TVertex1myTolerance(PBRep_TVertex1myTolerance); + + ShapeSchema_gp_Pnt::SRead((gp_Pnt&)pp->_CSFDB_GetPBRep_TVertex1myPnt(),f,theSchema); + + Handle(PBRep_PointRepresentation) PBRep_TVertex1myPoints; + + theSchema->ReadPersistentReference(PBRep_TVertex1myPoints,f); + pp->_CSFDB_SetPBRep_TVertex1myPoints(PBRep_TVertex1myPoints); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PBRep_TVertex1::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PBRep_TVertex1::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TVertex1.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TVertex1.hxx new file mode 100644 index 000000000..4335a0eae --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TVertex1.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PBRep_TVertex1_HeaderFile +#define _ShapeSchema_PBRep_TVertex1_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PBRep_TVertex1_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PTopoDS_TVertex1_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PBRep_TVertex1,Storage_CallBack) + +class ShapeSchema_PBRep_TVertex1 : public Storage_CallBack { +public: + ShapeSchema_PBRep_TVertex1() {} + Standard_EXPORT static void SAdd(const Handle(PBRep_TVertex1)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PBRep_TVertex1) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TVertex1.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TVertex1.ixx new file mode 100644 index 000000000..812b7f530 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PBRep_TVertex1.ixx @@ -0,0 +1,8 @@ +#include +#ifndef _ShapeSchema_gp_Pnt_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PBRep_PointRepresentation_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PCDMShape_Document.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PCDMShape_Document.cxx new file mode 100644 index 000000000..3a47dbda4 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PCDMShape_Document.cxx @@ -0,0 +1,79 @@ +#ifndef _ShapeSchema_PCDMShape_Document_HeaderFile +#include +#endif +#ifndef _PCDMShape_Document_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PCDMShape_Document,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PCDMShape_Document,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PCDMShape_Document::New() const +{ + return new PCDMShape_Document(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PCDMShape_Document::SAdd(const Handle(PCDMShape_Document)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PCDMShape_Document")) { + ShapeSchema_PTopoDS_Shape1::SAdd(p->_CSFDB_GetPCDMShape_DocumentmyShape(),theSchema); + + } + } +} + +void ShapeSchema_PCDMShape_Document::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PCDMShape_Document::SAdd((Handle(PCDMShape_Document)&)p,theSchema); +} + +void ShapeSchema_PCDMShape_Document::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PCDMShape_Document) &pp = (Handle(PCDMShape_Document)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + ShapeSchema_PTopoDS_Shape1::SWrite(pp->_CSFDB_GetPCDMShape_DocumentmyShape(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PCDMShape_Document::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PCDMShape_Document::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PCDMShape_Document::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PCDMShape_Document) &pp = (Handle(PCDMShape_Document)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + ShapeSchema_PTopoDS_Shape1::SRead((PTopoDS_Shape1&)pp->_CSFDB_GetPCDMShape_DocumentmyShape(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PCDMShape_Document::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PCDMShape_Document::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PCDMShape_Document.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PCDMShape_Document.hxx new file mode 100644 index 000000000..2bf0486aa --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PCDMShape_Document.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PCDMShape_Document_HeaderFile +#define _ShapeSchema_PCDMShape_Document_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PCDMShape_Document_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PCDM_Document_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PCDMShape_Document,Storage_CallBack) + +class ShapeSchema_PCDMShape_Document : public Storage_CallBack { +public: + ShapeSchema_PCDMShape_Document() {} + Standard_EXPORT static void SAdd(const Handle(PCDMShape_Document)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PCDMShape_Document) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PCDMShape_Document.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PCDMShape_Document.ixx new file mode 100644 index 000000000..84cf3af18 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PCDMShape_Document.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_PTopoDS_Shape1_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PCDM_Document.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PCDM_Document.cxx new file mode 100644 index 000000000..567d50395 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PCDM_Document.cxx @@ -0,0 +1,76 @@ +#ifndef _ShapeSchema_PCDM_Document_HeaderFile +#include +#endif +#ifndef _PCDM_Document_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PCDM_Document,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PCDM_Document,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PCDM_Document::New() const +{ + Handle(Standard_Persistent) NullObject; + return NullObject; +} + +void ShapeSchema_PCDM_Document::SAdd(const Handle(PCDM_Document)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PCDM_Document")) { + + } + } +} + +void ShapeSchema_PCDM_Document::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PCDM_Document::SAdd((Handle(PCDM_Document)&)p,theSchema); +} + +void ShapeSchema_PCDM_Document::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PCDM_Document) &pp = (Handle(PCDM_Document)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PCDM_Document::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PCDM_Document::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PCDM_Document::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PCDM_Document) &pp = (Handle(PCDM_Document)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PCDM_Document::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PCDM_Document::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PCDM_Document.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PCDM_Document.hxx new file mode 100644 index 000000000..57fab9941 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PCDM_Document.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PCDM_Document_HeaderFile +#define _ShapeSchema_PCDM_Document_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PCDM_Document_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PCDM_Document,Storage_CallBack) + +class ShapeSchema_PCDM_Document : public Storage_CallBack { +public: + ShapeSchema_PCDM_Document() {} + Standard_EXPORT static void SAdd(const Handle(PCDM_Document)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PCDM_Document) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PCDM_Document.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PCDM_Document.ixx new file mode 100644 index 000000000..e948378d1 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PCDM_Document.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_FieldOfHArray1OfInteger.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_FieldOfHArray1OfInteger.cxx new file mode 100644 index 000000000..90012c4c9 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_FieldOfHArray1OfInteger.cxx @@ -0,0 +1,45 @@ +#ifndef _ShapeSchema_PColStd_FieldOfHArray1OfInteger_HeaderFile +#include +#endif +#ifndef _PColStd_FieldOfHArray1OfInteger_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void ShapeSchema_PColStd_FieldOfHArray1OfInteger::SWrite(const PColStd_FieldOfHArray1OfInteger& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + + f.BeginWriteObjectData(); + f.PutInteger(pp.Length()); + for (Standard_Integer i = 0; i < pp.Length(); i++) { + f.PutInteger(pp.Value(i)); + + } + f.EndWriteObjectData(); +} + +void ShapeSchema_PColStd_FieldOfHArray1OfInteger::SRead(PColStd_FieldOfHArray1OfInteger& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + Standard_Integer size = 0; + + f.BeginReadObjectData(); + f.GetInteger(size); + pp.Resize(size); + + for (Standard_Integer j = 0; j < size; j++) { + Standard_Integer par; + + f.GetInteger(par); + pp.SetValue(j,par); + + } + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_FieldOfHArray1OfInteger.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_FieldOfHArray1OfInteger.hxx new file mode 100644 index 000000000..31ab32def --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_FieldOfHArray1OfInteger.hxx @@ -0,0 +1,26 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColStd_FieldOfHArray1OfInteger_HeaderFile +#define _ShapeSchema_PColStd_FieldOfHArray1OfInteger_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + + +class PColStd_FieldOfHArray1OfInteger; + +class ShapeSchema_PColStd_FieldOfHArray1OfInteger { +public: + Standard_EXPORT static void SAdd(const PColStd_FieldOfHArray1OfInteger&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const PColStd_FieldOfHArray1OfInteger&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(PColStd_FieldOfHArray1OfInteger&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_FieldOfHArray1OfInteger.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_FieldOfHArray1OfInteger.ixx new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_FieldOfHArray1OfInteger.ixx @@ -0,0 +1 @@ + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_FieldOfHArray1OfReal.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_FieldOfHArray1OfReal.cxx new file mode 100644 index 000000000..dc1fc3416 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_FieldOfHArray1OfReal.cxx @@ -0,0 +1,45 @@ +#ifndef _ShapeSchema_PColStd_FieldOfHArray1OfReal_HeaderFile +#include +#endif +#ifndef _PColStd_FieldOfHArray1OfReal_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void ShapeSchema_PColStd_FieldOfHArray1OfReal::SWrite(const PColStd_FieldOfHArray1OfReal& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + + f.BeginWriteObjectData(); + f.PutInteger(pp.Length()); + for (Standard_Integer i = 0; i < pp.Length(); i++) { + f.PutReal(pp.Value(i)); + + } + f.EndWriteObjectData(); +} + +void ShapeSchema_PColStd_FieldOfHArray1OfReal::SRead(PColStd_FieldOfHArray1OfReal& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + Standard_Integer size = 0; + + f.BeginReadObjectData(); + f.GetInteger(size); + pp.Resize(size); + + for (Standard_Integer j = 0; j < size; j++) { + Standard_Real par; + + f.GetReal(par); + pp.SetValue(j,par); + + } + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_FieldOfHArray1OfReal.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_FieldOfHArray1OfReal.hxx new file mode 100644 index 000000000..4e90c5cb1 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_FieldOfHArray1OfReal.hxx @@ -0,0 +1,26 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColStd_FieldOfHArray1OfReal_HeaderFile +#define _ShapeSchema_PColStd_FieldOfHArray1OfReal_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + + +class PColStd_FieldOfHArray1OfReal; + +class ShapeSchema_PColStd_FieldOfHArray1OfReal { +public: + Standard_EXPORT static void SAdd(const PColStd_FieldOfHArray1OfReal&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const PColStd_FieldOfHArray1OfReal&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(PColStd_FieldOfHArray1OfReal&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_FieldOfHArray1OfReal.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_FieldOfHArray1OfReal.ixx new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_FieldOfHArray1OfReal.ixx @@ -0,0 +1 @@ + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_FieldOfHArray2OfReal.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_FieldOfHArray2OfReal.cxx new file mode 100644 index 000000000..8016fee4b --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_FieldOfHArray2OfReal.cxx @@ -0,0 +1,45 @@ +#ifndef _ShapeSchema_PColStd_FieldOfHArray2OfReal_HeaderFile +#include +#endif +#ifndef _PColStd_FieldOfHArray2OfReal_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void ShapeSchema_PColStd_FieldOfHArray2OfReal::SWrite(const PColStd_FieldOfHArray2OfReal& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + + f.BeginWriteObjectData(); + f.PutInteger(pp.Length()); + for (Standard_Integer i = 0; i < pp.Length(); i++) { + f.PutReal(pp.Value(i)); + + } + f.EndWriteObjectData(); +} + +void ShapeSchema_PColStd_FieldOfHArray2OfReal::SRead(PColStd_FieldOfHArray2OfReal& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + Standard_Integer size = 0; + + f.BeginReadObjectData(); + f.GetInteger(size); + pp.Resize(size); + + for (Standard_Integer j = 0; j < size; j++) { + Standard_Real par; + + f.GetReal(par); + pp.SetValue(j,par); + + } + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_FieldOfHArray2OfReal.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_FieldOfHArray2OfReal.hxx new file mode 100644 index 000000000..6d817fd9e --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_FieldOfHArray2OfReal.hxx @@ -0,0 +1,26 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColStd_FieldOfHArray2OfReal_HeaderFile +#define _ShapeSchema_PColStd_FieldOfHArray2OfReal_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + + +class PColStd_FieldOfHArray2OfReal; + +class ShapeSchema_PColStd_FieldOfHArray2OfReal { +public: + Standard_EXPORT static void SAdd(const PColStd_FieldOfHArray2OfReal&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const PColStd_FieldOfHArray2OfReal&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(PColStd_FieldOfHArray2OfReal&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_FieldOfHArray2OfReal.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_FieldOfHArray2OfReal.ixx new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_FieldOfHArray2OfReal.ixx @@ -0,0 +1 @@ + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_HArray1OfInteger.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_HArray1OfInteger.cxx new file mode 100644 index 000000000..c8a6258cf --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_HArray1OfInteger.cxx @@ -0,0 +1,88 @@ +#ifndef _ShapeSchema_PColStd_HArray1OfInteger_HeaderFile +#include +#endif +#ifndef _PColStd_HArray1OfInteger_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PColStd_HArray1OfInteger,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PColStd_HArray1OfInteger,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PColStd_HArray1OfInteger::New() const +{ + return new PColStd_HArray1OfInteger(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PColStd_HArray1OfInteger::SAdd(const Handle(PColStd_HArray1OfInteger)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PColStd_HArray1OfInteger")) { + + } + } +} + +void ShapeSchema_PColStd_HArray1OfInteger::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColStd_HArray1OfInteger::SAdd((Handle(PColStd_HArray1OfInteger)&)p,theSchema); +} + +void ShapeSchema_PColStd_HArray1OfInteger::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColStd_HArray1OfInteger) &pp = (Handle(PColStd_HArray1OfInteger)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutInteger(pp->_CSFDB_GetPColStd_HArray1OfIntegerLowerBound()); + f.PutInteger(pp->_CSFDB_GetPColStd_HArray1OfIntegerUpperBound()); + ShapeSchema_PColStd_FieldOfHArray1OfInteger::SWrite(pp->_CSFDB_GetPColStd_HArray1OfIntegerData(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PColStd_HArray1OfInteger::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColStd_HArray1OfInteger::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PColStd_HArray1OfInteger::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColStd_HArray1OfInteger) &pp = (Handle(PColStd_HArray1OfInteger)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Integer PColStd_HArray1OfIntegerLowerBound; + f.GetInteger(PColStd_HArray1OfIntegerLowerBound); + pp->_CSFDB_SetPColStd_HArray1OfIntegerLowerBound(PColStd_HArray1OfIntegerLowerBound); + + Standard_Integer PColStd_HArray1OfIntegerUpperBound; + f.GetInteger(PColStd_HArray1OfIntegerUpperBound); + pp->_CSFDB_SetPColStd_HArray1OfIntegerUpperBound(PColStd_HArray1OfIntegerUpperBound); + + ShapeSchema_PColStd_FieldOfHArray1OfInteger::SRead((PColStd_FieldOfHArray1OfInteger&)pp->_CSFDB_GetPColStd_HArray1OfIntegerData(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PColStd_HArray1OfInteger::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PColStd_HArray1OfInteger::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_HArray1OfInteger.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_HArray1OfInteger.hxx new file mode 100644 index 000000000..a3e29fd75 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_HArray1OfInteger.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColStd_HArray1OfInteger_HeaderFile +#define _ShapeSchema_PColStd_HArray1OfInteger_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PColStd_HArray1OfInteger_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PColStd_HArray1OfInteger,Storage_CallBack) + +class ShapeSchema_PColStd_HArray1OfInteger : public Storage_CallBack { +public: + ShapeSchema_PColStd_HArray1OfInteger() {} + Standard_EXPORT static void SAdd(const Handle(PColStd_HArray1OfInteger)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PColStd_HArray1OfInteger) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_HArray1OfInteger.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_HArray1OfInteger.ixx new file mode 100644 index 000000000..1f55c11c2 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_HArray1OfInteger.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_PColStd_FieldOfHArray1OfInteger_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_HArray1OfReal.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_HArray1OfReal.cxx new file mode 100644 index 000000000..d66afebcc --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_HArray1OfReal.cxx @@ -0,0 +1,88 @@ +#ifndef _ShapeSchema_PColStd_HArray1OfReal_HeaderFile +#include +#endif +#ifndef _PColStd_HArray1OfReal_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PColStd_HArray1OfReal,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PColStd_HArray1OfReal,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PColStd_HArray1OfReal::New() const +{ + return new PColStd_HArray1OfReal(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PColStd_HArray1OfReal::SAdd(const Handle(PColStd_HArray1OfReal)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PColStd_HArray1OfReal")) { + + } + } +} + +void ShapeSchema_PColStd_HArray1OfReal::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColStd_HArray1OfReal::SAdd((Handle(PColStd_HArray1OfReal)&)p,theSchema); +} + +void ShapeSchema_PColStd_HArray1OfReal::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColStd_HArray1OfReal) &pp = (Handle(PColStd_HArray1OfReal)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutInteger(pp->_CSFDB_GetPColStd_HArray1OfRealLowerBound()); + f.PutInteger(pp->_CSFDB_GetPColStd_HArray1OfRealUpperBound()); + ShapeSchema_PColStd_FieldOfHArray1OfReal::SWrite(pp->_CSFDB_GetPColStd_HArray1OfRealData(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PColStd_HArray1OfReal::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColStd_HArray1OfReal::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PColStd_HArray1OfReal::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColStd_HArray1OfReal) &pp = (Handle(PColStd_HArray1OfReal)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Integer PColStd_HArray1OfRealLowerBound; + f.GetInteger(PColStd_HArray1OfRealLowerBound); + pp->_CSFDB_SetPColStd_HArray1OfRealLowerBound(PColStd_HArray1OfRealLowerBound); + + Standard_Integer PColStd_HArray1OfRealUpperBound; + f.GetInteger(PColStd_HArray1OfRealUpperBound); + pp->_CSFDB_SetPColStd_HArray1OfRealUpperBound(PColStd_HArray1OfRealUpperBound); + + ShapeSchema_PColStd_FieldOfHArray1OfReal::SRead((PColStd_FieldOfHArray1OfReal&)pp->_CSFDB_GetPColStd_HArray1OfRealData(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PColStd_HArray1OfReal::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PColStd_HArray1OfReal::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_HArray1OfReal.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_HArray1OfReal.hxx new file mode 100644 index 000000000..738eaa3ca --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_HArray1OfReal.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColStd_HArray1OfReal_HeaderFile +#define _ShapeSchema_PColStd_HArray1OfReal_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PColStd_HArray1OfReal_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PColStd_HArray1OfReal,Storage_CallBack) + +class ShapeSchema_PColStd_HArray1OfReal : public Storage_CallBack { +public: + ShapeSchema_PColStd_HArray1OfReal() {} + Standard_EXPORT static void SAdd(const Handle(PColStd_HArray1OfReal)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PColStd_HArray1OfReal) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_HArray1OfReal.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_HArray1OfReal.ixx new file mode 100644 index 000000000..ee41696a3 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_HArray1OfReal.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_PColStd_FieldOfHArray1OfReal_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_HArray2OfReal.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_HArray2OfReal.cxx new file mode 100644 index 000000000..1837a58cf --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_HArray2OfReal.cxx @@ -0,0 +1,98 @@ +#ifndef _ShapeSchema_PColStd_HArray2OfReal_HeaderFile +#include +#endif +#ifndef _PColStd_HArray2OfReal_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PColStd_HArray2OfReal,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PColStd_HArray2OfReal,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PColStd_HArray2OfReal::New() const +{ + return new PColStd_HArray2OfReal(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PColStd_HArray2OfReal::SAdd(const Handle(PColStd_HArray2OfReal)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PColStd_HArray2OfReal")) { + + } + } +} + +void ShapeSchema_PColStd_HArray2OfReal::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColStd_HArray2OfReal::SAdd((Handle(PColStd_HArray2OfReal)&)p,theSchema); +} + +void ShapeSchema_PColStd_HArray2OfReal::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColStd_HArray2OfReal) &pp = (Handle(PColStd_HArray2OfReal)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutInteger(pp->_CSFDB_GetPColStd_HArray2OfRealmyLowerRow()); + f.PutInteger(pp->_CSFDB_GetPColStd_HArray2OfRealmyLowerCol()); + f.PutInteger(pp->_CSFDB_GetPColStd_HArray2OfRealmyUpperRow()); + f.PutInteger(pp->_CSFDB_GetPColStd_HArray2OfRealmyUpperCol()); + ShapeSchema_PColStd_FieldOfHArray2OfReal::SWrite(pp->_CSFDB_GetPColStd_HArray2OfRealData(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PColStd_HArray2OfReal::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColStd_HArray2OfReal::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PColStd_HArray2OfReal::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColStd_HArray2OfReal) &pp = (Handle(PColStd_HArray2OfReal)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Integer PColStd_HArray2OfRealmyLowerRow; + f.GetInteger(PColStd_HArray2OfRealmyLowerRow); + pp->_CSFDB_SetPColStd_HArray2OfRealmyLowerRow(PColStd_HArray2OfRealmyLowerRow); + + Standard_Integer PColStd_HArray2OfRealmyLowerCol; + f.GetInteger(PColStd_HArray2OfRealmyLowerCol); + pp->_CSFDB_SetPColStd_HArray2OfRealmyLowerCol(PColStd_HArray2OfRealmyLowerCol); + + Standard_Integer PColStd_HArray2OfRealmyUpperRow; + f.GetInteger(PColStd_HArray2OfRealmyUpperRow); + pp->_CSFDB_SetPColStd_HArray2OfRealmyUpperRow(PColStd_HArray2OfRealmyUpperRow); + + Standard_Integer PColStd_HArray2OfRealmyUpperCol; + f.GetInteger(PColStd_HArray2OfRealmyUpperCol); + pp->_CSFDB_SetPColStd_HArray2OfRealmyUpperCol(PColStd_HArray2OfRealmyUpperCol); + + ShapeSchema_PColStd_FieldOfHArray2OfReal::SRead((PColStd_FieldOfHArray2OfReal&)pp->_CSFDB_GetPColStd_HArray2OfRealData(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PColStd_HArray2OfReal::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PColStd_HArray2OfReal::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_HArray2OfReal.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_HArray2OfReal.hxx new file mode 100644 index 000000000..bd8c0da27 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_HArray2OfReal.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColStd_HArray2OfReal_HeaderFile +#define _ShapeSchema_PColStd_HArray2OfReal_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PColStd_HArray2OfReal_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PColStd_HArray2OfReal,Storage_CallBack) + +class ShapeSchema_PColStd_HArray2OfReal : public Storage_CallBack { +public: + ShapeSchema_PColStd_HArray2OfReal() {} + Standard_EXPORT static void SAdd(const Handle(PColStd_HArray2OfReal)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PColStd_HArray2OfReal) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_HArray2OfReal.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_HArray2OfReal.ixx new file mode 100644 index 000000000..28c4418d3 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColStd_HArray2OfReal.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_PColStd_FieldOfHArray2OfReal_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfCirc2d.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfCirc2d.cxx new file mode 100644 index 000000000..f1605fd60 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfCirc2d.cxx @@ -0,0 +1,42 @@ +#ifndef _ShapeSchema_PColgp_FieldOfHArray1OfCirc2d_HeaderFile +#include +#endif +#ifndef _PColgp_FieldOfHArray1OfCirc2d_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void ShapeSchema_PColgp_FieldOfHArray1OfCirc2d::SWrite(const PColgp_FieldOfHArray1OfCirc2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + + f.BeginWriteObjectData(); + f.PutInteger(pp.Length()); + for (Standard_Integer i = 0; i < pp.Length(); i++) { + ShapeSchema_gp_Circ2d::SWrite(pp.Value(i),f,theSchema); + + } + f.EndWriteObjectData(); +} + +void ShapeSchema_PColgp_FieldOfHArray1OfCirc2d::SRead(PColgp_FieldOfHArray1OfCirc2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + Standard_Integer size = 0; + + f.BeginReadObjectData(); + f.GetInteger(size); + pp.Resize(size); + + for (Standard_Integer j = 0; j < size; j++) { + ShapeSchema_gp_Circ2d::SRead((gp_Circ2d&)pp.Value(j),f,theSchema); + + } + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfCirc2d.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfCirc2d.hxx new file mode 100644 index 000000000..bf77cc4a1 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfCirc2d.hxx @@ -0,0 +1,29 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColgp_FieldOfHArray1OfCirc2d_HeaderFile +#define _ShapeSchema_PColgp_FieldOfHArray1OfCirc2d_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_gp_Circ2d_HeaderFile +#include +#endif + + +class PColgp_FieldOfHArray1OfCirc2d; + +class ShapeSchema_PColgp_FieldOfHArray1OfCirc2d { +public: + Standard_EXPORT static void SAdd(const PColgp_FieldOfHArray1OfCirc2d&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const PColgp_FieldOfHArray1OfCirc2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(PColgp_FieldOfHArray1OfCirc2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfCirc2d.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfCirc2d.ixx new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfCirc2d.ixx @@ -0,0 +1 @@ + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfDir.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfDir.cxx new file mode 100644 index 000000000..685db08d1 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfDir.cxx @@ -0,0 +1,42 @@ +#ifndef _ShapeSchema_PColgp_FieldOfHArray1OfDir_HeaderFile +#include +#endif +#ifndef _PColgp_FieldOfHArray1OfDir_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void ShapeSchema_PColgp_FieldOfHArray1OfDir::SWrite(const PColgp_FieldOfHArray1OfDir& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + + f.BeginWriteObjectData(); + f.PutInteger(pp.Length()); + for (Standard_Integer i = 0; i < pp.Length(); i++) { + ShapeSchema_gp_Dir::SWrite(pp.Value(i),f,theSchema); + + } + f.EndWriteObjectData(); +} + +void ShapeSchema_PColgp_FieldOfHArray1OfDir::SRead(PColgp_FieldOfHArray1OfDir& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + Standard_Integer size = 0; + + f.BeginReadObjectData(); + f.GetInteger(size); + pp.Resize(size); + + for (Standard_Integer j = 0; j < size; j++) { + ShapeSchema_gp_Dir::SRead((gp_Dir&)pp.Value(j),f,theSchema); + + } + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfDir.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfDir.hxx new file mode 100644 index 000000000..cb451e862 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfDir.hxx @@ -0,0 +1,29 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColgp_FieldOfHArray1OfDir_HeaderFile +#define _ShapeSchema_PColgp_FieldOfHArray1OfDir_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_gp_Dir_HeaderFile +#include +#endif + + +class PColgp_FieldOfHArray1OfDir; + +class ShapeSchema_PColgp_FieldOfHArray1OfDir { +public: + Standard_EXPORT static void SAdd(const PColgp_FieldOfHArray1OfDir&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const PColgp_FieldOfHArray1OfDir&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(PColgp_FieldOfHArray1OfDir&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfDir.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfDir.ixx new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfDir.ixx @@ -0,0 +1 @@ + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfDir2d.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfDir2d.cxx new file mode 100644 index 000000000..7a9e1e818 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfDir2d.cxx @@ -0,0 +1,42 @@ +#ifndef _ShapeSchema_PColgp_FieldOfHArray1OfDir2d_HeaderFile +#include +#endif +#ifndef _PColgp_FieldOfHArray1OfDir2d_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void ShapeSchema_PColgp_FieldOfHArray1OfDir2d::SWrite(const PColgp_FieldOfHArray1OfDir2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + + f.BeginWriteObjectData(); + f.PutInteger(pp.Length()); + for (Standard_Integer i = 0; i < pp.Length(); i++) { + ShapeSchema_gp_Dir2d::SWrite(pp.Value(i),f,theSchema); + + } + f.EndWriteObjectData(); +} + +void ShapeSchema_PColgp_FieldOfHArray1OfDir2d::SRead(PColgp_FieldOfHArray1OfDir2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + Standard_Integer size = 0; + + f.BeginReadObjectData(); + f.GetInteger(size); + pp.Resize(size); + + for (Standard_Integer j = 0; j < size; j++) { + ShapeSchema_gp_Dir2d::SRead((gp_Dir2d&)pp.Value(j),f,theSchema); + + } + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfDir2d.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfDir2d.hxx new file mode 100644 index 000000000..3e2048cde --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfDir2d.hxx @@ -0,0 +1,29 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColgp_FieldOfHArray1OfDir2d_HeaderFile +#define _ShapeSchema_PColgp_FieldOfHArray1OfDir2d_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_gp_Dir2d_HeaderFile +#include +#endif + + +class PColgp_FieldOfHArray1OfDir2d; + +class ShapeSchema_PColgp_FieldOfHArray1OfDir2d { +public: + Standard_EXPORT static void SAdd(const PColgp_FieldOfHArray1OfDir2d&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const PColgp_FieldOfHArray1OfDir2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(PColgp_FieldOfHArray1OfDir2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfDir2d.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfDir2d.ixx new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfDir2d.ixx @@ -0,0 +1 @@ + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfLin2d.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfLin2d.cxx new file mode 100644 index 000000000..16f655ae9 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfLin2d.cxx @@ -0,0 +1,42 @@ +#ifndef _ShapeSchema_PColgp_FieldOfHArray1OfLin2d_HeaderFile +#include +#endif +#ifndef _PColgp_FieldOfHArray1OfLin2d_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void ShapeSchema_PColgp_FieldOfHArray1OfLin2d::SWrite(const PColgp_FieldOfHArray1OfLin2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + + f.BeginWriteObjectData(); + f.PutInteger(pp.Length()); + for (Standard_Integer i = 0; i < pp.Length(); i++) { + ShapeSchema_gp_Lin2d::SWrite(pp.Value(i),f,theSchema); + + } + f.EndWriteObjectData(); +} + +void ShapeSchema_PColgp_FieldOfHArray1OfLin2d::SRead(PColgp_FieldOfHArray1OfLin2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + Standard_Integer size = 0; + + f.BeginReadObjectData(); + f.GetInteger(size); + pp.Resize(size); + + for (Standard_Integer j = 0; j < size; j++) { + ShapeSchema_gp_Lin2d::SRead((gp_Lin2d&)pp.Value(j),f,theSchema); + + } + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfLin2d.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfLin2d.hxx new file mode 100644 index 000000000..c0cc0fc13 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfLin2d.hxx @@ -0,0 +1,29 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColgp_FieldOfHArray1OfLin2d_HeaderFile +#define _ShapeSchema_PColgp_FieldOfHArray1OfLin2d_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_gp_Lin2d_HeaderFile +#include +#endif + + +class PColgp_FieldOfHArray1OfLin2d; + +class ShapeSchema_PColgp_FieldOfHArray1OfLin2d { +public: + Standard_EXPORT static void SAdd(const PColgp_FieldOfHArray1OfLin2d&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const PColgp_FieldOfHArray1OfLin2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(PColgp_FieldOfHArray1OfLin2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfLin2d.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfLin2d.ixx new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfLin2d.ixx @@ -0,0 +1 @@ + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfPnt.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfPnt.cxx new file mode 100644 index 000000000..192c63505 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfPnt.cxx @@ -0,0 +1,42 @@ +#ifndef _ShapeSchema_PColgp_FieldOfHArray1OfPnt_HeaderFile +#include +#endif +#ifndef _PColgp_FieldOfHArray1OfPnt_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void ShapeSchema_PColgp_FieldOfHArray1OfPnt::SWrite(const PColgp_FieldOfHArray1OfPnt& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + + f.BeginWriteObjectData(); + f.PutInteger(pp.Length()); + for (Standard_Integer i = 0; i < pp.Length(); i++) { + ShapeSchema_gp_Pnt::SWrite(pp.Value(i),f,theSchema); + + } + f.EndWriteObjectData(); +} + +void ShapeSchema_PColgp_FieldOfHArray1OfPnt::SRead(PColgp_FieldOfHArray1OfPnt& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + Standard_Integer size = 0; + + f.BeginReadObjectData(); + f.GetInteger(size); + pp.Resize(size); + + for (Standard_Integer j = 0; j < size; j++) { + ShapeSchema_gp_Pnt::SRead((gp_Pnt&)pp.Value(j),f,theSchema); + + } + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfPnt.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfPnt.hxx new file mode 100644 index 000000000..fa088f9c1 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfPnt.hxx @@ -0,0 +1,29 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColgp_FieldOfHArray1OfPnt_HeaderFile +#define _ShapeSchema_PColgp_FieldOfHArray1OfPnt_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_gp_Pnt_HeaderFile +#include +#endif + + +class PColgp_FieldOfHArray1OfPnt; + +class ShapeSchema_PColgp_FieldOfHArray1OfPnt { +public: + Standard_EXPORT static void SAdd(const PColgp_FieldOfHArray1OfPnt&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const PColgp_FieldOfHArray1OfPnt&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(PColgp_FieldOfHArray1OfPnt&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfPnt.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfPnt.ixx new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfPnt.ixx @@ -0,0 +1 @@ + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfPnt2d.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfPnt2d.cxx new file mode 100644 index 000000000..b51dd808d --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfPnt2d.cxx @@ -0,0 +1,42 @@ +#ifndef _ShapeSchema_PColgp_FieldOfHArray1OfPnt2d_HeaderFile +#include +#endif +#ifndef _PColgp_FieldOfHArray1OfPnt2d_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void ShapeSchema_PColgp_FieldOfHArray1OfPnt2d::SWrite(const PColgp_FieldOfHArray1OfPnt2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + + f.BeginWriteObjectData(); + f.PutInteger(pp.Length()); + for (Standard_Integer i = 0; i < pp.Length(); i++) { + ShapeSchema_gp_Pnt2d::SWrite(pp.Value(i),f,theSchema); + + } + f.EndWriteObjectData(); +} + +void ShapeSchema_PColgp_FieldOfHArray1OfPnt2d::SRead(PColgp_FieldOfHArray1OfPnt2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + Standard_Integer size = 0; + + f.BeginReadObjectData(); + f.GetInteger(size); + pp.Resize(size); + + for (Standard_Integer j = 0; j < size; j++) { + ShapeSchema_gp_Pnt2d::SRead((gp_Pnt2d&)pp.Value(j),f,theSchema); + + } + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfPnt2d.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfPnt2d.hxx new file mode 100644 index 000000000..d7b515d1c --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfPnt2d.hxx @@ -0,0 +1,29 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColgp_FieldOfHArray1OfPnt2d_HeaderFile +#define _ShapeSchema_PColgp_FieldOfHArray1OfPnt2d_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_gp_Pnt2d_HeaderFile +#include +#endif + + +class PColgp_FieldOfHArray1OfPnt2d; + +class ShapeSchema_PColgp_FieldOfHArray1OfPnt2d { +public: + Standard_EXPORT static void SAdd(const PColgp_FieldOfHArray1OfPnt2d&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const PColgp_FieldOfHArray1OfPnt2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(PColgp_FieldOfHArray1OfPnt2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfPnt2d.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfPnt2d.ixx new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfPnt2d.ixx @@ -0,0 +1 @@ + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfVec.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfVec.cxx new file mode 100644 index 000000000..ad67f56b5 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfVec.cxx @@ -0,0 +1,42 @@ +#ifndef _ShapeSchema_PColgp_FieldOfHArray1OfVec_HeaderFile +#include +#endif +#ifndef _PColgp_FieldOfHArray1OfVec_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void ShapeSchema_PColgp_FieldOfHArray1OfVec::SWrite(const PColgp_FieldOfHArray1OfVec& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + + f.BeginWriteObjectData(); + f.PutInteger(pp.Length()); + for (Standard_Integer i = 0; i < pp.Length(); i++) { + ShapeSchema_gp_Vec::SWrite(pp.Value(i),f,theSchema); + + } + f.EndWriteObjectData(); +} + +void ShapeSchema_PColgp_FieldOfHArray1OfVec::SRead(PColgp_FieldOfHArray1OfVec& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + Standard_Integer size = 0; + + f.BeginReadObjectData(); + f.GetInteger(size); + pp.Resize(size); + + for (Standard_Integer j = 0; j < size; j++) { + ShapeSchema_gp_Vec::SRead((gp_Vec&)pp.Value(j),f,theSchema); + + } + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfVec.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfVec.hxx new file mode 100644 index 000000000..0e1c5243e --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfVec.hxx @@ -0,0 +1,29 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColgp_FieldOfHArray1OfVec_HeaderFile +#define _ShapeSchema_PColgp_FieldOfHArray1OfVec_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_gp_Vec_HeaderFile +#include +#endif + + +class PColgp_FieldOfHArray1OfVec; + +class ShapeSchema_PColgp_FieldOfHArray1OfVec { +public: + Standard_EXPORT static void SAdd(const PColgp_FieldOfHArray1OfVec&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const PColgp_FieldOfHArray1OfVec&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(PColgp_FieldOfHArray1OfVec&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfVec.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfVec.ixx new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfVec.ixx @@ -0,0 +1 @@ + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfVec2d.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfVec2d.cxx new file mode 100644 index 000000000..b2532440e --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfVec2d.cxx @@ -0,0 +1,42 @@ +#ifndef _ShapeSchema_PColgp_FieldOfHArray1OfVec2d_HeaderFile +#include +#endif +#ifndef _PColgp_FieldOfHArray1OfVec2d_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void ShapeSchema_PColgp_FieldOfHArray1OfVec2d::SWrite(const PColgp_FieldOfHArray1OfVec2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + + f.BeginWriteObjectData(); + f.PutInteger(pp.Length()); + for (Standard_Integer i = 0; i < pp.Length(); i++) { + ShapeSchema_gp_Vec2d::SWrite(pp.Value(i),f,theSchema); + + } + f.EndWriteObjectData(); +} + +void ShapeSchema_PColgp_FieldOfHArray1OfVec2d::SRead(PColgp_FieldOfHArray1OfVec2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + Standard_Integer size = 0; + + f.BeginReadObjectData(); + f.GetInteger(size); + pp.Resize(size); + + for (Standard_Integer j = 0; j < size; j++) { + ShapeSchema_gp_Vec2d::SRead((gp_Vec2d&)pp.Value(j),f,theSchema); + + } + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfVec2d.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfVec2d.hxx new file mode 100644 index 000000000..20e4acb89 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfVec2d.hxx @@ -0,0 +1,29 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColgp_FieldOfHArray1OfVec2d_HeaderFile +#define _ShapeSchema_PColgp_FieldOfHArray1OfVec2d_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_gp_Vec2d_HeaderFile +#include +#endif + + +class PColgp_FieldOfHArray1OfVec2d; + +class ShapeSchema_PColgp_FieldOfHArray1OfVec2d { +public: + Standard_EXPORT static void SAdd(const PColgp_FieldOfHArray1OfVec2d&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const PColgp_FieldOfHArray1OfVec2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(PColgp_FieldOfHArray1OfVec2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfVec2d.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfVec2d.ixx new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfVec2d.ixx @@ -0,0 +1 @@ + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfXY.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfXY.cxx new file mode 100644 index 000000000..266ab4ac3 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfXY.cxx @@ -0,0 +1,42 @@ +#ifndef _ShapeSchema_PColgp_FieldOfHArray1OfXY_HeaderFile +#include +#endif +#ifndef _PColgp_FieldOfHArray1OfXY_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void ShapeSchema_PColgp_FieldOfHArray1OfXY::SWrite(const PColgp_FieldOfHArray1OfXY& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + + f.BeginWriteObjectData(); + f.PutInteger(pp.Length()); + for (Standard_Integer i = 0; i < pp.Length(); i++) { + ShapeSchema_gp_XY::SWrite(pp.Value(i),f,theSchema); + + } + f.EndWriteObjectData(); +} + +void ShapeSchema_PColgp_FieldOfHArray1OfXY::SRead(PColgp_FieldOfHArray1OfXY& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + Standard_Integer size = 0; + + f.BeginReadObjectData(); + f.GetInteger(size); + pp.Resize(size); + + for (Standard_Integer j = 0; j < size; j++) { + ShapeSchema_gp_XY::SRead((gp_XY&)pp.Value(j),f,theSchema); + + } + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfXY.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfXY.hxx new file mode 100644 index 000000000..2bf3d26a3 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfXY.hxx @@ -0,0 +1,29 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColgp_FieldOfHArray1OfXY_HeaderFile +#define _ShapeSchema_PColgp_FieldOfHArray1OfXY_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_gp_XY_HeaderFile +#include +#endif + + +class PColgp_FieldOfHArray1OfXY; + +class ShapeSchema_PColgp_FieldOfHArray1OfXY { +public: + Standard_EXPORT static void SAdd(const PColgp_FieldOfHArray1OfXY&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const PColgp_FieldOfHArray1OfXY&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(PColgp_FieldOfHArray1OfXY&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfXY.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfXY.ixx new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfXY.ixx @@ -0,0 +1 @@ + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfXYZ.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfXYZ.cxx new file mode 100644 index 000000000..ea90fdabb --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfXYZ.cxx @@ -0,0 +1,42 @@ +#ifndef _ShapeSchema_PColgp_FieldOfHArray1OfXYZ_HeaderFile +#include +#endif +#ifndef _PColgp_FieldOfHArray1OfXYZ_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void ShapeSchema_PColgp_FieldOfHArray1OfXYZ::SWrite(const PColgp_FieldOfHArray1OfXYZ& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + + f.BeginWriteObjectData(); + f.PutInteger(pp.Length()); + for (Standard_Integer i = 0; i < pp.Length(); i++) { + ShapeSchema_gp_XYZ::SWrite(pp.Value(i),f,theSchema); + + } + f.EndWriteObjectData(); +} + +void ShapeSchema_PColgp_FieldOfHArray1OfXYZ::SRead(PColgp_FieldOfHArray1OfXYZ& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + Standard_Integer size = 0; + + f.BeginReadObjectData(); + f.GetInteger(size); + pp.Resize(size); + + for (Standard_Integer j = 0; j < size; j++) { + ShapeSchema_gp_XYZ::SRead((gp_XYZ&)pp.Value(j),f,theSchema); + + } + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfXYZ.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfXYZ.hxx new file mode 100644 index 000000000..5340fe4c8 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfXYZ.hxx @@ -0,0 +1,29 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColgp_FieldOfHArray1OfXYZ_HeaderFile +#define _ShapeSchema_PColgp_FieldOfHArray1OfXYZ_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_gp_XYZ_HeaderFile +#include +#endif + + +class PColgp_FieldOfHArray1OfXYZ; + +class ShapeSchema_PColgp_FieldOfHArray1OfXYZ { +public: + Standard_EXPORT static void SAdd(const PColgp_FieldOfHArray1OfXYZ&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const PColgp_FieldOfHArray1OfXYZ&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(PColgp_FieldOfHArray1OfXYZ&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfXYZ.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfXYZ.ixx new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray1OfXYZ.ixx @@ -0,0 +1 @@ + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfCirc2d.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfCirc2d.cxx new file mode 100644 index 000000000..6ed6df163 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfCirc2d.cxx @@ -0,0 +1,42 @@ +#ifndef _ShapeSchema_PColgp_FieldOfHArray2OfCirc2d_HeaderFile +#include +#endif +#ifndef _PColgp_FieldOfHArray2OfCirc2d_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void ShapeSchema_PColgp_FieldOfHArray2OfCirc2d::SWrite(const PColgp_FieldOfHArray2OfCirc2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + + f.BeginWriteObjectData(); + f.PutInteger(pp.Length()); + for (Standard_Integer i = 0; i < pp.Length(); i++) { + ShapeSchema_gp_Circ2d::SWrite(pp.Value(i),f,theSchema); + + } + f.EndWriteObjectData(); +} + +void ShapeSchema_PColgp_FieldOfHArray2OfCirc2d::SRead(PColgp_FieldOfHArray2OfCirc2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + Standard_Integer size = 0; + + f.BeginReadObjectData(); + f.GetInteger(size); + pp.Resize(size); + + for (Standard_Integer j = 0; j < size; j++) { + ShapeSchema_gp_Circ2d::SRead((gp_Circ2d&)pp.Value(j),f,theSchema); + + } + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfCirc2d.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfCirc2d.hxx new file mode 100644 index 000000000..c57136cfd --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfCirc2d.hxx @@ -0,0 +1,29 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColgp_FieldOfHArray2OfCirc2d_HeaderFile +#define _ShapeSchema_PColgp_FieldOfHArray2OfCirc2d_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_gp_Circ2d_HeaderFile +#include +#endif + + +class PColgp_FieldOfHArray2OfCirc2d; + +class ShapeSchema_PColgp_FieldOfHArray2OfCirc2d { +public: + Standard_EXPORT static void SAdd(const PColgp_FieldOfHArray2OfCirc2d&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const PColgp_FieldOfHArray2OfCirc2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(PColgp_FieldOfHArray2OfCirc2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfCirc2d.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfCirc2d.ixx new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfCirc2d.ixx @@ -0,0 +1 @@ + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfDir.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfDir.cxx new file mode 100644 index 000000000..6070b83f5 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfDir.cxx @@ -0,0 +1,42 @@ +#ifndef _ShapeSchema_PColgp_FieldOfHArray2OfDir_HeaderFile +#include +#endif +#ifndef _PColgp_FieldOfHArray2OfDir_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void ShapeSchema_PColgp_FieldOfHArray2OfDir::SWrite(const PColgp_FieldOfHArray2OfDir& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + + f.BeginWriteObjectData(); + f.PutInteger(pp.Length()); + for (Standard_Integer i = 0; i < pp.Length(); i++) { + ShapeSchema_gp_Dir::SWrite(pp.Value(i),f,theSchema); + + } + f.EndWriteObjectData(); +} + +void ShapeSchema_PColgp_FieldOfHArray2OfDir::SRead(PColgp_FieldOfHArray2OfDir& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + Standard_Integer size = 0; + + f.BeginReadObjectData(); + f.GetInteger(size); + pp.Resize(size); + + for (Standard_Integer j = 0; j < size; j++) { + ShapeSchema_gp_Dir::SRead((gp_Dir&)pp.Value(j),f,theSchema); + + } + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfDir.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfDir.hxx new file mode 100644 index 000000000..b3f3ef93d --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfDir.hxx @@ -0,0 +1,29 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColgp_FieldOfHArray2OfDir_HeaderFile +#define _ShapeSchema_PColgp_FieldOfHArray2OfDir_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_gp_Dir_HeaderFile +#include +#endif + + +class PColgp_FieldOfHArray2OfDir; + +class ShapeSchema_PColgp_FieldOfHArray2OfDir { +public: + Standard_EXPORT static void SAdd(const PColgp_FieldOfHArray2OfDir&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const PColgp_FieldOfHArray2OfDir&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(PColgp_FieldOfHArray2OfDir&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfDir.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfDir.ixx new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfDir.ixx @@ -0,0 +1 @@ + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfDir2d.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfDir2d.cxx new file mode 100644 index 000000000..2b32e410e --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfDir2d.cxx @@ -0,0 +1,42 @@ +#ifndef _ShapeSchema_PColgp_FieldOfHArray2OfDir2d_HeaderFile +#include +#endif +#ifndef _PColgp_FieldOfHArray2OfDir2d_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void ShapeSchema_PColgp_FieldOfHArray2OfDir2d::SWrite(const PColgp_FieldOfHArray2OfDir2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + + f.BeginWriteObjectData(); + f.PutInteger(pp.Length()); + for (Standard_Integer i = 0; i < pp.Length(); i++) { + ShapeSchema_gp_Dir2d::SWrite(pp.Value(i),f,theSchema); + + } + f.EndWriteObjectData(); +} + +void ShapeSchema_PColgp_FieldOfHArray2OfDir2d::SRead(PColgp_FieldOfHArray2OfDir2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + Standard_Integer size = 0; + + f.BeginReadObjectData(); + f.GetInteger(size); + pp.Resize(size); + + for (Standard_Integer j = 0; j < size; j++) { + ShapeSchema_gp_Dir2d::SRead((gp_Dir2d&)pp.Value(j),f,theSchema); + + } + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfDir2d.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfDir2d.hxx new file mode 100644 index 000000000..553b3009f --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfDir2d.hxx @@ -0,0 +1,29 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColgp_FieldOfHArray2OfDir2d_HeaderFile +#define _ShapeSchema_PColgp_FieldOfHArray2OfDir2d_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_gp_Dir2d_HeaderFile +#include +#endif + + +class PColgp_FieldOfHArray2OfDir2d; + +class ShapeSchema_PColgp_FieldOfHArray2OfDir2d { +public: + Standard_EXPORT static void SAdd(const PColgp_FieldOfHArray2OfDir2d&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const PColgp_FieldOfHArray2OfDir2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(PColgp_FieldOfHArray2OfDir2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfDir2d.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfDir2d.ixx new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfDir2d.ixx @@ -0,0 +1 @@ + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfLin2d.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfLin2d.cxx new file mode 100644 index 000000000..5bc812f88 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfLin2d.cxx @@ -0,0 +1,42 @@ +#ifndef _ShapeSchema_PColgp_FieldOfHArray2OfLin2d_HeaderFile +#include +#endif +#ifndef _PColgp_FieldOfHArray2OfLin2d_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void ShapeSchema_PColgp_FieldOfHArray2OfLin2d::SWrite(const PColgp_FieldOfHArray2OfLin2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + + f.BeginWriteObjectData(); + f.PutInteger(pp.Length()); + for (Standard_Integer i = 0; i < pp.Length(); i++) { + ShapeSchema_gp_Lin2d::SWrite(pp.Value(i),f,theSchema); + + } + f.EndWriteObjectData(); +} + +void ShapeSchema_PColgp_FieldOfHArray2OfLin2d::SRead(PColgp_FieldOfHArray2OfLin2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + Standard_Integer size = 0; + + f.BeginReadObjectData(); + f.GetInteger(size); + pp.Resize(size); + + for (Standard_Integer j = 0; j < size; j++) { + ShapeSchema_gp_Lin2d::SRead((gp_Lin2d&)pp.Value(j),f,theSchema); + + } + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfLin2d.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfLin2d.hxx new file mode 100644 index 000000000..2a41d64a3 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfLin2d.hxx @@ -0,0 +1,29 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColgp_FieldOfHArray2OfLin2d_HeaderFile +#define _ShapeSchema_PColgp_FieldOfHArray2OfLin2d_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_gp_Lin2d_HeaderFile +#include +#endif + + +class PColgp_FieldOfHArray2OfLin2d; + +class ShapeSchema_PColgp_FieldOfHArray2OfLin2d { +public: + Standard_EXPORT static void SAdd(const PColgp_FieldOfHArray2OfLin2d&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const PColgp_FieldOfHArray2OfLin2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(PColgp_FieldOfHArray2OfLin2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfLin2d.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfLin2d.ixx new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfLin2d.ixx @@ -0,0 +1 @@ + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfPnt.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfPnt.cxx new file mode 100644 index 000000000..611671043 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfPnt.cxx @@ -0,0 +1,42 @@ +#ifndef _ShapeSchema_PColgp_FieldOfHArray2OfPnt_HeaderFile +#include +#endif +#ifndef _PColgp_FieldOfHArray2OfPnt_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void ShapeSchema_PColgp_FieldOfHArray2OfPnt::SWrite(const PColgp_FieldOfHArray2OfPnt& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + + f.BeginWriteObjectData(); + f.PutInteger(pp.Length()); + for (Standard_Integer i = 0; i < pp.Length(); i++) { + ShapeSchema_gp_Pnt::SWrite(pp.Value(i),f,theSchema); + + } + f.EndWriteObjectData(); +} + +void ShapeSchema_PColgp_FieldOfHArray2OfPnt::SRead(PColgp_FieldOfHArray2OfPnt& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + Standard_Integer size = 0; + + f.BeginReadObjectData(); + f.GetInteger(size); + pp.Resize(size); + + for (Standard_Integer j = 0; j < size; j++) { + ShapeSchema_gp_Pnt::SRead((gp_Pnt&)pp.Value(j),f,theSchema); + + } + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfPnt.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfPnt.hxx new file mode 100644 index 000000000..69c00f357 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfPnt.hxx @@ -0,0 +1,29 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColgp_FieldOfHArray2OfPnt_HeaderFile +#define _ShapeSchema_PColgp_FieldOfHArray2OfPnt_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_gp_Pnt_HeaderFile +#include +#endif + + +class PColgp_FieldOfHArray2OfPnt; + +class ShapeSchema_PColgp_FieldOfHArray2OfPnt { +public: + Standard_EXPORT static void SAdd(const PColgp_FieldOfHArray2OfPnt&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const PColgp_FieldOfHArray2OfPnt&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(PColgp_FieldOfHArray2OfPnt&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfPnt.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfPnt.ixx new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfPnt.ixx @@ -0,0 +1 @@ + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfPnt2d.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfPnt2d.cxx new file mode 100644 index 000000000..0aef4329c --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfPnt2d.cxx @@ -0,0 +1,42 @@ +#ifndef _ShapeSchema_PColgp_FieldOfHArray2OfPnt2d_HeaderFile +#include +#endif +#ifndef _PColgp_FieldOfHArray2OfPnt2d_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void ShapeSchema_PColgp_FieldOfHArray2OfPnt2d::SWrite(const PColgp_FieldOfHArray2OfPnt2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + + f.BeginWriteObjectData(); + f.PutInteger(pp.Length()); + for (Standard_Integer i = 0; i < pp.Length(); i++) { + ShapeSchema_gp_Pnt2d::SWrite(pp.Value(i),f,theSchema); + + } + f.EndWriteObjectData(); +} + +void ShapeSchema_PColgp_FieldOfHArray2OfPnt2d::SRead(PColgp_FieldOfHArray2OfPnt2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + Standard_Integer size = 0; + + f.BeginReadObjectData(); + f.GetInteger(size); + pp.Resize(size); + + for (Standard_Integer j = 0; j < size; j++) { + ShapeSchema_gp_Pnt2d::SRead((gp_Pnt2d&)pp.Value(j),f,theSchema); + + } + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfPnt2d.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfPnt2d.hxx new file mode 100644 index 000000000..7e637bda3 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfPnt2d.hxx @@ -0,0 +1,29 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColgp_FieldOfHArray2OfPnt2d_HeaderFile +#define _ShapeSchema_PColgp_FieldOfHArray2OfPnt2d_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_gp_Pnt2d_HeaderFile +#include +#endif + + +class PColgp_FieldOfHArray2OfPnt2d; + +class ShapeSchema_PColgp_FieldOfHArray2OfPnt2d { +public: + Standard_EXPORT static void SAdd(const PColgp_FieldOfHArray2OfPnt2d&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const PColgp_FieldOfHArray2OfPnt2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(PColgp_FieldOfHArray2OfPnt2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfPnt2d.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfPnt2d.ixx new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfPnt2d.ixx @@ -0,0 +1 @@ + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfVec.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfVec.cxx new file mode 100644 index 000000000..90218fa90 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfVec.cxx @@ -0,0 +1,42 @@ +#ifndef _ShapeSchema_PColgp_FieldOfHArray2OfVec_HeaderFile +#include +#endif +#ifndef _PColgp_FieldOfHArray2OfVec_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void ShapeSchema_PColgp_FieldOfHArray2OfVec::SWrite(const PColgp_FieldOfHArray2OfVec& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + + f.BeginWriteObjectData(); + f.PutInteger(pp.Length()); + for (Standard_Integer i = 0; i < pp.Length(); i++) { + ShapeSchema_gp_Vec::SWrite(pp.Value(i),f,theSchema); + + } + f.EndWriteObjectData(); +} + +void ShapeSchema_PColgp_FieldOfHArray2OfVec::SRead(PColgp_FieldOfHArray2OfVec& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + Standard_Integer size = 0; + + f.BeginReadObjectData(); + f.GetInteger(size); + pp.Resize(size); + + for (Standard_Integer j = 0; j < size; j++) { + ShapeSchema_gp_Vec::SRead((gp_Vec&)pp.Value(j),f,theSchema); + + } + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfVec.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfVec.hxx new file mode 100644 index 000000000..581e57373 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfVec.hxx @@ -0,0 +1,29 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColgp_FieldOfHArray2OfVec_HeaderFile +#define _ShapeSchema_PColgp_FieldOfHArray2OfVec_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_gp_Vec_HeaderFile +#include +#endif + + +class PColgp_FieldOfHArray2OfVec; + +class ShapeSchema_PColgp_FieldOfHArray2OfVec { +public: + Standard_EXPORT static void SAdd(const PColgp_FieldOfHArray2OfVec&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const PColgp_FieldOfHArray2OfVec&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(PColgp_FieldOfHArray2OfVec&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfVec.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfVec.ixx new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfVec.ixx @@ -0,0 +1 @@ + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfVec2d.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfVec2d.cxx new file mode 100644 index 000000000..4faa5471c --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfVec2d.cxx @@ -0,0 +1,42 @@ +#ifndef _ShapeSchema_PColgp_FieldOfHArray2OfVec2d_HeaderFile +#include +#endif +#ifndef _PColgp_FieldOfHArray2OfVec2d_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void ShapeSchema_PColgp_FieldOfHArray2OfVec2d::SWrite(const PColgp_FieldOfHArray2OfVec2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + + f.BeginWriteObjectData(); + f.PutInteger(pp.Length()); + for (Standard_Integer i = 0; i < pp.Length(); i++) { + ShapeSchema_gp_Vec2d::SWrite(pp.Value(i),f,theSchema); + + } + f.EndWriteObjectData(); +} + +void ShapeSchema_PColgp_FieldOfHArray2OfVec2d::SRead(PColgp_FieldOfHArray2OfVec2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + Standard_Integer size = 0; + + f.BeginReadObjectData(); + f.GetInteger(size); + pp.Resize(size); + + for (Standard_Integer j = 0; j < size; j++) { + ShapeSchema_gp_Vec2d::SRead((gp_Vec2d&)pp.Value(j),f,theSchema); + + } + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfVec2d.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfVec2d.hxx new file mode 100644 index 000000000..cc3cec914 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfVec2d.hxx @@ -0,0 +1,29 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColgp_FieldOfHArray2OfVec2d_HeaderFile +#define _ShapeSchema_PColgp_FieldOfHArray2OfVec2d_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_gp_Vec2d_HeaderFile +#include +#endif + + +class PColgp_FieldOfHArray2OfVec2d; + +class ShapeSchema_PColgp_FieldOfHArray2OfVec2d { +public: + Standard_EXPORT static void SAdd(const PColgp_FieldOfHArray2OfVec2d&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const PColgp_FieldOfHArray2OfVec2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(PColgp_FieldOfHArray2OfVec2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfVec2d.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfVec2d.ixx new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfVec2d.ixx @@ -0,0 +1 @@ + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfXY.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfXY.cxx new file mode 100644 index 000000000..4dd81f2f5 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfXY.cxx @@ -0,0 +1,42 @@ +#ifndef _ShapeSchema_PColgp_FieldOfHArray2OfXY_HeaderFile +#include +#endif +#ifndef _PColgp_FieldOfHArray2OfXY_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void ShapeSchema_PColgp_FieldOfHArray2OfXY::SWrite(const PColgp_FieldOfHArray2OfXY& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + + f.BeginWriteObjectData(); + f.PutInteger(pp.Length()); + for (Standard_Integer i = 0; i < pp.Length(); i++) { + ShapeSchema_gp_XY::SWrite(pp.Value(i),f,theSchema); + + } + f.EndWriteObjectData(); +} + +void ShapeSchema_PColgp_FieldOfHArray2OfXY::SRead(PColgp_FieldOfHArray2OfXY& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + Standard_Integer size = 0; + + f.BeginReadObjectData(); + f.GetInteger(size); + pp.Resize(size); + + for (Standard_Integer j = 0; j < size; j++) { + ShapeSchema_gp_XY::SRead((gp_XY&)pp.Value(j),f,theSchema); + + } + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfXY.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfXY.hxx new file mode 100644 index 000000000..d24f24a4c --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfXY.hxx @@ -0,0 +1,29 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColgp_FieldOfHArray2OfXY_HeaderFile +#define _ShapeSchema_PColgp_FieldOfHArray2OfXY_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_gp_XY_HeaderFile +#include +#endif + + +class PColgp_FieldOfHArray2OfXY; + +class ShapeSchema_PColgp_FieldOfHArray2OfXY { +public: + Standard_EXPORT static void SAdd(const PColgp_FieldOfHArray2OfXY&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const PColgp_FieldOfHArray2OfXY&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(PColgp_FieldOfHArray2OfXY&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfXY.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfXY.ixx new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfXY.ixx @@ -0,0 +1 @@ + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfXYZ.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfXYZ.cxx new file mode 100644 index 000000000..672267708 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfXYZ.cxx @@ -0,0 +1,42 @@ +#ifndef _ShapeSchema_PColgp_FieldOfHArray2OfXYZ_HeaderFile +#include +#endif +#ifndef _PColgp_FieldOfHArray2OfXYZ_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void ShapeSchema_PColgp_FieldOfHArray2OfXYZ::SWrite(const PColgp_FieldOfHArray2OfXYZ& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + + f.BeginWriteObjectData(); + f.PutInteger(pp.Length()); + for (Standard_Integer i = 0; i < pp.Length(); i++) { + ShapeSchema_gp_XYZ::SWrite(pp.Value(i),f,theSchema); + + } + f.EndWriteObjectData(); +} + +void ShapeSchema_PColgp_FieldOfHArray2OfXYZ::SRead(PColgp_FieldOfHArray2OfXYZ& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + Standard_Integer size = 0; + + f.BeginReadObjectData(); + f.GetInteger(size); + pp.Resize(size); + + for (Standard_Integer j = 0; j < size; j++) { + ShapeSchema_gp_XYZ::SRead((gp_XYZ&)pp.Value(j),f,theSchema); + + } + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfXYZ.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfXYZ.hxx new file mode 100644 index 000000000..ec5cd0e05 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfXYZ.hxx @@ -0,0 +1,29 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColgp_FieldOfHArray2OfXYZ_HeaderFile +#define _ShapeSchema_PColgp_FieldOfHArray2OfXYZ_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_gp_XYZ_HeaderFile +#include +#endif + + +class PColgp_FieldOfHArray2OfXYZ; + +class ShapeSchema_PColgp_FieldOfHArray2OfXYZ { +public: + Standard_EXPORT static void SAdd(const PColgp_FieldOfHArray2OfXYZ&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const PColgp_FieldOfHArray2OfXYZ&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(PColgp_FieldOfHArray2OfXYZ&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfXYZ.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfXYZ.ixx new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_FieldOfHArray2OfXYZ.ixx @@ -0,0 +1 @@ + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfCirc2d.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfCirc2d.cxx new file mode 100644 index 000000000..dba8580d3 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfCirc2d.cxx @@ -0,0 +1,88 @@ +#ifndef _ShapeSchema_PColgp_HArray1OfCirc2d_HeaderFile +#include +#endif +#ifndef _PColgp_HArray1OfCirc2d_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PColgp_HArray1OfCirc2d,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PColgp_HArray1OfCirc2d,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PColgp_HArray1OfCirc2d::New() const +{ + return new PColgp_HArray1OfCirc2d(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PColgp_HArray1OfCirc2d::SAdd(const Handle(PColgp_HArray1OfCirc2d)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PColgp_HArray1OfCirc2d")) { + + } + } +} + +void ShapeSchema_PColgp_HArray1OfCirc2d::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_HArray1OfCirc2d::SAdd((Handle(PColgp_HArray1OfCirc2d)&)p,theSchema); +} + +void ShapeSchema_PColgp_HArray1OfCirc2d::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_HArray1OfCirc2d) &pp = (Handle(PColgp_HArray1OfCirc2d)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray1OfCirc2dLowerBound()); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray1OfCirc2dUpperBound()); + ShapeSchema_PColgp_FieldOfHArray1OfCirc2d::SWrite(pp->_CSFDB_GetPColgp_HArray1OfCirc2dData(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PColgp_HArray1OfCirc2d::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_HArray1OfCirc2d::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PColgp_HArray1OfCirc2d::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_HArray1OfCirc2d) &pp = (Handle(PColgp_HArray1OfCirc2d)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Integer PColgp_HArray1OfCirc2dLowerBound; + f.GetInteger(PColgp_HArray1OfCirc2dLowerBound); + pp->_CSFDB_SetPColgp_HArray1OfCirc2dLowerBound(PColgp_HArray1OfCirc2dLowerBound); + + Standard_Integer PColgp_HArray1OfCirc2dUpperBound; + f.GetInteger(PColgp_HArray1OfCirc2dUpperBound); + pp->_CSFDB_SetPColgp_HArray1OfCirc2dUpperBound(PColgp_HArray1OfCirc2dUpperBound); + + ShapeSchema_PColgp_FieldOfHArray1OfCirc2d::SRead((PColgp_FieldOfHArray1OfCirc2d&)pp->_CSFDB_GetPColgp_HArray1OfCirc2dData(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PColgp_HArray1OfCirc2d::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PColgp_HArray1OfCirc2d::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfCirc2d.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfCirc2d.hxx new file mode 100644 index 000000000..cf317e5f9 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfCirc2d.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColgp_HArray1OfCirc2d_HeaderFile +#define _ShapeSchema_PColgp_HArray1OfCirc2d_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PColgp_HArray1OfCirc2d_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PColgp_HArray1OfCirc2d,Storage_CallBack) + +class ShapeSchema_PColgp_HArray1OfCirc2d : public Storage_CallBack { +public: + ShapeSchema_PColgp_HArray1OfCirc2d() {} + Standard_EXPORT static void SAdd(const Handle(PColgp_HArray1OfCirc2d)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PColgp_HArray1OfCirc2d) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfCirc2d.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfCirc2d.ixx new file mode 100644 index 000000000..90a655dd5 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfCirc2d.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_PColgp_FieldOfHArray1OfCirc2d_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfDir.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfDir.cxx new file mode 100644 index 000000000..e62787bca --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfDir.cxx @@ -0,0 +1,88 @@ +#ifndef _ShapeSchema_PColgp_HArray1OfDir_HeaderFile +#include +#endif +#ifndef _PColgp_HArray1OfDir_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PColgp_HArray1OfDir,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PColgp_HArray1OfDir,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PColgp_HArray1OfDir::New() const +{ + return new PColgp_HArray1OfDir(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PColgp_HArray1OfDir::SAdd(const Handle(PColgp_HArray1OfDir)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PColgp_HArray1OfDir")) { + + } + } +} + +void ShapeSchema_PColgp_HArray1OfDir::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_HArray1OfDir::SAdd((Handle(PColgp_HArray1OfDir)&)p,theSchema); +} + +void ShapeSchema_PColgp_HArray1OfDir::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_HArray1OfDir) &pp = (Handle(PColgp_HArray1OfDir)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray1OfDirLowerBound()); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray1OfDirUpperBound()); + ShapeSchema_PColgp_FieldOfHArray1OfDir::SWrite(pp->_CSFDB_GetPColgp_HArray1OfDirData(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PColgp_HArray1OfDir::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_HArray1OfDir::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PColgp_HArray1OfDir::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_HArray1OfDir) &pp = (Handle(PColgp_HArray1OfDir)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Integer PColgp_HArray1OfDirLowerBound; + f.GetInteger(PColgp_HArray1OfDirLowerBound); + pp->_CSFDB_SetPColgp_HArray1OfDirLowerBound(PColgp_HArray1OfDirLowerBound); + + Standard_Integer PColgp_HArray1OfDirUpperBound; + f.GetInteger(PColgp_HArray1OfDirUpperBound); + pp->_CSFDB_SetPColgp_HArray1OfDirUpperBound(PColgp_HArray1OfDirUpperBound); + + ShapeSchema_PColgp_FieldOfHArray1OfDir::SRead((PColgp_FieldOfHArray1OfDir&)pp->_CSFDB_GetPColgp_HArray1OfDirData(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PColgp_HArray1OfDir::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PColgp_HArray1OfDir::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfDir.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfDir.hxx new file mode 100644 index 000000000..27eebb6fc --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfDir.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColgp_HArray1OfDir_HeaderFile +#define _ShapeSchema_PColgp_HArray1OfDir_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PColgp_HArray1OfDir_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PColgp_HArray1OfDir,Storage_CallBack) + +class ShapeSchema_PColgp_HArray1OfDir : public Storage_CallBack { +public: + ShapeSchema_PColgp_HArray1OfDir() {} + Standard_EXPORT static void SAdd(const Handle(PColgp_HArray1OfDir)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PColgp_HArray1OfDir) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfDir.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfDir.ixx new file mode 100644 index 000000000..307dad1e2 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfDir.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_PColgp_FieldOfHArray1OfDir_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfDir2d.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfDir2d.cxx new file mode 100644 index 000000000..f5e78021e --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfDir2d.cxx @@ -0,0 +1,88 @@ +#ifndef _ShapeSchema_PColgp_HArray1OfDir2d_HeaderFile +#include +#endif +#ifndef _PColgp_HArray1OfDir2d_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PColgp_HArray1OfDir2d,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PColgp_HArray1OfDir2d,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PColgp_HArray1OfDir2d::New() const +{ + return new PColgp_HArray1OfDir2d(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PColgp_HArray1OfDir2d::SAdd(const Handle(PColgp_HArray1OfDir2d)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PColgp_HArray1OfDir2d")) { + + } + } +} + +void ShapeSchema_PColgp_HArray1OfDir2d::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_HArray1OfDir2d::SAdd((Handle(PColgp_HArray1OfDir2d)&)p,theSchema); +} + +void ShapeSchema_PColgp_HArray1OfDir2d::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_HArray1OfDir2d) &pp = (Handle(PColgp_HArray1OfDir2d)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray1OfDir2dLowerBound()); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray1OfDir2dUpperBound()); + ShapeSchema_PColgp_FieldOfHArray1OfDir2d::SWrite(pp->_CSFDB_GetPColgp_HArray1OfDir2dData(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PColgp_HArray1OfDir2d::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_HArray1OfDir2d::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PColgp_HArray1OfDir2d::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_HArray1OfDir2d) &pp = (Handle(PColgp_HArray1OfDir2d)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Integer PColgp_HArray1OfDir2dLowerBound; + f.GetInteger(PColgp_HArray1OfDir2dLowerBound); + pp->_CSFDB_SetPColgp_HArray1OfDir2dLowerBound(PColgp_HArray1OfDir2dLowerBound); + + Standard_Integer PColgp_HArray1OfDir2dUpperBound; + f.GetInteger(PColgp_HArray1OfDir2dUpperBound); + pp->_CSFDB_SetPColgp_HArray1OfDir2dUpperBound(PColgp_HArray1OfDir2dUpperBound); + + ShapeSchema_PColgp_FieldOfHArray1OfDir2d::SRead((PColgp_FieldOfHArray1OfDir2d&)pp->_CSFDB_GetPColgp_HArray1OfDir2dData(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PColgp_HArray1OfDir2d::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PColgp_HArray1OfDir2d::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfDir2d.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfDir2d.hxx new file mode 100644 index 000000000..a3d7c0411 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfDir2d.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColgp_HArray1OfDir2d_HeaderFile +#define _ShapeSchema_PColgp_HArray1OfDir2d_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PColgp_HArray1OfDir2d_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PColgp_HArray1OfDir2d,Storage_CallBack) + +class ShapeSchema_PColgp_HArray1OfDir2d : public Storage_CallBack { +public: + ShapeSchema_PColgp_HArray1OfDir2d() {} + Standard_EXPORT static void SAdd(const Handle(PColgp_HArray1OfDir2d)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PColgp_HArray1OfDir2d) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfDir2d.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfDir2d.ixx new file mode 100644 index 000000000..1888c84f1 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfDir2d.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_PColgp_FieldOfHArray1OfDir2d_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfLin2d.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfLin2d.cxx new file mode 100644 index 000000000..78a2b6aa3 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfLin2d.cxx @@ -0,0 +1,88 @@ +#ifndef _ShapeSchema_PColgp_HArray1OfLin2d_HeaderFile +#include +#endif +#ifndef _PColgp_HArray1OfLin2d_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PColgp_HArray1OfLin2d,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PColgp_HArray1OfLin2d,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PColgp_HArray1OfLin2d::New() const +{ + return new PColgp_HArray1OfLin2d(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PColgp_HArray1OfLin2d::SAdd(const Handle(PColgp_HArray1OfLin2d)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PColgp_HArray1OfLin2d")) { + + } + } +} + +void ShapeSchema_PColgp_HArray1OfLin2d::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_HArray1OfLin2d::SAdd((Handle(PColgp_HArray1OfLin2d)&)p,theSchema); +} + +void ShapeSchema_PColgp_HArray1OfLin2d::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_HArray1OfLin2d) &pp = (Handle(PColgp_HArray1OfLin2d)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray1OfLin2dLowerBound()); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray1OfLin2dUpperBound()); + ShapeSchema_PColgp_FieldOfHArray1OfLin2d::SWrite(pp->_CSFDB_GetPColgp_HArray1OfLin2dData(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PColgp_HArray1OfLin2d::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_HArray1OfLin2d::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PColgp_HArray1OfLin2d::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_HArray1OfLin2d) &pp = (Handle(PColgp_HArray1OfLin2d)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Integer PColgp_HArray1OfLin2dLowerBound; + f.GetInteger(PColgp_HArray1OfLin2dLowerBound); + pp->_CSFDB_SetPColgp_HArray1OfLin2dLowerBound(PColgp_HArray1OfLin2dLowerBound); + + Standard_Integer PColgp_HArray1OfLin2dUpperBound; + f.GetInteger(PColgp_HArray1OfLin2dUpperBound); + pp->_CSFDB_SetPColgp_HArray1OfLin2dUpperBound(PColgp_HArray1OfLin2dUpperBound); + + ShapeSchema_PColgp_FieldOfHArray1OfLin2d::SRead((PColgp_FieldOfHArray1OfLin2d&)pp->_CSFDB_GetPColgp_HArray1OfLin2dData(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PColgp_HArray1OfLin2d::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PColgp_HArray1OfLin2d::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfLin2d.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfLin2d.hxx new file mode 100644 index 000000000..c081c0b6e --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfLin2d.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColgp_HArray1OfLin2d_HeaderFile +#define _ShapeSchema_PColgp_HArray1OfLin2d_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PColgp_HArray1OfLin2d_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PColgp_HArray1OfLin2d,Storage_CallBack) + +class ShapeSchema_PColgp_HArray1OfLin2d : public Storage_CallBack { +public: + ShapeSchema_PColgp_HArray1OfLin2d() {} + Standard_EXPORT static void SAdd(const Handle(PColgp_HArray1OfLin2d)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PColgp_HArray1OfLin2d) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfLin2d.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfLin2d.ixx new file mode 100644 index 000000000..846c1c325 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfLin2d.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_PColgp_FieldOfHArray1OfLin2d_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfPnt.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfPnt.cxx new file mode 100644 index 000000000..6eb357731 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfPnt.cxx @@ -0,0 +1,88 @@ +#ifndef _ShapeSchema_PColgp_HArray1OfPnt_HeaderFile +#include +#endif +#ifndef _PColgp_HArray1OfPnt_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PColgp_HArray1OfPnt,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PColgp_HArray1OfPnt,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PColgp_HArray1OfPnt::New() const +{ + return new PColgp_HArray1OfPnt(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PColgp_HArray1OfPnt::SAdd(const Handle(PColgp_HArray1OfPnt)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PColgp_HArray1OfPnt")) { + + } + } +} + +void ShapeSchema_PColgp_HArray1OfPnt::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_HArray1OfPnt::SAdd((Handle(PColgp_HArray1OfPnt)&)p,theSchema); +} + +void ShapeSchema_PColgp_HArray1OfPnt::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_HArray1OfPnt) &pp = (Handle(PColgp_HArray1OfPnt)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray1OfPntLowerBound()); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray1OfPntUpperBound()); + ShapeSchema_PColgp_FieldOfHArray1OfPnt::SWrite(pp->_CSFDB_GetPColgp_HArray1OfPntData(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PColgp_HArray1OfPnt::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_HArray1OfPnt::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PColgp_HArray1OfPnt::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_HArray1OfPnt) &pp = (Handle(PColgp_HArray1OfPnt)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Integer PColgp_HArray1OfPntLowerBound; + f.GetInteger(PColgp_HArray1OfPntLowerBound); + pp->_CSFDB_SetPColgp_HArray1OfPntLowerBound(PColgp_HArray1OfPntLowerBound); + + Standard_Integer PColgp_HArray1OfPntUpperBound; + f.GetInteger(PColgp_HArray1OfPntUpperBound); + pp->_CSFDB_SetPColgp_HArray1OfPntUpperBound(PColgp_HArray1OfPntUpperBound); + + ShapeSchema_PColgp_FieldOfHArray1OfPnt::SRead((PColgp_FieldOfHArray1OfPnt&)pp->_CSFDB_GetPColgp_HArray1OfPntData(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PColgp_HArray1OfPnt::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PColgp_HArray1OfPnt::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfPnt.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfPnt.hxx new file mode 100644 index 000000000..c96cbd3f1 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfPnt.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColgp_HArray1OfPnt_HeaderFile +#define _ShapeSchema_PColgp_HArray1OfPnt_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PColgp_HArray1OfPnt_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PColgp_HArray1OfPnt,Storage_CallBack) + +class ShapeSchema_PColgp_HArray1OfPnt : public Storage_CallBack { +public: + ShapeSchema_PColgp_HArray1OfPnt() {} + Standard_EXPORT static void SAdd(const Handle(PColgp_HArray1OfPnt)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PColgp_HArray1OfPnt) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfPnt.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfPnt.ixx new file mode 100644 index 000000000..07523439f --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfPnt.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_PColgp_FieldOfHArray1OfPnt_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfPnt2d.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfPnt2d.cxx new file mode 100644 index 000000000..f11329875 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfPnt2d.cxx @@ -0,0 +1,88 @@ +#ifndef _ShapeSchema_PColgp_HArray1OfPnt2d_HeaderFile +#include +#endif +#ifndef _PColgp_HArray1OfPnt2d_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PColgp_HArray1OfPnt2d,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PColgp_HArray1OfPnt2d,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PColgp_HArray1OfPnt2d::New() const +{ + return new PColgp_HArray1OfPnt2d(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PColgp_HArray1OfPnt2d::SAdd(const Handle(PColgp_HArray1OfPnt2d)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PColgp_HArray1OfPnt2d")) { + + } + } +} + +void ShapeSchema_PColgp_HArray1OfPnt2d::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_HArray1OfPnt2d::SAdd((Handle(PColgp_HArray1OfPnt2d)&)p,theSchema); +} + +void ShapeSchema_PColgp_HArray1OfPnt2d::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_HArray1OfPnt2d) &pp = (Handle(PColgp_HArray1OfPnt2d)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray1OfPnt2dLowerBound()); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray1OfPnt2dUpperBound()); + ShapeSchema_PColgp_FieldOfHArray1OfPnt2d::SWrite(pp->_CSFDB_GetPColgp_HArray1OfPnt2dData(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PColgp_HArray1OfPnt2d::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_HArray1OfPnt2d::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PColgp_HArray1OfPnt2d::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_HArray1OfPnt2d) &pp = (Handle(PColgp_HArray1OfPnt2d)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Integer PColgp_HArray1OfPnt2dLowerBound; + f.GetInteger(PColgp_HArray1OfPnt2dLowerBound); + pp->_CSFDB_SetPColgp_HArray1OfPnt2dLowerBound(PColgp_HArray1OfPnt2dLowerBound); + + Standard_Integer PColgp_HArray1OfPnt2dUpperBound; + f.GetInteger(PColgp_HArray1OfPnt2dUpperBound); + pp->_CSFDB_SetPColgp_HArray1OfPnt2dUpperBound(PColgp_HArray1OfPnt2dUpperBound); + + ShapeSchema_PColgp_FieldOfHArray1OfPnt2d::SRead((PColgp_FieldOfHArray1OfPnt2d&)pp->_CSFDB_GetPColgp_HArray1OfPnt2dData(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PColgp_HArray1OfPnt2d::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PColgp_HArray1OfPnt2d::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfPnt2d.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfPnt2d.hxx new file mode 100644 index 000000000..174e3946c --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfPnt2d.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColgp_HArray1OfPnt2d_HeaderFile +#define _ShapeSchema_PColgp_HArray1OfPnt2d_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PColgp_HArray1OfPnt2d_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PColgp_HArray1OfPnt2d,Storage_CallBack) + +class ShapeSchema_PColgp_HArray1OfPnt2d : public Storage_CallBack { +public: + ShapeSchema_PColgp_HArray1OfPnt2d() {} + Standard_EXPORT static void SAdd(const Handle(PColgp_HArray1OfPnt2d)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PColgp_HArray1OfPnt2d) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfPnt2d.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfPnt2d.ixx new file mode 100644 index 000000000..55004521d --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfPnt2d.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_PColgp_FieldOfHArray1OfPnt2d_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfVec.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfVec.cxx new file mode 100644 index 000000000..acc8ae459 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfVec.cxx @@ -0,0 +1,88 @@ +#ifndef _ShapeSchema_PColgp_HArray1OfVec_HeaderFile +#include +#endif +#ifndef _PColgp_HArray1OfVec_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PColgp_HArray1OfVec,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PColgp_HArray1OfVec,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PColgp_HArray1OfVec::New() const +{ + return new PColgp_HArray1OfVec(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PColgp_HArray1OfVec::SAdd(const Handle(PColgp_HArray1OfVec)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PColgp_HArray1OfVec")) { + + } + } +} + +void ShapeSchema_PColgp_HArray1OfVec::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_HArray1OfVec::SAdd((Handle(PColgp_HArray1OfVec)&)p,theSchema); +} + +void ShapeSchema_PColgp_HArray1OfVec::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_HArray1OfVec) &pp = (Handle(PColgp_HArray1OfVec)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray1OfVecLowerBound()); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray1OfVecUpperBound()); + ShapeSchema_PColgp_FieldOfHArray1OfVec::SWrite(pp->_CSFDB_GetPColgp_HArray1OfVecData(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PColgp_HArray1OfVec::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_HArray1OfVec::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PColgp_HArray1OfVec::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_HArray1OfVec) &pp = (Handle(PColgp_HArray1OfVec)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Integer PColgp_HArray1OfVecLowerBound; + f.GetInteger(PColgp_HArray1OfVecLowerBound); + pp->_CSFDB_SetPColgp_HArray1OfVecLowerBound(PColgp_HArray1OfVecLowerBound); + + Standard_Integer PColgp_HArray1OfVecUpperBound; + f.GetInteger(PColgp_HArray1OfVecUpperBound); + pp->_CSFDB_SetPColgp_HArray1OfVecUpperBound(PColgp_HArray1OfVecUpperBound); + + ShapeSchema_PColgp_FieldOfHArray1OfVec::SRead((PColgp_FieldOfHArray1OfVec&)pp->_CSFDB_GetPColgp_HArray1OfVecData(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PColgp_HArray1OfVec::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PColgp_HArray1OfVec::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfVec.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfVec.hxx new file mode 100644 index 000000000..081d7d627 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfVec.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColgp_HArray1OfVec_HeaderFile +#define _ShapeSchema_PColgp_HArray1OfVec_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PColgp_HArray1OfVec_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PColgp_HArray1OfVec,Storage_CallBack) + +class ShapeSchema_PColgp_HArray1OfVec : public Storage_CallBack { +public: + ShapeSchema_PColgp_HArray1OfVec() {} + Standard_EXPORT static void SAdd(const Handle(PColgp_HArray1OfVec)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PColgp_HArray1OfVec) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfVec.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfVec.ixx new file mode 100644 index 000000000..1a39ff8a9 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfVec.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_PColgp_FieldOfHArray1OfVec_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfVec2d.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfVec2d.cxx new file mode 100644 index 000000000..567dd1a30 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfVec2d.cxx @@ -0,0 +1,88 @@ +#ifndef _ShapeSchema_PColgp_HArray1OfVec2d_HeaderFile +#include +#endif +#ifndef _PColgp_HArray1OfVec2d_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PColgp_HArray1OfVec2d,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PColgp_HArray1OfVec2d,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PColgp_HArray1OfVec2d::New() const +{ + return new PColgp_HArray1OfVec2d(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PColgp_HArray1OfVec2d::SAdd(const Handle(PColgp_HArray1OfVec2d)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PColgp_HArray1OfVec2d")) { + + } + } +} + +void ShapeSchema_PColgp_HArray1OfVec2d::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_HArray1OfVec2d::SAdd((Handle(PColgp_HArray1OfVec2d)&)p,theSchema); +} + +void ShapeSchema_PColgp_HArray1OfVec2d::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_HArray1OfVec2d) &pp = (Handle(PColgp_HArray1OfVec2d)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray1OfVec2dLowerBound()); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray1OfVec2dUpperBound()); + ShapeSchema_PColgp_FieldOfHArray1OfVec2d::SWrite(pp->_CSFDB_GetPColgp_HArray1OfVec2dData(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PColgp_HArray1OfVec2d::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_HArray1OfVec2d::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PColgp_HArray1OfVec2d::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_HArray1OfVec2d) &pp = (Handle(PColgp_HArray1OfVec2d)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Integer PColgp_HArray1OfVec2dLowerBound; + f.GetInteger(PColgp_HArray1OfVec2dLowerBound); + pp->_CSFDB_SetPColgp_HArray1OfVec2dLowerBound(PColgp_HArray1OfVec2dLowerBound); + + Standard_Integer PColgp_HArray1OfVec2dUpperBound; + f.GetInteger(PColgp_HArray1OfVec2dUpperBound); + pp->_CSFDB_SetPColgp_HArray1OfVec2dUpperBound(PColgp_HArray1OfVec2dUpperBound); + + ShapeSchema_PColgp_FieldOfHArray1OfVec2d::SRead((PColgp_FieldOfHArray1OfVec2d&)pp->_CSFDB_GetPColgp_HArray1OfVec2dData(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PColgp_HArray1OfVec2d::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PColgp_HArray1OfVec2d::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfVec2d.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfVec2d.hxx new file mode 100644 index 000000000..d85a4a02a --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfVec2d.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColgp_HArray1OfVec2d_HeaderFile +#define _ShapeSchema_PColgp_HArray1OfVec2d_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PColgp_HArray1OfVec2d_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PColgp_HArray1OfVec2d,Storage_CallBack) + +class ShapeSchema_PColgp_HArray1OfVec2d : public Storage_CallBack { +public: + ShapeSchema_PColgp_HArray1OfVec2d() {} + Standard_EXPORT static void SAdd(const Handle(PColgp_HArray1OfVec2d)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PColgp_HArray1OfVec2d) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfVec2d.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfVec2d.ixx new file mode 100644 index 000000000..40f5654ed --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfVec2d.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_PColgp_FieldOfHArray1OfVec2d_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfXY.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfXY.cxx new file mode 100644 index 000000000..08e878fdd --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfXY.cxx @@ -0,0 +1,88 @@ +#ifndef _ShapeSchema_PColgp_HArray1OfXY_HeaderFile +#include +#endif +#ifndef _PColgp_HArray1OfXY_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PColgp_HArray1OfXY,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PColgp_HArray1OfXY,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PColgp_HArray1OfXY::New() const +{ + return new PColgp_HArray1OfXY(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PColgp_HArray1OfXY::SAdd(const Handle(PColgp_HArray1OfXY)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PColgp_HArray1OfXY")) { + + } + } +} + +void ShapeSchema_PColgp_HArray1OfXY::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_HArray1OfXY::SAdd((Handle(PColgp_HArray1OfXY)&)p,theSchema); +} + +void ShapeSchema_PColgp_HArray1OfXY::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_HArray1OfXY) &pp = (Handle(PColgp_HArray1OfXY)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray1OfXYLowerBound()); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray1OfXYUpperBound()); + ShapeSchema_PColgp_FieldOfHArray1OfXY::SWrite(pp->_CSFDB_GetPColgp_HArray1OfXYData(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PColgp_HArray1OfXY::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_HArray1OfXY::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PColgp_HArray1OfXY::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_HArray1OfXY) &pp = (Handle(PColgp_HArray1OfXY)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Integer PColgp_HArray1OfXYLowerBound; + f.GetInteger(PColgp_HArray1OfXYLowerBound); + pp->_CSFDB_SetPColgp_HArray1OfXYLowerBound(PColgp_HArray1OfXYLowerBound); + + Standard_Integer PColgp_HArray1OfXYUpperBound; + f.GetInteger(PColgp_HArray1OfXYUpperBound); + pp->_CSFDB_SetPColgp_HArray1OfXYUpperBound(PColgp_HArray1OfXYUpperBound); + + ShapeSchema_PColgp_FieldOfHArray1OfXY::SRead((PColgp_FieldOfHArray1OfXY&)pp->_CSFDB_GetPColgp_HArray1OfXYData(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PColgp_HArray1OfXY::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PColgp_HArray1OfXY::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfXY.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfXY.hxx new file mode 100644 index 000000000..871a14612 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfXY.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColgp_HArray1OfXY_HeaderFile +#define _ShapeSchema_PColgp_HArray1OfXY_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PColgp_HArray1OfXY_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PColgp_HArray1OfXY,Storage_CallBack) + +class ShapeSchema_PColgp_HArray1OfXY : public Storage_CallBack { +public: + ShapeSchema_PColgp_HArray1OfXY() {} + Standard_EXPORT static void SAdd(const Handle(PColgp_HArray1OfXY)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PColgp_HArray1OfXY) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfXY.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfXY.ixx new file mode 100644 index 000000000..96af64b09 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfXY.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_PColgp_FieldOfHArray1OfXY_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfXYZ.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfXYZ.cxx new file mode 100644 index 000000000..a5f075812 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfXYZ.cxx @@ -0,0 +1,88 @@ +#ifndef _ShapeSchema_PColgp_HArray1OfXYZ_HeaderFile +#include +#endif +#ifndef _PColgp_HArray1OfXYZ_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PColgp_HArray1OfXYZ,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PColgp_HArray1OfXYZ,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PColgp_HArray1OfXYZ::New() const +{ + return new PColgp_HArray1OfXYZ(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PColgp_HArray1OfXYZ::SAdd(const Handle(PColgp_HArray1OfXYZ)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PColgp_HArray1OfXYZ")) { + + } + } +} + +void ShapeSchema_PColgp_HArray1OfXYZ::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_HArray1OfXYZ::SAdd((Handle(PColgp_HArray1OfXYZ)&)p,theSchema); +} + +void ShapeSchema_PColgp_HArray1OfXYZ::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_HArray1OfXYZ) &pp = (Handle(PColgp_HArray1OfXYZ)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray1OfXYZLowerBound()); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray1OfXYZUpperBound()); + ShapeSchema_PColgp_FieldOfHArray1OfXYZ::SWrite(pp->_CSFDB_GetPColgp_HArray1OfXYZData(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PColgp_HArray1OfXYZ::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_HArray1OfXYZ::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PColgp_HArray1OfXYZ::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_HArray1OfXYZ) &pp = (Handle(PColgp_HArray1OfXYZ)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Integer PColgp_HArray1OfXYZLowerBound; + f.GetInteger(PColgp_HArray1OfXYZLowerBound); + pp->_CSFDB_SetPColgp_HArray1OfXYZLowerBound(PColgp_HArray1OfXYZLowerBound); + + Standard_Integer PColgp_HArray1OfXYZUpperBound; + f.GetInteger(PColgp_HArray1OfXYZUpperBound); + pp->_CSFDB_SetPColgp_HArray1OfXYZUpperBound(PColgp_HArray1OfXYZUpperBound); + + ShapeSchema_PColgp_FieldOfHArray1OfXYZ::SRead((PColgp_FieldOfHArray1OfXYZ&)pp->_CSFDB_GetPColgp_HArray1OfXYZData(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PColgp_HArray1OfXYZ::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PColgp_HArray1OfXYZ::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfXYZ.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfXYZ.hxx new file mode 100644 index 000000000..ba28dc3d4 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfXYZ.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColgp_HArray1OfXYZ_HeaderFile +#define _ShapeSchema_PColgp_HArray1OfXYZ_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PColgp_HArray1OfXYZ_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PColgp_HArray1OfXYZ,Storage_CallBack) + +class ShapeSchema_PColgp_HArray1OfXYZ : public Storage_CallBack { +public: + ShapeSchema_PColgp_HArray1OfXYZ() {} + Standard_EXPORT static void SAdd(const Handle(PColgp_HArray1OfXYZ)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PColgp_HArray1OfXYZ) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfXYZ.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfXYZ.ixx new file mode 100644 index 000000000..5eec2ed45 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray1OfXYZ.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_PColgp_FieldOfHArray1OfXYZ_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfCirc2d.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfCirc2d.cxx new file mode 100644 index 000000000..d047b9420 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfCirc2d.cxx @@ -0,0 +1,98 @@ +#ifndef _ShapeSchema_PColgp_HArray2OfCirc2d_HeaderFile +#include +#endif +#ifndef _PColgp_HArray2OfCirc2d_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PColgp_HArray2OfCirc2d,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PColgp_HArray2OfCirc2d,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PColgp_HArray2OfCirc2d::New() const +{ + return new PColgp_HArray2OfCirc2d(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PColgp_HArray2OfCirc2d::SAdd(const Handle(PColgp_HArray2OfCirc2d)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PColgp_HArray2OfCirc2d")) { + + } + } +} + +void ShapeSchema_PColgp_HArray2OfCirc2d::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_HArray2OfCirc2d::SAdd((Handle(PColgp_HArray2OfCirc2d)&)p,theSchema); +} + +void ShapeSchema_PColgp_HArray2OfCirc2d::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_HArray2OfCirc2d) &pp = (Handle(PColgp_HArray2OfCirc2d)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray2OfCirc2dmyLowerRow()); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray2OfCirc2dmyLowerCol()); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray2OfCirc2dmyUpperRow()); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray2OfCirc2dmyUpperCol()); + ShapeSchema_PColgp_FieldOfHArray2OfCirc2d::SWrite(pp->_CSFDB_GetPColgp_HArray2OfCirc2dData(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PColgp_HArray2OfCirc2d::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_HArray2OfCirc2d::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PColgp_HArray2OfCirc2d::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_HArray2OfCirc2d) &pp = (Handle(PColgp_HArray2OfCirc2d)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Integer PColgp_HArray2OfCirc2dmyLowerRow; + f.GetInteger(PColgp_HArray2OfCirc2dmyLowerRow); + pp->_CSFDB_SetPColgp_HArray2OfCirc2dmyLowerRow(PColgp_HArray2OfCirc2dmyLowerRow); + + Standard_Integer PColgp_HArray2OfCirc2dmyLowerCol; + f.GetInteger(PColgp_HArray2OfCirc2dmyLowerCol); + pp->_CSFDB_SetPColgp_HArray2OfCirc2dmyLowerCol(PColgp_HArray2OfCirc2dmyLowerCol); + + Standard_Integer PColgp_HArray2OfCirc2dmyUpperRow; + f.GetInteger(PColgp_HArray2OfCirc2dmyUpperRow); + pp->_CSFDB_SetPColgp_HArray2OfCirc2dmyUpperRow(PColgp_HArray2OfCirc2dmyUpperRow); + + Standard_Integer PColgp_HArray2OfCirc2dmyUpperCol; + f.GetInteger(PColgp_HArray2OfCirc2dmyUpperCol); + pp->_CSFDB_SetPColgp_HArray2OfCirc2dmyUpperCol(PColgp_HArray2OfCirc2dmyUpperCol); + + ShapeSchema_PColgp_FieldOfHArray2OfCirc2d::SRead((PColgp_FieldOfHArray2OfCirc2d&)pp->_CSFDB_GetPColgp_HArray2OfCirc2dData(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PColgp_HArray2OfCirc2d::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PColgp_HArray2OfCirc2d::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfCirc2d.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfCirc2d.hxx new file mode 100644 index 000000000..d0c793594 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfCirc2d.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColgp_HArray2OfCirc2d_HeaderFile +#define _ShapeSchema_PColgp_HArray2OfCirc2d_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PColgp_HArray2OfCirc2d_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PColgp_HArray2OfCirc2d,Storage_CallBack) + +class ShapeSchema_PColgp_HArray2OfCirc2d : public Storage_CallBack { +public: + ShapeSchema_PColgp_HArray2OfCirc2d() {} + Standard_EXPORT static void SAdd(const Handle(PColgp_HArray2OfCirc2d)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PColgp_HArray2OfCirc2d) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfCirc2d.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfCirc2d.ixx new file mode 100644 index 000000000..b45d6560f --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfCirc2d.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_PColgp_FieldOfHArray2OfCirc2d_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfDir.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfDir.cxx new file mode 100644 index 000000000..f84ed12c9 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfDir.cxx @@ -0,0 +1,98 @@ +#ifndef _ShapeSchema_PColgp_HArray2OfDir_HeaderFile +#include +#endif +#ifndef _PColgp_HArray2OfDir_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PColgp_HArray2OfDir,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PColgp_HArray2OfDir,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PColgp_HArray2OfDir::New() const +{ + return new PColgp_HArray2OfDir(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PColgp_HArray2OfDir::SAdd(const Handle(PColgp_HArray2OfDir)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PColgp_HArray2OfDir")) { + + } + } +} + +void ShapeSchema_PColgp_HArray2OfDir::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_HArray2OfDir::SAdd((Handle(PColgp_HArray2OfDir)&)p,theSchema); +} + +void ShapeSchema_PColgp_HArray2OfDir::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_HArray2OfDir) &pp = (Handle(PColgp_HArray2OfDir)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray2OfDirmyLowerRow()); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray2OfDirmyLowerCol()); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray2OfDirmyUpperRow()); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray2OfDirmyUpperCol()); + ShapeSchema_PColgp_FieldOfHArray2OfDir::SWrite(pp->_CSFDB_GetPColgp_HArray2OfDirData(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PColgp_HArray2OfDir::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_HArray2OfDir::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PColgp_HArray2OfDir::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_HArray2OfDir) &pp = (Handle(PColgp_HArray2OfDir)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Integer PColgp_HArray2OfDirmyLowerRow; + f.GetInteger(PColgp_HArray2OfDirmyLowerRow); + pp->_CSFDB_SetPColgp_HArray2OfDirmyLowerRow(PColgp_HArray2OfDirmyLowerRow); + + Standard_Integer PColgp_HArray2OfDirmyLowerCol; + f.GetInteger(PColgp_HArray2OfDirmyLowerCol); + pp->_CSFDB_SetPColgp_HArray2OfDirmyLowerCol(PColgp_HArray2OfDirmyLowerCol); + + Standard_Integer PColgp_HArray2OfDirmyUpperRow; + f.GetInteger(PColgp_HArray2OfDirmyUpperRow); + pp->_CSFDB_SetPColgp_HArray2OfDirmyUpperRow(PColgp_HArray2OfDirmyUpperRow); + + Standard_Integer PColgp_HArray2OfDirmyUpperCol; + f.GetInteger(PColgp_HArray2OfDirmyUpperCol); + pp->_CSFDB_SetPColgp_HArray2OfDirmyUpperCol(PColgp_HArray2OfDirmyUpperCol); + + ShapeSchema_PColgp_FieldOfHArray2OfDir::SRead((PColgp_FieldOfHArray2OfDir&)pp->_CSFDB_GetPColgp_HArray2OfDirData(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PColgp_HArray2OfDir::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PColgp_HArray2OfDir::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfDir.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfDir.hxx new file mode 100644 index 000000000..03a8e1054 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfDir.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColgp_HArray2OfDir_HeaderFile +#define _ShapeSchema_PColgp_HArray2OfDir_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PColgp_HArray2OfDir_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PColgp_HArray2OfDir,Storage_CallBack) + +class ShapeSchema_PColgp_HArray2OfDir : public Storage_CallBack { +public: + ShapeSchema_PColgp_HArray2OfDir() {} + Standard_EXPORT static void SAdd(const Handle(PColgp_HArray2OfDir)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PColgp_HArray2OfDir) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfDir.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfDir.ixx new file mode 100644 index 000000000..b4ae8e9f2 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfDir.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_PColgp_FieldOfHArray2OfDir_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfDir2d.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfDir2d.cxx new file mode 100644 index 000000000..09817e2a8 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfDir2d.cxx @@ -0,0 +1,98 @@ +#ifndef _ShapeSchema_PColgp_HArray2OfDir2d_HeaderFile +#include +#endif +#ifndef _PColgp_HArray2OfDir2d_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PColgp_HArray2OfDir2d,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PColgp_HArray2OfDir2d,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PColgp_HArray2OfDir2d::New() const +{ + return new PColgp_HArray2OfDir2d(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PColgp_HArray2OfDir2d::SAdd(const Handle(PColgp_HArray2OfDir2d)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PColgp_HArray2OfDir2d")) { + + } + } +} + +void ShapeSchema_PColgp_HArray2OfDir2d::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_HArray2OfDir2d::SAdd((Handle(PColgp_HArray2OfDir2d)&)p,theSchema); +} + +void ShapeSchema_PColgp_HArray2OfDir2d::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_HArray2OfDir2d) &pp = (Handle(PColgp_HArray2OfDir2d)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray2OfDir2dmyLowerRow()); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray2OfDir2dmyLowerCol()); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray2OfDir2dmyUpperRow()); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray2OfDir2dmyUpperCol()); + ShapeSchema_PColgp_FieldOfHArray2OfDir2d::SWrite(pp->_CSFDB_GetPColgp_HArray2OfDir2dData(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PColgp_HArray2OfDir2d::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_HArray2OfDir2d::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PColgp_HArray2OfDir2d::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_HArray2OfDir2d) &pp = (Handle(PColgp_HArray2OfDir2d)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Integer PColgp_HArray2OfDir2dmyLowerRow; + f.GetInteger(PColgp_HArray2OfDir2dmyLowerRow); + pp->_CSFDB_SetPColgp_HArray2OfDir2dmyLowerRow(PColgp_HArray2OfDir2dmyLowerRow); + + Standard_Integer PColgp_HArray2OfDir2dmyLowerCol; + f.GetInteger(PColgp_HArray2OfDir2dmyLowerCol); + pp->_CSFDB_SetPColgp_HArray2OfDir2dmyLowerCol(PColgp_HArray2OfDir2dmyLowerCol); + + Standard_Integer PColgp_HArray2OfDir2dmyUpperRow; + f.GetInteger(PColgp_HArray2OfDir2dmyUpperRow); + pp->_CSFDB_SetPColgp_HArray2OfDir2dmyUpperRow(PColgp_HArray2OfDir2dmyUpperRow); + + Standard_Integer PColgp_HArray2OfDir2dmyUpperCol; + f.GetInteger(PColgp_HArray2OfDir2dmyUpperCol); + pp->_CSFDB_SetPColgp_HArray2OfDir2dmyUpperCol(PColgp_HArray2OfDir2dmyUpperCol); + + ShapeSchema_PColgp_FieldOfHArray2OfDir2d::SRead((PColgp_FieldOfHArray2OfDir2d&)pp->_CSFDB_GetPColgp_HArray2OfDir2dData(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PColgp_HArray2OfDir2d::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PColgp_HArray2OfDir2d::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfDir2d.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfDir2d.hxx new file mode 100644 index 000000000..3d96a6519 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfDir2d.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColgp_HArray2OfDir2d_HeaderFile +#define _ShapeSchema_PColgp_HArray2OfDir2d_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PColgp_HArray2OfDir2d_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PColgp_HArray2OfDir2d,Storage_CallBack) + +class ShapeSchema_PColgp_HArray2OfDir2d : public Storage_CallBack { +public: + ShapeSchema_PColgp_HArray2OfDir2d() {} + Standard_EXPORT static void SAdd(const Handle(PColgp_HArray2OfDir2d)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PColgp_HArray2OfDir2d) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfDir2d.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfDir2d.ixx new file mode 100644 index 000000000..ddfca2f6f --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfDir2d.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_PColgp_FieldOfHArray2OfDir2d_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfLin2d.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfLin2d.cxx new file mode 100644 index 000000000..d857bbc47 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfLin2d.cxx @@ -0,0 +1,98 @@ +#ifndef _ShapeSchema_PColgp_HArray2OfLin2d_HeaderFile +#include +#endif +#ifndef _PColgp_HArray2OfLin2d_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PColgp_HArray2OfLin2d,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PColgp_HArray2OfLin2d,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PColgp_HArray2OfLin2d::New() const +{ + return new PColgp_HArray2OfLin2d(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PColgp_HArray2OfLin2d::SAdd(const Handle(PColgp_HArray2OfLin2d)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PColgp_HArray2OfLin2d")) { + + } + } +} + +void ShapeSchema_PColgp_HArray2OfLin2d::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_HArray2OfLin2d::SAdd((Handle(PColgp_HArray2OfLin2d)&)p,theSchema); +} + +void ShapeSchema_PColgp_HArray2OfLin2d::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_HArray2OfLin2d) &pp = (Handle(PColgp_HArray2OfLin2d)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray2OfLin2dmyLowerRow()); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray2OfLin2dmyLowerCol()); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray2OfLin2dmyUpperRow()); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray2OfLin2dmyUpperCol()); + ShapeSchema_PColgp_FieldOfHArray2OfLin2d::SWrite(pp->_CSFDB_GetPColgp_HArray2OfLin2dData(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PColgp_HArray2OfLin2d::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_HArray2OfLin2d::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PColgp_HArray2OfLin2d::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_HArray2OfLin2d) &pp = (Handle(PColgp_HArray2OfLin2d)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Integer PColgp_HArray2OfLin2dmyLowerRow; + f.GetInteger(PColgp_HArray2OfLin2dmyLowerRow); + pp->_CSFDB_SetPColgp_HArray2OfLin2dmyLowerRow(PColgp_HArray2OfLin2dmyLowerRow); + + Standard_Integer PColgp_HArray2OfLin2dmyLowerCol; + f.GetInteger(PColgp_HArray2OfLin2dmyLowerCol); + pp->_CSFDB_SetPColgp_HArray2OfLin2dmyLowerCol(PColgp_HArray2OfLin2dmyLowerCol); + + Standard_Integer PColgp_HArray2OfLin2dmyUpperRow; + f.GetInteger(PColgp_HArray2OfLin2dmyUpperRow); + pp->_CSFDB_SetPColgp_HArray2OfLin2dmyUpperRow(PColgp_HArray2OfLin2dmyUpperRow); + + Standard_Integer PColgp_HArray2OfLin2dmyUpperCol; + f.GetInteger(PColgp_HArray2OfLin2dmyUpperCol); + pp->_CSFDB_SetPColgp_HArray2OfLin2dmyUpperCol(PColgp_HArray2OfLin2dmyUpperCol); + + ShapeSchema_PColgp_FieldOfHArray2OfLin2d::SRead((PColgp_FieldOfHArray2OfLin2d&)pp->_CSFDB_GetPColgp_HArray2OfLin2dData(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PColgp_HArray2OfLin2d::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PColgp_HArray2OfLin2d::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfLin2d.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfLin2d.hxx new file mode 100644 index 000000000..7fdbc7e3f --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfLin2d.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColgp_HArray2OfLin2d_HeaderFile +#define _ShapeSchema_PColgp_HArray2OfLin2d_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PColgp_HArray2OfLin2d_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PColgp_HArray2OfLin2d,Storage_CallBack) + +class ShapeSchema_PColgp_HArray2OfLin2d : public Storage_CallBack { +public: + ShapeSchema_PColgp_HArray2OfLin2d() {} + Standard_EXPORT static void SAdd(const Handle(PColgp_HArray2OfLin2d)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PColgp_HArray2OfLin2d) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfLin2d.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfLin2d.ixx new file mode 100644 index 000000000..6b5026ed1 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfLin2d.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_PColgp_FieldOfHArray2OfLin2d_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfPnt.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfPnt.cxx new file mode 100644 index 000000000..c8ec1a9dc --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfPnt.cxx @@ -0,0 +1,98 @@ +#ifndef _ShapeSchema_PColgp_HArray2OfPnt_HeaderFile +#include +#endif +#ifndef _PColgp_HArray2OfPnt_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PColgp_HArray2OfPnt,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PColgp_HArray2OfPnt,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PColgp_HArray2OfPnt::New() const +{ + return new PColgp_HArray2OfPnt(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PColgp_HArray2OfPnt::SAdd(const Handle(PColgp_HArray2OfPnt)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PColgp_HArray2OfPnt")) { + + } + } +} + +void ShapeSchema_PColgp_HArray2OfPnt::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_HArray2OfPnt::SAdd((Handle(PColgp_HArray2OfPnt)&)p,theSchema); +} + +void ShapeSchema_PColgp_HArray2OfPnt::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_HArray2OfPnt) &pp = (Handle(PColgp_HArray2OfPnt)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray2OfPntmyLowerRow()); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray2OfPntmyLowerCol()); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray2OfPntmyUpperRow()); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray2OfPntmyUpperCol()); + ShapeSchema_PColgp_FieldOfHArray2OfPnt::SWrite(pp->_CSFDB_GetPColgp_HArray2OfPntData(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PColgp_HArray2OfPnt::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_HArray2OfPnt::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PColgp_HArray2OfPnt::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_HArray2OfPnt) &pp = (Handle(PColgp_HArray2OfPnt)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Integer PColgp_HArray2OfPntmyLowerRow; + f.GetInteger(PColgp_HArray2OfPntmyLowerRow); + pp->_CSFDB_SetPColgp_HArray2OfPntmyLowerRow(PColgp_HArray2OfPntmyLowerRow); + + Standard_Integer PColgp_HArray2OfPntmyLowerCol; + f.GetInteger(PColgp_HArray2OfPntmyLowerCol); + pp->_CSFDB_SetPColgp_HArray2OfPntmyLowerCol(PColgp_HArray2OfPntmyLowerCol); + + Standard_Integer PColgp_HArray2OfPntmyUpperRow; + f.GetInteger(PColgp_HArray2OfPntmyUpperRow); + pp->_CSFDB_SetPColgp_HArray2OfPntmyUpperRow(PColgp_HArray2OfPntmyUpperRow); + + Standard_Integer PColgp_HArray2OfPntmyUpperCol; + f.GetInteger(PColgp_HArray2OfPntmyUpperCol); + pp->_CSFDB_SetPColgp_HArray2OfPntmyUpperCol(PColgp_HArray2OfPntmyUpperCol); + + ShapeSchema_PColgp_FieldOfHArray2OfPnt::SRead((PColgp_FieldOfHArray2OfPnt&)pp->_CSFDB_GetPColgp_HArray2OfPntData(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PColgp_HArray2OfPnt::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PColgp_HArray2OfPnt::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfPnt.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfPnt.hxx new file mode 100644 index 000000000..8967050aa --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfPnt.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColgp_HArray2OfPnt_HeaderFile +#define _ShapeSchema_PColgp_HArray2OfPnt_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PColgp_HArray2OfPnt_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PColgp_HArray2OfPnt,Storage_CallBack) + +class ShapeSchema_PColgp_HArray2OfPnt : public Storage_CallBack { +public: + ShapeSchema_PColgp_HArray2OfPnt() {} + Standard_EXPORT static void SAdd(const Handle(PColgp_HArray2OfPnt)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PColgp_HArray2OfPnt) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfPnt.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfPnt.ixx new file mode 100644 index 000000000..1f54c7e6d --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfPnt.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_PColgp_FieldOfHArray2OfPnt_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfPnt2d.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfPnt2d.cxx new file mode 100644 index 000000000..d638bd518 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfPnt2d.cxx @@ -0,0 +1,98 @@ +#ifndef _ShapeSchema_PColgp_HArray2OfPnt2d_HeaderFile +#include +#endif +#ifndef _PColgp_HArray2OfPnt2d_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PColgp_HArray2OfPnt2d,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PColgp_HArray2OfPnt2d,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PColgp_HArray2OfPnt2d::New() const +{ + return new PColgp_HArray2OfPnt2d(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PColgp_HArray2OfPnt2d::SAdd(const Handle(PColgp_HArray2OfPnt2d)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PColgp_HArray2OfPnt2d")) { + + } + } +} + +void ShapeSchema_PColgp_HArray2OfPnt2d::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_HArray2OfPnt2d::SAdd((Handle(PColgp_HArray2OfPnt2d)&)p,theSchema); +} + +void ShapeSchema_PColgp_HArray2OfPnt2d::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_HArray2OfPnt2d) &pp = (Handle(PColgp_HArray2OfPnt2d)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray2OfPnt2dmyLowerRow()); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray2OfPnt2dmyLowerCol()); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray2OfPnt2dmyUpperRow()); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray2OfPnt2dmyUpperCol()); + ShapeSchema_PColgp_FieldOfHArray2OfPnt2d::SWrite(pp->_CSFDB_GetPColgp_HArray2OfPnt2dData(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PColgp_HArray2OfPnt2d::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_HArray2OfPnt2d::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PColgp_HArray2OfPnt2d::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_HArray2OfPnt2d) &pp = (Handle(PColgp_HArray2OfPnt2d)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Integer PColgp_HArray2OfPnt2dmyLowerRow; + f.GetInteger(PColgp_HArray2OfPnt2dmyLowerRow); + pp->_CSFDB_SetPColgp_HArray2OfPnt2dmyLowerRow(PColgp_HArray2OfPnt2dmyLowerRow); + + Standard_Integer PColgp_HArray2OfPnt2dmyLowerCol; + f.GetInteger(PColgp_HArray2OfPnt2dmyLowerCol); + pp->_CSFDB_SetPColgp_HArray2OfPnt2dmyLowerCol(PColgp_HArray2OfPnt2dmyLowerCol); + + Standard_Integer PColgp_HArray2OfPnt2dmyUpperRow; + f.GetInteger(PColgp_HArray2OfPnt2dmyUpperRow); + pp->_CSFDB_SetPColgp_HArray2OfPnt2dmyUpperRow(PColgp_HArray2OfPnt2dmyUpperRow); + + Standard_Integer PColgp_HArray2OfPnt2dmyUpperCol; + f.GetInteger(PColgp_HArray2OfPnt2dmyUpperCol); + pp->_CSFDB_SetPColgp_HArray2OfPnt2dmyUpperCol(PColgp_HArray2OfPnt2dmyUpperCol); + + ShapeSchema_PColgp_FieldOfHArray2OfPnt2d::SRead((PColgp_FieldOfHArray2OfPnt2d&)pp->_CSFDB_GetPColgp_HArray2OfPnt2dData(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PColgp_HArray2OfPnt2d::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PColgp_HArray2OfPnt2d::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfPnt2d.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfPnt2d.hxx new file mode 100644 index 000000000..bbbe44612 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfPnt2d.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColgp_HArray2OfPnt2d_HeaderFile +#define _ShapeSchema_PColgp_HArray2OfPnt2d_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PColgp_HArray2OfPnt2d_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PColgp_HArray2OfPnt2d,Storage_CallBack) + +class ShapeSchema_PColgp_HArray2OfPnt2d : public Storage_CallBack { +public: + ShapeSchema_PColgp_HArray2OfPnt2d() {} + Standard_EXPORT static void SAdd(const Handle(PColgp_HArray2OfPnt2d)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PColgp_HArray2OfPnt2d) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfPnt2d.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfPnt2d.ixx new file mode 100644 index 000000000..fa2a2b8d5 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfPnt2d.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_PColgp_FieldOfHArray2OfPnt2d_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfVec.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfVec.cxx new file mode 100644 index 000000000..c3a12f2b9 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfVec.cxx @@ -0,0 +1,98 @@ +#ifndef _ShapeSchema_PColgp_HArray2OfVec_HeaderFile +#include +#endif +#ifndef _PColgp_HArray2OfVec_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PColgp_HArray2OfVec,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PColgp_HArray2OfVec,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PColgp_HArray2OfVec::New() const +{ + return new PColgp_HArray2OfVec(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PColgp_HArray2OfVec::SAdd(const Handle(PColgp_HArray2OfVec)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PColgp_HArray2OfVec")) { + + } + } +} + +void ShapeSchema_PColgp_HArray2OfVec::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_HArray2OfVec::SAdd((Handle(PColgp_HArray2OfVec)&)p,theSchema); +} + +void ShapeSchema_PColgp_HArray2OfVec::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_HArray2OfVec) &pp = (Handle(PColgp_HArray2OfVec)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray2OfVecmyLowerRow()); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray2OfVecmyLowerCol()); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray2OfVecmyUpperRow()); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray2OfVecmyUpperCol()); + ShapeSchema_PColgp_FieldOfHArray2OfVec::SWrite(pp->_CSFDB_GetPColgp_HArray2OfVecData(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PColgp_HArray2OfVec::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_HArray2OfVec::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PColgp_HArray2OfVec::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_HArray2OfVec) &pp = (Handle(PColgp_HArray2OfVec)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Integer PColgp_HArray2OfVecmyLowerRow; + f.GetInteger(PColgp_HArray2OfVecmyLowerRow); + pp->_CSFDB_SetPColgp_HArray2OfVecmyLowerRow(PColgp_HArray2OfVecmyLowerRow); + + Standard_Integer PColgp_HArray2OfVecmyLowerCol; + f.GetInteger(PColgp_HArray2OfVecmyLowerCol); + pp->_CSFDB_SetPColgp_HArray2OfVecmyLowerCol(PColgp_HArray2OfVecmyLowerCol); + + Standard_Integer PColgp_HArray2OfVecmyUpperRow; + f.GetInteger(PColgp_HArray2OfVecmyUpperRow); + pp->_CSFDB_SetPColgp_HArray2OfVecmyUpperRow(PColgp_HArray2OfVecmyUpperRow); + + Standard_Integer PColgp_HArray2OfVecmyUpperCol; + f.GetInteger(PColgp_HArray2OfVecmyUpperCol); + pp->_CSFDB_SetPColgp_HArray2OfVecmyUpperCol(PColgp_HArray2OfVecmyUpperCol); + + ShapeSchema_PColgp_FieldOfHArray2OfVec::SRead((PColgp_FieldOfHArray2OfVec&)pp->_CSFDB_GetPColgp_HArray2OfVecData(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PColgp_HArray2OfVec::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PColgp_HArray2OfVec::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfVec.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfVec.hxx new file mode 100644 index 000000000..6ad4efd84 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfVec.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColgp_HArray2OfVec_HeaderFile +#define _ShapeSchema_PColgp_HArray2OfVec_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PColgp_HArray2OfVec_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PColgp_HArray2OfVec,Storage_CallBack) + +class ShapeSchema_PColgp_HArray2OfVec : public Storage_CallBack { +public: + ShapeSchema_PColgp_HArray2OfVec() {} + Standard_EXPORT static void SAdd(const Handle(PColgp_HArray2OfVec)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PColgp_HArray2OfVec) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfVec.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfVec.ixx new file mode 100644 index 000000000..b95531ac8 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfVec.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_PColgp_FieldOfHArray2OfVec_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfVec2d.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfVec2d.cxx new file mode 100644 index 000000000..ba0bad669 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfVec2d.cxx @@ -0,0 +1,98 @@ +#ifndef _ShapeSchema_PColgp_HArray2OfVec2d_HeaderFile +#include +#endif +#ifndef _PColgp_HArray2OfVec2d_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PColgp_HArray2OfVec2d,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PColgp_HArray2OfVec2d,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PColgp_HArray2OfVec2d::New() const +{ + return new PColgp_HArray2OfVec2d(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PColgp_HArray2OfVec2d::SAdd(const Handle(PColgp_HArray2OfVec2d)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PColgp_HArray2OfVec2d")) { + + } + } +} + +void ShapeSchema_PColgp_HArray2OfVec2d::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_HArray2OfVec2d::SAdd((Handle(PColgp_HArray2OfVec2d)&)p,theSchema); +} + +void ShapeSchema_PColgp_HArray2OfVec2d::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_HArray2OfVec2d) &pp = (Handle(PColgp_HArray2OfVec2d)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray2OfVec2dmyLowerRow()); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray2OfVec2dmyLowerCol()); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray2OfVec2dmyUpperRow()); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray2OfVec2dmyUpperCol()); + ShapeSchema_PColgp_FieldOfHArray2OfVec2d::SWrite(pp->_CSFDB_GetPColgp_HArray2OfVec2dData(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PColgp_HArray2OfVec2d::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_HArray2OfVec2d::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PColgp_HArray2OfVec2d::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_HArray2OfVec2d) &pp = (Handle(PColgp_HArray2OfVec2d)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Integer PColgp_HArray2OfVec2dmyLowerRow; + f.GetInteger(PColgp_HArray2OfVec2dmyLowerRow); + pp->_CSFDB_SetPColgp_HArray2OfVec2dmyLowerRow(PColgp_HArray2OfVec2dmyLowerRow); + + Standard_Integer PColgp_HArray2OfVec2dmyLowerCol; + f.GetInteger(PColgp_HArray2OfVec2dmyLowerCol); + pp->_CSFDB_SetPColgp_HArray2OfVec2dmyLowerCol(PColgp_HArray2OfVec2dmyLowerCol); + + Standard_Integer PColgp_HArray2OfVec2dmyUpperRow; + f.GetInteger(PColgp_HArray2OfVec2dmyUpperRow); + pp->_CSFDB_SetPColgp_HArray2OfVec2dmyUpperRow(PColgp_HArray2OfVec2dmyUpperRow); + + Standard_Integer PColgp_HArray2OfVec2dmyUpperCol; + f.GetInteger(PColgp_HArray2OfVec2dmyUpperCol); + pp->_CSFDB_SetPColgp_HArray2OfVec2dmyUpperCol(PColgp_HArray2OfVec2dmyUpperCol); + + ShapeSchema_PColgp_FieldOfHArray2OfVec2d::SRead((PColgp_FieldOfHArray2OfVec2d&)pp->_CSFDB_GetPColgp_HArray2OfVec2dData(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PColgp_HArray2OfVec2d::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PColgp_HArray2OfVec2d::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfVec2d.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfVec2d.hxx new file mode 100644 index 000000000..607415010 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfVec2d.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColgp_HArray2OfVec2d_HeaderFile +#define _ShapeSchema_PColgp_HArray2OfVec2d_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PColgp_HArray2OfVec2d_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PColgp_HArray2OfVec2d,Storage_CallBack) + +class ShapeSchema_PColgp_HArray2OfVec2d : public Storage_CallBack { +public: + ShapeSchema_PColgp_HArray2OfVec2d() {} + Standard_EXPORT static void SAdd(const Handle(PColgp_HArray2OfVec2d)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PColgp_HArray2OfVec2d) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfVec2d.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfVec2d.ixx new file mode 100644 index 000000000..392703837 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfVec2d.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_PColgp_FieldOfHArray2OfVec2d_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfXY.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfXY.cxx new file mode 100644 index 000000000..018945106 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfXY.cxx @@ -0,0 +1,98 @@ +#ifndef _ShapeSchema_PColgp_HArray2OfXY_HeaderFile +#include +#endif +#ifndef _PColgp_HArray2OfXY_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PColgp_HArray2OfXY,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PColgp_HArray2OfXY,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PColgp_HArray2OfXY::New() const +{ + return new PColgp_HArray2OfXY(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PColgp_HArray2OfXY::SAdd(const Handle(PColgp_HArray2OfXY)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PColgp_HArray2OfXY")) { + + } + } +} + +void ShapeSchema_PColgp_HArray2OfXY::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_HArray2OfXY::SAdd((Handle(PColgp_HArray2OfXY)&)p,theSchema); +} + +void ShapeSchema_PColgp_HArray2OfXY::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_HArray2OfXY) &pp = (Handle(PColgp_HArray2OfXY)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray2OfXYmyLowerRow()); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray2OfXYmyLowerCol()); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray2OfXYmyUpperRow()); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray2OfXYmyUpperCol()); + ShapeSchema_PColgp_FieldOfHArray2OfXY::SWrite(pp->_CSFDB_GetPColgp_HArray2OfXYData(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PColgp_HArray2OfXY::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_HArray2OfXY::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PColgp_HArray2OfXY::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_HArray2OfXY) &pp = (Handle(PColgp_HArray2OfXY)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Integer PColgp_HArray2OfXYmyLowerRow; + f.GetInteger(PColgp_HArray2OfXYmyLowerRow); + pp->_CSFDB_SetPColgp_HArray2OfXYmyLowerRow(PColgp_HArray2OfXYmyLowerRow); + + Standard_Integer PColgp_HArray2OfXYmyLowerCol; + f.GetInteger(PColgp_HArray2OfXYmyLowerCol); + pp->_CSFDB_SetPColgp_HArray2OfXYmyLowerCol(PColgp_HArray2OfXYmyLowerCol); + + Standard_Integer PColgp_HArray2OfXYmyUpperRow; + f.GetInteger(PColgp_HArray2OfXYmyUpperRow); + pp->_CSFDB_SetPColgp_HArray2OfXYmyUpperRow(PColgp_HArray2OfXYmyUpperRow); + + Standard_Integer PColgp_HArray2OfXYmyUpperCol; + f.GetInteger(PColgp_HArray2OfXYmyUpperCol); + pp->_CSFDB_SetPColgp_HArray2OfXYmyUpperCol(PColgp_HArray2OfXYmyUpperCol); + + ShapeSchema_PColgp_FieldOfHArray2OfXY::SRead((PColgp_FieldOfHArray2OfXY&)pp->_CSFDB_GetPColgp_HArray2OfXYData(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PColgp_HArray2OfXY::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PColgp_HArray2OfXY::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfXY.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfXY.hxx new file mode 100644 index 000000000..7cfc8cdc9 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfXY.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColgp_HArray2OfXY_HeaderFile +#define _ShapeSchema_PColgp_HArray2OfXY_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PColgp_HArray2OfXY_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PColgp_HArray2OfXY,Storage_CallBack) + +class ShapeSchema_PColgp_HArray2OfXY : public Storage_CallBack { +public: + ShapeSchema_PColgp_HArray2OfXY() {} + Standard_EXPORT static void SAdd(const Handle(PColgp_HArray2OfXY)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PColgp_HArray2OfXY) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfXY.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfXY.ixx new file mode 100644 index 000000000..1fc5fb58d --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfXY.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_PColgp_FieldOfHArray2OfXY_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfXYZ.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfXYZ.cxx new file mode 100644 index 000000000..63d3db021 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfXYZ.cxx @@ -0,0 +1,98 @@ +#ifndef _ShapeSchema_PColgp_HArray2OfXYZ_HeaderFile +#include +#endif +#ifndef _PColgp_HArray2OfXYZ_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PColgp_HArray2OfXYZ,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PColgp_HArray2OfXYZ,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PColgp_HArray2OfXYZ::New() const +{ + return new PColgp_HArray2OfXYZ(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PColgp_HArray2OfXYZ::SAdd(const Handle(PColgp_HArray2OfXYZ)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PColgp_HArray2OfXYZ")) { + + } + } +} + +void ShapeSchema_PColgp_HArray2OfXYZ::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_HArray2OfXYZ::SAdd((Handle(PColgp_HArray2OfXYZ)&)p,theSchema); +} + +void ShapeSchema_PColgp_HArray2OfXYZ::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_HArray2OfXYZ) &pp = (Handle(PColgp_HArray2OfXYZ)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray2OfXYZmyLowerRow()); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray2OfXYZmyLowerCol()); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray2OfXYZmyUpperRow()); + f.PutInteger(pp->_CSFDB_GetPColgp_HArray2OfXYZmyUpperCol()); + ShapeSchema_PColgp_FieldOfHArray2OfXYZ::SWrite(pp->_CSFDB_GetPColgp_HArray2OfXYZData(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PColgp_HArray2OfXYZ::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_HArray2OfXYZ::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PColgp_HArray2OfXYZ::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_HArray2OfXYZ) &pp = (Handle(PColgp_HArray2OfXYZ)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Integer PColgp_HArray2OfXYZmyLowerRow; + f.GetInteger(PColgp_HArray2OfXYZmyLowerRow); + pp->_CSFDB_SetPColgp_HArray2OfXYZmyLowerRow(PColgp_HArray2OfXYZmyLowerRow); + + Standard_Integer PColgp_HArray2OfXYZmyLowerCol; + f.GetInteger(PColgp_HArray2OfXYZmyLowerCol); + pp->_CSFDB_SetPColgp_HArray2OfXYZmyLowerCol(PColgp_HArray2OfXYZmyLowerCol); + + Standard_Integer PColgp_HArray2OfXYZmyUpperRow; + f.GetInteger(PColgp_HArray2OfXYZmyUpperRow); + pp->_CSFDB_SetPColgp_HArray2OfXYZmyUpperRow(PColgp_HArray2OfXYZmyUpperRow); + + Standard_Integer PColgp_HArray2OfXYZmyUpperCol; + f.GetInteger(PColgp_HArray2OfXYZmyUpperCol); + pp->_CSFDB_SetPColgp_HArray2OfXYZmyUpperCol(PColgp_HArray2OfXYZmyUpperCol); + + ShapeSchema_PColgp_FieldOfHArray2OfXYZ::SRead((PColgp_FieldOfHArray2OfXYZ&)pp->_CSFDB_GetPColgp_HArray2OfXYZData(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PColgp_HArray2OfXYZ::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PColgp_HArray2OfXYZ::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfXYZ.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfXYZ.hxx new file mode 100644 index 000000000..4c5a96940 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfXYZ.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColgp_HArray2OfXYZ_HeaderFile +#define _ShapeSchema_PColgp_HArray2OfXYZ_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PColgp_HArray2OfXYZ_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PColgp_HArray2OfXYZ,Storage_CallBack) + +class ShapeSchema_PColgp_HArray2OfXYZ : public Storage_CallBack { +public: + ShapeSchema_PColgp_HArray2OfXYZ() {} + Standard_EXPORT static void SAdd(const Handle(PColgp_HArray2OfXYZ)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PColgp_HArray2OfXYZ) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfXYZ.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfXYZ.ixx new file mode 100644 index 000000000..932409770 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HArray2OfXYZ.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_PColgp_FieldOfHArray2OfXYZ_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HSequenceOfDir.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HSequenceOfDir.cxx new file mode 100644 index 000000000..a34774f34 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HSequenceOfDir.cxx @@ -0,0 +1,94 @@ +#ifndef _ShapeSchema_PColgp_HSequenceOfDir_HeaderFile +#include +#endif +#ifndef _PColgp_HSequenceOfDir_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PColgp_HSequenceOfDir,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PColgp_HSequenceOfDir,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PColgp_HSequenceOfDir::New() const +{ + return new PColgp_HSequenceOfDir(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PColgp_HSequenceOfDir::SAdd(const Handle(PColgp_HSequenceOfDir)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PColgp_HSequenceOfDir")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPColgp_HSequenceOfDirFirstItem()); + theSchema->PersistentToAdd(p->_CSFDB_GetPColgp_HSequenceOfDirLastItem()); + + } + } +} + +void ShapeSchema_PColgp_HSequenceOfDir::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_HSequenceOfDir::SAdd((Handle(PColgp_HSequenceOfDir)&)p,theSchema); +} + +void ShapeSchema_PColgp_HSequenceOfDir::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_HSequenceOfDir) &pp = (Handle(PColgp_HSequenceOfDir)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPColgp_HSequenceOfDirFirstItem(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPColgp_HSequenceOfDirLastItem(),f); + f.PutInteger(pp->_CSFDB_GetPColgp_HSequenceOfDirSize()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PColgp_HSequenceOfDir::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_HSequenceOfDir::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PColgp_HSequenceOfDir::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_HSequenceOfDir) &pp = (Handle(PColgp_HSequenceOfDir)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PColgp_SeqNodeOfHSequenceOfDir) PColgp_HSequenceOfDirFirstItem; + + theSchema->ReadPersistentReference(PColgp_HSequenceOfDirFirstItem,f); + pp->_CSFDB_SetPColgp_HSequenceOfDirFirstItem(PColgp_HSequenceOfDirFirstItem); + + Handle(PColgp_SeqNodeOfHSequenceOfDir) PColgp_HSequenceOfDirLastItem; + + theSchema->ReadPersistentReference(PColgp_HSequenceOfDirLastItem,f); + pp->_CSFDB_SetPColgp_HSequenceOfDirLastItem(PColgp_HSequenceOfDirLastItem); + + Standard_Integer PColgp_HSequenceOfDirSize; + f.GetInteger(PColgp_HSequenceOfDirSize); + pp->_CSFDB_SetPColgp_HSequenceOfDirSize(PColgp_HSequenceOfDirSize); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PColgp_HSequenceOfDir::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PColgp_HSequenceOfDir::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HSequenceOfDir.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HSequenceOfDir.hxx new file mode 100644 index 000000000..ab996122d --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HSequenceOfDir.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColgp_HSequenceOfDir_HeaderFile +#define _ShapeSchema_PColgp_HSequenceOfDir_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PColgp_HSequenceOfDir_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PColgp_HSequenceOfDir,Storage_CallBack) + +class ShapeSchema_PColgp_HSequenceOfDir : public Storage_CallBack { +public: + ShapeSchema_PColgp_HSequenceOfDir() {} + Standard_EXPORT static void SAdd(const Handle(PColgp_HSequenceOfDir)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PColgp_HSequenceOfDir) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HSequenceOfDir.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HSequenceOfDir.ixx new file mode 100644 index 000000000..a9def6ac0 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HSequenceOfDir.ixx @@ -0,0 +1,8 @@ +#include +#ifndef _ShapeSchema_PColgp_SeqNodeOfHSequenceOfDir_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColgp_SeqNodeOfHSequenceOfDir_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HSequenceOfPnt.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HSequenceOfPnt.cxx new file mode 100644 index 000000000..47610f5c6 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HSequenceOfPnt.cxx @@ -0,0 +1,94 @@ +#ifndef _ShapeSchema_PColgp_HSequenceOfPnt_HeaderFile +#include +#endif +#ifndef _PColgp_HSequenceOfPnt_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PColgp_HSequenceOfPnt,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PColgp_HSequenceOfPnt,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PColgp_HSequenceOfPnt::New() const +{ + return new PColgp_HSequenceOfPnt(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PColgp_HSequenceOfPnt::SAdd(const Handle(PColgp_HSequenceOfPnt)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PColgp_HSequenceOfPnt")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPColgp_HSequenceOfPntFirstItem()); + theSchema->PersistentToAdd(p->_CSFDB_GetPColgp_HSequenceOfPntLastItem()); + + } + } +} + +void ShapeSchema_PColgp_HSequenceOfPnt::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_HSequenceOfPnt::SAdd((Handle(PColgp_HSequenceOfPnt)&)p,theSchema); +} + +void ShapeSchema_PColgp_HSequenceOfPnt::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_HSequenceOfPnt) &pp = (Handle(PColgp_HSequenceOfPnt)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPColgp_HSequenceOfPntFirstItem(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPColgp_HSequenceOfPntLastItem(),f); + f.PutInteger(pp->_CSFDB_GetPColgp_HSequenceOfPntSize()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PColgp_HSequenceOfPnt::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_HSequenceOfPnt::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PColgp_HSequenceOfPnt::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_HSequenceOfPnt) &pp = (Handle(PColgp_HSequenceOfPnt)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PColgp_SeqNodeOfHSequenceOfPnt) PColgp_HSequenceOfPntFirstItem; + + theSchema->ReadPersistentReference(PColgp_HSequenceOfPntFirstItem,f); + pp->_CSFDB_SetPColgp_HSequenceOfPntFirstItem(PColgp_HSequenceOfPntFirstItem); + + Handle(PColgp_SeqNodeOfHSequenceOfPnt) PColgp_HSequenceOfPntLastItem; + + theSchema->ReadPersistentReference(PColgp_HSequenceOfPntLastItem,f); + pp->_CSFDB_SetPColgp_HSequenceOfPntLastItem(PColgp_HSequenceOfPntLastItem); + + Standard_Integer PColgp_HSequenceOfPntSize; + f.GetInteger(PColgp_HSequenceOfPntSize); + pp->_CSFDB_SetPColgp_HSequenceOfPntSize(PColgp_HSequenceOfPntSize); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PColgp_HSequenceOfPnt::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PColgp_HSequenceOfPnt::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HSequenceOfPnt.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HSequenceOfPnt.hxx new file mode 100644 index 000000000..86819e90b --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HSequenceOfPnt.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColgp_HSequenceOfPnt_HeaderFile +#define _ShapeSchema_PColgp_HSequenceOfPnt_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PColgp_HSequenceOfPnt_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PColgp_HSequenceOfPnt,Storage_CallBack) + +class ShapeSchema_PColgp_HSequenceOfPnt : public Storage_CallBack { +public: + ShapeSchema_PColgp_HSequenceOfPnt() {} + Standard_EXPORT static void SAdd(const Handle(PColgp_HSequenceOfPnt)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PColgp_HSequenceOfPnt) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HSequenceOfPnt.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HSequenceOfPnt.ixx new file mode 100644 index 000000000..4a488f86d --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HSequenceOfPnt.ixx @@ -0,0 +1,8 @@ +#include +#ifndef _ShapeSchema_PColgp_SeqNodeOfHSequenceOfPnt_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColgp_SeqNodeOfHSequenceOfPnt_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HSequenceOfVec.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HSequenceOfVec.cxx new file mode 100644 index 000000000..1b9575e1b --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HSequenceOfVec.cxx @@ -0,0 +1,94 @@ +#ifndef _ShapeSchema_PColgp_HSequenceOfVec_HeaderFile +#include +#endif +#ifndef _PColgp_HSequenceOfVec_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PColgp_HSequenceOfVec,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PColgp_HSequenceOfVec,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PColgp_HSequenceOfVec::New() const +{ + return new PColgp_HSequenceOfVec(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PColgp_HSequenceOfVec::SAdd(const Handle(PColgp_HSequenceOfVec)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PColgp_HSequenceOfVec")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPColgp_HSequenceOfVecFirstItem()); + theSchema->PersistentToAdd(p->_CSFDB_GetPColgp_HSequenceOfVecLastItem()); + + } + } +} + +void ShapeSchema_PColgp_HSequenceOfVec::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_HSequenceOfVec::SAdd((Handle(PColgp_HSequenceOfVec)&)p,theSchema); +} + +void ShapeSchema_PColgp_HSequenceOfVec::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_HSequenceOfVec) &pp = (Handle(PColgp_HSequenceOfVec)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPColgp_HSequenceOfVecFirstItem(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPColgp_HSequenceOfVecLastItem(),f); + f.PutInteger(pp->_CSFDB_GetPColgp_HSequenceOfVecSize()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PColgp_HSequenceOfVec::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_HSequenceOfVec::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PColgp_HSequenceOfVec::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_HSequenceOfVec) &pp = (Handle(PColgp_HSequenceOfVec)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PColgp_SeqNodeOfHSequenceOfVec) PColgp_HSequenceOfVecFirstItem; + + theSchema->ReadPersistentReference(PColgp_HSequenceOfVecFirstItem,f); + pp->_CSFDB_SetPColgp_HSequenceOfVecFirstItem(PColgp_HSequenceOfVecFirstItem); + + Handle(PColgp_SeqNodeOfHSequenceOfVec) PColgp_HSequenceOfVecLastItem; + + theSchema->ReadPersistentReference(PColgp_HSequenceOfVecLastItem,f); + pp->_CSFDB_SetPColgp_HSequenceOfVecLastItem(PColgp_HSequenceOfVecLastItem); + + Standard_Integer PColgp_HSequenceOfVecSize; + f.GetInteger(PColgp_HSequenceOfVecSize); + pp->_CSFDB_SetPColgp_HSequenceOfVecSize(PColgp_HSequenceOfVecSize); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PColgp_HSequenceOfVec::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PColgp_HSequenceOfVec::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HSequenceOfVec.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HSequenceOfVec.hxx new file mode 100644 index 000000000..e5cca98ee --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HSequenceOfVec.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColgp_HSequenceOfVec_HeaderFile +#define _ShapeSchema_PColgp_HSequenceOfVec_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PColgp_HSequenceOfVec_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PColgp_HSequenceOfVec,Storage_CallBack) + +class ShapeSchema_PColgp_HSequenceOfVec : public Storage_CallBack { +public: + ShapeSchema_PColgp_HSequenceOfVec() {} + Standard_EXPORT static void SAdd(const Handle(PColgp_HSequenceOfVec)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PColgp_HSequenceOfVec) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HSequenceOfVec.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HSequenceOfVec.ixx new file mode 100644 index 000000000..c9f4fe5b9 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HSequenceOfVec.ixx @@ -0,0 +1,8 @@ +#include +#ifndef _ShapeSchema_PColgp_SeqNodeOfHSequenceOfVec_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColgp_SeqNodeOfHSequenceOfVec_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HSequenceOfXYZ.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HSequenceOfXYZ.cxx new file mode 100644 index 000000000..a4e2600f3 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HSequenceOfXYZ.cxx @@ -0,0 +1,94 @@ +#ifndef _ShapeSchema_PColgp_HSequenceOfXYZ_HeaderFile +#include +#endif +#ifndef _PColgp_HSequenceOfXYZ_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PColgp_HSequenceOfXYZ,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PColgp_HSequenceOfXYZ,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PColgp_HSequenceOfXYZ::New() const +{ + return new PColgp_HSequenceOfXYZ(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PColgp_HSequenceOfXYZ::SAdd(const Handle(PColgp_HSequenceOfXYZ)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PColgp_HSequenceOfXYZ")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPColgp_HSequenceOfXYZFirstItem()); + theSchema->PersistentToAdd(p->_CSFDB_GetPColgp_HSequenceOfXYZLastItem()); + + } + } +} + +void ShapeSchema_PColgp_HSequenceOfXYZ::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_HSequenceOfXYZ::SAdd((Handle(PColgp_HSequenceOfXYZ)&)p,theSchema); +} + +void ShapeSchema_PColgp_HSequenceOfXYZ::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_HSequenceOfXYZ) &pp = (Handle(PColgp_HSequenceOfXYZ)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPColgp_HSequenceOfXYZFirstItem(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPColgp_HSequenceOfXYZLastItem(),f); + f.PutInteger(pp->_CSFDB_GetPColgp_HSequenceOfXYZSize()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PColgp_HSequenceOfXYZ::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_HSequenceOfXYZ::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PColgp_HSequenceOfXYZ::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_HSequenceOfXYZ) &pp = (Handle(PColgp_HSequenceOfXYZ)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PColgp_SeqNodeOfHSequenceOfXYZ) PColgp_HSequenceOfXYZFirstItem; + + theSchema->ReadPersistentReference(PColgp_HSequenceOfXYZFirstItem,f); + pp->_CSFDB_SetPColgp_HSequenceOfXYZFirstItem(PColgp_HSequenceOfXYZFirstItem); + + Handle(PColgp_SeqNodeOfHSequenceOfXYZ) PColgp_HSequenceOfXYZLastItem; + + theSchema->ReadPersistentReference(PColgp_HSequenceOfXYZLastItem,f); + pp->_CSFDB_SetPColgp_HSequenceOfXYZLastItem(PColgp_HSequenceOfXYZLastItem); + + Standard_Integer PColgp_HSequenceOfXYZSize; + f.GetInteger(PColgp_HSequenceOfXYZSize); + pp->_CSFDB_SetPColgp_HSequenceOfXYZSize(PColgp_HSequenceOfXYZSize); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PColgp_HSequenceOfXYZ::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PColgp_HSequenceOfXYZ::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HSequenceOfXYZ.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HSequenceOfXYZ.hxx new file mode 100644 index 000000000..fb9a5f073 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HSequenceOfXYZ.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColgp_HSequenceOfXYZ_HeaderFile +#define _ShapeSchema_PColgp_HSequenceOfXYZ_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PColgp_HSequenceOfXYZ_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PColgp_HSequenceOfXYZ,Storage_CallBack) + +class ShapeSchema_PColgp_HSequenceOfXYZ : public Storage_CallBack { +public: + ShapeSchema_PColgp_HSequenceOfXYZ() {} + Standard_EXPORT static void SAdd(const Handle(PColgp_HSequenceOfXYZ)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PColgp_HSequenceOfXYZ) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HSequenceOfXYZ.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HSequenceOfXYZ.ixx new file mode 100644 index 000000000..9af09abcd --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_HSequenceOfXYZ.ixx @@ -0,0 +1,8 @@ +#include +#ifndef _ShapeSchema_PColgp_SeqNodeOfHSequenceOfXYZ_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColgp_SeqNodeOfHSequenceOfXYZ_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_SeqNodeOfHSequenceOfDir.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_SeqNodeOfHSequenceOfDir.cxx new file mode 100644 index 000000000..be363f855 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_SeqNodeOfHSequenceOfDir.cxx @@ -0,0 +1,92 @@ +#ifndef _ShapeSchema_PColgp_SeqNodeOfHSequenceOfDir_HeaderFile +#include +#endif +#ifndef _PColgp_SeqNodeOfHSequenceOfDir_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PColgp_SeqNodeOfHSequenceOfDir,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PColgp_SeqNodeOfHSequenceOfDir,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PColgp_SeqNodeOfHSequenceOfDir::New() const +{ + return new PColgp_SeqNodeOfHSequenceOfDir(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PColgp_SeqNodeOfHSequenceOfDir::SAdd(const Handle(PColgp_SeqNodeOfHSequenceOfDir)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PColgp_SeqNodeOfHSequenceOfDir")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPColgp_SeqNodeOfHSequenceOfDirMyPrevious()); + theSchema->PersistentToAdd(p->_CSFDB_GetPColgp_SeqNodeOfHSequenceOfDirMyNext()); + + } + } +} + +void ShapeSchema_PColgp_SeqNodeOfHSequenceOfDir::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_SeqNodeOfHSequenceOfDir::SAdd((Handle(PColgp_SeqNodeOfHSequenceOfDir)&)p,theSchema); +} + +void ShapeSchema_PColgp_SeqNodeOfHSequenceOfDir::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_SeqNodeOfHSequenceOfDir) &pp = (Handle(PColgp_SeqNodeOfHSequenceOfDir)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPColgp_SeqNodeOfHSequenceOfDirMyPrevious(),f); + ShapeSchema_gp_Dir::SWrite(pp->_CSFDB_GetPColgp_SeqNodeOfHSequenceOfDirMyItem(),f,theSchema); + theSchema->WritePersistentReference(pp->_CSFDB_GetPColgp_SeqNodeOfHSequenceOfDirMyNext(),f); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PColgp_SeqNodeOfHSequenceOfDir::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_SeqNodeOfHSequenceOfDir::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PColgp_SeqNodeOfHSequenceOfDir::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_SeqNodeOfHSequenceOfDir) &pp = (Handle(PColgp_SeqNodeOfHSequenceOfDir)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PColgp_SeqNodeOfHSequenceOfDir) PColgp_SeqNodeOfHSequenceOfDirMyPrevious; + + theSchema->ReadPersistentReference(PColgp_SeqNodeOfHSequenceOfDirMyPrevious,f); + pp->_CSFDB_SetPColgp_SeqNodeOfHSequenceOfDirMyPrevious(PColgp_SeqNodeOfHSequenceOfDirMyPrevious); + + ShapeSchema_gp_Dir::SRead((gp_Dir&)pp->_CSFDB_GetPColgp_SeqNodeOfHSequenceOfDirMyItem(),f,theSchema); + + Handle(PColgp_SeqNodeOfHSequenceOfDir) PColgp_SeqNodeOfHSequenceOfDirMyNext; + + theSchema->ReadPersistentReference(PColgp_SeqNodeOfHSequenceOfDirMyNext,f); + pp->_CSFDB_SetPColgp_SeqNodeOfHSequenceOfDirMyNext(PColgp_SeqNodeOfHSequenceOfDirMyNext); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PColgp_SeqNodeOfHSequenceOfDir::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PColgp_SeqNodeOfHSequenceOfDir::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_SeqNodeOfHSequenceOfDir.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_SeqNodeOfHSequenceOfDir.hxx new file mode 100644 index 000000000..d2503266d --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_SeqNodeOfHSequenceOfDir.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColgp_SeqNodeOfHSequenceOfDir_HeaderFile +#define _ShapeSchema_PColgp_SeqNodeOfHSequenceOfDir_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PColgp_SeqNodeOfHSequenceOfDir_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PMMgt_PManaged_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PColgp_SeqNodeOfHSequenceOfDir,Storage_CallBack) + +class ShapeSchema_PColgp_SeqNodeOfHSequenceOfDir : public Storage_CallBack { +public: + ShapeSchema_PColgp_SeqNodeOfHSequenceOfDir() {} + Standard_EXPORT static void SAdd(const Handle(PColgp_SeqNodeOfHSequenceOfDir)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PColgp_SeqNodeOfHSequenceOfDir) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_SeqNodeOfHSequenceOfDir.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_SeqNodeOfHSequenceOfDir.ixx new file mode 100644 index 000000000..d6d4d020b --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_SeqNodeOfHSequenceOfDir.ixx @@ -0,0 +1,11 @@ +#include +#ifndef _ShapeSchema_PColgp_SeqNodeOfHSequenceOfDir_HeaderFile +#include +#endif +#ifndef _ShapeSchema_gp_Dir_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColgp_SeqNodeOfHSequenceOfDir_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_SeqNodeOfHSequenceOfPnt.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_SeqNodeOfHSequenceOfPnt.cxx new file mode 100644 index 000000000..8a161b19a --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_SeqNodeOfHSequenceOfPnt.cxx @@ -0,0 +1,92 @@ +#ifndef _ShapeSchema_PColgp_SeqNodeOfHSequenceOfPnt_HeaderFile +#include +#endif +#ifndef _PColgp_SeqNodeOfHSequenceOfPnt_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PColgp_SeqNodeOfHSequenceOfPnt,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PColgp_SeqNodeOfHSequenceOfPnt,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PColgp_SeqNodeOfHSequenceOfPnt::New() const +{ + return new PColgp_SeqNodeOfHSequenceOfPnt(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PColgp_SeqNodeOfHSequenceOfPnt::SAdd(const Handle(PColgp_SeqNodeOfHSequenceOfPnt)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PColgp_SeqNodeOfHSequenceOfPnt")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPColgp_SeqNodeOfHSequenceOfPntMyPrevious()); + theSchema->PersistentToAdd(p->_CSFDB_GetPColgp_SeqNodeOfHSequenceOfPntMyNext()); + + } + } +} + +void ShapeSchema_PColgp_SeqNodeOfHSequenceOfPnt::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_SeqNodeOfHSequenceOfPnt::SAdd((Handle(PColgp_SeqNodeOfHSequenceOfPnt)&)p,theSchema); +} + +void ShapeSchema_PColgp_SeqNodeOfHSequenceOfPnt::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_SeqNodeOfHSequenceOfPnt) &pp = (Handle(PColgp_SeqNodeOfHSequenceOfPnt)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPColgp_SeqNodeOfHSequenceOfPntMyPrevious(),f); + ShapeSchema_gp_Pnt::SWrite(pp->_CSFDB_GetPColgp_SeqNodeOfHSequenceOfPntMyItem(),f,theSchema); + theSchema->WritePersistentReference(pp->_CSFDB_GetPColgp_SeqNodeOfHSequenceOfPntMyNext(),f); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PColgp_SeqNodeOfHSequenceOfPnt::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_SeqNodeOfHSequenceOfPnt::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PColgp_SeqNodeOfHSequenceOfPnt::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_SeqNodeOfHSequenceOfPnt) &pp = (Handle(PColgp_SeqNodeOfHSequenceOfPnt)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PColgp_SeqNodeOfHSequenceOfPnt) PColgp_SeqNodeOfHSequenceOfPntMyPrevious; + + theSchema->ReadPersistentReference(PColgp_SeqNodeOfHSequenceOfPntMyPrevious,f); + pp->_CSFDB_SetPColgp_SeqNodeOfHSequenceOfPntMyPrevious(PColgp_SeqNodeOfHSequenceOfPntMyPrevious); + + ShapeSchema_gp_Pnt::SRead((gp_Pnt&)pp->_CSFDB_GetPColgp_SeqNodeOfHSequenceOfPntMyItem(),f,theSchema); + + Handle(PColgp_SeqNodeOfHSequenceOfPnt) PColgp_SeqNodeOfHSequenceOfPntMyNext; + + theSchema->ReadPersistentReference(PColgp_SeqNodeOfHSequenceOfPntMyNext,f); + pp->_CSFDB_SetPColgp_SeqNodeOfHSequenceOfPntMyNext(PColgp_SeqNodeOfHSequenceOfPntMyNext); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PColgp_SeqNodeOfHSequenceOfPnt::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PColgp_SeqNodeOfHSequenceOfPnt::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_SeqNodeOfHSequenceOfPnt.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_SeqNodeOfHSequenceOfPnt.hxx new file mode 100644 index 000000000..468b4e96e --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_SeqNodeOfHSequenceOfPnt.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColgp_SeqNodeOfHSequenceOfPnt_HeaderFile +#define _ShapeSchema_PColgp_SeqNodeOfHSequenceOfPnt_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PColgp_SeqNodeOfHSequenceOfPnt_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PMMgt_PManaged_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PColgp_SeqNodeOfHSequenceOfPnt,Storage_CallBack) + +class ShapeSchema_PColgp_SeqNodeOfHSequenceOfPnt : public Storage_CallBack { +public: + ShapeSchema_PColgp_SeqNodeOfHSequenceOfPnt() {} + Standard_EXPORT static void SAdd(const Handle(PColgp_SeqNodeOfHSequenceOfPnt)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PColgp_SeqNodeOfHSequenceOfPnt) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_SeqNodeOfHSequenceOfPnt.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_SeqNodeOfHSequenceOfPnt.ixx new file mode 100644 index 000000000..a6c20205d --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_SeqNodeOfHSequenceOfPnt.ixx @@ -0,0 +1,11 @@ +#include +#ifndef _ShapeSchema_PColgp_SeqNodeOfHSequenceOfPnt_HeaderFile +#include +#endif +#ifndef _ShapeSchema_gp_Pnt_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColgp_SeqNodeOfHSequenceOfPnt_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_SeqNodeOfHSequenceOfVec.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_SeqNodeOfHSequenceOfVec.cxx new file mode 100644 index 000000000..845d77c03 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_SeqNodeOfHSequenceOfVec.cxx @@ -0,0 +1,92 @@ +#ifndef _ShapeSchema_PColgp_SeqNodeOfHSequenceOfVec_HeaderFile +#include +#endif +#ifndef _PColgp_SeqNodeOfHSequenceOfVec_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PColgp_SeqNodeOfHSequenceOfVec,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PColgp_SeqNodeOfHSequenceOfVec,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PColgp_SeqNodeOfHSequenceOfVec::New() const +{ + return new PColgp_SeqNodeOfHSequenceOfVec(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PColgp_SeqNodeOfHSequenceOfVec::SAdd(const Handle(PColgp_SeqNodeOfHSequenceOfVec)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PColgp_SeqNodeOfHSequenceOfVec")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPColgp_SeqNodeOfHSequenceOfVecMyPrevious()); + theSchema->PersistentToAdd(p->_CSFDB_GetPColgp_SeqNodeOfHSequenceOfVecMyNext()); + + } + } +} + +void ShapeSchema_PColgp_SeqNodeOfHSequenceOfVec::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_SeqNodeOfHSequenceOfVec::SAdd((Handle(PColgp_SeqNodeOfHSequenceOfVec)&)p,theSchema); +} + +void ShapeSchema_PColgp_SeqNodeOfHSequenceOfVec::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_SeqNodeOfHSequenceOfVec) &pp = (Handle(PColgp_SeqNodeOfHSequenceOfVec)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPColgp_SeqNodeOfHSequenceOfVecMyPrevious(),f); + ShapeSchema_gp_Vec::SWrite(pp->_CSFDB_GetPColgp_SeqNodeOfHSequenceOfVecMyItem(),f,theSchema); + theSchema->WritePersistentReference(pp->_CSFDB_GetPColgp_SeqNodeOfHSequenceOfVecMyNext(),f); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PColgp_SeqNodeOfHSequenceOfVec::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_SeqNodeOfHSequenceOfVec::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PColgp_SeqNodeOfHSequenceOfVec::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_SeqNodeOfHSequenceOfVec) &pp = (Handle(PColgp_SeqNodeOfHSequenceOfVec)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PColgp_SeqNodeOfHSequenceOfVec) PColgp_SeqNodeOfHSequenceOfVecMyPrevious; + + theSchema->ReadPersistentReference(PColgp_SeqNodeOfHSequenceOfVecMyPrevious,f); + pp->_CSFDB_SetPColgp_SeqNodeOfHSequenceOfVecMyPrevious(PColgp_SeqNodeOfHSequenceOfVecMyPrevious); + + ShapeSchema_gp_Vec::SRead((gp_Vec&)pp->_CSFDB_GetPColgp_SeqNodeOfHSequenceOfVecMyItem(),f,theSchema); + + Handle(PColgp_SeqNodeOfHSequenceOfVec) PColgp_SeqNodeOfHSequenceOfVecMyNext; + + theSchema->ReadPersistentReference(PColgp_SeqNodeOfHSequenceOfVecMyNext,f); + pp->_CSFDB_SetPColgp_SeqNodeOfHSequenceOfVecMyNext(PColgp_SeqNodeOfHSequenceOfVecMyNext); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PColgp_SeqNodeOfHSequenceOfVec::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PColgp_SeqNodeOfHSequenceOfVec::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_SeqNodeOfHSequenceOfVec.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_SeqNodeOfHSequenceOfVec.hxx new file mode 100644 index 000000000..c041cc4e1 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_SeqNodeOfHSequenceOfVec.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColgp_SeqNodeOfHSequenceOfVec_HeaderFile +#define _ShapeSchema_PColgp_SeqNodeOfHSequenceOfVec_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PColgp_SeqNodeOfHSequenceOfVec_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PMMgt_PManaged_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PColgp_SeqNodeOfHSequenceOfVec,Storage_CallBack) + +class ShapeSchema_PColgp_SeqNodeOfHSequenceOfVec : public Storage_CallBack { +public: + ShapeSchema_PColgp_SeqNodeOfHSequenceOfVec() {} + Standard_EXPORT static void SAdd(const Handle(PColgp_SeqNodeOfHSequenceOfVec)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PColgp_SeqNodeOfHSequenceOfVec) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_SeqNodeOfHSequenceOfVec.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_SeqNodeOfHSequenceOfVec.ixx new file mode 100644 index 000000000..3cbfe8d62 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_SeqNodeOfHSequenceOfVec.ixx @@ -0,0 +1,11 @@ +#include +#ifndef _ShapeSchema_PColgp_SeqNodeOfHSequenceOfVec_HeaderFile +#include +#endif +#ifndef _ShapeSchema_gp_Vec_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColgp_SeqNodeOfHSequenceOfVec_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_SeqNodeOfHSequenceOfXYZ.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_SeqNodeOfHSequenceOfXYZ.cxx new file mode 100644 index 000000000..f10e6029c --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_SeqNodeOfHSequenceOfXYZ.cxx @@ -0,0 +1,92 @@ +#ifndef _ShapeSchema_PColgp_SeqNodeOfHSequenceOfXYZ_HeaderFile +#include +#endif +#ifndef _PColgp_SeqNodeOfHSequenceOfXYZ_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PColgp_SeqNodeOfHSequenceOfXYZ,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PColgp_SeqNodeOfHSequenceOfXYZ,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PColgp_SeqNodeOfHSequenceOfXYZ::New() const +{ + return new PColgp_SeqNodeOfHSequenceOfXYZ(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PColgp_SeqNodeOfHSequenceOfXYZ::SAdd(const Handle(PColgp_SeqNodeOfHSequenceOfXYZ)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PColgp_SeqNodeOfHSequenceOfXYZ")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPColgp_SeqNodeOfHSequenceOfXYZMyPrevious()); + theSchema->PersistentToAdd(p->_CSFDB_GetPColgp_SeqNodeOfHSequenceOfXYZMyNext()); + + } + } +} + +void ShapeSchema_PColgp_SeqNodeOfHSequenceOfXYZ::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_SeqNodeOfHSequenceOfXYZ::SAdd((Handle(PColgp_SeqNodeOfHSequenceOfXYZ)&)p,theSchema); +} + +void ShapeSchema_PColgp_SeqNodeOfHSequenceOfXYZ::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_SeqNodeOfHSequenceOfXYZ) &pp = (Handle(PColgp_SeqNodeOfHSequenceOfXYZ)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPColgp_SeqNodeOfHSequenceOfXYZMyPrevious(),f); + ShapeSchema_gp_XYZ::SWrite(pp->_CSFDB_GetPColgp_SeqNodeOfHSequenceOfXYZMyItem(),f,theSchema); + theSchema->WritePersistentReference(pp->_CSFDB_GetPColgp_SeqNodeOfHSequenceOfXYZMyNext(),f); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PColgp_SeqNodeOfHSequenceOfXYZ::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PColgp_SeqNodeOfHSequenceOfXYZ::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PColgp_SeqNodeOfHSequenceOfXYZ::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColgp_SeqNodeOfHSequenceOfXYZ) &pp = (Handle(PColgp_SeqNodeOfHSequenceOfXYZ)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PColgp_SeqNodeOfHSequenceOfXYZ) PColgp_SeqNodeOfHSequenceOfXYZMyPrevious; + + theSchema->ReadPersistentReference(PColgp_SeqNodeOfHSequenceOfXYZMyPrevious,f); + pp->_CSFDB_SetPColgp_SeqNodeOfHSequenceOfXYZMyPrevious(PColgp_SeqNodeOfHSequenceOfXYZMyPrevious); + + ShapeSchema_gp_XYZ::SRead((gp_XYZ&)pp->_CSFDB_GetPColgp_SeqNodeOfHSequenceOfXYZMyItem(),f,theSchema); + + Handle(PColgp_SeqNodeOfHSequenceOfXYZ) PColgp_SeqNodeOfHSequenceOfXYZMyNext; + + theSchema->ReadPersistentReference(PColgp_SeqNodeOfHSequenceOfXYZMyNext,f); + pp->_CSFDB_SetPColgp_SeqNodeOfHSequenceOfXYZMyNext(PColgp_SeqNodeOfHSequenceOfXYZMyNext); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PColgp_SeqNodeOfHSequenceOfXYZ::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PColgp_SeqNodeOfHSequenceOfXYZ::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_SeqNodeOfHSequenceOfXYZ.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_SeqNodeOfHSequenceOfXYZ.hxx new file mode 100644 index 000000000..27f8c07cb --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_SeqNodeOfHSequenceOfXYZ.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PColgp_SeqNodeOfHSequenceOfXYZ_HeaderFile +#define _ShapeSchema_PColgp_SeqNodeOfHSequenceOfXYZ_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PColgp_SeqNodeOfHSequenceOfXYZ_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PMMgt_PManaged_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PColgp_SeqNodeOfHSequenceOfXYZ,Storage_CallBack) + +class ShapeSchema_PColgp_SeqNodeOfHSequenceOfXYZ : public Storage_CallBack { +public: + ShapeSchema_PColgp_SeqNodeOfHSequenceOfXYZ() {} + Standard_EXPORT static void SAdd(const Handle(PColgp_SeqNodeOfHSequenceOfXYZ)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PColgp_SeqNodeOfHSequenceOfXYZ) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_SeqNodeOfHSequenceOfXYZ.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_SeqNodeOfHSequenceOfXYZ.ixx new file mode 100644 index 000000000..8194a85a1 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PColgp_SeqNodeOfHSequenceOfXYZ.ixx @@ -0,0 +1,11 @@ +#include +#ifndef _ShapeSchema_PColgp_SeqNodeOfHSequenceOfXYZ_HeaderFile +#include +#endif +#ifndef _ShapeSchema_gp_XYZ_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColgp_SeqNodeOfHSequenceOfXYZ_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PCollection_HAsciiString.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PCollection_HAsciiString.cxx new file mode 100644 index 000000000..441f841f1 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PCollection_HAsciiString.cxx @@ -0,0 +1,78 @@ +#ifndef _ShapeSchema_PCollection_HAsciiString_HeaderFile +#include +#endif +#ifndef _PCollection_HAsciiString_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PCollection_HAsciiString,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PCollection_HAsciiString,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PCollection_HAsciiString::New() const +{ + return new PCollection_HAsciiString(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PCollection_HAsciiString::SAdd(const Handle(PCollection_HAsciiString)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PCollection_HAsciiString")) { + + } + } +} + +void ShapeSchema_PCollection_HAsciiString::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PCollection_HAsciiString::SAdd((Handle(PCollection_HAsciiString)&)p,theSchema); +} + +void ShapeSchema_PCollection_HAsciiString::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PCollection_HAsciiString) &pp = (Handle(PCollection_HAsciiString)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + ShapeSchema_DBC_VArrayOfCharacter::SWrite(pp->_CSFDB_GetPCollection_HAsciiStringData(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PCollection_HAsciiString::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PCollection_HAsciiString::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PCollection_HAsciiString::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PCollection_HAsciiString) &pp = (Handle(PCollection_HAsciiString)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + ShapeSchema_DBC_VArrayOfCharacter::SRead((DBC_VArrayOfCharacter&)pp->_CSFDB_GetPCollection_HAsciiStringData(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PCollection_HAsciiString::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PCollection_HAsciiString::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PCollection_HAsciiString.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PCollection_HAsciiString.hxx new file mode 100644 index 000000000..78098d5c2 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PCollection_HAsciiString.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PCollection_HAsciiString_HeaderFile +#define _ShapeSchema_PCollection_HAsciiString_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PCollection_HAsciiString_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PCollection_HAsciiString,Storage_CallBack) + +class ShapeSchema_PCollection_HAsciiString : public Storage_CallBack { +public: + ShapeSchema_PCollection_HAsciiString() {} + Standard_EXPORT static void SAdd(const Handle(PCollection_HAsciiString)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PCollection_HAsciiString) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PCollection_HAsciiString.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PCollection_HAsciiString.ixx new file mode 100644 index 000000000..781afa53b --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PCollection_HAsciiString.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_DBC_VArrayOfCharacter_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PCollection_HExtendedString.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PCollection_HExtendedString.cxx new file mode 100644 index 000000000..751cfa16c --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PCollection_HExtendedString.cxx @@ -0,0 +1,78 @@ +#ifndef _ShapeSchema_PCollection_HExtendedString_HeaderFile +#include +#endif +#ifndef _PCollection_HExtendedString_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PCollection_HExtendedString,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PCollection_HExtendedString,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PCollection_HExtendedString::New() const +{ + return new PCollection_HExtendedString(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PCollection_HExtendedString::SAdd(const Handle(PCollection_HExtendedString)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PCollection_HExtendedString")) { + + } + } +} + +void ShapeSchema_PCollection_HExtendedString::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PCollection_HExtendedString::SAdd((Handle(PCollection_HExtendedString)&)p,theSchema); +} + +void ShapeSchema_PCollection_HExtendedString::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PCollection_HExtendedString) &pp = (Handle(PCollection_HExtendedString)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + ShapeSchema_DBC_VArrayOfExtCharacter::SWrite(pp->_CSFDB_GetPCollection_HExtendedStringData(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PCollection_HExtendedString::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PCollection_HExtendedString::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PCollection_HExtendedString::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PCollection_HExtendedString) &pp = (Handle(PCollection_HExtendedString)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + ShapeSchema_DBC_VArrayOfExtCharacter::SRead((DBC_VArrayOfExtCharacter&)pp->_CSFDB_GetPCollection_HExtendedStringData(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PCollection_HExtendedString::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PCollection_HExtendedString::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PCollection_HExtendedString.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PCollection_HExtendedString.hxx new file mode 100644 index 000000000..82aa55f25 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PCollection_HExtendedString.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PCollection_HExtendedString_HeaderFile +#define _ShapeSchema_PCollection_HExtendedString_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PCollection_HExtendedString_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PCollection_HExtendedString,Storage_CallBack) + +class ShapeSchema_PCollection_HExtendedString : public Storage_CallBack { +public: + ShapeSchema_PCollection_HExtendedString() {} + Standard_EXPORT static void SAdd(const Handle(PCollection_HExtendedString)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PCollection_HExtendedString) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PCollection_HExtendedString.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PCollection_HExtendedString.ixx new file mode 100644 index 000000000..27ea4a66f --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PCollection_HExtendedString.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_DBC_VArrayOfExtCharacter_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_AxisPlacement.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_AxisPlacement.cxx new file mode 100644 index 000000000..985639101 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_AxisPlacement.cxx @@ -0,0 +1,78 @@ +#ifndef _ShapeSchema_PGeom2d_AxisPlacement_HeaderFile +#include +#endif +#ifndef _PGeom2d_AxisPlacement_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom2d_AxisPlacement,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom2d_AxisPlacement,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom2d_AxisPlacement::New() const +{ + return new PGeom2d_AxisPlacement(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PGeom2d_AxisPlacement::SAdd(const Handle(PGeom2d_AxisPlacement)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom2d_AxisPlacement")) { + + } + } +} + +void ShapeSchema_PGeom2d_AxisPlacement::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom2d_AxisPlacement::SAdd((Handle(PGeom2d_AxisPlacement)&)p,theSchema); +} + +void ShapeSchema_PGeom2d_AxisPlacement::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom2d_AxisPlacement) &pp = (Handle(PGeom2d_AxisPlacement)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + ShapeSchema_gp_Ax2d::SWrite(pp->_CSFDB_GetPGeom2d_AxisPlacementaxis(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom2d_AxisPlacement::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom2d_AxisPlacement::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom2d_AxisPlacement::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom2d_AxisPlacement) &pp = (Handle(PGeom2d_AxisPlacement)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + ShapeSchema_gp_Ax2d::SRead((gp_Ax2d&)pp->_CSFDB_GetPGeom2d_AxisPlacementaxis(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom2d_AxisPlacement::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom2d_AxisPlacement::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_AxisPlacement.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_AxisPlacement.hxx new file mode 100644 index 000000000..32b0a0bc8 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_AxisPlacement.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom2d_AxisPlacement_HeaderFile +#define _ShapeSchema_PGeom2d_AxisPlacement_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom2d_AxisPlacement_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom2d_Geometry_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom2d_AxisPlacement,Storage_CallBack) + +class ShapeSchema_PGeom2d_AxisPlacement : public Storage_CallBack { +public: + ShapeSchema_PGeom2d_AxisPlacement() {} + Standard_EXPORT static void SAdd(const Handle(PGeom2d_AxisPlacement)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom2d_AxisPlacement) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_AxisPlacement.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_AxisPlacement.ixx new file mode 100644 index 000000000..46dedf1eb --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_AxisPlacement.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_gp_Ax2d_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_BSplineCurve.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_BSplineCurve.cxx new file mode 100644 index 000000000..3eb14c4c3 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_BSplineCurve.cxx @@ -0,0 +1,118 @@ +#ifndef _ShapeSchema_PGeom2d_BSplineCurve_HeaderFile +#include +#endif +#ifndef _PGeom2d_BSplineCurve_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom2d_BSplineCurve,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom2d_BSplineCurve,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom2d_BSplineCurve::New() const +{ + return new PGeom2d_BSplineCurve(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PGeom2d_BSplineCurve::SAdd(const Handle(PGeom2d_BSplineCurve)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom2d_BSplineCurve")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPGeom2d_BSplineCurvepoles()); + theSchema->PersistentToAdd(p->_CSFDB_GetPGeom2d_BSplineCurveweights()); + theSchema->PersistentToAdd(p->_CSFDB_GetPGeom2d_BSplineCurveknots()); + theSchema->PersistentToAdd(p->_CSFDB_GetPGeom2d_BSplineCurvemultiplicities()); + + } + } +} + +void ShapeSchema_PGeom2d_BSplineCurve::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom2d_BSplineCurve::SAdd((Handle(PGeom2d_BSplineCurve)&)p,theSchema); +} + +void ShapeSchema_PGeom2d_BSplineCurve::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom2d_BSplineCurve) &pp = (Handle(PGeom2d_BSplineCurve)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutBoolean(pp->_CSFDB_GetPGeom2d_BSplineCurverational()); + f.PutBoolean(pp->_CSFDB_GetPGeom2d_BSplineCurveperiodic()); + f.PutInteger(pp->_CSFDB_GetPGeom2d_BSplineCurvespineDegree()); + theSchema->WritePersistentReference(pp->_CSFDB_GetPGeom2d_BSplineCurvepoles(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPGeom2d_BSplineCurveweights(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPGeom2d_BSplineCurveknots(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPGeom2d_BSplineCurvemultiplicities(),f); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom2d_BSplineCurve::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom2d_BSplineCurve::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom2d_BSplineCurve::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom2d_BSplineCurve) &pp = (Handle(PGeom2d_BSplineCurve)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Boolean PGeom2d_BSplineCurverational; + f.GetBoolean(PGeom2d_BSplineCurverational); + pp->_CSFDB_SetPGeom2d_BSplineCurverational(PGeom2d_BSplineCurverational); + + Standard_Boolean PGeom2d_BSplineCurveperiodic; + f.GetBoolean(PGeom2d_BSplineCurveperiodic); + pp->_CSFDB_SetPGeom2d_BSplineCurveperiodic(PGeom2d_BSplineCurveperiodic); + + Standard_Integer PGeom2d_BSplineCurvespineDegree; + f.GetInteger(PGeom2d_BSplineCurvespineDegree); + pp->_CSFDB_SetPGeom2d_BSplineCurvespineDegree(PGeom2d_BSplineCurvespineDegree); + + Handle(PColgp_HArray1OfPnt2d) PGeom2d_BSplineCurvepoles; + + theSchema->ReadPersistentReference(PGeom2d_BSplineCurvepoles,f); + pp->_CSFDB_SetPGeom2d_BSplineCurvepoles(PGeom2d_BSplineCurvepoles); + + Handle(PColStd_HArray1OfReal) PGeom2d_BSplineCurveweights; + + theSchema->ReadPersistentReference(PGeom2d_BSplineCurveweights,f); + pp->_CSFDB_SetPGeom2d_BSplineCurveweights(PGeom2d_BSplineCurveweights); + + Handle(PColStd_HArray1OfReal) PGeom2d_BSplineCurveknots; + + theSchema->ReadPersistentReference(PGeom2d_BSplineCurveknots,f); + pp->_CSFDB_SetPGeom2d_BSplineCurveknots(PGeom2d_BSplineCurveknots); + + Handle(PColStd_HArray1OfInteger) PGeom2d_BSplineCurvemultiplicities; + + theSchema->ReadPersistentReference(PGeom2d_BSplineCurvemultiplicities,f); + pp->_CSFDB_SetPGeom2d_BSplineCurvemultiplicities(PGeom2d_BSplineCurvemultiplicities); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom2d_BSplineCurve::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom2d_BSplineCurve::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_BSplineCurve.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_BSplineCurve.hxx new file mode 100644 index 000000000..e0b187b52 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_BSplineCurve.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom2d_BSplineCurve_HeaderFile +#define _ShapeSchema_PGeom2d_BSplineCurve_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom2d_BSplineCurve_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom2d_BoundedCurve_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom2d_BSplineCurve,Storage_CallBack) + +class ShapeSchema_PGeom2d_BSplineCurve : public Storage_CallBack { +public: + ShapeSchema_PGeom2d_BSplineCurve() {} + Standard_EXPORT static void SAdd(const Handle(PGeom2d_BSplineCurve)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom2d_BSplineCurve) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_BSplineCurve.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_BSplineCurve.ixx new file mode 100644 index 000000000..8b2c7f007 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_BSplineCurve.ixx @@ -0,0 +1,14 @@ +#include +#ifndef _ShapeSchema_PColgp_HArray1OfPnt2d_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColStd_HArray1OfReal_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColStd_HArray1OfReal_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColStd_HArray1OfInteger_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_BezierCurve.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_BezierCurve.cxx new file mode 100644 index 000000000..d2cd8bc43 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_BezierCurve.cxx @@ -0,0 +1,94 @@ +#ifndef _ShapeSchema_PGeom2d_BezierCurve_HeaderFile +#include +#endif +#ifndef _PGeom2d_BezierCurve_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom2d_BezierCurve,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom2d_BezierCurve,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom2d_BezierCurve::New() const +{ + return new PGeom2d_BezierCurve(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PGeom2d_BezierCurve::SAdd(const Handle(PGeom2d_BezierCurve)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom2d_BezierCurve")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPGeom2d_BezierCurvepoles()); + theSchema->PersistentToAdd(p->_CSFDB_GetPGeom2d_BezierCurveweights()); + + } + } +} + +void ShapeSchema_PGeom2d_BezierCurve::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom2d_BezierCurve::SAdd((Handle(PGeom2d_BezierCurve)&)p,theSchema); +} + +void ShapeSchema_PGeom2d_BezierCurve::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom2d_BezierCurve) &pp = (Handle(PGeom2d_BezierCurve)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutBoolean(pp->_CSFDB_GetPGeom2d_BezierCurverational()); + theSchema->WritePersistentReference(pp->_CSFDB_GetPGeom2d_BezierCurvepoles(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPGeom2d_BezierCurveweights(),f); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom2d_BezierCurve::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom2d_BezierCurve::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom2d_BezierCurve::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom2d_BezierCurve) &pp = (Handle(PGeom2d_BezierCurve)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Boolean PGeom2d_BezierCurverational; + f.GetBoolean(PGeom2d_BezierCurverational); + pp->_CSFDB_SetPGeom2d_BezierCurverational(PGeom2d_BezierCurverational); + + Handle(PColgp_HArray1OfPnt2d) PGeom2d_BezierCurvepoles; + + theSchema->ReadPersistentReference(PGeom2d_BezierCurvepoles,f); + pp->_CSFDB_SetPGeom2d_BezierCurvepoles(PGeom2d_BezierCurvepoles); + + Handle(PColStd_HArray1OfReal) PGeom2d_BezierCurveweights; + + theSchema->ReadPersistentReference(PGeom2d_BezierCurveweights,f); + pp->_CSFDB_SetPGeom2d_BezierCurveweights(PGeom2d_BezierCurveweights); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom2d_BezierCurve::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom2d_BezierCurve::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_BezierCurve.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_BezierCurve.hxx new file mode 100644 index 000000000..10b980a85 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_BezierCurve.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom2d_BezierCurve_HeaderFile +#define _ShapeSchema_PGeom2d_BezierCurve_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom2d_BezierCurve_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom2d_BoundedCurve_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom2d_BezierCurve,Storage_CallBack) + +class ShapeSchema_PGeom2d_BezierCurve : public Storage_CallBack { +public: + ShapeSchema_PGeom2d_BezierCurve() {} + Standard_EXPORT static void SAdd(const Handle(PGeom2d_BezierCurve)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom2d_BezierCurve) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_BezierCurve.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_BezierCurve.ixx new file mode 100644 index 000000000..cde1c8b4e --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_BezierCurve.ixx @@ -0,0 +1,8 @@ +#include +#ifndef _ShapeSchema_PColgp_HArray1OfPnt2d_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColStd_HArray1OfReal_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_BoundedCurve.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_BoundedCurve.cxx new file mode 100644 index 000000000..e31f558f7 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_BoundedCurve.cxx @@ -0,0 +1,76 @@ +#ifndef _ShapeSchema_PGeom2d_BoundedCurve_HeaderFile +#include +#endif +#ifndef _PGeom2d_BoundedCurve_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom2d_BoundedCurve,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom2d_BoundedCurve,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom2d_BoundedCurve::New() const +{ + Handle(Standard_Persistent) NullObject; + return NullObject; +} + +void ShapeSchema_PGeom2d_BoundedCurve::SAdd(const Handle(PGeom2d_BoundedCurve)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom2d_BoundedCurve")) { + + } + } +} + +void ShapeSchema_PGeom2d_BoundedCurve::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom2d_BoundedCurve::SAdd((Handle(PGeom2d_BoundedCurve)&)p,theSchema); +} + +void ShapeSchema_PGeom2d_BoundedCurve::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom2d_BoundedCurve) &pp = (Handle(PGeom2d_BoundedCurve)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom2d_BoundedCurve::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom2d_BoundedCurve::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom2d_BoundedCurve::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom2d_BoundedCurve) &pp = (Handle(PGeom2d_BoundedCurve)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom2d_BoundedCurve::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom2d_BoundedCurve::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_BoundedCurve.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_BoundedCurve.hxx new file mode 100644 index 000000000..f3fbc0434 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_BoundedCurve.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom2d_BoundedCurve_HeaderFile +#define _ShapeSchema_PGeom2d_BoundedCurve_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom2d_BoundedCurve_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom2d_Curve_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom2d_BoundedCurve,Storage_CallBack) + +class ShapeSchema_PGeom2d_BoundedCurve : public Storage_CallBack { +public: + ShapeSchema_PGeom2d_BoundedCurve() {} + Standard_EXPORT static void SAdd(const Handle(PGeom2d_BoundedCurve)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom2d_BoundedCurve) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_BoundedCurve.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_BoundedCurve.ixx new file mode 100644 index 000000000..608a3c92c --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_BoundedCurve.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_CartesianPoint.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_CartesianPoint.cxx new file mode 100644 index 000000000..d22566a9d --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_CartesianPoint.cxx @@ -0,0 +1,78 @@ +#ifndef _ShapeSchema_PGeom2d_CartesianPoint_HeaderFile +#include +#endif +#ifndef _PGeom2d_CartesianPoint_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom2d_CartesianPoint,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom2d_CartesianPoint,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom2d_CartesianPoint::New() const +{ + return new PGeom2d_CartesianPoint(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PGeom2d_CartesianPoint::SAdd(const Handle(PGeom2d_CartesianPoint)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom2d_CartesianPoint")) { + + } + } +} + +void ShapeSchema_PGeom2d_CartesianPoint::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom2d_CartesianPoint::SAdd((Handle(PGeom2d_CartesianPoint)&)p,theSchema); +} + +void ShapeSchema_PGeom2d_CartesianPoint::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom2d_CartesianPoint) &pp = (Handle(PGeom2d_CartesianPoint)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + ShapeSchema_gp_Pnt2d::SWrite(pp->_CSFDB_GetPGeom2d_CartesianPointpnt(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom2d_CartesianPoint::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom2d_CartesianPoint::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom2d_CartesianPoint::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom2d_CartesianPoint) &pp = (Handle(PGeom2d_CartesianPoint)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + ShapeSchema_gp_Pnt2d::SRead((gp_Pnt2d&)pp->_CSFDB_GetPGeom2d_CartesianPointpnt(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom2d_CartesianPoint::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom2d_CartesianPoint::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_CartesianPoint.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_CartesianPoint.hxx new file mode 100644 index 000000000..16e093ebe --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_CartesianPoint.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom2d_CartesianPoint_HeaderFile +#define _ShapeSchema_PGeom2d_CartesianPoint_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom2d_CartesianPoint_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom2d_Point_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom2d_CartesianPoint,Storage_CallBack) + +class ShapeSchema_PGeom2d_CartesianPoint : public Storage_CallBack { +public: + ShapeSchema_PGeom2d_CartesianPoint() {} + Standard_EXPORT static void SAdd(const Handle(PGeom2d_CartesianPoint)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom2d_CartesianPoint) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_CartesianPoint.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_CartesianPoint.ixx new file mode 100644 index 000000000..12e726ae4 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_CartesianPoint.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_gp_Pnt2d_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Circle.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Circle.cxx new file mode 100644 index 000000000..9b026dc16 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Circle.cxx @@ -0,0 +1,83 @@ +#ifndef _ShapeSchema_PGeom2d_Circle_HeaderFile +#include +#endif +#ifndef _PGeom2d_Circle_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom2d_Circle,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom2d_Circle,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom2d_Circle::New() const +{ + return new PGeom2d_Circle(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PGeom2d_Circle::SAdd(const Handle(PGeom2d_Circle)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom2d_Circle")) { + + } + } +} + +void ShapeSchema_PGeom2d_Circle::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom2d_Circle::SAdd((Handle(PGeom2d_Circle)&)p,theSchema); +} + +void ShapeSchema_PGeom2d_Circle::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom2d_Circle) &pp = (Handle(PGeom2d_Circle)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + ShapeSchema_gp_Ax22d::SWrite(pp->_CSFDB_GetPGeom2d_Conicposition(),f,theSchema); + f.PutReal(pp->_CSFDB_GetPGeom2d_Circleradius()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom2d_Circle::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom2d_Circle::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom2d_Circle::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom2d_Circle) &pp = (Handle(PGeom2d_Circle)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + ShapeSchema_gp_Ax22d::SRead((gp_Ax22d&)pp->_CSFDB_GetPGeom2d_Conicposition(),f,theSchema); + + Standard_Real PGeom2d_Circleradius; + f.GetReal(PGeom2d_Circleradius); + pp->_CSFDB_SetPGeom2d_Circleradius(PGeom2d_Circleradius); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom2d_Circle::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom2d_Circle::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Circle.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Circle.hxx new file mode 100644 index 000000000..d4ffcf01a --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Circle.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom2d_Circle_HeaderFile +#define _ShapeSchema_PGeom2d_Circle_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom2d_Circle_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom2d_Conic_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom2d_Circle,Storage_CallBack) + +class ShapeSchema_PGeom2d_Circle : public Storage_CallBack { +public: + ShapeSchema_PGeom2d_Circle() {} + Standard_EXPORT static void SAdd(const Handle(PGeom2d_Circle)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom2d_Circle) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Circle.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Circle.ixx new file mode 100644 index 000000000..4f51a4cd1 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Circle.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Conic.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Conic.cxx new file mode 100644 index 000000000..87b0fa9eb --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Conic.cxx @@ -0,0 +1,79 @@ +#ifndef _ShapeSchema_PGeom2d_Conic_HeaderFile +#include +#endif +#ifndef _PGeom2d_Conic_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom2d_Conic,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom2d_Conic,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom2d_Conic::New() const +{ + Handle(Standard_Persistent) NullObject; + return NullObject; +} + +void ShapeSchema_PGeom2d_Conic::SAdd(const Handle(PGeom2d_Conic)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom2d_Conic")) { + + } + } +} + +void ShapeSchema_PGeom2d_Conic::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom2d_Conic::SAdd((Handle(PGeom2d_Conic)&)p,theSchema); +} + +void ShapeSchema_PGeom2d_Conic::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom2d_Conic) &pp = (Handle(PGeom2d_Conic)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + ShapeSchema_gp_Ax22d::SWrite(pp->_CSFDB_GetPGeom2d_Conicposition(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom2d_Conic::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom2d_Conic::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom2d_Conic::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom2d_Conic) &pp = (Handle(PGeom2d_Conic)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + ShapeSchema_gp_Ax22d::SRead((gp_Ax22d&)pp->_CSFDB_GetPGeom2d_Conicposition(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom2d_Conic::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom2d_Conic::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Conic.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Conic.hxx new file mode 100644 index 000000000..81b6ef4c1 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Conic.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom2d_Conic_HeaderFile +#define _ShapeSchema_PGeom2d_Conic_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom2d_Conic_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom2d_Curve_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom2d_Conic,Storage_CallBack) + +class ShapeSchema_PGeom2d_Conic : public Storage_CallBack { +public: + ShapeSchema_PGeom2d_Conic() {} + Standard_EXPORT static void SAdd(const Handle(PGeom2d_Conic)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom2d_Conic) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Conic.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Conic.ixx new file mode 100644 index 000000000..0dc04e7b4 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Conic.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_gp_Ax22d_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Curve.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Curve.cxx new file mode 100644 index 000000000..05a989135 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Curve.cxx @@ -0,0 +1,76 @@ +#ifndef _ShapeSchema_PGeom2d_Curve_HeaderFile +#include +#endif +#ifndef _PGeom2d_Curve_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom2d_Curve,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom2d_Curve,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom2d_Curve::New() const +{ + Handle(Standard_Persistent) NullObject; + return NullObject; +} + +void ShapeSchema_PGeom2d_Curve::SAdd(const Handle(PGeom2d_Curve)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom2d_Curve")) { + + } + } +} + +void ShapeSchema_PGeom2d_Curve::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom2d_Curve::SAdd((Handle(PGeom2d_Curve)&)p,theSchema); +} + +void ShapeSchema_PGeom2d_Curve::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom2d_Curve) &pp = (Handle(PGeom2d_Curve)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom2d_Curve::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom2d_Curve::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom2d_Curve::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom2d_Curve) &pp = (Handle(PGeom2d_Curve)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom2d_Curve::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom2d_Curve::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Curve.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Curve.hxx new file mode 100644 index 000000000..3f1cb7d67 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Curve.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom2d_Curve_HeaderFile +#define _ShapeSchema_PGeom2d_Curve_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom2d_Curve_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom2d_Geometry_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom2d_Curve,Storage_CallBack) + +class ShapeSchema_PGeom2d_Curve : public Storage_CallBack { +public: + ShapeSchema_PGeom2d_Curve() {} + Standard_EXPORT static void SAdd(const Handle(PGeom2d_Curve)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom2d_Curve) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Curve.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Curve.ixx new file mode 100644 index 000000000..52a114cb2 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Curve.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Direction.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Direction.cxx new file mode 100644 index 000000000..42a7e26ca --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Direction.cxx @@ -0,0 +1,78 @@ +#ifndef _ShapeSchema_PGeom2d_Direction_HeaderFile +#include +#endif +#ifndef _PGeom2d_Direction_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom2d_Direction,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom2d_Direction,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom2d_Direction::New() const +{ + return new PGeom2d_Direction(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PGeom2d_Direction::SAdd(const Handle(PGeom2d_Direction)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom2d_Direction")) { + + } + } +} + +void ShapeSchema_PGeom2d_Direction::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom2d_Direction::SAdd((Handle(PGeom2d_Direction)&)p,theSchema); +} + +void ShapeSchema_PGeom2d_Direction::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom2d_Direction) &pp = (Handle(PGeom2d_Direction)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + ShapeSchema_gp_Vec2d::SWrite(pp->_CSFDB_GetPGeom2d_Vectorvec(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom2d_Direction::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom2d_Direction::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom2d_Direction::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom2d_Direction) &pp = (Handle(PGeom2d_Direction)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + ShapeSchema_gp_Vec2d::SRead((gp_Vec2d&)pp->_CSFDB_GetPGeom2d_Vectorvec(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom2d_Direction::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom2d_Direction::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Direction.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Direction.hxx new file mode 100644 index 000000000..6ea3619a6 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Direction.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom2d_Direction_HeaderFile +#define _ShapeSchema_PGeom2d_Direction_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom2d_Direction_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom2d_Vector_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom2d_Direction,Storage_CallBack) + +class ShapeSchema_PGeom2d_Direction : public Storage_CallBack { +public: + ShapeSchema_PGeom2d_Direction() {} + Standard_EXPORT static void SAdd(const Handle(PGeom2d_Direction)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom2d_Direction) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Direction.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Direction.ixx new file mode 100644 index 000000000..a84072877 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Direction.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Ellipse.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Ellipse.cxx new file mode 100644 index 000000000..abcf88250 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Ellipse.cxx @@ -0,0 +1,88 @@ +#ifndef _ShapeSchema_PGeom2d_Ellipse_HeaderFile +#include +#endif +#ifndef _PGeom2d_Ellipse_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom2d_Ellipse,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom2d_Ellipse,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom2d_Ellipse::New() const +{ + return new PGeom2d_Ellipse(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PGeom2d_Ellipse::SAdd(const Handle(PGeom2d_Ellipse)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom2d_Ellipse")) { + + } + } +} + +void ShapeSchema_PGeom2d_Ellipse::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom2d_Ellipse::SAdd((Handle(PGeom2d_Ellipse)&)p,theSchema); +} + +void ShapeSchema_PGeom2d_Ellipse::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom2d_Ellipse) &pp = (Handle(PGeom2d_Ellipse)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + ShapeSchema_gp_Ax22d::SWrite(pp->_CSFDB_GetPGeom2d_Conicposition(),f,theSchema); + f.PutReal(pp->_CSFDB_GetPGeom2d_EllipsemajorRadius()); + f.PutReal(pp->_CSFDB_GetPGeom2d_EllipseminorRadius()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom2d_Ellipse::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom2d_Ellipse::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom2d_Ellipse::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom2d_Ellipse) &pp = (Handle(PGeom2d_Ellipse)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + ShapeSchema_gp_Ax22d::SRead((gp_Ax22d&)pp->_CSFDB_GetPGeom2d_Conicposition(),f,theSchema); + + Standard_Real PGeom2d_EllipsemajorRadius; + f.GetReal(PGeom2d_EllipsemajorRadius); + pp->_CSFDB_SetPGeom2d_EllipsemajorRadius(PGeom2d_EllipsemajorRadius); + + Standard_Real PGeom2d_EllipseminorRadius; + f.GetReal(PGeom2d_EllipseminorRadius); + pp->_CSFDB_SetPGeom2d_EllipseminorRadius(PGeom2d_EllipseminorRadius); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom2d_Ellipse::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom2d_Ellipse::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Ellipse.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Ellipse.hxx new file mode 100644 index 000000000..fc764df14 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Ellipse.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom2d_Ellipse_HeaderFile +#define _ShapeSchema_PGeom2d_Ellipse_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom2d_Ellipse_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom2d_Conic_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom2d_Ellipse,Storage_CallBack) + +class ShapeSchema_PGeom2d_Ellipse : public Storage_CallBack { +public: + ShapeSchema_PGeom2d_Ellipse() {} + Standard_EXPORT static void SAdd(const Handle(PGeom2d_Ellipse)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom2d_Ellipse) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Ellipse.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Ellipse.ixx new file mode 100644 index 000000000..4f51a4cd1 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Ellipse.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Geometry.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Geometry.cxx new file mode 100644 index 000000000..5c3eb70ee --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Geometry.cxx @@ -0,0 +1,76 @@ +#ifndef _ShapeSchema_PGeom2d_Geometry_HeaderFile +#include +#endif +#ifndef _PGeom2d_Geometry_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom2d_Geometry,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom2d_Geometry,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom2d_Geometry::New() const +{ + Handle(Standard_Persistent) NullObject; + return NullObject; +} + +void ShapeSchema_PGeom2d_Geometry::SAdd(const Handle(PGeom2d_Geometry)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom2d_Geometry")) { + + } + } +} + +void ShapeSchema_PGeom2d_Geometry::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom2d_Geometry::SAdd((Handle(PGeom2d_Geometry)&)p,theSchema); +} + +void ShapeSchema_PGeom2d_Geometry::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom2d_Geometry) &pp = (Handle(PGeom2d_Geometry)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom2d_Geometry::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom2d_Geometry::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom2d_Geometry::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom2d_Geometry) &pp = (Handle(PGeom2d_Geometry)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom2d_Geometry::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom2d_Geometry::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Geometry.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Geometry.hxx new file mode 100644 index 000000000..79fbd081c --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Geometry.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom2d_Geometry_HeaderFile +#define _ShapeSchema_PGeom2d_Geometry_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom2d_Geometry_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom2d_Geometry,Storage_CallBack) + +class ShapeSchema_PGeom2d_Geometry : public Storage_CallBack { +public: + ShapeSchema_PGeom2d_Geometry() {} + Standard_EXPORT static void SAdd(const Handle(PGeom2d_Geometry)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom2d_Geometry) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Geometry.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Geometry.ixx new file mode 100644 index 000000000..e948378d1 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Geometry.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Hyperbola.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Hyperbola.cxx new file mode 100644 index 000000000..63cb78117 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Hyperbola.cxx @@ -0,0 +1,88 @@ +#ifndef _ShapeSchema_PGeom2d_Hyperbola_HeaderFile +#include +#endif +#ifndef _PGeom2d_Hyperbola_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom2d_Hyperbola,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom2d_Hyperbola,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom2d_Hyperbola::New() const +{ + return new PGeom2d_Hyperbola(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PGeom2d_Hyperbola::SAdd(const Handle(PGeom2d_Hyperbola)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom2d_Hyperbola")) { + + } + } +} + +void ShapeSchema_PGeom2d_Hyperbola::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom2d_Hyperbola::SAdd((Handle(PGeom2d_Hyperbola)&)p,theSchema); +} + +void ShapeSchema_PGeom2d_Hyperbola::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom2d_Hyperbola) &pp = (Handle(PGeom2d_Hyperbola)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + ShapeSchema_gp_Ax22d::SWrite(pp->_CSFDB_GetPGeom2d_Conicposition(),f,theSchema); + f.PutReal(pp->_CSFDB_GetPGeom2d_HyperbolamajorRadius()); + f.PutReal(pp->_CSFDB_GetPGeom2d_HyperbolaminorRadius()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom2d_Hyperbola::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom2d_Hyperbola::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom2d_Hyperbola::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom2d_Hyperbola) &pp = (Handle(PGeom2d_Hyperbola)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + ShapeSchema_gp_Ax22d::SRead((gp_Ax22d&)pp->_CSFDB_GetPGeom2d_Conicposition(),f,theSchema); + + Standard_Real PGeom2d_HyperbolamajorRadius; + f.GetReal(PGeom2d_HyperbolamajorRadius); + pp->_CSFDB_SetPGeom2d_HyperbolamajorRadius(PGeom2d_HyperbolamajorRadius); + + Standard_Real PGeom2d_HyperbolaminorRadius; + f.GetReal(PGeom2d_HyperbolaminorRadius); + pp->_CSFDB_SetPGeom2d_HyperbolaminorRadius(PGeom2d_HyperbolaminorRadius); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom2d_Hyperbola::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom2d_Hyperbola::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Hyperbola.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Hyperbola.hxx new file mode 100644 index 000000000..18ab31aac --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Hyperbola.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom2d_Hyperbola_HeaderFile +#define _ShapeSchema_PGeom2d_Hyperbola_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom2d_Hyperbola_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom2d_Conic_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom2d_Hyperbola,Storage_CallBack) + +class ShapeSchema_PGeom2d_Hyperbola : public Storage_CallBack { +public: + ShapeSchema_PGeom2d_Hyperbola() {} + Standard_EXPORT static void SAdd(const Handle(PGeom2d_Hyperbola)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom2d_Hyperbola) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Hyperbola.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Hyperbola.ixx new file mode 100644 index 000000000..4f51a4cd1 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Hyperbola.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Line.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Line.cxx new file mode 100644 index 000000000..ced9fa36c --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Line.cxx @@ -0,0 +1,78 @@ +#ifndef _ShapeSchema_PGeom2d_Line_HeaderFile +#include +#endif +#ifndef _PGeom2d_Line_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom2d_Line,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom2d_Line,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom2d_Line::New() const +{ + return new PGeom2d_Line(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PGeom2d_Line::SAdd(const Handle(PGeom2d_Line)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom2d_Line")) { + + } + } +} + +void ShapeSchema_PGeom2d_Line::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom2d_Line::SAdd((Handle(PGeom2d_Line)&)p,theSchema); +} + +void ShapeSchema_PGeom2d_Line::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom2d_Line) &pp = (Handle(PGeom2d_Line)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + ShapeSchema_gp_Ax2d::SWrite(pp->_CSFDB_GetPGeom2d_Lineposition(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom2d_Line::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom2d_Line::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom2d_Line::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom2d_Line) &pp = (Handle(PGeom2d_Line)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + ShapeSchema_gp_Ax2d::SRead((gp_Ax2d&)pp->_CSFDB_GetPGeom2d_Lineposition(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom2d_Line::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom2d_Line::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Line.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Line.hxx new file mode 100644 index 000000000..cd20f9c3a --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Line.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom2d_Line_HeaderFile +#define _ShapeSchema_PGeom2d_Line_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom2d_Line_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom2d_Curve_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom2d_Line,Storage_CallBack) + +class ShapeSchema_PGeom2d_Line : public Storage_CallBack { +public: + ShapeSchema_PGeom2d_Line() {} + Standard_EXPORT static void SAdd(const Handle(PGeom2d_Line)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom2d_Line) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Line.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Line.ixx new file mode 100644 index 000000000..f84e9df5c --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Line.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_gp_Ax2d_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_OffsetCurve.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_OffsetCurve.cxx new file mode 100644 index 000000000..3d11c4e36 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_OffsetCurve.cxx @@ -0,0 +1,87 @@ +#ifndef _ShapeSchema_PGeom2d_OffsetCurve_HeaderFile +#include +#endif +#ifndef _PGeom2d_OffsetCurve_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom2d_OffsetCurve,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom2d_OffsetCurve,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom2d_OffsetCurve::New() const +{ + return new PGeom2d_OffsetCurve(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PGeom2d_OffsetCurve::SAdd(const Handle(PGeom2d_OffsetCurve)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom2d_OffsetCurve")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPGeom2d_OffsetCurvebasisCurve()); + + } + } +} + +void ShapeSchema_PGeom2d_OffsetCurve::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom2d_OffsetCurve::SAdd((Handle(PGeom2d_OffsetCurve)&)p,theSchema); +} + +void ShapeSchema_PGeom2d_OffsetCurve::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom2d_OffsetCurve) &pp = (Handle(PGeom2d_OffsetCurve)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPGeom2d_OffsetCurvebasisCurve(),f); + f.PutReal(pp->_CSFDB_GetPGeom2d_OffsetCurveoffsetValue()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom2d_OffsetCurve::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom2d_OffsetCurve::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom2d_OffsetCurve::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom2d_OffsetCurve) &pp = (Handle(PGeom2d_OffsetCurve)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PGeom2d_Curve) PGeom2d_OffsetCurvebasisCurve; + + theSchema->ReadPersistentReference(PGeom2d_OffsetCurvebasisCurve,f); + pp->_CSFDB_SetPGeom2d_OffsetCurvebasisCurve(PGeom2d_OffsetCurvebasisCurve); + + Standard_Real PGeom2d_OffsetCurveoffsetValue; + f.GetReal(PGeom2d_OffsetCurveoffsetValue); + pp->_CSFDB_SetPGeom2d_OffsetCurveoffsetValue(PGeom2d_OffsetCurveoffsetValue); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom2d_OffsetCurve::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom2d_OffsetCurve::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_OffsetCurve.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_OffsetCurve.hxx new file mode 100644 index 000000000..a531799a4 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_OffsetCurve.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom2d_OffsetCurve_HeaderFile +#define _ShapeSchema_PGeom2d_OffsetCurve_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom2d_OffsetCurve_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom2d_Curve_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom2d_OffsetCurve,Storage_CallBack) + +class ShapeSchema_PGeom2d_OffsetCurve : public Storage_CallBack { +public: + ShapeSchema_PGeom2d_OffsetCurve() {} + Standard_EXPORT static void SAdd(const Handle(PGeom2d_OffsetCurve)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom2d_OffsetCurve) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_OffsetCurve.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_OffsetCurve.ixx new file mode 100644 index 000000000..27baff306 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_OffsetCurve.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_PGeom2d_Curve_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Parabola.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Parabola.cxx new file mode 100644 index 000000000..9af7b2778 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Parabola.cxx @@ -0,0 +1,83 @@ +#ifndef _ShapeSchema_PGeom2d_Parabola_HeaderFile +#include +#endif +#ifndef _PGeom2d_Parabola_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom2d_Parabola,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom2d_Parabola,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom2d_Parabola::New() const +{ + return new PGeom2d_Parabola(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PGeom2d_Parabola::SAdd(const Handle(PGeom2d_Parabola)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom2d_Parabola")) { + + } + } +} + +void ShapeSchema_PGeom2d_Parabola::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom2d_Parabola::SAdd((Handle(PGeom2d_Parabola)&)p,theSchema); +} + +void ShapeSchema_PGeom2d_Parabola::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom2d_Parabola) &pp = (Handle(PGeom2d_Parabola)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + ShapeSchema_gp_Ax22d::SWrite(pp->_CSFDB_GetPGeom2d_Conicposition(),f,theSchema); + f.PutReal(pp->_CSFDB_GetPGeom2d_ParabolafocalLength()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom2d_Parabola::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom2d_Parabola::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom2d_Parabola::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom2d_Parabola) &pp = (Handle(PGeom2d_Parabola)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + ShapeSchema_gp_Ax22d::SRead((gp_Ax22d&)pp->_CSFDB_GetPGeom2d_Conicposition(),f,theSchema); + + Standard_Real PGeom2d_ParabolafocalLength; + f.GetReal(PGeom2d_ParabolafocalLength); + pp->_CSFDB_SetPGeom2d_ParabolafocalLength(PGeom2d_ParabolafocalLength); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom2d_Parabola::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom2d_Parabola::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Parabola.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Parabola.hxx new file mode 100644 index 000000000..f1b1a2bd4 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Parabola.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom2d_Parabola_HeaderFile +#define _ShapeSchema_PGeom2d_Parabola_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom2d_Parabola_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom2d_Conic_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom2d_Parabola,Storage_CallBack) + +class ShapeSchema_PGeom2d_Parabola : public Storage_CallBack { +public: + ShapeSchema_PGeom2d_Parabola() {} + Standard_EXPORT static void SAdd(const Handle(PGeom2d_Parabola)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom2d_Parabola) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Parabola.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Parabola.ixx new file mode 100644 index 000000000..4f51a4cd1 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Parabola.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Point.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Point.cxx new file mode 100644 index 000000000..4247dcb65 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Point.cxx @@ -0,0 +1,76 @@ +#ifndef _ShapeSchema_PGeom2d_Point_HeaderFile +#include +#endif +#ifndef _PGeom2d_Point_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom2d_Point,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom2d_Point,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom2d_Point::New() const +{ + Handle(Standard_Persistent) NullObject; + return NullObject; +} + +void ShapeSchema_PGeom2d_Point::SAdd(const Handle(PGeom2d_Point)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom2d_Point")) { + + } + } +} + +void ShapeSchema_PGeom2d_Point::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom2d_Point::SAdd((Handle(PGeom2d_Point)&)p,theSchema); +} + +void ShapeSchema_PGeom2d_Point::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom2d_Point) &pp = (Handle(PGeom2d_Point)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom2d_Point::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom2d_Point::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom2d_Point::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom2d_Point) &pp = (Handle(PGeom2d_Point)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom2d_Point::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom2d_Point::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Point.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Point.hxx new file mode 100644 index 000000000..95998df94 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Point.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom2d_Point_HeaderFile +#define _ShapeSchema_PGeom2d_Point_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom2d_Point_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom2d_Geometry_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom2d_Point,Storage_CallBack) + +class ShapeSchema_PGeom2d_Point : public Storage_CallBack { +public: + ShapeSchema_PGeom2d_Point() {} + Standard_EXPORT static void SAdd(const Handle(PGeom2d_Point)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom2d_Point) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Point.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Point.ixx new file mode 100644 index 000000000..52a114cb2 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Point.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Transformation.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Transformation.cxx new file mode 100644 index 000000000..f6744cf04 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Transformation.cxx @@ -0,0 +1,78 @@ +#ifndef _ShapeSchema_PGeom2d_Transformation_HeaderFile +#include +#endif +#ifndef _PGeom2d_Transformation_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom2d_Transformation,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom2d_Transformation,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom2d_Transformation::New() const +{ + return new PGeom2d_Transformation(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PGeom2d_Transformation::SAdd(const Handle(PGeom2d_Transformation)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom2d_Transformation")) { + + } + } +} + +void ShapeSchema_PGeom2d_Transformation::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom2d_Transformation::SAdd((Handle(PGeom2d_Transformation)&)p,theSchema); +} + +void ShapeSchema_PGeom2d_Transformation::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom2d_Transformation) &pp = (Handle(PGeom2d_Transformation)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + ShapeSchema_gp_Trsf2d::SWrite(pp->_CSFDB_GetPGeom2d_Transformationtrsf(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom2d_Transformation::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom2d_Transformation::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom2d_Transformation::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom2d_Transformation) &pp = (Handle(PGeom2d_Transformation)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + ShapeSchema_gp_Trsf2d::SRead((gp_Trsf2d&)pp->_CSFDB_GetPGeom2d_Transformationtrsf(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom2d_Transformation::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom2d_Transformation::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Transformation.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Transformation.hxx new file mode 100644 index 000000000..c634c0d75 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Transformation.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom2d_Transformation_HeaderFile +#define _ShapeSchema_PGeom2d_Transformation_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom2d_Transformation_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom2d_Transformation,Storage_CallBack) + +class ShapeSchema_PGeom2d_Transformation : public Storage_CallBack { +public: + ShapeSchema_PGeom2d_Transformation() {} + Standard_EXPORT static void SAdd(const Handle(PGeom2d_Transformation)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom2d_Transformation) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Transformation.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Transformation.ixx new file mode 100644 index 000000000..233f99ea6 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Transformation.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_gp_Trsf2d_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_TrimmedCurve.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_TrimmedCurve.cxx new file mode 100644 index 000000000..03f92510b --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_TrimmedCurve.cxx @@ -0,0 +1,92 @@ +#ifndef _ShapeSchema_PGeom2d_TrimmedCurve_HeaderFile +#include +#endif +#ifndef _PGeom2d_TrimmedCurve_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom2d_TrimmedCurve,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom2d_TrimmedCurve,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom2d_TrimmedCurve::New() const +{ + return new PGeom2d_TrimmedCurve(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PGeom2d_TrimmedCurve::SAdd(const Handle(PGeom2d_TrimmedCurve)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom2d_TrimmedCurve")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPGeom2d_TrimmedCurvebasisCurve()); + + } + } +} + +void ShapeSchema_PGeom2d_TrimmedCurve::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom2d_TrimmedCurve::SAdd((Handle(PGeom2d_TrimmedCurve)&)p,theSchema); +} + +void ShapeSchema_PGeom2d_TrimmedCurve::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom2d_TrimmedCurve) &pp = (Handle(PGeom2d_TrimmedCurve)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPGeom2d_TrimmedCurvebasisCurve(),f); + f.PutReal(pp->_CSFDB_GetPGeom2d_TrimmedCurvefirstU()); + f.PutReal(pp->_CSFDB_GetPGeom2d_TrimmedCurvelastU()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom2d_TrimmedCurve::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom2d_TrimmedCurve::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom2d_TrimmedCurve::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom2d_TrimmedCurve) &pp = (Handle(PGeom2d_TrimmedCurve)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PGeom2d_Curve) PGeom2d_TrimmedCurvebasisCurve; + + theSchema->ReadPersistentReference(PGeom2d_TrimmedCurvebasisCurve,f); + pp->_CSFDB_SetPGeom2d_TrimmedCurvebasisCurve(PGeom2d_TrimmedCurvebasisCurve); + + Standard_Real PGeom2d_TrimmedCurvefirstU; + f.GetReal(PGeom2d_TrimmedCurvefirstU); + pp->_CSFDB_SetPGeom2d_TrimmedCurvefirstU(PGeom2d_TrimmedCurvefirstU); + + Standard_Real PGeom2d_TrimmedCurvelastU; + f.GetReal(PGeom2d_TrimmedCurvelastU); + pp->_CSFDB_SetPGeom2d_TrimmedCurvelastU(PGeom2d_TrimmedCurvelastU); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom2d_TrimmedCurve::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom2d_TrimmedCurve::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_TrimmedCurve.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_TrimmedCurve.hxx new file mode 100644 index 000000000..b525bcedc --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_TrimmedCurve.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom2d_TrimmedCurve_HeaderFile +#define _ShapeSchema_PGeom2d_TrimmedCurve_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom2d_TrimmedCurve_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom2d_BoundedCurve_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom2d_TrimmedCurve,Storage_CallBack) + +class ShapeSchema_PGeom2d_TrimmedCurve : public Storage_CallBack { +public: + ShapeSchema_PGeom2d_TrimmedCurve() {} + Standard_EXPORT static void SAdd(const Handle(PGeom2d_TrimmedCurve)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom2d_TrimmedCurve) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_TrimmedCurve.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_TrimmedCurve.ixx new file mode 100644 index 000000000..b0dc97e88 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_TrimmedCurve.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_PGeom2d_Curve_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Vector.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Vector.cxx new file mode 100644 index 000000000..89bfa3309 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Vector.cxx @@ -0,0 +1,79 @@ +#ifndef _ShapeSchema_PGeom2d_Vector_HeaderFile +#include +#endif +#ifndef _PGeom2d_Vector_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom2d_Vector,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom2d_Vector,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom2d_Vector::New() const +{ + Handle(Standard_Persistent) NullObject; + return NullObject; +} + +void ShapeSchema_PGeom2d_Vector::SAdd(const Handle(PGeom2d_Vector)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom2d_Vector")) { + + } + } +} + +void ShapeSchema_PGeom2d_Vector::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom2d_Vector::SAdd((Handle(PGeom2d_Vector)&)p,theSchema); +} + +void ShapeSchema_PGeom2d_Vector::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom2d_Vector) &pp = (Handle(PGeom2d_Vector)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + ShapeSchema_gp_Vec2d::SWrite(pp->_CSFDB_GetPGeom2d_Vectorvec(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom2d_Vector::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom2d_Vector::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom2d_Vector::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom2d_Vector) &pp = (Handle(PGeom2d_Vector)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + ShapeSchema_gp_Vec2d::SRead((gp_Vec2d&)pp->_CSFDB_GetPGeom2d_Vectorvec(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom2d_Vector::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom2d_Vector::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Vector.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Vector.hxx new file mode 100644 index 000000000..3fae05b6f --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Vector.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom2d_Vector_HeaderFile +#define _ShapeSchema_PGeom2d_Vector_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom2d_Vector_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom2d_Geometry_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom2d_Vector,Storage_CallBack) + +class ShapeSchema_PGeom2d_Vector : public Storage_CallBack { +public: + ShapeSchema_PGeom2d_Vector() {} + Standard_EXPORT static void SAdd(const Handle(PGeom2d_Vector)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom2d_Vector) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Vector.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Vector.ixx new file mode 100644 index 000000000..1ffb5f790 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_Vector.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_gp_Vec2d_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_VectorWithMagnitude.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_VectorWithMagnitude.cxx new file mode 100644 index 000000000..33430b286 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_VectorWithMagnitude.cxx @@ -0,0 +1,78 @@ +#ifndef _ShapeSchema_PGeom2d_VectorWithMagnitude_HeaderFile +#include +#endif +#ifndef _PGeom2d_VectorWithMagnitude_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom2d_VectorWithMagnitude,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom2d_VectorWithMagnitude,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom2d_VectorWithMagnitude::New() const +{ + return new PGeom2d_VectorWithMagnitude(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PGeom2d_VectorWithMagnitude::SAdd(const Handle(PGeom2d_VectorWithMagnitude)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom2d_VectorWithMagnitude")) { + + } + } +} + +void ShapeSchema_PGeom2d_VectorWithMagnitude::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom2d_VectorWithMagnitude::SAdd((Handle(PGeom2d_VectorWithMagnitude)&)p,theSchema); +} + +void ShapeSchema_PGeom2d_VectorWithMagnitude::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom2d_VectorWithMagnitude) &pp = (Handle(PGeom2d_VectorWithMagnitude)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + ShapeSchema_gp_Vec2d::SWrite(pp->_CSFDB_GetPGeom2d_Vectorvec(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom2d_VectorWithMagnitude::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom2d_VectorWithMagnitude::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom2d_VectorWithMagnitude::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom2d_VectorWithMagnitude) &pp = (Handle(PGeom2d_VectorWithMagnitude)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + ShapeSchema_gp_Vec2d::SRead((gp_Vec2d&)pp->_CSFDB_GetPGeom2d_Vectorvec(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom2d_VectorWithMagnitude::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom2d_VectorWithMagnitude::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_VectorWithMagnitude.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_VectorWithMagnitude.hxx new file mode 100644 index 000000000..ef3a56a5c --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_VectorWithMagnitude.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom2d_VectorWithMagnitude_HeaderFile +#define _ShapeSchema_PGeom2d_VectorWithMagnitude_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom2d_VectorWithMagnitude_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom2d_Vector_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom2d_VectorWithMagnitude,Storage_CallBack) + +class ShapeSchema_PGeom2d_VectorWithMagnitude : public Storage_CallBack { +public: + ShapeSchema_PGeom2d_VectorWithMagnitude() {} + Standard_EXPORT static void SAdd(const Handle(PGeom2d_VectorWithMagnitude)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom2d_VectorWithMagnitude) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_VectorWithMagnitude.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_VectorWithMagnitude.ixx new file mode 100644 index 000000000..a84072877 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom2d_VectorWithMagnitude.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Axis1Placement.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Axis1Placement.cxx new file mode 100644 index 000000000..9a4ad3f97 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Axis1Placement.cxx @@ -0,0 +1,78 @@ +#ifndef _ShapeSchema_PGeom_Axis1Placement_HeaderFile +#include +#endif +#ifndef _PGeom_Axis1Placement_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom_Axis1Placement,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom_Axis1Placement,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom_Axis1Placement::New() const +{ + return new PGeom_Axis1Placement(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PGeom_Axis1Placement::SAdd(const Handle(PGeom_Axis1Placement)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom_Axis1Placement")) { + + } + } +} + +void ShapeSchema_PGeom_Axis1Placement::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_Axis1Placement::SAdd((Handle(PGeom_Axis1Placement)&)p,theSchema); +} + +void ShapeSchema_PGeom_Axis1Placement::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_Axis1Placement) &pp = (Handle(PGeom_Axis1Placement)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + ShapeSchema_gp_Ax1::SWrite(pp->_CSFDB_GetPGeom_AxisPlacementaxis(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom_Axis1Placement::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_Axis1Placement::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom_Axis1Placement::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_Axis1Placement) &pp = (Handle(PGeom_Axis1Placement)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + ShapeSchema_gp_Ax1::SRead((gp_Ax1&)pp->_CSFDB_GetPGeom_AxisPlacementaxis(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom_Axis1Placement::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom_Axis1Placement::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Axis1Placement.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Axis1Placement.hxx new file mode 100644 index 000000000..02fe228ff --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Axis1Placement.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom_Axis1Placement_HeaderFile +#define _ShapeSchema_PGeom_Axis1Placement_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom_Axis1Placement_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom_AxisPlacement_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom_Axis1Placement,Storage_CallBack) + +class ShapeSchema_PGeom_Axis1Placement : public Storage_CallBack { +public: + ShapeSchema_PGeom_Axis1Placement() {} + Standard_EXPORT static void SAdd(const Handle(PGeom_Axis1Placement)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom_Axis1Placement) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Axis1Placement.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Axis1Placement.ixx new file mode 100644 index 000000000..577636812 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Axis1Placement.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Axis2Placement.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Axis2Placement.cxx new file mode 100644 index 000000000..3a13a2c29 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Axis2Placement.cxx @@ -0,0 +1,81 @@ +#ifndef _ShapeSchema_PGeom_Axis2Placement_HeaderFile +#include +#endif +#ifndef _PGeom_Axis2Placement_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom_Axis2Placement,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom_Axis2Placement,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom_Axis2Placement::New() const +{ + return new PGeom_Axis2Placement(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PGeom_Axis2Placement::SAdd(const Handle(PGeom_Axis2Placement)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom_Axis2Placement")) { + + } + } +} + +void ShapeSchema_PGeom_Axis2Placement::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_Axis2Placement::SAdd((Handle(PGeom_Axis2Placement)&)p,theSchema); +} + +void ShapeSchema_PGeom_Axis2Placement::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_Axis2Placement) &pp = (Handle(PGeom_Axis2Placement)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + ShapeSchema_gp_Ax1::SWrite(pp->_CSFDB_GetPGeom_AxisPlacementaxis(),f,theSchema); + ShapeSchema_gp_Dir::SWrite(pp->_CSFDB_GetPGeom_Axis2PlacementxDirection(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom_Axis2Placement::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_Axis2Placement::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom_Axis2Placement::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_Axis2Placement) &pp = (Handle(PGeom_Axis2Placement)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + ShapeSchema_gp_Ax1::SRead((gp_Ax1&)pp->_CSFDB_GetPGeom_AxisPlacementaxis(),f,theSchema); + + ShapeSchema_gp_Dir::SRead((gp_Dir&)pp->_CSFDB_GetPGeom_Axis2PlacementxDirection(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom_Axis2Placement::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom_Axis2Placement::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Axis2Placement.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Axis2Placement.hxx new file mode 100644 index 000000000..a22cf0ce0 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Axis2Placement.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom_Axis2Placement_HeaderFile +#define _ShapeSchema_PGeom_Axis2Placement_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom_Axis2Placement_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom_AxisPlacement_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom_Axis2Placement,Storage_CallBack) + +class ShapeSchema_PGeom_Axis2Placement : public Storage_CallBack { +public: + ShapeSchema_PGeom_Axis2Placement() {} + Standard_EXPORT static void SAdd(const Handle(PGeom_Axis2Placement)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom_Axis2Placement) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Axis2Placement.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Axis2Placement.ixx new file mode 100644 index 000000000..4043d27e4 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Axis2Placement.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_gp_Dir_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_AxisPlacement.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_AxisPlacement.cxx new file mode 100644 index 000000000..02ec31e19 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_AxisPlacement.cxx @@ -0,0 +1,79 @@ +#ifndef _ShapeSchema_PGeom_AxisPlacement_HeaderFile +#include +#endif +#ifndef _PGeom_AxisPlacement_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom_AxisPlacement,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom_AxisPlacement,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom_AxisPlacement::New() const +{ + Handle(Standard_Persistent) NullObject; + return NullObject; +} + +void ShapeSchema_PGeom_AxisPlacement::SAdd(const Handle(PGeom_AxisPlacement)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom_AxisPlacement")) { + + } + } +} + +void ShapeSchema_PGeom_AxisPlacement::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_AxisPlacement::SAdd((Handle(PGeom_AxisPlacement)&)p,theSchema); +} + +void ShapeSchema_PGeom_AxisPlacement::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_AxisPlacement) &pp = (Handle(PGeom_AxisPlacement)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + ShapeSchema_gp_Ax1::SWrite(pp->_CSFDB_GetPGeom_AxisPlacementaxis(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom_AxisPlacement::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_AxisPlacement::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom_AxisPlacement::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_AxisPlacement) &pp = (Handle(PGeom_AxisPlacement)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + ShapeSchema_gp_Ax1::SRead((gp_Ax1&)pp->_CSFDB_GetPGeom_AxisPlacementaxis(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom_AxisPlacement::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom_AxisPlacement::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_AxisPlacement.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_AxisPlacement.hxx new file mode 100644 index 000000000..bc5cd9768 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_AxisPlacement.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom_AxisPlacement_HeaderFile +#define _ShapeSchema_PGeom_AxisPlacement_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom_AxisPlacement_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom_Geometry_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom_AxisPlacement,Storage_CallBack) + +class ShapeSchema_PGeom_AxisPlacement : public Storage_CallBack { +public: + ShapeSchema_PGeom_AxisPlacement() {} + Standard_EXPORT static void SAdd(const Handle(PGeom_AxisPlacement)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom_AxisPlacement) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_AxisPlacement.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_AxisPlacement.ixx new file mode 100644 index 000000000..86d9689cc --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_AxisPlacement.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_gp_Ax1_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BSplineCurve.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BSplineCurve.cxx new file mode 100644 index 000000000..fa3a3c4f3 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BSplineCurve.cxx @@ -0,0 +1,118 @@ +#ifndef _ShapeSchema_PGeom_BSplineCurve_HeaderFile +#include +#endif +#ifndef _PGeom_BSplineCurve_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom_BSplineCurve,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom_BSplineCurve,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom_BSplineCurve::New() const +{ + return new PGeom_BSplineCurve(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PGeom_BSplineCurve::SAdd(const Handle(PGeom_BSplineCurve)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom_BSplineCurve")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPGeom_BSplineCurvepoles()); + theSchema->PersistentToAdd(p->_CSFDB_GetPGeom_BSplineCurveweights()); + theSchema->PersistentToAdd(p->_CSFDB_GetPGeom_BSplineCurveknots()); + theSchema->PersistentToAdd(p->_CSFDB_GetPGeom_BSplineCurvemultiplicities()); + + } + } +} + +void ShapeSchema_PGeom_BSplineCurve::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_BSplineCurve::SAdd((Handle(PGeom_BSplineCurve)&)p,theSchema); +} + +void ShapeSchema_PGeom_BSplineCurve::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_BSplineCurve) &pp = (Handle(PGeom_BSplineCurve)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutBoolean(pp->_CSFDB_GetPGeom_BSplineCurverational()); + f.PutBoolean(pp->_CSFDB_GetPGeom_BSplineCurveperiodic()); + f.PutInteger(pp->_CSFDB_GetPGeom_BSplineCurvespineDegree()); + theSchema->WritePersistentReference(pp->_CSFDB_GetPGeom_BSplineCurvepoles(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPGeom_BSplineCurveweights(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPGeom_BSplineCurveknots(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPGeom_BSplineCurvemultiplicities(),f); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom_BSplineCurve::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_BSplineCurve::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom_BSplineCurve::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_BSplineCurve) &pp = (Handle(PGeom_BSplineCurve)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Boolean PGeom_BSplineCurverational; + f.GetBoolean(PGeom_BSplineCurverational); + pp->_CSFDB_SetPGeom_BSplineCurverational(PGeom_BSplineCurverational); + + Standard_Boolean PGeom_BSplineCurveperiodic; + f.GetBoolean(PGeom_BSplineCurveperiodic); + pp->_CSFDB_SetPGeom_BSplineCurveperiodic(PGeom_BSplineCurveperiodic); + + Standard_Integer PGeom_BSplineCurvespineDegree; + f.GetInteger(PGeom_BSplineCurvespineDegree); + pp->_CSFDB_SetPGeom_BSplineCurvespineDegree(PGeom_BSplineCurvespineDegree); + + Handle(PColgp_HArray1OfPnt) PGeom_BSplineCurvepoles; + + theSchema->ReadPersistentReference(PGeom_BSplineCurvepoles,f); + pp->_CSFDB_SetPGeom_BSplineCurvepoles(PGeom_BSplineCurvepoles); + + Handle(PColStd_HArray1OfReal) PGeom_BSplineCurveweights; + + theSchema->ReadPersistentReference(PGeom_BSplineCurveweights,f); + pp->_CSFDB_SetPGeom_BSplineCurveweights(PGeom_BSplineCurveweights); + + Handle(PColStd_HArray1OfReal) PGeom_BSplineCurveknots; + + theSchema->ReadPersistentReference(PGeom_BSplineCurveknots,f); + pp->_CSFDB_SetPGeom_BSplineCurveknots(PGeom_BSplineCurveknots); + + Handle(PColStd_HArray1OfInteger) PGeom_BSplineCurvemultiplicities; + + theSchema->ReadPersistentReference(PGeom_BSplineCurvemultiplicities,f); + pp->_CSFDB_SetPGeom_BSplineCurvemultiplicities(PGeom_BSplineCurvemultiplicities); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom_BSplineCurve::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom_BSplineCurve::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BSplineCurve.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BSplineCurve.hxx new file mode 100644 index 000000000..9fb3b1d66 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BSplineCurve.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom_BSplineCurve_HeaderFile +#define _ShapeSchema_PGeom_BSplineCurve_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom_BSplineCurve_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom_BoundedCurve_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom_BSplineCurve,Storage_CallBack) + +class ShapeSchema_PGeom_BSplineCurve : public Storage_CallBack { +public: + ShapeSchema_PGeom_BSplineCurve() {} + Standard_EXPORT static void SAdd(const Handle(PGeom_BSplineCurve)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom_BSplineCurve) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BSplineCurve.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BSplineCurve.ixx new file mode 100644 index 000000000..a4ef6723c --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BSplineCurve.ixx @@ -0,0 +1,14 @@ +#include +#ifndef _ShapeSchema_PColgp_HArray1OfPnt_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColStd_HArray1OfReal_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColStd_HArray1OfReal_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColStd_HArray1OfInteger_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BSplineSurface.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BSplineSurface.cxx new file mode 100644 index 000000000..58395fe7a --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BSplineSurface.cxx @@ -0,0 +1,147 @@ +#ifndef _ShapeSchema_PGeom_BSplineSurface_HeaderFile +#include +#endif +#ifndef _PGeom_BSplineSurface_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom_BSplineSurface,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom_BSplineSurface,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom_BSplineSurface::New() const +{ + return new PGeom_BSplineSurface(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PGeom_BSplineSurface::SAdd(const Handle(PGeom_BSplineSurface)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom_BSplineSurface")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPGeom_BSplineSurfacepoles()); + theSchema->PersistentToAdd(p->_CSFDB_GetPGeom_BSplineSurfaceweights()); + theSchema->PersistentToAdd(p->_CSFDB_GetPGeom_BSplineSurfaceuKnots()); + theSchema->PersistentToAdd(p->_CSFDB_GetPGeom_BSplineSurfacevKnots()); + theSchema->PersistentToAdd(p->_CSFDB_GetPGeom_BSplineSurfaceuMultiplicities()); + theSchema->PersistentToAdd(p->_CSFDB_GetPGeom_BSplineSurfacevMultiplicities()); + + } + } +} + +void ShapeSchema_PGeom_BSplineSurface::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_BSplineSurface::SAdd((Handle(PGeom_BSplineSurface)&)p,theSchema); +} + +void ShapeSchema_PGeom_BSplineSurface::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_BSplineSurface) &pp = (Handle(PGeom_BSplineSurface)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutBoolean(pp->_CSFDB_GetPGeom_BSplineSurfaceuRational()); + f.PutBoolean(pp->_CSFDB_GetPGeom_BSplineSurfacevRational()); + f.PutBoolean(pp->_CSFDB_GetPGeom_BSplineSurfaceuPeriodic()); + f.PutBoolean(pp->_CSFDB_GetPGeom_BSplineSurfacevPeriodic()); + f.PutInteger(pp->_CSFDB_GetPGeom_BSplineSurfaceuSpineDegree()); + f.PutInteger(pp->_CSFDB_GetPGeom_BSplineSurfacevSpineDegree()); + theSchema->WritePersistentReference(pp->_CSFDB_GetPGeom_BSplineSurfacepoles(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPGeom_BSplineSurfaceweights(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPGeom_BSplineSurfaceuKnots(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPGeom_BSplineSurfacevKnots(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPGeom_BSplineSurfaceuMultiplicities(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPGeom_BSplineSurfacevMultiplicities(),f); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom_BSplineSurface::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_BSplineSurface::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom_BSplineSurface::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_BSplineSurface) &pp = (Handle(PGeom_BSplineSurface)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Boolean PGeom_BSplineSurfaceuRational; + f.GetBoolean(PGeom_BSplineSurfaceuRational); + pp->_CSFDB_SetPGeom_BSplineSurfaceuRational(PGeom_BSplineSurfaceuRational); + + Standard_Boolean PGeom_BSplineSurfacevRational; + f.GetBoolean(PGeom_BSplineSurfacevRational); + pp->_CSFDB_SetPGeom_BSplineSurfacevRational(PGeom_BSplineSurfacevRational); + + Standard_Boolean PGeom_BSplineSurfaceuPeriodic; + f.GetBoolean(PGeom_BSplineSurfaceuPeriodic); + pp->_CSFDB_SetPGeom_BSplineSurfaceuPeriodic(PGeom_BSplineSurfaceuPeriodic); + + Standard_Boolean PGeom_BSplineSurfacevPeriodic; + f.GetBoolean(PGeom_BSplineSurfacevPeriodic); + pp->_CSFDB_SetPGeom_BSplineSurfacevPeriodic(PGeom_BSplineSurfacevPeriodic); + + Standard_Integer PGeom_BSplineSurfaceuSpineDegree; + f.GetInteger(PGeom_BSplineSurfaceuSpineDegree); + pp->_CSFDB_SetPGeom_BSplineSurfaceuSpineDegree(PGeom_BSplineSurfaceuSpineDegree); + + Standard_Integer PGeom_BSplineSurfacevSpineDegree; + f.GetInteger(PGeom_BSplineSurfacevSpineDegree); + pp->_CSFDB_SetPGeom_BSplineSurfacevSpineDegree(PGeom_BSplineSurfacevSpineDegree); + + Handle(PColgp_HArray2OfPnt) PGeom_BSplineSurfacepoles; + + theSchema->ReadPersistentReference(PGeom_BSplineSurfacepoles,f); + pp->_CSFDB_SetPGeom_BSplineSurfacepoles(PGeom_BSplineSurfacepoles); + + Handle(PColStd_HArray2OfReal) PGeom_BSplineSurfaceweights; + + theSchema->ReadPersistentReference(PGeom_BSplineSurfaceweights,f); + pp->_CSFDB_SetPGeom_BSplineSurfaceweights(PGeom_BSplineSurfaceweights); + + Handle(PColStd_HArray1OfReal) PGeom_BSplineSurfaceuKnots; + + theSchema->ReadPersistentReference(PGeom_BSplineSurfaceuKnots,f); + pp->_CSFDB_SetPGeom_BSplineSurfaceuKnots(PGeom_BSplineSurfaceuKnots); + + Handle(PColStd_HArray1OfReal) PGeom_BSplineSurfacevKnots; + + theSchema->ReadPersistentReference(PGeom_BSplineSurfacevKnots,f); + pp->_CSFDB_SetPGeom_BSplineSurfacevKnots(PGeom_BSplineSurfacevKnots); + + Handle(PColStd_HArray1OfInteger) PGeom_BSplineSurfaceuMultiplicities; + + theSchema->ReadPersistentReference(PGeom_BSplineSurfaceuMultiplicities,f); + pp->_CSFDB_SetPGeom_BSplineSurfaceuMultiplicities(PGeom_BSplineSurfaceuMultiplicities); + + Handle(PColStd_HArray1OfInteger) PGeom_BSplineSurfacevMultiplicities; + + theSchema->ReadPersistentReference(PGeom_BSplineSurfacevMultiplicities,f); + pp->_CSFDB_SetPGeom_BSplineSurfacevMultiplicities(PGeom_BSplineSurfacevMultiplicities); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom_BSplineSurface::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom_BSplineSurface::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BSplineSurface.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BSplineSurface.hxx new file mode 100644 index 000000000..b9454d331 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BSplineSurface.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom_BSplineSurface_HeaderFile +#define _ShapeSchema_PGeom_BSplineSurface_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom_BSplineSurface_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom_BoundedSurface_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom_BSplineSurface,Storage_CallBack) + +class ShapeSchema_PGeom_BSplineSurface : public Storage_CallBack { +public: + ShapeSchema_PGeom_BSplineSurface() {} + Standard_EXPORT static void SAdd(const Handle(PGeom_BSplineSurface)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom_BSplineSurface) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BSplineSurface.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BSplineSurface.ixx new file mode 100644 index 000000000..db0d84570 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BSplineSurface.ixx @@ -0,0 +1,20 @@ +#include +#ifndef _ShapeSchema_PColgp_HArray2OfPnt_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColStd_HArray2OfReal_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColStd_HArray1OfReal_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColStd_HArray1OfReal_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColStd_HArray1OfInteger_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColStd_HArray1OfInteger_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BezierCurve.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BezierCurve.cxx new file mode 100644 index 000000000..7ace72c6c --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BezierCurve.cxx @@ -0,0 +1,94 @@ +#ifndef _ShapeSchema_PGeom_BezierCurve_HeaderFile +#include +#endif +#ifndef _PGeom_BezierCurve_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom_BezierCurve,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom_BezierCurve,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom_BezierCurve::New() const +{ + return new PGeom_BezierCurve(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PGeom_BezierCurve::SAdd(const Handle(PGeom_BezierCurve)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom_BezierCurve")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPGeom_BezierCurvepoles()); + theSchema->PersistentToAdd(p->_CSFDB_GetPGeom_BezierCurveweights()); + + } + } +} + +void ShapeSchema_PGeom_BezierCurve::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_BezierCurve::SAdd((Handle(PGeom_BezierCurve)&)p,theSchema); +} + +void ShapeSchema_PGeom_BezierCurve::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_BezierCurve) &pp = (Handle(PGeom_BezierCurve)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutBoolean(pp->_CSFDB_GetPGeom_BezierCurverational()); + theSchema->WritePersistentReference(pp->_CSFDB_GetPGeom_BezierCurvepoles(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPGeom_BezierCurveweights(),f); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom_BezierCurve::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_BezierCurve::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom_BezierCurve::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_BezierCurve) &pp = (Handle(PGeom_BezierCurve)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Boolean PGeom_BezierCurverational; + f.GetBoolean(PGeom_BezierCurverational); + pp->_CSFDB_SetPGeom_BezierCurverational(PGeom_BezierCurverational); + + Handle(PColgp_HArray1OfPnt) PGeom_BezierCurvepoles; + + theSchema->ReadPersistentReference(PGeom_BezierCurvepoles,f); + pp->_CSFDB_SetPGeom_BezierCurvepoles(PGeom_BezierCurvepoles); + + Handle(PColStd_HArray1OfReal) PGeom_BezierCurveweights; + + theSchema->ReadPersistentReference(PGeom_BezierCurveweights,f); + pp->_CSFDB_SetPGeom_BezierCurveweights(PGeom_BezierCurveweights); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom_BezierCurve::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom_BezierCurve::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BezierCurve.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BezierCurve.hxx new file mode 100644 index 000000000..ba4d67e80 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BezierCurve.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom_BezierCurve_HeaderFile +#define _ShapeSchema_PGeom_BezierCurve_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom_BezierCurve_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom_BoundedCurve_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom_BezierCurve,Storage_CallBack) + +class ShapeSchema_PGeom_BezierCurve : public Storage_CallBack { +public: + ShapeSchema_PGeom_BezierCurve() {} + Standard_EXPORT static void SAdd(const Handle(PGeom_BezierCurve)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom_BezierCurve) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BezierCurve.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BezierCurve.ixx new file mode 100644 index 000000000..078d4eff8 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BezierCurve.ixx @@ -0,0 +1,8 @@ +#include +#ifndef _ShapeSchema_PColgp_HArray1OfPnt_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColStd_HArray1OfReal_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BezierSurface.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BezierSurface.cxx new file mode 100644 index 000000000..719b2189f --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BezierSurface.cxx @@ -0,0 +1,99 @@ +#ifndef _ShapeSchema_PGeom_BezierSurface_HeaderFile +#include +#endif +#ifndef _PGeom_BezierSurface_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom_BezierSurface,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom_BezierSurface,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom_BezierSurface::New() const +{ + return new PGeom_BezierSurface(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PGeom_BezierSurface::SAdd(const Handle(PGeom_BezierSurface)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom_BezierSurface")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPGeom_BezierSurfacepoles()); + theSchema->PersistentToAdd(p->_CSFDB_GetPGeom_BezierSurfaceweights()); + + } + } +} + +void ShapeSchema_PGeom_BezierSurface::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_BezierSurface::SAdd((Handle(PGeom_BezierSurface)&)p,theSchema); +} + +void ShapeSchema_PGeom_BezierSurface::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_BezierSurface) &pp = (Handle(PGeom_BezierSurface)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutBoolean(pp->_CSFDB_GetPGeom_BezierSurfaceuRational()); + f.PutBoolean(pp->_CSFDB_GetPGeom_BezierSurfacevRational()); + theSchema->WritePersistentReference(pp->_CSFDB_GetPGeom_BezierSurfacepoles(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPGeom_BezierSurfaceweights(),f); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom_BezierSurface::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_BezierSurface::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom_BezierSurface::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_BezierSurface) &pp = (Handle(PGeom_BezierSurface)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Boolean PGeom_BezierSurfaceuRational; + f.GetBoolean(PGeom_BezierSurfaceuRational); + pp->_CSFDB_SetPGeom_BezierSurfaceuRational(PGeom_BezierSurfaceuRational); + + Standard_Boolean PGeom_BezierSurfacevRational; + f.GetBoolean(PGeom_BezierSurfacevRational); + pp->_CSFDB_SetPGeom_BezierSurfacevRational(PGeom_BezierSurfacevRational); + + Handle(PColgp_HArray2OfPnt) PGeom_BezierSurfacepoles; + + theSchema->ReadPersistentReference(PGeom_BezierSurfacepoles,f); + pp->_CSFDB_SetPGeom_BezierSurfacepoles(PGeom_BezierSurfacepoles); + + Handle(PColStd_HArray2OfReal) PGeom_BezierSurfaceweights; + + theSchema->ReadPersistentReference(PGeom_BezierSurfaceweights,f); + pp->_CSFDB_SetPGeom_BezierSurfaceweights(PGeom_BezierSurfaceweights); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom_BezierSurface::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom_BezierSurface::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BezierSurface.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BezierSurface.hxx new file mode 100644 index 000000000..d6ff6d4cc --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BezierSurface.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom_BezierSurface_HeaderFile +#define _ShapeSchema_PGeom_BezierSurface_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom_BezierSurface_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom_BoundedSurface_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom_BezierSurface,Storage_CallBack) + +class ShapeSchema_PGeom_BezierSurface : public Storage_CallBack { +public: + ShapeSchema_PGeom_BezierSurface() {} + Standard_EXPORT static void SAdd(const Handle(PGeom_BezierSurface)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom_BezierSurface) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BezierSurface.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BezierSurface.ixx new file mode 100644 index 000000000..2880595f9 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BezierSurface.ixx @@ -0,0 +1,8 @@ +#include +#ifndef _ShapeSchema_PColgp_HArray2OfPnt_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColStd_HArray2OfReal_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BoundedCurve.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BoundedCurve.cxx new file mode 100644 index 000000000..437d27d4f --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BoundedCurve.cxx @@ -0,0 +1,76 @@ +#ifndef _ShapeSchema_PGeom_BoundedCurve_HeaderFile +#include +#endif +#ifndef _PGeom_BoundedCurve_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom_BoundedCurve,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom_BoundedCurve,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom_BoundedCurve::New() const +{ + Handle(Standard_Persistent) NullObject; + return NullObject; +} + +void ShapeSchema_PGeom_BoundedCurve::SAdd(const Handle(PGeom_BoundedCurve)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom_BoundedCurve")) { + + } + } +} + +void ShapeSchema_PGeom_BoundedCurve::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_BoundedCurve::SAdd((Handle(PGeom_BoundedCurve)&)p,theSchema); +} + +void ShapeSchema_PGeom_BoundedCurve::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_BoundedCurve) &pp = (Handle(PGeom_BoundedCurve)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom_BoundedCurve::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_BoundedCurve::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom_BoundedCurve::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_BoundedCurve) &pp = (Handle(PGeom_BoundedCurve)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom_BoundedCurve::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom_BoundedCurve::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BoundedCurve.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BoundedCurve.hxx new file mode 100644 index 000000000..cc208ede5 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BoundedCurve.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom_BoundedCurve_HeaderFile +#define _ShapeSchema_PGeom_BoundedCurve_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom_BoundedCurve_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom_Curve_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom_BoundedCurve,Storage_CallBack) + +class ShapeSchema_PGeom_BoundedCurve : public Storage_CallBack { +public: + ShapeSchema_PGeom_BoundedCurve() {} + Standard_EXPORT static void SAdd(const Handle(PGeom_BoundedCurve)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom_BoundedCurve) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BoundedCurve.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BoundedCurve.ixx new file mode 100644 index 000000000..d91357c71 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BoundedCurve.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BoundedSurface.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BoundedSurface.cxx new file mode 100644 index 000000000..a9637d742 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BoundedSurface.cxx @@ -0,0 +1,76 @@ +#ifndef _ShapeSchema_PGeom_BoundedSurface_HeaderFile +#include +#endif +#ifndef _PGeom_BoundedSurface_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom_BoundedSurface,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom_BoundedSurface,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom_BoundedSurface::New() const +{ + Handle(Standard_Persistent) NullObject; + return NullObject; +} + +void ShapeSchema_PGeom_BoundedSurface::SAdd(const Handle(PGeom_BoundedSurface)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom_BoundedSurface")) { + + } + } +} + +void ShapeSchema_PGeom_BoundedSurface::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_BoundedSurface::SAdd((Handle(PGeom_BoundedSurface)&)p,theSchema); +} + +void ShapeSchema_PGeom_BoundedSurface::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_BoundedSurface) &pp = (Handle(PGeom_BoundedSurface)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom_BoundedSurface::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_BoundedSurface::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom_BoundedSurface::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_BoundedSurface) &pp = (Handle(PGeom_BoundedSurface)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom_BoundedSurface::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom_BoundedSurface::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BoundedSurface.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BoundedSurface.hxx new file mode 100644 index 000000000..5b2b139f5 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BoundedSurface.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom_BoundedSurface_HeaderFile +#define _ShapeSchema_PGeom_BoundedSurface_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom_BoundedSurface_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom_Surface_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom_BoundedSurface,Storage_CallBack) + +class ShapeSchema_PGeom_BoundedSurface : public Storage_CallBack { +public: + ShapeSchema_PGeom_BoundedSurface() {} + Standard_EXPORT static void SAdd(const Handle(PGeom_BoundedSurface)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom_BoundedSurface) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BoundedSurface.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BoundedSurface.ixx new file mode 100644 index 000000000..34155172e --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_BoundedSurface.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_CartesianPoint.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_CartesianPoint.cxx new file mode 100644 index 000000000..e607cf071 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_CartesianPoint.cxx @@ -0,0 +1,78 @@ +#ifndef _ShapeSchema_PGeom_CartesianPoint_HeaderFile +#include +#endif +#ifndef _PGeom_CartesianPoint_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom_CartesianPoint,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom_CartesianPoint,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom_CartesianPoint::New() const +{ + return new PGeom_CartesianPoint(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PGeom_CartesianPoint::SAdd(const Handle(PGeom_CartesianPoint)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom_CartesianPoint")) { + + } + } +} + +void ShapeSchema_PGeom_CartesianPoint::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_CartesianPoint::SAdd((Handle(PGeom_CartesianPoint)&)p,theSchema); +} + +void ShapeSchema_PGeom_CartesianPoint::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_CartesianPoint) &pp = (Handle(PGeom_CartesianPoint)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + ShapeSchema_gp_Pnt::SWrite(pp->_CSFDB_GetPGeom_CartesianPointpnt(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom_CartesianPoint::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_CartesianPoint::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom_CartesianPoint::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_CartesianPoint) &pp = (Handle(PGeom_CartesianPoint)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + ShapeSchema_gp_Pnt::SRead((gp_Pnt&)pp->_CSFDB_GetPGeom_CartesianPointpnt(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom_CartesianPoint::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom_CartesianPoint::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_CartesianPoint.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_CartesianPoint.hxx new file mode 100644 index 000000000..726a30933 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_CartesianPoint.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom_CartesianPoint_HeaderFile +#define _ShapeSchema_PGeom_CartesianPoint_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom_CartesianPoint_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom_Point_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom_CartesianPoint,Storage_CallBack) + +class ShapeSchema_PGeom_CartesianPoint : public Storage_CallBack { +public: + ShapeSchema_PGeom_CartesianPoint() {} + Standard_EXPORT static void SAdd(const Handle(PGeom_CartesianPoint)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom_CartesianPoint) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_CartesianPoint.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_CartesianPoint.ixx new file mode 100644 index 000000000..3f17f4764 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_CartesianPoint.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_gp_Pnt_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Circle.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Circle.cxx new file mode 100644 index 000000000..8457b1f4d --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Circle.cxx @@ -0,0 +1,83 @@ +#ifndef _ShapeSchema_PGeom_Circle_HeaderFile +#include +#endif +#ifndef _PGeom_Circle_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom_Circle,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom_Circle,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom_Circle::New() const +{ + return new PGeom_Circle(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PGeom_Circle::SAdd(const Handle(PGeom_Circle)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom_Circle")) { + + } + } +} + +void ShapeSchema_PGeom_Circle::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_Circle::SAdd((Handle(PGeom_Circle)&)p,theSchema); +} + +void ShapeSchema_PGeom_Circle::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_Circle) &pp = (Handle(PGeom_Circle)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + ShapeSchema_gp_Ax2::SWrite(pp->_CSFDB_GetPGeom_Conicposition(),f,theSchema); + f.PutReal(pp->_CSFDB_GetPGeom_Circleradius()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom_Circle::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_Circle::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom_Circle::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_Circle) &pp = (Handle(PGeom_Circle)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + ShapeSchema_gp_Ax2::SRead((gp_Ax2&)pp->_CSFDB_GetPGeom_Conicposition(),f,theSchema); + + Standard_Real PGeom_Circleradius; + f.GetReal(PGeom_Circleradius); + pp->_CSFDB_SetPGeom_Circleradius(PGeom_Circleradius); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom_Circle::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom_Circle::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Circle.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Circle.hxx new file mode 100644 index 000000000..1afb618c6 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Circle.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom_Circle_HeaderFile +#define _ShapeSchema_PGeom_Circle_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom_Circle_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom_Conic_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom_Circle,Storage_CallBack) + +class ShapeSchema_PGeom_Circle : public Storage_CallBack { +public: + ShapeSchema_PGeom_Circle() {} + Standard_EXPORT static void SAdd(const Handle(PGeom_Circle)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom_Circle) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Circle.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Circle.ixx new file mode 100644 index 000000000..4992b3b86 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Circle.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Conic.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Conic.cxx new file mode 100644 index 000000000..e8ec95fb2 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Conic.cxx @@ -0,0 +1,79 @@ +#ifndef _ShapeSchema_PGeom_Conic_HeaderFile +#include +#endif +#ifndef _PGeom_Conic_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom_Conic,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom_Conic,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom_Conic::New() const +{ + Handle(Standard_Persistent) NullObject; + return NullObject; +} + +void ShapeSchema_PGeom_Conic::SAdd(const Handle(PGeom_Conic)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom_Conic")) { + + } + } +} + +void ShapeSchema_PGeom_Conic::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_Conic::SAdd((Handle(PGeom_Conic)&)p,theSchema); +} + +void ShapeSchema_PGeom_Conic::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_Conic) &pp = (Handle(PGeom_Conic)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + ShapeSchema_gp_Ax2::SWrite(pp->_CSFDB_GetPGeom_Conicposition(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom_Conic::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_Conic::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom_Conic::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_Conic) &pp = (Handle(PGeom_Conic)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + ShapeSchema_gp_Ax2::SRead((gp_Ax2&)pp->_CSFDB_GetPGeom_Conicposition(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom_Conic::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom_Conic::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Conic.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Conic.hxx new file mode 100644 index 000000000..0a82da909 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Conic.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom_Conic_HeaderFile +#define _ShapeSchema_PGeom_Conic_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom_Conic_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom_Curve_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom_Conic,Storage_CallBack) + +class ShapeSchema_PGeom_Conic : public Storage_CallBack { +public: + ShapeSchema_PGeom_Conic() {} + Standard_EXPORT static void SAdd(const Handle(PGeom_Conic)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom_Conic) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Conic.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Conic.ixx new file mode 100644 index 000000000..713d73187 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Conic.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_gp_Ax2_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_ConicalSurface.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_ConicalSurface.cxx new file mode 100644 index 000000000..0fd72bcbd --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_ConicalSurface.cxx @@ -0,0 +1,88 @@ +#ifndef _ShapeSchema_PGeom_ConicalSurface_HeaderFile +#include +#endif +#ifndef _PGeom_ConicalSurface_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom_ConicalSurface,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom_ConicalSurface,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom_ConicalSurface::New() const +{ + return new PGeom_ConicalSurface(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PGeom_ConicalSurface::SAdd(const Handle(PGeom_ConicalSurface)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom_ConicalSurface")) { + + } + } +} + +void ShapeSchema_PGeom_ConicalSurface::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_ConicalSurface::SAdd((Handle(PGeom_ConicalSurface)&)p,theSchema); +} + +void ShapeSchema_PGeom_ConicalSurface::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_ConicalSurface) &pp = (Handle(PGeom_ConicalSurface)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + ShapeSchema_gp_Ax3::SWrite(pp->_CSFDB_GetPGeom_ElementarySurfaceposition(),f,theSchema); + f.PutReal(pp->_CSFDB_GetPGeom_ConicalSurfaceradius()); + f.PutReal(pp->_CSFDB_GetPGeom_ConicalSurfacesemiAngle()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom_ConicalSurface::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_ConicalSurface::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom_ConicalSurface::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_ConicalSurface) &pp = (Handle(PGeom_ConicalSurface)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + ShapeSchema_gp_Ax3::SRead((gp_Ax3&)pp->_CSFDB_GetPGeom_ElementarySurfaceposition(),f,theSchema); + + Standard_Real PGeom_ConicalSurfaceradius; + f.GetReal(PGeom_ConicalSurfaceradius); + pp->_CSFDB_SetPGeom_ConicalSurfaceradius(PGeom_ConicalSurfaceradius); + + Standard_Real PGeom_ConicalSurfacesemiAngle; + f.GetReal(PGeom_ConicalSurfacesemiAngle); + pp->_CSFDB_SetPGeom_ConicalSurfacesemiAngle(PGeom_ConicalSurfacesemiAngle); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom_ConicalSurface::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom_ConicalSurface::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_ConicalSurface.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_ConicalSurface.hxx new file mode 100644 index 000000000..116075d6c --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_ConicalSurface.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom_ConicalSurface_HeaderFile +#define _ShapeSchema_PGeom_ConicalSurface_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom_ConicalSurface_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom_ElementarySurface_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom_ConicalSurface,Storage_CallBack) + +class ShapeSchema_PGeom_ConicalSurface : public Storage_CallBack { +public: + ShapeSchema_PGeom_ConicalSurface() {} + Standard_EXPORT static void SAdd(const Handle(PGeom_ConicalSurface)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom_ConicalSurface) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_ConicalSurface.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_ConicalSurface.ixx new file mode 100644 index 000000000..d9f651e8b --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_ConicalSurface.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Curve.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Curve.cxx new file mode 100644 index 000000000..3998a52ad --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Curve.cxx @@ -0,0 +1,76 @@ +#ifndef _ShapeSchema_PGeom_Curve_HeaderFile +#include +#endif +#ifndef _PGeom_Curve_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom_Curve,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom_Curve,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom_Curve::New() const +{ + Handle(Standard_Persistent) NullObject; + return NullObject; +} + +void ShapeSchema_PGeom_Curve::SAdd(const Handle(PGeom_Curve)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom_Curve")) { + + } + } +} + +void ShapeSchema_PGeom_Curve::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_Curve::SAdd((Handle(PGeom_Curve)&)p,theSchema); +} + +void ShapeSchema_PGeom_Curve::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_Curve) &pp = (Handle(PGeom_Curve)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom_Curve::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_Curve::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom_Curve::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_Curve) &pp = (Handle(PGeom_Curve)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom_Curve::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom_Curve::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Curve.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Curve.hxx new file mode 100644 index 000000000..60f4addf1 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Curve.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom_Curve_HeaderFile +#define _ShapeSchema_PGeom_Curve_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom_Curve_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom_Geometry_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom_Curve,Storage_CallBack) + +class ShapeSchema_PGeom_Curve : public Storage_CallBack { +public: + ShapeSchema_PGeom_Curve() {} + Standard_EXPORT static void SAdd(const Handle(PGeom_Curve)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom_Curve) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Curve.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Curve.ixx new file mode 100644 index 000000000..b4df3871f --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Curve.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_CylindricalSurface.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_CylindricalSurface.cxx new file mode 100644 index 000000000..79d8f4055 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_CylindricalSurface.cxx @@ -0,0 +1,83 @@ +#ifndef _ShapeSchema_PGeom_CylindricalSurface_HeaderFile +#include +#endif +#ifndef _PGeom_CylindricalSurface_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom_CylindricalSurface,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom_CylindricalSurface,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom_CylindricalSurface::New() const +{ + return new PGeom_CylindricalSurface(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PGeom_CylindricalSurface::SAdd(const Handle(PGeom_CylindricalSurface)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom_CylindricalSurface")) { + + } + } +} + +void ShapeSchema_PGeom_CylindricalSurface::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_CylindricalSurface::SAdd((Handle(PGeom_CylindricalSurface)&)p,theSchema); +} + +void ShapeSchema_PGeom_CylindricalSurface::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_CylindricalSurface) &pp = (Handle(PGeom_CylindricalSurface)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + ShapeSchema_gp_Ax3::SWrite(pp->_CSFDB_GetPGeom_ElementarySurfaceposition(),f,theSchema); + f.PutReal(pp->_CSFDB_GetPGeom_CylindricalSurfaceradius()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom_CylindricalSurface::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_CylindricalSurface::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom_CylindricalSurface::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_CylindricalSurface) &pp = (Handle(PGeom_CylindricalSurface)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + ShapeSchema_gp_Ax3::SRead((gp_Ax3&)pp->_CSFDB_GetPGeom_ElementarySurfaceposition(),f,theSchema); + + Standard_Real PGeom_CylindricalSurfaceradius; + f.GetReal(PGeom_CylindricalSurfaceradius); + pp->_CSFDB_SetPGeom_CylindricalSurfaceradius(PGeom_CylindricalSurfaceradius); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom_CylindricalSurface::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom_CylindricalSurface::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_CylindricalSurface.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_CylindricalSurface.hxx new file mode 100644 index 000000000..f48f8c461 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_CylindricalSurface.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom_CylindricalSurface_HeaderFile +#define _ShapeSchema_PGeom_CylindricalSurface_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom_CylindricalSurface_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom_ElementarySurface_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom_CylindricalSurface,Storage_CallBack) + +class ShapeSchema_PGeom_CylindricalSurface : public Storage_CallBack { +public: + ShapeSchema_PGeom_CylindricalSurface() {} + Standard_EXPORT static void SAdd(const Handle(PGeom_CylindricalSurface)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom_CylindricalSurface) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_CylindricalSurface.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_CylindricalSurface.ixx new file mode 100644 index 000000000..d9f651e8b --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_CylindricalSurface.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Direction.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Direction.cxx new file mode 100644 index 000000000..1a1c406de --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Direction.cxx @@ -0,0 +1,78 @@ +#ifndef _ShapeSchema_PGeom_Direction_HeaderFile +#include +#endif +#ifndef _PGeom_Direction_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom_Direction,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom_Direction,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom_Direction::New() const +{ + return new PGeom_Direction(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PGeom_Direction::SAdd(const Handle(PGeom_Direction)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom_Direction")) { + + } + } +} + +void ShapeSchema_PGeom_Direction::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_Direction::SAdd((Handle(PGeom_Direction)&)p,theSchema); +} + +void ShapeSchema_PGeom_Direction::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_Direction) &pp = (Handle(PGeom_Direction)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + ShapeSchema_gp_Vec::SWrite(pp->_CSFDB_GetPGeom_Vectorvec(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom_Direction::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_Direction::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom_Direction::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_Direction) &pp = (Handle(PGeom_Direction)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + ShapeSchema_gp_Vec::SRead((gp_Vec&)pp->_CSFDB_GetPGeom_Vectorvec(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom_Direction::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom_Direction::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Direction.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Direction.hxx new file mode 100644 index 000000000..4bd96c8f9 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Direction.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom_Direction_HeaderFile +#define _ShapeSchema_PGeom_Direction_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom_Direction_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom_Vector_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom_Direction,Storage_CallBack) + +class ShapeSchema_PGeom_Direction : public Storage_CallBack { +public: + ShapeSchema_PGeom_Direction() {} + Standard_EXPORT static void SAdd(const Handle(PGeom_Direction)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom_Direction) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Direction.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Direction.ixx new file mode 100644 index 000000000..6cc40bdaf --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Direction.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_ElementarySurface.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_ElementarySurface.cxx new file mode 100644 index 000000000..27e26d095 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_ElementarySurface.cxx @@ -0,0 +1,79 @@ +#ifndef _ShapeSchema_PGeom_ElementarySurface_HeaderFile +#include +#endif +#ifndef _PGeom_ElementarySurface_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom_ElementarySurface,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom_ElementarySurface,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom_ElementarySurface::New() const +{ + Handle(Standard_Persistent) NullObject; + return NullObject; +} + +void ShapeSchema_PGeom_ElementarySurface::SAdd(const Handle(PGeom_ElementarySurface)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom_ElementarySurface")) { + + } + } +} + +void ShapeSchema_PGeom_ElementarySurface::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_ElementarySurface::SAdd((Handle(PGeom_ElementarySurface)&)p,theSchema); +} + +void ShapeSchema_PGeom_ElementarySurface::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_ElementarySurface) &pp = (Handle(PGeom_ElementarySurface)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + ShapeSchema_gp_Ax3::SWrite(pp->_CSFDB_GetPGeom_ElementarySurfaceposition(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom_ElementarySurface::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_ElementarySurface::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom_ElementarySurface::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_ElementarySurface) &pp = (Handle(PGeom_ElementarySurface)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + ShapeSchema_gp_Ax3::SRead((gp_Ax3&)pp->_CSFDB_GetPGeom_ElementarySurfaceposition(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom_ElementarySurface::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom_ElementarySurface::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_ElementarySurface.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_ElementarySurface.hxx new file mode 100644 index 000000000..0d9f512dd --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_ElementarySurface.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom_ElementarySurface_HeaderFile +#define _ShapeSchema_PGeom_ElementarySurface_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom_ElementarySurface_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom_Surface_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom_ElementarySurface,Storage_CallBack) + +class ShapeSchema_PGeom_ElementarySurface : public Storage_CallBack { +public: + ShapeSchema_PGeom_ElementarySurface() {} + Standard_EXPORT static void SAdd(const Handle(PGeom_ElementarySurface)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom_ElementarySurface) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_ElementarySurface.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_ElementarySurface.ixx new file mode 100644 index 000000000..dbdf02f57 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_ElementarySurface.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_gp_Ax3_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Ellipse.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Ellipse.cxx new file mode 100644 index 000000000..45b0ca863 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Ellipse.cxx @@ -0,0 +1,88 @@ +#ifndef _ShapeSchema_PGeom_Ellipse_HeaderFile +#include +#endif +#ifndef _PGeom_Ellipse_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom_Ellipse,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom_Ellipse,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom_Ellipse::New() const +{ + return new PGeom_Ellipse(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PGeom_Ellipse::SAdd(const Handle(PGeom_Ellipse)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom_Ellipse")) { + + } + } +} + +void ShapeSchema_PGeom_Ellipse::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_Ellipse::SAdd((Handle(PGeom_Ellipse)&)p,theSchema); +} + +void ShapeSchema_PGeom_Ellipse::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_Ellipse) &pp = (Handle(PGeom_Ellipse)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + ShapeSchema_gp_Ax2::SWrite(pp->_CSFDB_GetPGeom_Conicposition(),f,theSchema); + f.PutReal(pp->_CSFDB_GetPGeom_EllipsemajorRadius()); + f.PutReal(pp->_CSFDB_GetPGeom_EllipseminorRadius()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom_Ellipse::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_Ellipse::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom_Ellipse::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_Ellipse) &pp = (Handle(PGeom_Ellipse)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + ShapeSchema_gp_Ax2::SRead((gp_Ax2&)pp->_CSFDB_GetPGeom_Conicposition(),f,theSchema); + + Standard_Real PGeom_EllipsemajorRadius; + f.GetReal(PGeom_EllipsemajorRadius); + pp->_CSFDB_SetPGeom_EllipsemajorRadius(PGeom_EllipsemajorRadius); + + Standard_Real PGeom_EllipseminorRadius; + f.GetReal(PGeom_EllipseminorRadius); + pp->_CSFDB_SetPGeom_EllipseminorRadius(PGeom_EllipseminorRadius); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom_Ellipse::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom_Ellipse::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Ellipse.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Ellipse.hxx new file mode 100644 index 000000000..fbdfdb406 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Ellipse.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom_Ellipse_HeaderFile +#define _ShapeSchema_PGeom_Ellipse_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom_Ellipse_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom_Conic_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom_Ellipse,Storage_CallBack) + +class ShapeSchema_PGeom_Ellipse : public Storage_CallBack { +public: + ShapeSchema_PGeom_Ellipse() {} + Standard_EXPORT static void SAdd(const Handle(PGeom_Ellipse)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom_Ellipse) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Ellipse.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Ellipse.ixx new file mode 100644 index 000000000..4992b3b86 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Ellipse.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Geometry.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Geometry.cxx new file mode 100644 index 000000000..77c25b710 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Geometry.cxx @@ -0,0 +1,76 @@ +#ifndef _ShapeSchema_PGeom_Geometry_HeaderFile +#include +#endif +#ifndef _PGeom_Geometry_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom_Geometry,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom_Geometry,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom_Geometry::New() const +{ + Handle(Standard_Persistent) NullObject; + return NullObject; +} + +void ShapeSchema_PGeom_Geometry::SAdd(const Handle(PGeom_Geometry)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom_Geometry")) { + + } + } +} + +void ShapeSchema_PGeom_Geometry::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_Geometry::SAdd((Handle(PGeom_Geometry)&)p,theSchema); +} + +void ShapeSchema_PGeom_Geometry::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_Geometry) &pp = (Handle(PGeom_Geometry)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom_Geometry::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_Geometry::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom_Geometry::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_Geometry) &pp = (Handle(PGeom_Geometry)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom_Geometry::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom_Geometry::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Geometry.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Geometry.hxx new file mode 100644 index 000000000..9c029a3f2 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Geometry.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom_Geometry_HeaderFile +#define _ShapeSchema_PGeom_Geometry_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom_Geometry_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom_Geometry,Storage_CallBack) + +class ShapeSchema_PGeom_Geometry : public Storage_CallBack { +public: + ShapeSchema_PGeom_Geometry() {} + Standard_EXPORT static void SAdd(const Handle(PGeom_Geometry)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom_Geometry) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Geometry.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Geometry.ixx new file mode 100644 index 000000000..e948378d1 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Geometry.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Hyperbola.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Hyperbola.cxx new file mode 100644 index 000000000..b2a6de3c1 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Hyperbola.cxx @@ -0,0 +1,88 @@ +#ifndef _ShapeSchema_PGeom_Hyperbola_HeaderFile +#include +#endif +#ifndef _PGeom_Hyperbola_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom_Hyperbola,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom_Hyperbola,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom_Hyperbola::New() const +{ + return new PGeom_Hyperbola(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PGeom_Hyperbola::SAdd(const Handle(PGeom_Hyperbola)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom_Hyperbola")) { + + } + } +} + +void ShapeSchema_PGeom_Hyperbola::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_Hyperbola::SAdd((Handle(PGeom_Hyperbola)&)p,theSchema); +} + +void ShapeSchema_PGeom_Hyperbola::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_Hyperbola) &pp = (Handle(PGeom_Hyperbola)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + ShapeSchema_gp_Ax2::SWrite(pp->_CSFDB_GetPGeom_Conicposition(),f,theSchema); + f.PutReal(pp->_CSFDB_GetPGeom_HyperbolamajorRadius()); + f.PutReal(pp->_CSFDB_GetPGeom_HyperbolaminorRadius()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom_Hyperbola::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_Hyperbola::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom_Hyperbola::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_Hyperbola) &pp = (Handle(PGeom_Hyperbola)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + ShapeSchema_gp_Ax2::SRead((gp_Ax2&)pp->_CSFDB_GetPGeom_Conicposition(),f,theSchema); + + Standard_Real PGeom_HyperbolamajorRadius; + f.GetReal(PGeom_HyperbolamajorRadius); + pp->_CSFDB_SetPGeom_HyperbolamajorRadius(PGeom_HyperbolamajorRadius); + + Standard_Real PGeom_HyperbolaminorRadius; + f.GetReal(PGeom_HyperbolaminorRadius); + pp->_CSFDB_SetPGeom_HyperbolaminorRadius(PGeom_HyperbolaminorRadius); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom_Hyperbola::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom_Hyperbola::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Hyperbola.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Hyperbola.hxx new file mode 100644 index 000000000..70b3513dc --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Hyperbola.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom_Hyperbola_HeaderFile +#define _ShapeSchema_PGeom_Hyperbola_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom_Hyperbola_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom_Conic_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom_Hyperbola,Storage_CallBack) + +class ShapeSchema_PGeom_Hyperbola : public Storage_CallBack { +public: + ShapeSchema_PGeom_Hyperbola() {} + Standard_EXPORT static void SAdd(const Handle(PGeom_Hyperbola)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom_Hyperbola) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Hyperbola.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Hyperbola.ixx new file mode 100644 index 000000000..4992b3b86 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Hyperbola.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Line.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Line.cxx new file mode 100644 index 000000000..bd8cb4456 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Line.cxx @@ -0,0 +1,78 @@ +#ifndef _ShapeSchema_PGeom_Line_HeaderFile +#include +#endif +#ifndef _PGeom_Line_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom_Line,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom_Line,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom_Line::New() const +{ + return new PGeom_Line(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PGeom_Line::SAdd(const Handle(PGeom_Line)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom_Line")) { + + } + } +} + +void ShapeSchema_PGeom_Line::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_Line::SAdd((Handle(PGeom_Line)&)p,theSchema); +} + +void ShapeSchema_PGeom_Line::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_Line) &pp = (Handle(PGeom_Line)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + ShapeSchema_gp_Ax1::SWrite(pp->_CSFDB_GetPGeom_Lineposition(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom_Line::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_Line::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom_Line::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_Line) &pp = (Handle(PGeom_Line)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + ShapeSchema_gp_Ax1::SRead((gp_Ax1&)pp->_CSFDB_GetPGeom_Lineposition(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom_Line::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom_Line::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Line.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Line.hxx new file mode 100644 index 000000000..b74f1c087 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Line.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom_Line_HeaderFile +#define _ShapeSchema_PGeom_Line_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom_Line_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom_Curve_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom_Line,Storage_CallBack) + +class ShapeSchema_PGeom_Line : public Storage_CallBack { +public: + ShapeSchema_PGeom_Line() {} + Standard_EXPORT static void SAdd(const Handle(PGeom_Line)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom_Line) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Line.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Line.ixx new file mode 100644 index 000000000..aacbac448 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Line.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_gp_Ax1_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_OffsetCurve.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_OffsetCurve.cxx new file mode 100644 index 000000000..780c6f74d --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_OffsetCurve.cxx @@ -0,0 +1,90 @@ +#ifndef _ShapeSchema_PGeom_OffsetCurve_HeaderFile +#include +#endif +#ifndef _PGeom_OffsetCurve_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom_OffsetCurve,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom_OffsetCurve,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom_OffsetCurve::New() const +{ + return new PGeom_OffsetCurve(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PGeom_OffsetCurve::SAdd(const Handle(PGeom_OffsetCurve)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom_OffsetCurve")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPGeom_OffsetCurvebasisCurve()); + + } + } +} + +void ShapeSchema_PGeom_OffsetCurve::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_OffsetCurve::SAdd((Handle(PGeom_OffsetCurve)&)p,theSchema); +} + +void ShapeSchema_PGeom_OffsetCurve::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_OffsetCurve) &pp = (Handle(PGeom_OffsetCurve)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPGeom_OffsetCurvebasisCurve(),f); + ShapeSchema_gp_Dir::SWrite(pp->_CSFDB_GetPGeom_OffsetCurveoffsetDirection(),f,theSchema); + f.PutReal(pp->_CSFDB_GetPGeom_OffsetCurveoffsetValue()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom_OffsetCurve::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_OffsetCurve::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom_OffsetCurve::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_OffsetCurve) &pp = (Handle(PGeom_OffsetCurve)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PGeom_Curve) PGeom_OffsetCurvebasisCurve; + + theSchema->ReadPersistentReference(PGeom_OffsetCurvebasisCurve,f); + pp->_CSFDB_SetPGeom_OffsetCurvebasisCurve(PGeom_OffsetCurvebasisCurve); + + ShapeSchema_gp_Dir::SRead((gp_Dir&)pp->_CSFDB_GetPGeom_OffsetCurveoffsetDirection(),f,theSchema); + + Standard_Real PGeom_OffsetCurveoffsetValue; + f.GetReal(PGeom_OffsetCurveoffsetValue); + pp->_CSFDB_SetPGeom_OffsetCurveoffsetValue(PGeom_OffsetCurveoffsetValue); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom_OffsetCurve::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom_OffsetCurve::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_OffsetCurve.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_OffsetCurve.hxx new file mode 100644 index 000000000..0993380eb --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_OffsetCurve.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom_OffsetCurve_HeaderFile +#define _ShapeSchema_PGeom_OffsetCurve_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom_OffsetCurve_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom_Curve_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom_OffsetCurve,Storage_CallBack) + +class ShapeSchema_PGeom_OffsetCurve : public Storage_CallBack { +public: + ShapeSchema_PGeom_OffsetCurve() {} + Standard_EXPORT static void SAdd(const Handle(PGeom_OffsetCurve)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom_OffsetCurve) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_OffsetCurve.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_OffsetCurve.ixx new file mode 100644 index 000000000..adae15262 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_OffsetCurve.ixx @@ -0,0 +1,8 @@ +#include +#ifndef _ShapeSchema_PGeom_Curve_HeaderFile +#include +#endif +#ifndef _ShapeSchema_gp_Dir_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_OffsetSurface.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_OffsetSurface.cxx new file mode 100644 index 000000000..d7a7e794a --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_OffsetSurface.cxx @@ -0,0 +1,87 @@ +#ifndef _ShapeSchema_PGeom_OffsetSurface_HeaderFile +#include +#endif +#ifndef _PGeom_OffsetSurface_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom_OffsetSurface,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom_OffsetSurface,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom_OffsetSurface::New() const +{ + return new PGeom_OffsetSurface(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PGeom_OffsetSurface::SAdd(const Handle(PGeom_OffsetSurface)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom_OffsetSurface")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPGeom_OffsetSurfacebasisSurface()); + + } + } +} + +void ShapeSchema_PGeom_OffsetSurface::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_OffsetSurface::SAdd((Handle(PGeom_OffsetSurface)&)p,theSchema); +} + +void ShapeSchema_PGeom_OffsetSurface::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_OffsetSurface) &pp = (Handle(PGeom_OffsetSurface)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPGeom_OffsetSurfacebasisSurface(),f); + f.PutReal(pp->_CSFDB_GetPGeom_OffsetSurfaceoffsetValue()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom_OffsetSurface::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_OffsetSurface::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom_OffsetSurface::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_OffsetSurface) &pp = (Handle(PGeom_OffsetSurface)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PGeom_Surface) PGeom_OffsetSurfacebasisSurface; + + theSchema->ReadPersistentReference(PGeom_OffsetSurfacebasisSurface,f); + pp->_CSFDB_SetPGeom_OffsetSurfacebasisSurface(PGeom_OffsetSurfacebasisSurface); + + Standard_Real PGeom_OffsetSurfaceoffsetValue; + f.GetReal(PGeom_OffsetSurfaceoffsetValue); + pp->_CSFDB_SetPGeom_OffsetSurfaceoffsetValue(PGeom_OffsetSurfaceoffsetValue); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom_OffsetSurface::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom_OffsetSurface::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_OffsetSurface.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_OffsetSurface.hxx new file mode 100644 index 000000000..f59a821c0 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_OffsetSurface.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom_OffsetSurface_HeaderFile +#define _ShapeSchema_PGeom_OffsetSurface_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom_OffsetSurface_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom_Surface_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom_OffsetSurface,Storage_CallBack) + +class ShapeSchema_PGeom_OffsetSurface : public Storage_CallBack { +public: + ShapeSchema_PGeom_OffsetSurface() {} + Standard_EXPORT static void SAdd(const Handle(PGeom_OffsetSurface)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom_OffsetSurface) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_OffsetSurface.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_OffsetSurface.ixx new file mode 100644 index 000000000..5de18fb19 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_OffsetSurface.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_PGeom_Surface_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Parabola.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Parabola.cxx new file mode 100644 index 000000000..07a614ee3 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Parabola.cxx @@ -0,0 +1,83 @@ +#ifndef _ShapeSchema_PGeom_Parabola_HeaderFile +#include +#endif +#ifndef _PGeom_Parabola_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom_Parabola,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom_Parabola,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom_Parabola::New() const +{ + return new PGeom_Parabola(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PGeom_Parabola::SAdd(const Handle(PGeom_Parabola)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom_Parabola")) { + + } + } +} + +void ShapeSchema_PGeom_Parabola::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_Parabola::SAdd((Handle(PGeom_Parabola)&)p,theSchema); +} + +void ShapeSchema_PGeom_Parabola::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_Parabola) &pp = (Handle(PGeom_Parabola)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + ShapeSchema_gp_Ax2::SWrite(pp->_CSFDB_GetPGeom_Conicposition(),f,theSchema); + f.PutReal(pp->_CSFDB_GetPGeom_ParabolafocalLength()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom_Parabola::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_Parabola::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom_Parabola::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_Parabola) &pp = (Handle(PGeom_Parabola)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + ShapeSchema_gp_Ax2::SRead((gp_Ax2&)pp->_CSFDB_GetPGeom_Conicposition(),f,theSchema); + + Standard_Real PGeom_ParabolafocalLength; + f.GetReal(PGeom_ParabolafocalLength); + pp->_CSFDB_SetPGeom_ParabolafocalLength(PGeom_ParabolafocalLength); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom_Parabola::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom_Parabola::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Parabola.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Parabola.hxx new file mode 100644 index 000000000..6570cdf2b --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Parabola.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom_Parabola_HeaderFile +#define _ShapeSchema_PGeom_Parabola_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom_Parabola_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom_Conic_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom_Parabola,Storage_CallBack) + +class ShapeSchema_PGeom_Parabola : public Storage_CallBack { +public: + ShapeSchema_PGeom_Parabola() {} + Standard_EXPORT static void SAdd(const Handle(PGeom_Parabola)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom_Parabola) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Parabola.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Parabola.ixx new file mode 100644 index 000000000..4992b3b86 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Parabola.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Plane.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Plane.cxx new file mode 100644 index 000000000..72f06a637 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Plane.cxx @@ -0,0 +1,78 @@ +#ifndef _ShapeSchema_PGeom_Plane_HeaderFile +#include +#endif +#ifndef _PGeom_Plane_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom_Plane,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom_Plane,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom_Plane::New() const +{ + return new PGeom_Plane(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PGeom_Plane::SAdd(const Handle(PGeom_Plane)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom_Plane")) { + + } + } +} + +void ShapeSchema_PGeom_Plane::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_Plane::SAdd((Handle(PGeom_Plane)&)p,theSchema); +} + +void ShapeSchema_PGeom_Plane::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_Plane) &pp = (Handle(PGeom_Plane)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + ShapeSchema_gp_Ax3::SWrite(pp->_CSFDB_GetPGeom_ElementarySurfaceposition(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom_Plane::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_Plane::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom_Plane::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_Plane) &pp = (Handle(PGeom_Plane)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + ShapeSchema_gp_Ax3::SRead((gp_Ax3&)pp->_CSFDB_GetPGeom_ElementarySurfaceposition(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom_Plane::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom_Plane::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Plane.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Plane.hxx new file mode 100644 index 000000000..fd6a3bf23 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Plane.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom_Plane_HeaderFile +#define _ShapeSchema_PGeom_Plane_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom_Plane_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom_ElementarySurface_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom_Plane,Storage_CallBack) + +class ShapeSchema_PGeom_Plane : public Storage_CallBack { +public: + ShapeSchema_PGeom_Plane() {} + Standard_EXPORT static void SAdd(const Handle(PGeom_Plane)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom_Plane) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Plane.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Plane.ixx new file mode 100644 index 000000000..d9f651e8b --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Plane.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Point.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Point.cxx new file mode 100644 index 000000000..955f0dc86 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Point.cxx @@ -0,0 +1,76 @@ +#ifndef _ShapeSchema_PGeom_Point_HeaderFile +#include +#endif +#ifndef _PGeom_Point_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom_Point,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom_Point,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom_Point::New() const +{ + Handle(Standard_Persistent) NullObject; + return NullObject; +} + +void ShapeSchema_PGeom_Point::SAdd(const Handle(PGeom_Point)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom_Point")) { + + } + } +} + +void ShapeSchema_PGeom_Point::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_Point::SAdd((Handle(PGeom_Point)&)p,theSchema); +} + +void ShapeSchema_PGeom_Point::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_Point) &pp = (Handle(PGeom_Point)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom_Point::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_Point::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom_Point::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_Point) &pp = (Handle(PGeom_Point)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom_Point::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom_Point::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Point.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Point.hxx new file mode 100644 index 000000000..e1626579b --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Point.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom_Point_HeaderFile +#define _ShapeSchema_PGeom_Point_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom_Point_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom_Geometry_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom_Point,Storage_CallBack) + +class ShapeSchema_PGeom_Point : public Storage_CallBack { +public: + ShapeSchema_PGeom_Point() {} + Standard_EXPORT static void SAdd(const Handle(PGeom_Point)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom_Point) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Point.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Point.ixx new file mode 100644 index 000000000..b4df3871f --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Point.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_RectangularTrimmedSurface.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_RectangularTrimmedSurface.cxx new file mode 100644 index 000000000..37a958fae --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_RectangularTrimmedSurface.cxx @@ -0,0 +1,102 @@ +#ifndef _ShapeSchema_PGeom_RectangularTrimmedSurface_HeaderFile +#include +#endif +#ifndef _PGeom_RectangularTrimmedSurface_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom_RectangularTrimmedSurface,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom_RectangularTrimmedSurface,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom_RectangularTrimmedSurface::New() const +{ + return new PGeom_RectangularTrimmedSurface(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PGeom_RectangularTrimmedSurface::SAdd(const Handle(PGeom_RectangularTrimmedSurface)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom_RectangularTrimmedSurface")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPGeom_RectangularTrimmedSurfacebasisSurface()); + + } + } +} + +void ShapeSchema_PGeom_RectangularTrimmedSurface::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_RectangularTrimmedSurface::SAdd((Handle(PGeom_RectangularTrimmedSurface)&)p,theSchema); +} + +void ShapeSchema_PGeom_RectangularTrimmedSurface::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_RectangularTrimmedSurface) &pp = (Handle(PGeom_RectangularTrimmedSurface)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPGeom_RectangularTrimmedSurfacebasisSurface(),f); + f.PutReal(pp->_CSFDB_GetPGeom_RectangularTrimmedSurfacefirstU()); + f.PutReal(pp->_CSFDB_GetPGeom_RectangularTrimmedSurfacelastU()); + f.PutReal(pp->_CSFDB_GetPGeom_RectangularTrimmedSurfacefirstV()); + f.PutReal(pp->_CSFDB_GetPGeom_RectangularTrimmedSurfacelastV()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom_RectangularTrimmedSurface::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_RectangularTrimmedSurface::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom_RectangularTrimmedSurface::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_RectangularTrimmedSurface) &pp = (Handle(PGeom_RectangularTrimmedSurface)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PGeom_Surface) PGeom_RectangularTrimmedSurfacebasisSurface; + + theSchema->ReadPersistentReference(PGeom_RectangularTrimmedSurfacebasisSurface,f); + pp->_CSFDB_SetPGeom_RectangularTrimmedSurfacebasisSurface(PGeom_RectangularTrimmedSurfacebasisSurface); + + Standard_Real PGeom_RectangularTrimmedSurfacefirstU; + f.GetReal(PGeom_RectangularTrimmedSurfacefirstU); + pp->_CSFDB_SetPGeom_RectangularTrimmedSurfacefirstU(PGeom_RectangularTrimmedSurfacefirstU); + + Standard_Real PGeom_RectangularTrimmedSurfacelastU; + f.GetReal(PGeom_RectangularTrimmedSurfacelastU); + pp->_CSFDB_SetPGeom_RectangularTrimmedSurfacelastU(PGeom_RectangularTrimmedSurfacelastU); + + Standard_Real PGeom_RectangularTrimmedSurfacefirstV; + f.GetReal(PGeom_RectangularTrimmedSurfacefirstV); + pp->_CSFDB_SetPGeom_RectangularTrimmedSurfacefirstV(PGeom_RectangularTrimmedSurfacefirstV); + + Standard_Real PGeom_RectangularTrimmedSurfacelastV; + f.GetReal(PGeom_RectangularTrimmedSurfacelastV); + pp->_CSFDB_SetPGeom_RectangularTrimmedSurfacelastV(PGeom_RectangularTrimmedSurfacelastV); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom_RectangularTrimmedSurface::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom_RectangularTrimmedSurface::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_RectangularTrimmedSurface.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_RectangularTrimmedSurface.hxx new file mode 100644 index 000000000..0560443cd --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_RectangularTrimmedSurface.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom_RectangularTrimmedSurface_HeaderFile +#define _ShapeSchema_PGeom_RectangularTrimmedSurface_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom_RectangularTrimmedSurface_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom_BoundedSurface_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom_RectangularTrimmedSurface,Storage_CallBack) + +class ShapeSchema_PGeom_RectangularTrimmedSurface : public Storage_CallBack { +public: + ShapeSchema_PGeom_RectangularTrimmedSurface() {} + Standard_EXPORT static void SAdd(const Handle(PGeom_RectangularTrimmedSurface)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom_RectangularTrimmedSurface) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_RectangularTrimmedSurface.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_RectangularTrimmedSurface.ixx new file mode 100644 index 000000000..4306da080 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_RectangularTrimmedSurface.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_PGeom_Surface_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_SphericalSurface.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_SphericalSurface.cxx new file mode 100644 index 000000000..ac7665bab --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_SphericalSurface.cxx @@ -0,0 +1,83 @@ +#ifndef _ShapeSchema_PGeom_SphericalSurface_HeaderFile +#include +#endif +#ifndef _PGeom_SphericalSurface_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom_SphericalSurface,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom_SphericalSurface,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom_SphericalSurface::New() const +{ + return new PGeom_SphericalSurface(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PGeom_SphericalSurface::SAdd(const Handle(PGeom_SphericalSurface)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom_SphericalSurface")) { + + } + } +} + +void ShapeSchema_PGeom_SphericalSurface::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_SphericalSurface::SAdd((Handle(PGeom_SphericalSurface)&)p,theSchema); +} + +void ShapeSchema_PGeom_SphericalSurface::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_SphericalSurface) &pp = (Handle(PGeom_SphericalSurface)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + ShapeSchema_gp_Ax3::SWrite(pp->_CSFDB_GetPGeom_ElementarySurfaceposition(),f,theSchema); + f.PutReal(pp->_CSFDB_GetPGeom_SphericalSurfaceradius()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom_SphericalSurface::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_SphericalSurface::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom_SphericalSurface::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_SphericalSurface) &pp = (Handle(PGeom_SphericalSurface)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + ShapeSchema_gp_Ax3::SRead((gp_Ax3&)pp->_CSFDB_GetPGeom_ElementarySurfaceposition(),f,theSchema); + + Standard_Real PGeom_SphericalSurfaceradius; + f.GetReal(PGeom_SphericalSurfaceradius); + pp->_CSFDB_SetPGeom_SphericalSurfaceradius(PGeom_SphericalSurfaceradius); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom_SphericalSurface::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom_SphericalSurface::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_SphericalSurface.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_SphericalSurface.hxx new file mode 100644 index 000000000..b7e539c28 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_SphericalSurface.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom_SphericalSurface_HeaderFile +#define _ShapeSchema_PGeom_SphericalSurface_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom_SphericalSurface_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom_ElementarySurface_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom_SphericalSurface,Storage_CallBack) + +class ShapeSchema_PGeom_SphericalSurface : public Storage_CallBack { +public: + ShapeSchema_PGeom_SphericalSurface() {} + Standard_EXPORT static void SAdd(const Handle(PGeom_SphericalSurface)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom_SphericalSurface) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_SphericalSurface.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_SphericalSurface.ixx new file mode 100644 index 000000000..d9f651e8b --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_SphericalSurface.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Surface.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Surface.cxx new file mode 100644 index 000000000..468472120 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Surface.cxx @@ -0,0 +1,76 @@ +#ifndef _ShapeSchema_PGeom_Surface_HeaderFile +#include +#endif +#ifndef _PGeom_Surface_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom_Surface,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom_Surface,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom_Surface::New() const +{ + Handle(Standard_Persistent) NullObject; + return NullObject; +} + +void ShapeSchema_PGeom_Surface::SAdd(const Handle(PGeom_Surface)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom_Surface")) { + + } + } +} + +void ShapeSchema_PGeom_Surface::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_Surface::SAdd((Handle(PGeom_Surface)&)p,theSchema); +} + +void ShapeSchema_PGeom_Surface::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_Surface) &pp = (Handle(PGeom_Surface)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom_Surface::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_Surface::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom_Surface::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_Surface) &pp = (Handle(PGeom_Surface)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom_Surface::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom_Surface::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Surface.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Surface.hxx new file mode 100644 index 000000000..e7165069d --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Surface.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom_Surface_HeaderFile +#define _ShapeSchema_PGeom_Surface_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom_Surface_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom_Geometry_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom_Surface,Storage_CallBack) + +class ShapeSchema_PGeom_Surface : public Storage_CallBack { +public: + ShapeSchema_PGeom_Surface() {} + Standard_EXPORT static void SAdd(const Handle(PGeom_Surface)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom_Surface) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Surface.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Surface.ixx new file mode 100644 index 000000000..b4df3871f --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Surface.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_SurfaceOfLinearExtrusion.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_SurfaceOfLinearExtrusion.cxx new file mode 100644 index 000000000..e55282e45 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_SurfaceOfLinearExtrusion.cxx @@ -0,0 +1,85 @@ +#ifndef _ShapeSchema_PGeom_SurfaceOfLinearExtrusion_HeaderFile +#include +#endif +#ifndef _PGeom_SurfaceOfLinearExtrusion_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom_SurfaceOfLinearExtrusion,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom_SurfaceOfLinearExtrusion,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom_SurfaceOfLinearExtrusion::New() const +{ + return new PGeom_SurfaceOfLinearExtrusion(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PGeom_SurfaceOfLinearExtrusion::SAdd(const Handle(PGeom_SurfaceOfLinearExtrusion)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom_SurfaceOfLinearExtrusion")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPGeom_SweptSurfacebasisCurve()); + + } + } +} + +void ShapeSchema_PGeom_SurfaceOfLinearExtrusion::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_SurfaceOfLinearExtrusion::SAdd((Handle(PGeom_SurfaceOfLinearExtrusion)&)p,theSchema); +} + +void ShapeSchema_PGeom_SurfaceOfLinearExtrusion::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_SurfaceOfLinearExtrusion) &pp = (Handle(PGeom_SurfaceOfLinearExtrusion)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPGeom_SweptSurfacebasisCurve(),f); + ShapeSchema_gp_Dir::SWrite(pp->_CSFDB_GetPGeom_SweptSurfacedirection(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom_SurfaceOfLinearExtrusion::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_SurfaceOfLinearExtrusion::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom_SurfaceOfLinearExtrusion::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_SurfaceOfLinearExtrusion) &pp = (Handle(PGeom_SurfaceOfLinearExtrusion)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PGeom_Curve) PGeom_SweptSurfacebasisCurve; + + theSchema->ReadPersistentReference(PGeom_SweptSurfacebasisCurve,f); + pp->_CSFDB_SetPGeom_SweptSurfacebasisCurve(PGeom_SweptSurfacebasisCurve); + + ShapeSchema_gp_Dir::SRead((gp_Dir&)pp->_CSFDB_GetPGeom_SweptSurfacedirection(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom_SurfaceOfLinearExtrusion::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom_SurfaceOfLinearExtrusion::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_SurfaceOfLinearExtrusion.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_SurfaceOfLinearExtrusion.hxx new file mode 100644 index 000000000..22a0181f7 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_SurfaceOfLinearExtrusion.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom_SurfaceOfLinearExtrusion_HeaderFile +#define _ShapeSchema_PGeom_SurfaceOfLinearExtrusion_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom_SurfaceOfLinearExtrusion_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom_SweptSurface_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom_SurfaceOfLinearExtrusion,Storage_CallBack) + +class ShapeSchema_PGeom_SurfaceOfLinearExtrusion : public Storage_CallBack { +public: + ShapeSchema_PGeom_SurfaceOfLinearExtrusion() {} + Standard_EXPORT static void SAdd(const Handle(PGeom_SurfaceOfLinearExtrusion)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom_SurfaceOfLinearExtrusion) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_SurfaceOfLinearExtrusion.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_SurfaceOfLinearExtrusion.ixx new file mode 100644 index 000000000..fb1541d9e --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_SurfaceOfLinearExtrusion.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_SurfaceOfRevolution.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_SurfaceOfRevolution.cxx new file mode 100644 index 000000000..1c1a25299 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_SurfaceOfRevolution.cxx @@ -0,0 +1,88 @@ +#ifndef _ShapeSchema_PGeom_SurfaceOfRevolution_HeaderFile +#include +#endif +#ifndef _PGeom_SurfaceOfRevolution_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom_SurfaceOfRevolution,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom_SurfaceOfRevolution,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom_SurfaceOfRevolution::New() const +{ + return new PGeom_SurfaceOfRevolution(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PGeom_SurfaceOfRevolution::SAdd(const Handle(PGeom_SurfaceOfRevolution)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom_SurfaceOfRevolution")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPGeom_SweptSurfacebasisCurve()); + + } + } +} + +void ShapeSchema_PGeom_SurfaceOfRevolution::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_SurfaceOfRevolution::SAdd((Handle(PGeom_SurfaceOfRevolution)&)p,theSchema); +} + +void ShapeSchema_PGeom_SurfaceOfRevolution::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_SurfaceOfRevolution) &pp = (Handle(PGeom_SurfaceOfRevolution)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPGeom_SweptSurfacebasisCurve(),f); + ShapeSchema_gp_Dir::SWrite(pp->_CSFDB_GetPGeom_SweptSurfacedirection(),f,theSchema); + ShapeSchema_gp_Pnt::SWrite(pp->_CSFDB_GetPGeom_SurfaceOfRevolutionlocation(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom_SurfaceOfRevolution::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_SurfaceOfRevolution::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom_SurfaceOfRevolution::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_SurfaceOfRevolution) &pp = (Handle(PGeom_SurfaceOfRevolution)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PGeom_Curve) PGeom_SweptSurfacebasisCurve; + + theSchema->ReadPersistentReference(PGeom_SweptSurfacebasisCurve,f); + pp->_CSFDB_SetPGeom_SweptSurfacebasisCurve(PGeom_SweptSurfacebasisCurve); + + ShapeSchema_gp_Dir::SRead((gp_Dir&)pp->_CSFDB_GetPGeom_SweptSurfacedirection(),f,theSchema); + + ShapeSchema_gp_Pnt::SRead((gp_Pnt&)pp->_CSFDB_GetPGeom_SurfaceOfRevolutionlocation(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom_SurfaceOfRevolution::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom_SurfaceOfRevolution::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_SurfaceOfRevolution.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_SurfaceOfRevolution.hxx new file mode 100644 index 000000000..8cfb03772 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_SurfaceOfRevolution.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom_SurfaceOfRevolution_HeaderFile +#define _ShapeSchema_PGeom_SurfaceOfRevolution_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom_SurfaceOfRevolution_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom_SweptSurface_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom_SurfaceOfRevolution,Storage_CallBack) + +class ShapeSchema_PGeom_SurfaceOfRevolution : public Storage_CallBack { +public: + ShapeSchema_PGeom_SurfaceOfRevolution() {} + Standard_EXPORT static void SAdd(const Handle(PGeom_SurfaceOfRevolution)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom_SurfaceOfRevolution) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_SurfaceOfRevolution.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_SurfaceOfRevolution.ixx new file mode 100644 index 000000000..124e8ac70 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_SurfaceOfRevolution.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_gp_Pnt_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_SweptSurface.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_SweptSurface.cxx new file mode 100644 index 000000000..561960963 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_SweptSurface.cxx @@ -0,0 +1,86 @@ +#ifndef _ShapeSchema_PGeom_SweptSurface_HeaderFile +#include +#endif +#ifndef _PGeom_SweptSurface_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom_SweptSurface,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom_SweptSurface,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom_SweptSurface::New() const +{ + Handle(Standard_Persistent) NullObject; + return NullObject; +} + +void ShapeSchema_PGeom_SweptSurface::SAdd(const Handle(PGeom_SweptSurface)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom_SweptSurface")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPGeom_SweptSurfacebasisCurve()); + + } + } +} + +void ShapeSchema_PGeom_SweptSurface::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_SweptSurface::SAdd((Handle(PGeom_SweptSurface)&)p,theSchema); +} + +void ShapeSchema_PGeom_SweptSurface::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_SweptSurface) &pp = (Handle(PGeom_SweptSurface)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPGeom_SweptSurfacebasisCurve(),f); + ShapeSchema_gp_Dir::SWrite(pp->_CSFDB_GetPGeom_SweptSurfacedirection(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom_SweptSurface::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_SweptSurface::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom_SweptSurface::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_SweptSurface) &pp = (Handle(PGeom_SweptSurface)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PGeom_Curve) PGeom_SweptSurfacebasisCurve; + + theSchema->ReadPersistentReference(PGeom_SweptSurfacebasisCurve,f); + pp->_CSFDB_SetPGeom_SweptSurfacebasisCurve(PGeom_SweptSurfacebasisCurve); + + ShapeSchema_gp_Dir::SRead((gp_Dir&)pp->_CSFDB_GetPGeom_SweptSurfacedirection(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom_SweptSurface::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom_SweptSurface::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_SweptSurface.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_SweptSurface.hxx new file mode 100644 index 000000000..d7aa3d19a --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_SweptSurface.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom_SweptSurface_HeaderFile +#define _ShapeSchema_PGeom_SweptSurface_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom_SweptSurface_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom_Surface_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom_SweptSurface,Storage_CallBack) + +class ShapeSchema_PGeom_SweptSurface : public Storage_CallBack { +public: + ShapeSchema_PGeom_SweptSurface() {} + Standard_EXPORT static void SAdd(const Handle(PGeom_SweptSurface)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom_SweptSurface) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_SweptSurface.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_SweptSurface.ixx new file mode 100644 index 000000000..65c10ccbd --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_SweptSurface.ixx @@ -0,0 +1,8 @@ +#include +#ifndef _ShapeSchema_PGeom_Curve_HeaderFile +#include +#endif +#ifndef _ShapeSchema_gp_Dir_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_ToroidalSurface.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_ToroidalSurface.cxx new file mode 100644 index 000000000..3a11deea1 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_ToroidalSurface.cxx @@ -0,0 +1,88 @@ +#ifndef _ShapeSchema_PGeom_ToroidalSurface_HeaderFile +#include +#endif +#ifndef _PGeom_ToroidalSurface_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom_ToroidalSurface,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom_ToroidalSurface,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom_ToroidalSurface::New() const +{ + return new PGeom_ToroidalSurface(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PGeom_ToroidalSurface::SAdd(const Handle(PGeom_ToroidalSurface)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom_ToroidalSurface")) { + + } + } +} + +void ShapeSchema_PGeom_ToroidalSurface::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_ToroidalSurface::SAdd((Handle(PGeom_ToroidalSurface)&)p,theSchema); +} + +void ShapeSchema_PGeom_ToroidalSurface::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_ToroidalSurface) &pp = (Handle(PGeom_ToroidalSurface)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + ShapeSchema_gp_Ax3::SWrite(pp->_CSFDB_GetPGeom_ElementarySurfaceposition(),f,theSchema); + f.PutReal(pp->_CSFDB_GetPGeom_ToroidalSurfacemajorRadius()); + f.PutReal(pp->_CSFDB_GetPGeom_ToroidalSurfaceminorRadius()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom_ToroidalSurface::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_ToroidalSurface::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom_ToroidalSurface::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_ToroidalSurface) &pp = (Handle(PGeom_ToroidalSurface)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + ShapeSchema_gp_Ax3::SRead((gp_Ax3&)pp->_CSFDB_GetPGeom_ElementarySurfaceposition(),f,theSchema); + + Standard_Real PGeom_ToroidalSurfacemajorRadius; + f.GetReal(PGeom_ToroidalSurfacemajorRadius); + pp->_CSFDB_SetPGeom_ToroidalSurfacemajorRadius(PGeom_ToroidalSurfacemajorRadius); + + Standard_Real PGeom_ToroidalSurfaceminorRadius; + f.GetReal(PGeom_ToroidalSurfaceminorRadius); + pp->_CSFDB_SetPGeom_ToroidalSurfaceminorRadius(PGeom_ToroidalSurfaceminorRadius); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom_ToroidalSurface::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom_ToroidalSurface::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_ToroidalSurface.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_ToroidalSurface.hxx new file mode 100644 index 000000000..77fcd65cc --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_ToroidalSurface.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom_ToroidalSurface_HeaderFile +#define _ShapeSchema_PGeom_ToroidalSurface_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom_ToroidalSurface_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom_ElementarySurface_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom_ToroidalSurface,Storage_CallBack) + +class ShapeSchema_PGeom_ToroidalSurface : public Storage_CallBack { +public: + ShapeSchema_PGeom_ToroidalSurface() {} + Standard_EXPORT static void SAdd(const Handle(PGeom_ToroidalSurface)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom_ToroidalSurface) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_ToroidalSurface.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_ToroidalSurface.ixx new file mode 100644 index 000000000..d9f651e8b --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_ToroidalSurface.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Transformation.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Transformation.cxx new file mode 100644 index 000000000..7471c9566 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Transformation.cxx @@ -0,0 +1,78 @@ +#ifndef _ShapeSchema_PGeom_Transformation_HeaderFile +#include +#endif +#ifndef _PGeom_Transformation_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom_Transformation,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom_Transformation,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom_Transformation::New() const +{ + return new PGeom_Transformation(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PGeom_Transformation::SAdd(const Handle(PGeom_Transformation)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom_Transformation")) { + + } + } +} + +void ShapeSchema_PGeom_Transformation::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_Transformation::SAdd((Handle(PGeom_Transformation)&)p,theSchema); +} + +void ShapeSchema_PGeom_Transformation::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_Transformation) &pp = (Handle(PGeom_Transformation)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + ShapeSchema_gp_Trsf::SWrite(pp->_CSFDB_GetPGeom_Transformationtrsf(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom_Transformation::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_Transformation::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom_Transformation::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_Transformation) &pp = (Handle(PGeom_Transformation)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + ShapeSchema_gp_Trsf::SRead((gp_Trsf&)pp->_CSFDB_GetPGeom_Transformationtrsf(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom_Transformation::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom_Transformation::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Transformation.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Transformation.hxx new file mode 100644 index 000000000..2040705f8 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Transformation.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom_Transformation_HeaderFile +#define _ShapeSchema_PGeom_Transformation_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom_Transformation_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom_Transformation,Storage_CallBack) + +class ShapeSchema_PGeom_Transformation : public Storage_CallBack { +public: + ShapeSchema_PGeom_Transformation() {} + Standard_EXPORT static void SAdd(const Handle(PGeom_Transformation)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom_Transformation) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Transformation.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Transformation.ixx new file mode 100644 index 000000000..c21a77fc6 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Transformation.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_gp_Trsf_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_TrimmedCurve.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_TrimmedCurve.cxx new file mode 100644 index 000000000..7390c6b2c --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_TrimmedCurve.cxx @@ -0,0 +1,92 @@ +#ifndef _ShapeSchema_PGeom_TrimmedCurve_HeaderFile +#include +#endif +#ifndef _PGeom_TrimmedCurve_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom_TrimmedCurve,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom_TrimmedCurve,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom_TrimmedCurve::New() const +{ + return new PGeom_TrimmedCurve(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PGeom_TrimmedCurve::SAdd(const Handle(PGeom_TrimmedCurve)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom_TrimmedCurve")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPGeom_TrimmedCurvebasisCurve()); + + } + } +} + +void ShapeSchema_PGeom_TrimmedCurve::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_TrimmedCurve::SAdd((Handle(PGeom_TrimmedCurve)&)p,theSchema); +} + +void ShapeSchema_PGeom_TrimmedCurve::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_TrimmedCurve) &pp = (Handle(PGeom_TrimmedCurve)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPGeom_TrimmedCurvebasisCurve(),f); + f.PutReal(pp->_CSFDB_GetPGeom_TrimmedCurvefirstU()); + f.PutReal(pp->_CSFDB_GetPGeom_TrimmedCurvelastU()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom_TrimmedCurve::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_TrimmedCurve::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom_TrimmedCurve::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_TrimmedCurve) &pp = (Handle(PGeom_TrimmedCurve)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PGeom_Curve) PGeom_TrimmedCurvebasisCurve; + + theSchema->ReadPersistentReference(PGeom_TrimmedCurvebasisCurve,f); + pp->_CSFDB_SetPGeom_TrimmedCurvebasisCurve(PGeom_TrimmedCurvebasisCurve); + + Standard_Real PGeom_TrimmedCurvefirstU; + f.GetReal(PGeom_TrimmedCurvefirstU); + pp->_CSFDB_SetPGeom_TrimmedCurvefirstU(PGeom_TrimmedCurvefirstU); + + Standard_Real PGeom_TrimmedCurvelastU; + f.GetReal(PGeom_TrimmedCurvelastU); + pp->_CSFDB_SetPGeom_TrimmedCurvelastU(PGeom_TrimmedCurvelastU); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom_TrimmedCurve::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom_TrimmedCurve::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_TrimmedCurve.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_TrimmedCurve.hxx new file mode 100644 index 000000000..f837902f2 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_TrimmedCurve.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom_TrimmedCurve_HeaderFile +#define _ShapeSchema_PGeom_TrimmedCurve_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom_TrimmedCurve_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom_BoundedCurve_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom_TrimmedCurve,Storage_CallBack) + +class ShapeSchema_PGeom_TrimmedCurve : public Storage_CallBack { +public: + ShapeSchema_PGeom_TrimmedCurve() {} + Standard_EXPORT static void SAdd(const Handle(PGeom_TrimmedCurve)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom_TrimmedCurve) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_TrimmedCurve.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_TrimmedCurve.ixx new file mode 100644 index 000000000..4ab27a02d --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_TrimmedCurve.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_PGeom_Curve_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Vector.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Vector.cxx new file mode 100644 index 000000000..3895a8604 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Vector.cxx @@ -0,0 +1,79 @@ +#ifndef _ShapeSchema_PGeom_Vector_HeaderFile +#include +#endif +#ifndef _PGeom_Vector_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom_Vector,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom_Vector,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom_Vector::New() const +{ + Handle(Standard_Persistent) NullObject; + return NullObject; +} + +void ShapeSchema_PGeom_Vector::SAdd(const Handle(PGeom_Vector)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom_Vector")) { + + } + } +} + +void ShapeSchema_PGeom_Vector::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_Vector::SAdd((Handle(PGeom_Vector)&)p,theSchema); +} + +void ShapeSchema_PGeom_Vector::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_Vector) &pp = (Handle(PGeom_Vector)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + ShapeSchema_gp_Vec::SWrite(pp->_CSFDB_GetPGeom_Vectorvec(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom_Vector::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_Vector::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom_Vector::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_Vector) &pp = (Handle(PGeom_Vector)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + ShapeSchema_gp_Vec::SRead((gp_Vec&)pp->_CSFDB_GetPGeom_Vectorvec(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom_Vector::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom_Vector::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Vector.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Vector.hxx new file mode 100644 index 000000000..5a355c123 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Vector.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom_Vector_HeaderFile +#define _ShapeSchema_PGeom_Vector_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom_Vector_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom_Geometry_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom_Vector,Storage_CallBack) + +class ShapeSchema_PGeom_Vector : public Storage_CallBack { +public: + ShapeSchema_PGeom_Vector() {} + Standard_EXPORT static void SAdd(const Handle(PGeom_Vector)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom_Vector) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Vector.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Vector.ixx new file mode 100644 index 000000000..5fc80f8b4 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_Vector.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_gp_Vec_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_VectorWithMagnitude.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_VectorWithMagnitude.cxx new file mode 100644 index 000000000..b4bc9d2af --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_VectorWithMagnitude.cxx @@ -0,0 +1,78 @@ +#ifndef _ShapeSchema_PGeom_VectorWithMagnitude_HeaderFile +#include +#endif +#ifndef _PGeom_VectorWithMagnitude_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom_VectorWithMagnitude,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom_VectorWithMagnitude,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PGeom_VectorWithMagnitude::New() const +{ + return new PGeom_VectorWithMagnitude(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PGeom_VectorWithMagnitude::SAdd(const Handle(PGeom_VectorWithMagnitude)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PGeom_VectorWithMagnitude")) { + + } + } +} + +void ShapeSchema_PGeom_VectorWithMagnitude::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_VectorWithMagnitude::SAdd((Handle(PGeom_VectorWithMagnitude)&)p,theSchema); +} + +void ShapeSchema_PGeom_VectorWithMagnitude::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_VectorWithMagnitude) &pp = (Handle(PGeom_VectorWithMagnitude)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + ShapeSchema_gp_Vec::SWrite(pp->_CSFDB_GetPGeom_Vectorvec(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PGeom_VectorWithMagnitude::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PGeom_VectorWithMagnitude::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PGeom_VectorWithMagnitude::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PGeom_VectorWithMagnitude) &pp = (Handle(PGeom_VectorWithMagnitude)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + ShapeSchema_gp_Vec::SRead((gp_Vec&)pp->_CSFDB_GetPGeom_Vectorvec(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PGeom_VectorWithMagnitude::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PGeom_VectorWithMagnitude::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_VectorWithMagnitude.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_VectorWithMagnitude.hxx new file mode 100644 index 000000000..4491c47fb --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_VectorWithMagnitude.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PGeom_VectorWithMagnitude_HeaderFile +#define _ShapeSchema_PGeom_VectorWithMagnitude_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PGeom_VectorWithMagnitude_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PGeom_Vector_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PGeom_VectorWithMagnitude,Storage_CallBack) + +class ShapeSchema_PGeom_VectorWithMagnitude : public Storage_CallBack { +public: + ShapeSchema_PGeom_VectorWithMagnitude() {} + Standard_EXPORT static void SAdd(const Handle(PGeom_VectorWithMagnitude)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PGeom_VectorWithMagnitude) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_VectorWithMagnitude.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_VectorWithMagnitude.ixx new file mode 100644 index 000000000..6cc40bdaf --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PGeom_VectorWithMagnitude.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PMMgt_PManaged.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PMMgt_PManaged.cxx new file mode 100644 index 000000000..9b5c4b780 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PMMgt_PManaged.cxx @@ -0,0 +1,76 @@ +#ifndef _ShapeSchema_PMMgt_PManaged_HeaderFile +#include +#endif +#ifndef _PMMgt_PManaged_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PMMgt_PManaged,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PMMgt_PManaged,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PMMgt_PManaged::New() const +{ + Handle(Standard_Persistent) NullObject; + return NullObject; +} + +void ShapeSchema_PMMgt_PManaged::SAdd(const Handle(PMMgt_PManaged)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PMMgt_PManaged")) { + + } + } +} + +void ShapeSchema_PMMgt_PManaged::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PMMgt_PManaged::SAdd((Handle(PMMgt_PManaged)&)p,theSchema); +} + +void ShapeSchema_PMMgt_PManaged::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PMMgt_PManaged) &pp = (Handle(PMMgt_PManaged)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PMMgt_PManaged::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PMMgt_PManaged::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PMMgt_PManaged::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PMMgt_PManaged) &pp = (Handle(PMMgt_PManaged)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PMMgt_PManaged::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PMMgt_PManaged::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PMMgt_PManaged.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PMMgt_PManaged.hxx new file mode 100644 index 000000000..b91f994c2 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PMMgt_PManaged.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PMMgt_PManaged_HeaderFile +#define _ShapeSchema_PMMgt_PManaged_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PMMgt_PManaged_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PMMgt_PManaged,Storage_CallBack) + +class ShapeSchema_PMMgt_PManaged : public Storage_CallBack { +public: + ShapeSchema_PMMgt_PManaged() {} + Standard_EXPORT static void SAdd(const Handle(PMMgt_PManaged)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PMMgt_PManaged) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PMMgt_PManaged.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PMMgt_PManaged.ixx new file mode 100644 index 000000000..e948378d1 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PMMgt_PManaged.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_FieldOfHArray1OfTriangle.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_FieldOfHArray1OfTriangle.cxx new file mode 100644 index 000000000..754c37699 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_FieldOfHArray1OfTriangle.cxx @@ -0,0 +1,42 @@ +#ifndef _ShapeSchema_PPoly_FieldOfHArray1OfTriangle_HeaderFile +#include +#endif +#ifndef _PPoly_FieldOfHArray1OfTriangle_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void ShapeSchema_PPoly_FieldOfHArray1OfTriangle::SWrite(const PPoly_FieldOfHArray1OfTriangle& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + + f.BeginWriteObjectData(); + f.PutInteger(pp.Length()); + for (Standard_Integer i = 0; i < pp.Length(); i++) { + ShapeSchema_PPoly_Triangle::SWrite(pp.Value(i),f,theSchema); + + } + f.EndWriteObjectData(); +} + +void ShapeSchema_PPoly_FieldOfHArray1OfTriangle::SRead(PPoly_FieldOfHArray1OfTriangle& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + Standard_Integer size = 0; + + f.BeginReadObjectData(); + f.GetInteger(size); + pp.Resize(size); + + for (Standard_Integer j = 0; j < size; j++) { + ShapeSchema_PPoly_Triangle::SRead((PPoly_Triangle&)pp.Value(j),f,theSchema); + + } + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_FieldOfHArray1OfTriangle.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_FieldOfHArray1OfTriangle.hxx new file mode 100644 index 000000000..ed13b3a24 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_FieldOfHArray1OfTriangle.hxx @@ -0,0 +1,29 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PPoly_FieldOfHArray1OfTriangle_HeaderFile +#define _ShapeSchema_PPoly_FieldOfHArray1OfTriangle_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PPoly_Triangle_HeaderFile +#include +#endif + + +class PPoly_FieldOfHArray1OfTriangle; + +class ShapeSchema_PPoly_FieldOfHArray1OfTriangle { +public: + Standard_EXPORT static void SAdd(const PPoly_FieldOfHArray1OfTriangle&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const PPoly_FieldOfHArray1OfTriangle&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(PPoly_FieldOfHArray1OfTriangle&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_FieldOfHArray1OfTriangle.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_FieldOfHArray1OfTriangle.ixx new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_FieldOfHArray1OfTriangle.ixx @@ -0,0 +1 @@ + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_HArray1OfTriangle.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_HArray1OfTriangle.cxx new file mode 100644 index 000000000..c4155c1fc --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_HArray1OfTriangle.cxx @@ -0,0 +1,88 @@ +#ifndef _ShapeSchema_PPoly_HArray1OfTriangle_HeaderFile +#include +#endif +#ifndef _PPoly_HArray1OfTriangle_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PPoly_HArray1OfTriangle,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PPoly_HArray1OfTriangle,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PPoly_HArray1OfTriangle::New() const +{ + return new PPoly_HArray1OfTriangle(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PPoly_HArray1OfTriangle::SAdd(const Handle(PPoly_HArray1OfTriangle)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PPoly_HArray1OfTriangle")) { + + } + } +} + +void ShapeSchema_PPoly_HArray1OfTriangle::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PPoly_HArray1OfTriangle::SAdd((Handle(PPoly_HArray1OfTriangle)&)p,theSchema); +} + +void ShapeSchema_PPoly_HArray1OfTriangle::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PPoly_HArray1OfTriangle) &pp = (Handle(PPoly_HArray1OfTriangle)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutInteger(pp->_CSFDB_GetPPoly_HArray1OfTriangleLowerBound()); + f.PutInteger(pp->_CSFDB_GetPPoly_HArray1OfTriangleUpperBound()); + ShapeSchema_PPoly_FieldOfHArray1OfTriangle::SWrite(pp->_CSFDB_GetPPoly_HArray1OfTriangleData(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PPoly_HArray1OfTriangle::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PPoly_HArray1OfTriangle::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PPoly_HArray1OfTriangle::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PPoly_HArray1OfTriangle) &pp = (Handle(PPoly_HArray1OfTriangle)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Integer PPoly_HArray1OfTriangleLowerBound; + f.GetInteger(PPoly_HArray1OfTriangleLowerBound); + pp->_CSFDB_SetPPoly_HArray1OfTriangleLowerBound(PPoly_HArray1OfTriangleLowerBound); + + Standard_Integer PPoly_HArray1OfTriangleUpperBound; + f.GetInteger(PPoly_HArray1OfTriangleUpperBound); + pp->_CSFDB_SetPPoly_HArray1OfTriangleUpperBound(PPoly_HArray1OfTriangleUpperBound); + + ShapeSchema_PPoly_FieldOfHArray1OfTriangle::SRead((PPoly_FieldOfHArray1OfTriangle&)pp->_CSFDB_GetPPoly_HArray1OfTriangleData(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PPoly_HArray1OfTriangle::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PPoly_HArray1OfTriangle::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_HArray1OfTriangle.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_HArray1OfTriangle.hxx new file mode 100644 index 000000000..ee09df7fd --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_HArray1OfTriangle.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PPoly_HArray1OfTriangle_HeaderFile +#define _ShapeSchema_PPoly_HArray1OfTriangle_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PPoly_HArray1OfTriangle_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PPoly_HArray1OfTriangle,Storage_CallBack) + +class ShapeSchema_PPoly_HArray1OfTriangle : public Storage_CallBack { +public: + ShapeSchema_PPoly_HArray1OfTriangle() {} + Standard_EXPORT static void SAdd(const Handle(PPoly_HArray1OfTriangle)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PPoly_HArray1OfTriangle) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_HArray1OfTriangle.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_HArray1OfTriangle.ixx new file mode 100644 index 000000000..8cc04c24b --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_HArray1OfTriangle.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_PPoly_FieldOfHArray1OfTriangle_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_Polygon2D.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_Polygon2D.cxx new file mode 100644 index 000000000..158c61dcc --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_Polygon2D.cxx @@ -0,0 +1,87 @@ +#ifndef _ShapeSchema_PPoly_Polygon2D_HeaderFile +#include +#endif +#ifndef _PPoly_Polygon2D_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PPoly_Polygon2D,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PPoly_Polygon2D,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PPoly_Polygon2D::New() const +{ + return new PPoly_Polygon2D(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PPoly_Polygon2D::SAdd(const Handle(PPoly_Polygon2D)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PPoly_Polygon2D")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPPoly_Polygon2DmyNodes()); + + } + } +} + +void ShapeSchema_PPoly_Polygon2D::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PPoly_Polygon2D::SAdd((Handle(PPoly_Polygon2D)&)p,theSchema); +} + +void ShapeSchema_PPoly_Polygon2D::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PPoly_Polygon2D) &pp = (Handle(PPoly_Polygon2D)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutReal(pp->_CSFDB_GetPPoly_Polygon2DmyDeflection()); + theSchema->WritePersistentReference(pp->_CSFDB_GetPPoly_Polygon2DmyNodes(),f); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PPoly_Polygon2D::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PPoly_Polygon2D::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PPoly_Polygon2D::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PPoly_Polygon2D) &pp = (Handle(PPoly_Polygon2D)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Real PPoly_Polygon2DmyDeflection; + f.GetReal(PPoly_Polygon2DmyDeflection); + pp->_CSFDB_SetPPoly_Polygon2DmyDeflection(PPoly_Polygon2DmyDeflection); + + Handle(PColgp_HArray1OfPnt2d) PPoly_Polygon2DmyNodes; + + theSchema->ReadPersistentReference(PPoly_Polygon2DmyNodes,f); + pp->_CSFDB_SetPPoly_Polygon2DmyNodes(PPoly_Polygon2DmyNodes); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PPoly_Polygon2D::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PPoly_Polygon2D::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_Polygon2D.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_Polygon2D.hxx new file mode 100644 index 000000000..8fc5e4be6 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_Polygon2D.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PPoly_Polygon2D_HeaderFile +#define _ShapeSchema_PPoly_Polygon2D_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PPoly_Polygon2D_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PPoly_Polygon2D,Storage_CallBack) + +class ShapeSchema_PPoly_Polygon2D : public Storage_CallBack { +public: + ShapeSchema_PPoly_Polygon2D() {} + Standard_EXPORT static void SAdd(const Handle(PPoly_Polygon2D)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PPoly_Polygon2D) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_Polygon2D.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_Polygon2D.ixx new file mode 100644 index 000000000..756f39934 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_Polygon2D.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_PColgp_HArray1OfPnt2d_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_Polygon3D.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_Polygon3D.cxx new file mode 100644 index 000000000..b7e4314aa --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_Polygon3D.cxx @@ -0,0 +1,94 @@ +#ifndef _ShapeSchema_PPoly_Polygon3D_HeaderFile +#include +#endif +#ifndef _PPoly_Polygon3D_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PPoly_Polygon3D,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PPoly_Polygon3D,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PPoly_Polygon3D::New() const +{ + return new PPoly_Polygon3D(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PPoly_Polygon3D::SAdd(const Handle(PPoly_Polygon3D)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PPoly_Polygon3D")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPPoly_Polygon3DmyNodes()); + theSchema->PersistentToAdd(p->_CSFDB_GetPPoly_Polygon3DmyParameters()); + + } + } +} + +void ShapeSchema_PPoly_Polygon3D::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PPoly_Polygon3D::SAdd((Handle(PPoly_Polygon3D)&)p,theSchema); +} + +void ShapeSchema_PPoly_Polygon3D::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PPoly_Polygon3D) &pp = (Handle(PPoly_Polygon3D)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutReal(pp->_CSFDB_GetPPoly_Polygon3DmyDeflection()); + theSchema->WritePersistentReference(pp->_CSFDB_GetPPoly_Polygon3DmyNodes(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPPoly_Polygon3DmyParameters(),f); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PPoly_Polygon3D::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PPoly_Polygon3D::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PPoly_Polygon3D::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PPoly_Polygon3D) &pp = (Handle(PPoly_Polygon3D)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Real PPoly_Polygon3DmyDeflection; + f.GetReal(PPoly_Polygon3DmyDeflection); + pp->_CSFDB_SetPPoly_Polygon3DmyDeflection(PPoly_Polygon3DmyDeflection); + + Handle(PColgp_HArray1OfPnt) PPoly_Polygon3DmyNodes; + + theSchema->ReadPersistentReference(PPoly_Polygon3DmyNodes,f); + pp->_CSFDB_SetPPoly_Polygon3DmyNodes(PPoly_Polygon3DmyNodes); + + Handle(PColStd_HArray1OfReal) PPoly_Polygon3DmyParameters; + + theSchema->ReadPersistentReference(PPoly_Polygon3DmyParameters,f); + pp->_CSFDB_SetPPoly_Polygon3DmyParameters(PPoly_Polygon3DmyParameters); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PPoly_Polygon3D::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PPoly_Polygon3D::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_Polygon3D.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_Polygon3D.hxx new file mode 100644 index 000000000..29e324ff9 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_Polygon3D.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PPoly_Polygon3D_HeaderFile +#define _ShapeSchema_PPoly_Polygon3D_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PPoly_Polygon3D_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PPoly_Polygon3D,Storage_CallBack) + +class ShapeSchema_PPoly_Polygon3D : public Storage_CallBack { +public: + ShapeSchema_PPoly_Polygon3D() {} + Standard_EXPORT static void SAdd(const Handle(PPoly_Polygon3D)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PPoly_Polygon3D) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_Polygon3D.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_Polygon3D.ixx new file mode 100644 index 000000000..c7924f413 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_Polygon3D.ixx @@ -0,0 +1,8 @@ +#include +#ifndef _ShapeSchema_PColgp_HArray1OfPnt_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColStd_HArray1OfReal_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_PolygonOnTriangulation.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_PolygonOnTriangulation.cxx new file mode 100644 index 000000000..68a2107bf --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_PolygonOnTriangulation.cxx @@ -0,0 +1,94 @@ +#ifndef _ShapeSchema_PPoly_PolygonOnTriangulation_HeaderFile +#include +#endif +#ifndef _PPoly_PolygonOnTriangulation_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PPoly_PolygonOnTriangulation,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PPoly_PolygonOnTriangulation,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PPoly_PolygonOnTriangulation::New() const +{ + return new PPoly_PolygonOnTriangulation(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PPoly_PolygonOnTriangulation::SAdd(const Handle(PPoly_PolygonOnTriangulation)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PPoly_PolygonOnTriangulation")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPPoly_PolygonOnTriangulationmyNodes()); + theSchema->PersistentToAdd(p->_CSFDB_GetPPoly_PolygonOnTriangulationmyParameters()); + + } + } +} + +void ShapeSchema_PPoly_PolygonOnTriangulation::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PPoly_PolygonOnTriangulation::SAdd((Handle(PPoly_PolygonOnTriangulation)&)p,theSchema); +} + +void ShapeSchema_PPoly_PolygonOnTriangulation::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PPoly_PolygonOnTriangulation) &pp = (Handle(PPoly_PolygonOnTriangulation)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutReal(pp->_CSFDB_GetPPoly_PolygonOnTriangulationmyDeflection()); + theSchema->WritePersistentReference(pp->_CSFDB_GetPPoly_PolygonOnTriangulationmyNodes(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPPoly_PolygonOnTriangulationmyParameters(),f); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PPoly_PolygonOnTriangulation::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PPoly_PolygonOnTriangulation::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PPoly_PolygonOnTriangulation::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PPoly_PolygonOnTriangulation) &pp = (Handle(PPoly_PolygonOnTriangulation)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Real PPoly_PolygonOnTriangulationmyDeflection; + f.GetReal(PPoly_PolygonOnTriangulationmyDeflection); + pp->_CSFDB_SetPPoly_PolygonOnTriangulationmyDeflection(PPoly_PolygonOnTriangulationmyDeflection); + + Handle(PColStd_HArray1OfInteger) PPoly_PolygonOnTriangulationmyNodes; + + theSchema->ReadPersistentReference(PPoly_PolygonOnTriangulationmyNodes,f); + pp->_CSFDB_SetPPoly_PolygonOnTriangulationmyNodes(PPoly_PolygonOnTriangulationmyNodes); + + Handle(PColStd_HArray1OfReal) PPoly_PolygonOnTriangulationmyParameters; + + theSchema->ReadPersistentReference(PPoly_PolygonOnTriangulationmyParameters,f); + pp->_CSFDB_SetPPoly_PolygonOnTriangulationmyParameters(PPoly_PolygonOnTriangulationmyParameters); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PPoly_PolygonOnTriangulation::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PPoly_PolygonOnTriangulation::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_PolygonOnTriangulation.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_PolygonOnTriangulation.hxx new file mode 100644 index 000000000..291383ea0 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_PolygonOnTriangulation.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PPoly_PolygonOnTriangulation_HeaderFile +#define _ShapeSchema_PPoly_PolygonOnTriangulation_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PPoly_PolygonOnTriangulation_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PPoly_PolygonOnTriangulation,Storage_CallBack) + +class ShapeSchema_PPoly_PolygonOnTriangulation : public Storage_CallBack { +public: + ShapeSchema_PPoly_PolygonOnTriangulation() {} + Standard_EXPORT static void SAdd(const Handle(PPoly_PolygonOnTriangulation)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PPoly_PolygonOnTriangulation) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_PolygonOnTriangulation.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_PolygonOnTriangulation.ixx new file mode 100644 index 000000000..b6b45a1ab --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_PolygonOnTriangulation.ixx @@ -0,0 +1,8 @@ +#include +#ifndef _ShapeSchema_PColStd_HArray1OfInteger_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColStd_HArray1OfReal_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_Triangle.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_Triangle.cxx new file mode 100644 index 000000000..dca89ae7a --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_Triangle.cxx @@ -0,0 +1,46 @@ +#ifndef _ShapeSchema_PPoly_Triangle_HeaderFile +#include +#endif +#ifndef _PPoly_Triangle_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void ShapeSchema_PPoly_Triangle::SWrite(const PPoly_Triangle& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + Standard_Integer PPoly_TrianglemyNodes1 = 0; + + for (PPoly_TrianglemyNodes1 = 0; PPoly_TrianglemyNodes1 < 3; PPoly_TrianglemyNodes1++) + { + f.PutInteger(((PPoly_Triangle&)pp)._CSFDB_GetPPoly_TrianglemyNodes(PPoly_TrianglemyNodes1)); + + } + + f.EndWriteObjectData(); +} + +void ShapeSchema_PPoly_Triangle::SRead(PPoly_Triangle& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + Standard_Integer PPoly_TrianglemyNodes1 = 0; + + for (PPoly_TrianglemyNodes1 = 0; PPoly_TrianglemyNodes1 < 3; PPoly_TrianglemyNodes1++) + { + Standard_Integer PPoly_TrianglemyNodes; + + f.GetInteger(PPoly_TrianglemyNodes); + pp._CSFDB_GetPPoly_TrianglemyNodes(PPoly_TrianglemyNodes1) = PPoly_TrianglemyNodes; + +} + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_Triangle.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_Triangle.hxx new file mode 100644 index 000000000..ec64e9abf --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_Triangle.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PPoly_Triangle_HeaderFile +#define _ShapeSchema_PPoly_Triangle_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class PPoly_Triangle; + +class ShapeSchema_PPoly_Triangle { +public: + Standard_EXPORT static void SAdd(const PPoly_Triangle&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const PPoly_Triangle&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(PPoly_Triangle&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_Triangle.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_Triangle.ixx new file mode 100644 index 000000000..e69de29bb diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_Triangulation.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_Triangulation.cxx new file mode 100644 index 000000000..25e20f5a8 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_Triangulation.cxx @@ -0,0 +1,101 @@ +#ifndef _ShapeSchema_PPoly_Triangulation_HeaderFile +#include +#endif +#ifndef _PPoly_Triangulation_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PPoly_Triangulation,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PPoly_Triangulation,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PPoly_Triangulation::New() const +{ + return new PPoly_Triangulation(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PPoly_Triangulation::SAdd(const Handle(PPoly_Triangulation)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PPoly_Triangulation")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPPoly_TriangulationmyNodes()); + theSchema->PersistentToAdd(p->_CSFDB_GetPPoly_TriangulationmyUVNodes()); + theSchema->PersistentToAdd(p->_CSFDB_GetPPoly_TriangulationmyTriangles()); + + } + } +} + +void ShapeSchema_PPoly_Triangulation::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PPoly_Triangulation::SAdd((Handle(PPoly_Triangulation)&)p,theSchema); +} + +void ShapeSchema_PPoly_Triangulation::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PPoly_Triangulation) &pp = (Handle(PPoly_Triangulation)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutReal(pp->_CSFDB_GetPPoly_TriangulationmyDeflection()); + theSchema->WritePersistentReference(pp->_CSFDB_GetPPoly_TriangulationmyNodes(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPPoly_TriangulationmyUVNodes(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPPoly_TriangulationmyTriangles(),f); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PPoly_Triangulation::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PPoly_Triangulation::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PPoly_Triangulation::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PPoly_Triangulation) &pp = (Handle(PPoly_Triangulation)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Real PPoly_TriangulationmyDeflection; + f.GetReal(PPoly_TriangulationmyDeflection); + pp->_CSFDB_SetPPoly_TriangulationmyDeflection(PPoly_TriangulationmyDeflection); + + Handle(PColgp_HArray1OfPnt) PPoly_TriangulationmyNodes; + + theSchema->ReadPersistentReference(PPoly_TriangulationmyNodes,f); + pp->_CSFDB_SetPPoly_TriangulationmyNodes(PPoly_TriangulationmyNodes); + + Handle(PColgp_HArray1OfPnt2d) PPoly_TriangulationmyUVNodes; + + theSchema->ReadPersistentReference(PPoly_TriangulationmyUVNodes,f); + pp->_CSFDB_SetPPoly_TriangulationmyUVNodes(PPoly_TriangulationmyUVNodes); + + Handle(PPoly_HArray1OfTriangle) PPoly_TriangulationmyTriangles; + + theSchema->ReadPersistentReference(PPoly_TriangulationmyTriangles,f); + pp->_CSFDB_SetPPoly_TriangulationmyTriangles(PPoly_TriangulationmyTriangles); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PPoly_Triangulation::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PPoly_Triangulation::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_Triangulation.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_Triangulation.hxx new file mode 100644 index 000000000..59296fac4 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_Triangulation.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PPoly_Triangulation_HeaderFile +#define _ShapeSchema_PPoly_Triangulation_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PPoly_Triangulation_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PPoly_Triangulation,Storage_CallBack) + +class ShapeSchema_PPoly_Triangulation : public Storage_CallBack { +public: + ShapeSchema_PPoly_Triangulation() {} + Standard_EXPORT static void SAdd(const Handle(PPoly_Triangulation)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PPoly_Triangulation) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_Triangulation.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_Triangulation.ixx new file mode 100644 index 000000000..72772753d --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PPoly_Triangulation.ixx @@ -0,0 +1,11 @@ +#include +#ifndef _ShapeSchema_PColgp_HArray1OfPnt_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PColgp_HArray1OfPnt2d_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PPoly_HArray1OfTriangle_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopLoc_Datum3D.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopLoc_Datum3D.cxx new file mode 100644 index 000000000..a275f8adc --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopLoc_Datum3D.cxx @@ -0,0 +1,78 @@ +#ifndef _ShapeSchema_PTopLoc_Datum3D_HeaderFile +#include +#endif +#ifndef _PTopLoc_Datum3D_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PTopLoc_Datum3D,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PTopLoc_Datum3D,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PTopLoc_Datum3D::New() const +{ + return new PTopLoc_Datum3D(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PTopLoc_Datum3D::SAdd(const Handle(PTopLoc_Datum3D)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PTopLoc_Datum3D")) { + + } + } +} + +void ShapeSchema_PTopLoc_Datum3D::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopLoc_Datum3D::SAdd((Handle(PTopLoc_Datum3D)&)p,theSchema); +} + +void ShapeSchema_PTopLoc_Datum3D::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopLoc_Datum3D) &pp = (Handle(PTopLoc_Datum3D)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + ShapeSchema_gp_Trsf::SWrite(pp->_CSFDB_GetPTopLoc_Datum3DmyTrsf(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PTopLoc_Datum3D::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopLoc_Datum3D::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PTopLoc_Datum3D::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopLoc_Datum3D) &pp = (Handle(PTopLoc_Datum3D)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + ShapeSchema_gp_Trsf::SRead((gp_Trsf&)pp->_CSFDB_GetPTopLoc_Datum3DmyTrsf(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PTopLoc_Datum3D::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PTopLoc_Datum3D::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopLoc_Datum3D.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopLoc_Datum3D.hxx new file mode 100644 index 000000000..7d461ce2f --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopLoc_Datum3D.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PTopLoc_Datum3D_HeaderFile +#define _ShapeSchema_PTopLoc_Datum3D_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PTopLoc_Datum3D_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PTopLoc_Datum3D,Storage_CallBack) + +class ShapeSchema_PTopLoc_Datum3D : public Storage_CallBack { +public: + ShapeSchema_PTopLoc_Datum3D() {} + Standard_EXPORT static void SAdd(const Handle(PTopLoc_Datum3D)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PTopLoc_Datum3D) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopLoc_Datum3D.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopLoc_Datum3D.ixx new file mode 100644 index 000000000..c21a77fc6 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopLoc_Datum3D.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_gp_Trsf_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopLoc_ItemLocation.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopLoc_ItemLocation.cxx new file mode 100644 index 000000000..2b54d92e9 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopLoc_ItemLocation.cxx @@ -0,0 +1,91 @@ +#ifndef _ShapeSchema_PTopLoc_ItemLocation_HeaderFile +#include +#endif +#ifndef _PTopLoc_ItemLocation_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PTopLoc_ItemLocation,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PTopLoc_ItemLocation,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PTopLoc_ItemLocation::New() const +{ + return new PTopLoc_ItemLocation(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PTopLoc_ItemLocation::SAdd(const Handle(PTopLoc_ItemLocation)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PTopLoc_ItemLocation")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPTopLoc_ItemLocationmyDatum()); + ShapeSchema_PTopLoc_Location::SAdd(p->_CSFDB_GetPTopLoc_ItemLocationmyNext(),theSchema); + + } + } +} + +void ShapeSchema_PTopLoc_ItemLocation::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopLoc_ItemLocation::SAdd((Handle(PTopLoc_ItemLocation)&)p,theSchema); +} + +void ShapeSchema_PTopLoc_ItemLocation::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopLoc_ItemLocation) &pp = (Handle(PTopLoc_ItemLocation)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPTopLoc_ItemLocationmyDatum(),f); + f.PutInteger(pp->_CSFDB_GetPTopLoc_ItemLocationmyPower()); + ShapeSchema_PTopLoc_Location::SWrite(pp->_CSFDB_GetPTopLoc_ItemLocationmyNext(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PTopLoc_ItemLocation::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopLoc_ItemLocation::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PTopLoc_ItemLocation::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopLoc_ItemLocation) &pp = (Handle(PTopLoc_ItemLocation)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PTopLoc_Datum3D) PTopLoc_ItemLocationmyDatum; + + theSchema->ReadPersistentReference(PTopLoc_ItemLocationmyDatum,f); + pp->_CSFDB_SetPTopLoc_ItemLocationmyDatum(PTopLoc_ItemLocationmyDatum); + + Standard_Integer PTopLoc_ItemLocationmyPower; + f.GetInteger(PTopLoc_ItemLocationmyPower); + pp->_CSFDB_SetPTopLoc_ItemLocationmyPower(PTopLoc_ItemLocationmyPower); + + ShapeSchema_PTopLoc_Location::SRead((PTopLoc_Location&)pp->_CSFDB_GetPTopLoc_ItemLocationmyNext(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PTopLoc_ItemLocation::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PTopLoc_ItemLocation::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopLoc_ItemLocation.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopLoc_ItemLocation.hxx new file mode 100644 index 000000000..6d8b65bc8 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopLoc_ItemLocation.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PTopLoc_ItemLocation_HeaderFile +#define _ShapeSchema_PTopLoc_ItemLocation_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PTopLoc_ItemLocation_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PTopLoc_ItemLocation,Storage_CallBack) + +class ShapeSchema_PTopLoc_ItemLocation : public Storage_CallBack { +public: + ShapeSchema_PTopLoc_ItemLocation() {} + Standard_EXPORT static void SAdd(const Handle(PTopLoc_ItemLocation)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PTopLoc_ItemLocation) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopLoc_ItemLocation.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopLoc_ItemLocation.ixx new file mode 100644 index 000000000..bf26db8df --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopLoc_ItemLocation.ixx @@ -0,0 +1,8 @@ +#include +#ifndef _ShapeSchema_PTopLoc_Datum3D_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PTopLoc_Location_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopLoc_Location.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopLoc_Location.cxx new file mode 100644 index 000000000..2f2ccfc22 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopLoc_Location.cxx @@ -0,0 +1,41 @@ +#ifndef _ShapeSchema_PTopLoc_Location_HeaderFile +#include +#endif +#ifndef _PTopLoc_Location_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void ShapeSchema_PTopLoc_Location::SAdd(const PTopLoc_Location& p, const Handle(Storage_Schema)& theSchema) +{ + theSchema->PersistentToAdd(p._CSFDB_GetPTopLoc_LocationmyData()); + +} + +void ShapeSchema_PTopLoc_Location::SWrite(const PTopLoc_Location& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + theSchema->WritePersistentReference(pp._CSFDB_GetPTopLoc_LocationmyData(),f); + + f.EndWriteObjectData(); +} + +void ShapeSchema_PTopLoc_Location::SRead(PTopLoc_Location& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + Handle(PTopLoc_ItemLocation) PTopLoc_LocationmyData; + + theSchema->ReadPersistentReference(PTopLoc_LocationmyData,f); + pp._CSFDB_SetPTopLoc_LocationmyData(PTopLoc_LocationmyData); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopLoc_Location.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopLoc_Location.hxx new file mode 100644 index 000000000..3e34192de --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopLoc_Location.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PTopLoc_Location_HeaderFile +#define _ShapeSchema_PTopLoc_Location_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class PTopLoc_Location; + +class ShapeSchema_PTopLoc_Location { +public: + Standard_EXPORT static void SAdd(const PTopLoc_Location&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const PTopLoc_Location&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(PTopLoc_Location&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopLoc_Location.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopLoc_Location.ixx new file mode 100644 index 000000000..bee078d27 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopLoc_Location.ixx @@ -0,0 +1,4 @@ +#ifndef _ShapeSchema_PTopLoc_ItemLocation_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_CompSolid.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_CompSolid.cxx new file mode 100644 index 000000000..78433bf61 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_CompSolid.cxx @@ -0,0 +1,100 @@ +#ifndef _ShapeSchema_PTopoDS_CompSolid_HeaderFile +#include +#endif +#ifndef _PTopoDS_CompSolid_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PTopoDS_CompSolid,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PTopoDS_CompSolid,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PTopoDS_CompSolid::New() const +{ + return new PTopoDS_CompSolid(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PTopoDS_CompSolid::SAdd(const Handle(PTopoDS_CompSolid)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PTopoDS_CompSolid")) { + theSchema->PersistentToAdd(p->_CSFDB_GetObjMgt_ExternShareablemyEntry()); + theSchema->PersistentToAdd(p->_CSFDB_GetPTopoDS_HShapemyTShape()); + ShapeSchema_PTopLoc_Location::SAdd(p->_CSFDB_GetPTopoDS_HShapemyLocation(),theSchema); + + } + } +} + +void ShapeSchema_PTopoDS_CompSolid::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_CompSolid::SAdd((Handle(PTopoDS_CompSolid)&)p,theSchema); +} + +void ShapeSchema_PTopoDS_CompSolid::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_CompSolid) &pp = (Handle(PTopoDS_CompSolid)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetObjMgt_ExternShareablemyEntry(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPTopoDS_HShapemyTShape(),f); + ShapeSchema_PTopLoc_Location::SWrite(pp->_CSFDB_GetPTopoDS_HShapemyLocation(),f,theSchema); + f.PutInteger(pp->_CSFDB_GetPTopoDS_HShapemyOrient()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_CompSolid::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_CompSolid::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PTopoDS_CompSolid::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_CompSolid) &pp = (Handle(PTopoDS_CompSolid)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PCollection_HAsciiString) ObjMgt_ExternShareablemyEntry; + + theSchema->ReadPersistentReference(ObjMgt_ExternShareablemyEntry,f); + pp->_CSFDB_SetObjMgt_ExternShareablemyEntry(ObjMgt_ExternShareablemyEntry); + + Handle(PTopoDS_TShape) PTopoDS_HShapemyTShape; + + theSchema->ReadPersistentReference(PTopoDS_HShapemyTShape,f); + pp->_CSFDB_SetPTopoDS_HShapemyTShape(PTopoDS_HShapemyTShape); + + ShapeSchema_PTopLoc_Location::SRead((PTopLoc_Location&)pp->_CSFDB_GetPTopoDS_HShapemyLocation(),f,theSchema); + + TopAbs_Orientation PTopoDS_HShapemyOrient; + Standard_Integer i_CSFDB_PTopoDS_HShapemyOrient; + f.GetInteger(i_CSFDB_PTopoDS_HShapemyOrient); + PTopoDS_HShapemyOrient = (TopAbs_Orientation)i_CSFDB_PTopoDS_HShapemyOrient; + pp->_CSFDB_SetPTopoDS_HShapemyOrient(PTopoDS_HShapemyOrient); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_CompSolid::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PTopoDS_CompSolid::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_CompSolid.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_CompSolid.hxx new file mode 100644 index 000000000..013b8f853 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_CompSolid.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PTopoDS_CompSolid_HeaderFile +#define _ShapeSchema_PTopoDS_CompSolid_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PTopoDS_CompSolid_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PTopoDS_HShape_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PTopoDS_CompSolid,Storage_CallBack) + +class ShapeSchema_PTopoDS_CompSolid : public Storage_CallBack { +public: + ShapeSchema_PTopoDS_CompSolid() {} + Standard_EXPORT static void SAdd(const Handle(PTopoDS_CompSolid)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PTopoDS_CompSolid) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_CompSolid.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_CompSolid.ixx new file mode 100644 index 000000000..6a57a161f --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_CompSolid.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Compound.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Compound.cxx new file mode 100644 index 000000000..825964316 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Compound.cxx @@ -0,0 +1,100 @@ +#ifndef _ShapeSchema_PTopoDS_Compound_HeaderFile +#include +#endif +#ifndef _PTopoDS_Compound_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PTopoDS_Compound,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PTopoDS_Compound,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PTopoDS_Compound::New() const +{ + return new PTopoDS_Compound(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PTopoDS_Compound::SAdd(const Handle(PTopoDS_Compound)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PTopoDS_Compound")) { + theSchema->PersistentToAdd(p->_CSFDB_GetObjMgt_ExternShareablemyEntry()); + theSchema->PersistentToAdd(p->_CSFDB_GetPTopoDS_HShapemyTShape()); + ShapeSchema_PTopLoc_Location::SAdd(p->_CSFDB_GetPTopoDS_HShapemyLocation(),theSchema); + + } + } +} + +void ShapeSchema_PTopoDS_Compound::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_Compound::SAdd((Handle(PTopoDS_Compound)&)p,theSchema); +} + +void ShapeSchema_PTopoDS_Compound::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_Compound) &pp = (Handle(PTopoDS_Compound)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetObjMgt_ExternShareablemyEntry(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPTopoDS_HShapemyTShape(),f); + ShapeSchema_PTopLoc_Location::SWrite(pp->_CSFDB_GetPTopoDS_HShapemyLocation(),f,theSchema); + f.PutInteger(pp->_CSFDB_GetPTopoDS_HShapemyOrient()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_Compound::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_Compound::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PTopoDS_Compound::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_Compound) &pp = (Handle(PTopoDS_Compound)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PCollection_HAsciiString) ObjMgt_ExternShareablemyEntry; + + theSchema->ReadPersistentReference(ObjMgt_ExternShareablemyEntry,f); + pp->_CSFDB_SetObjMgt_ExternShareablemyEntry(ObjMgt_ExternShareablemyEntry); + + Handle(PTopoDS_TShape) PTopoDS_HShapemyTShape; + + theSchema->ReadPersistentReference(PTopoDS_HShapemyTShape,f); + pp->_CSFDB_SetPTopoDS_HShapemyTShape(PTopoDS_HShapemyTShape); + + ShapeSchema_PTopLoc_Location::SRead((PTopLoc_Location&)pp->_CSFDB_GetPTopoDS_HShapemyLocation(),f,theSchema); + + TopAbs_Orientation PTopoDS_HShapemyOrient; + Standard_Integer i_CSFDB_PTopoDS_HShapemyOrient; + f.GetInteger(i_CSFDB_PTopoDS_HShapemyOrient); + PTopoDS_HShapemyOrient = (TopAbs_Orientation)i_CSFDB_PTopoDS_HShapemyOrient; + pp->_CSFDB_SetPTopoDS_HShapemyOrient(PTopoDS_HShapemyOrient); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_Compound::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PTopoDS_Compound::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Compound.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Compound.hxx new file mode 100644 index 000000000..8b574779c --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Compound.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PTopoDS_Compound_HeaderFile +#define _ShapeSchema_PTopoDS_Compound_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PTopoDS_Compound_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PTopoDS_HShape_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PTopoDS_Compound,Storage_CallBack) + +class ShapeSchema_PTopoDS_Compound : public Storage_CallBack { +public: + ShapeSchema_PTopoDS_Compound() {} + Standard_EXPORT static void SAdd(const Handle(PTopoDS_Compound)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PTopoDS_Compound) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Compound.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Compound.ixx new file mode 100644 index 000000000..6a57a161f --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Compound.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Edge.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Edge.cxx new file mode 100644 index 000000000..84f3c5925 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Edge.cxx @@ -0,0 +1,100 @@ +#ifndef _ShapeSchema_PTopoDS_Edge_HeaderFile +#include +#endif +#ifndef _PTopoDS_Edge_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PTopoDS_Edge,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PTopoDS_Edge,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PTopoDS_Edge::New() const +{ + return new PTopoDS_Edge(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PTopoDS_Edge::SAdd(const Handle(PTopoDS_Edge)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PTopoDS_Edge")) { + theSchema->PersistentToAdd(p->_CSFDB_GetObjMgt_ExternShareablemyEntry()); + theSchema->PersistentToAdd(p->_CSFDB_GetPTopoDS_HShapemyTShape()); + ShapeSchema_PTopLoc_Location::SAdd(p->_CSFDB_GetPTopoDS_HShapemyLocation(),theSchema); + + } + } +} + +void ShapeSchema_PTopoDS_Edge::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_Edge::SAdd((Handle(PTopoDS_Edge)&)p,theSchema); +} + +void ShapeSchema_PTopoDS_Edge::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_Edge) &pp = (Handle(PTopoDS_Edge)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetObjMgt_ExternShareablemyEntry(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPTopoDS_HShapemyTShape(),f); + ShapeSchema_PTopLoc_Location::SWrite(pp->_CSFDB_GetPTopoDS_HShapemyLocation(),f,theSchema); + f.PutInteger(pp->_CSFDB_GetPTopoDS_HShapemyOrient()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_Edge::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_Edge::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PTopoDS_Edge::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_Edge) &pp = (Handle(PTopoDS_Edge)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PCollection_HAsciiString) ObjMgt_ExternShareablemyEntry; + + theSchema->ReadPersistentReference(ObjMgt_ExternShareablemyEntry,f); + pp->_CSFDB_SetObjMgt_ExternShareablemyEntry(ObjMgt_ExternShareablemyEntry); + + Handle(PTopoDS_TShape) PTopoDS_HShapemyTShape; + + theSchema->ReadPersistentReference(PTopoDS_HShapemyTShape,f); + pp->_CSFDB_SetPTopoDS_HShapemyTShape(PTopoDS_HShapemyTShape); + + ShapeSchema_PTopLoc_Location::SRead((PTopLoc_Location&)pp->_CSFDB_GetPTopoDS_HShapemyLocation(),f,theSchema); + + TopAbs_Orientation PTopoDS_HShapemyOrient; + Standard_Integer i_CSFDB_PTopoDS_HShapemyOrient; + f.GetInteger(i_CSFDB_PTopoDS_HShapemyOrient); + PTopoDS_HShapemyOrient = (TopAbs_Orientation)i_CSFDB_PTopoDS_HShapemyOrient; + pp->_CSFDB_SetPTopoDS_HShapemyOrient(PTopoDS_HShapemyOrient); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_Edge::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PTopoDS_Edge::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Edge.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Edge.hxx new file mode 100644 index 000000000..f584693df --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Edge.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PTopoDS_Edge_HeaderFile +#define _ShapeSchema_PTopoDS_Edge_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PTopoDS_Edge_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PTopoDS_HShape_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PTopoDS_Edge,Storage_CallBack) + +class ShapeSchema_PTopoDS_Edge : public Storage_CallBack { +public: + ShapeSchema_PTopoDS_Edge() {} + Standard_EXPORT static void SAdd(const Handle(PTopoDS_Edge)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PTopoDS_Edge) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Edge.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Edge.ixx new file mode 100644 index 000000000..6a57a161f --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Edge.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Face.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Face.cxx new file mode 100644 index 000000000..1faab3881 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Face.cxx @@ -0,0 +1,100 @@ +#ifndef _ShapeSchema_PTopoDS_Face_HeaderFile +#include +#endif +#ifndef _PTopoDS_Face_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PTopoDS_Face,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PTopoDS_Face,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PTopoDS_Face::New() const +{ + return new PTopoDS_Face(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PTopoDS_Face::SAdd(const Handle(PTopoDS_Face)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PTopoDS_Face")) { + theSchema->PersistentToAdd(p->_CSFDB_GetObjMgt_ExternShareablemyEntry()); + theSchema->PersistentToAdd(p->_CSFDB_GetPTopoDS_HShapemyTShape()); + ShapeSchema_PTopLoc_Location::SAdd(p->_CSFDB_GetPTopoDS_HShapemyLocation(),theSchema); + + } + } +} + +void ShapeSchema_PTopoDS_Face::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_Face::SAdd((Handle(PTopoDS_Face)&)p,theSchema); +} + +void ShapeSchema_PTopoDS_Face::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_Face) &pp = (Handle(PTopoDS_Face)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetObjMgt_ExternShareablemyEntry(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPTopoDS_HShapemyTShape(),f); + ShapeSchema_PTopLoc_Location::SWrite(pp->_CSFDB_GetPTopoDS_HShapemyLocation(),f,theSchema); + f.PutInteger(pp->_CSFDB_GetPTopoDS_HShapemyOrient()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_Face::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_Face::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PTopoDS_Face::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_Face) &pp = (Handle(PTopoDS_Face)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PCollection_HAsciiString) ObjMgt_ExternShareablemyEntry; + + theSchema->ReadPersistentReference(ObjMgt_ExternShareablemyEntry,f); + pp->_CSFDB_SetObjMgt_ExternShareablemyEntry(ObjMgt_ExternShareablemyEntry); + + Handle(PTopoDS_TShape) PTopoDS_HShapemyTShape; + + theSchema->ReadPersistentReference(PTopoDS_HShapemyTShape,f); + pp->_CSFDB_SetPTopoDS_HShapemyTShape(PTopoDS_HShapemyTShape); + + ShapeSchema_PTopLoc_Location::SRead((PTopLoc_Location&)pp->_CSFDB_GetPTopoDS_HShapemyLocation(),f,theSchema); + + TopAbs_Orientation PTopoDS_HShapemyOrient; + Standard_Integer i_CSFDB_PTopoDS_HShapemyOrient; + f.GetInteger(i_CSFDB_PTopoDS_HShapemyOrient); + PTopoDS_HShapemyOrient = (TopAbs_Orientation)i_CSFDB_PTopoDS_HShapemyOrient; + pp->_CSFDB_SetPTopoDS_HShapemyOrient(PTopoDS_HShapemyOrient); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_Face::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PTopoDS_Face::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Face.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Face.hxx new file mode 100644 index 000000000..2c370c1e9 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Face.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PTopoDS_Face_HeaderFile +#define _ShapeSchema_PTopoDS_Face_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PTopoDS_Face_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PTopoDS_HShape_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PTopoDS_Face,Storage_CallBack) + +class ShapeSchema_PTopoDS_Face : public Storage_CallBack { +public: + ShapeSchema_PTopoDS_Face() {} + Standard_EXPORT static void SAdd(const Handle(PTopoDS_Face)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PTopoDS_Face) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Face.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Face.ixx new file mode 100644 index 000000000..6a57a161f --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Face.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_FieldOfHArray1OfHShape.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_FieldOfHArray1OfHShape.cxx new file mode 100644 index 000000000..1622f7a82 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_FieldOfHArray1OfHShape.cxx @@ -0,0 +1,54 @@ +#ifndef _ShapeSchema_PTopoDS_FieldOfHArray1OfHShape_HeaderFile +#include +#endif +#ifndef _PTopoDS_FieldOfHArray1OfHShape_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void ShapeSchema_PTopoDS_FieldOfHArray1OfHShape::SAdd(const PTopoDS_FieldOfHArray1OfHShape& p, const Handle(Storage_Schema)& theSchema) +{ + Standard_Integer i; + for (i = 0; i < p.Length(); i++) { + theSchema->PersistentToAdd(p.Value(i)); + } + +} + +void ShapeSchema_PTopoDS_FieldOfHArray1OfHShape::SWrite(const PTopoDS_FieldOfHArray1OfHShape& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + + f.BeginWriteObjectData(); + f.PutInteger(pp.Length()); + for (Standard_Integer i = 0; i < pp.Length(); i++) { + theSchema->WritePersistentReference(pp.Value(i),f); + + } + f.EndWriteObjectData(); +} + +void ShapeSchema_PTopoDS_FieldOfHArray1OfHShape::SRead(PTopoDS_FieldOfHArray1OfHShape& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + Standard_Integer size = 0; + + f.BeginReadObjectData(); + f.GetInteger(size); + pp.Resize(size); + + for (Standard_Integer j = 0; j < size; j++) { + Handle(PTopoDS_HShape) par; + + theSchema->ReadPersistentReference(par,f); + pp.SetValue(j,par); + + } + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_FieldOfHArray1OfHShape.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_FieldOfHArray1OfHShape.hxx new file mode 100644 index 000000000..c72423a34 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_FieldOfHArray1OfHShape.hxx @@ -0,0 +1,29 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PTopoDS_FieldOfHArray1OfHShape_HeaderFile +#define _ShapeSchema_PTopoDS_FieldOfHArray1OfHShape_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PTopoDS_HShape_HeaderFile +#include +#endif + + +class PTopoDS_FieldOfHArray1OfHShape; + +class ShapeSchema_PTopoDS_FieldOfHArray1OfHShape { +public: + Standard_EXPORT static void SAdd(const PTopoDS_FieldOfHArray1OfHShape&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const PTopoDS_FieldOfHArray1OfHShape&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(PTopoDS_FieldOfHArray1OfHShape&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_FieldOfHArray1OfHShape.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_FieldOfHArray1OfHShape.ixx new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_FieldOfHArray1OfHShape.ixx @@ -0,0 +1 @@ + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_FieldOfHArray1OfShape1.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_FieldOfHArray1OfShape1.cxx new file mode 100644 index 000000000..b3ed424cf --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_FieldOfHArray1OfShape1.cxx @@ -0,0 +1,51 @@ +#ifndef _ShapeSchema_PTopoDS_FieldOfHArray1OfShape1_HeaderFile +#include +#endif +#ifndef _PTopoDS_FieldOfHArray1OfShape1_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void ShapeSchema_PTopoDS_FieldOfHArray1OfShape1::SAdd(const PTopoDS_FieldOfHArray1OfShape1& p, const Handle(Storage_Schema)& theSchema) +{ + Standard_Integer i; + for (i = 0; i < p.Length(); i++) { + ShapeSchema_PTopoDS_Shape1::SAdd(p.Value(i),theSchema); + } + +} + +void ShapeSchema_PTopoDS_FieldOfHArray1OfShape1::SWrite(const PTopoDS_FieldOfHArray1OfShape1& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + + f.BeginWriteObjectData(); + f.PutInteger(pp.Length()); + for (Standard_Integer i = 0; i < pp.Length(); i++) { + ShapeSchema_PTopoDS_Shape1::SWrite(pp.Value(i),f,theSchema); + + } + f.EndWriteObjectData(); +} + +void ShapeSchema_PTopoDS_FieldOfHArray1OfShape1::SRead(PTopoDS_FieldOfHArray1OfShape1& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + Standard_Integer size = 0; + + f.BeginReadObjectData(); + f.GetInteger(size); + pp.Resize(size); + + for (Standard_Integer j = 0; j < size; j++) { + ShapeSchema_PTopoDS_Shape1::SRead((PTopoDS_Shape1&)pp.Value(j),f,theSchema); + + } + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_FieldOfHArray1OfShape1.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_FieldOfHArray1OfShape1.hxx new file mode 100644 index 000000000..c8f9072e9 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_FieldOfHArray1OfShape1.hxx @@ -0,0 +1,29 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PTopoDS_FieldOfHArray1OfShape1_HeaderFile +#define _ShapeSchema_PTopoDS_FieldOfHArray1OfShape1_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PTopoDS_Shape1_HeaderFile +#include +#endif + + +class PTopoDS_FieldOfHArray1OfShape1; + +class ShapeSchema_PTopoDS_FieldOfHArray1OfShape1 { +public: + Standard_EXPORT static void SAdd(const PTopoDS_FieldOfHArray1OfShape1&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const PTopoDS_FieldOfHArray1OfShape1&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(PTopoDS_FieldOfHArray1OfShape1&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_FieldOfHArray1OfShape1.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_FieldOfHArray1OfShape1.ixx new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_FieldOfHArray1OfShape1.ixx @@ -0,0 +1 @@ + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_HArray1OfHShape.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_HArray1OfHShape.cxx new file mode 100644 index 000000000..fb8699de0 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_HArray1OfHShape.cxx @@ -0,0 +1,89 @@ +#ifndef _ShapeSchema_PTopoDS_HArray1OfHShape_HeaderFile +#include +#endif +#ifndef _PTopoDS_HArray1OfHShape_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PTopoDS_HArray1OfHShape,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PTopoDS_HArray1OfHShape,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PTopoDS_HArray1OfHShape::New() const +{ + return new PTopoDS_HArray1OfHShape(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PTopoDS_HArray1OfHShape::SAdd(const Handle(PTopoDS_HArray1OfHShape)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PTopoDS_HArray1OfHShape")) { + ShapeSchema_PTopoDS_FieldOfHArray1OfHShape::SAdd(p->_CSFDB_GetPTopoDS_HArray1OfHShapeData(),theSchema); + + } + } +} + +void ShapeSchema_PTopoDS_HArray1OfHShape::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_HArray1OfHShape::SAdd((Handle(PTopoDS_HArray1OfHShape)&)p,theSchema); +} + +void ShapeSchema_PTopoDS_HArray1OfHShape::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_HArray1OfHShape) &pp = (Handle(PTopoDS_HArray1OfHShape)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutInteger(pp->_CSFDB_GetPTopoDS_HArray1OfHShapeLowerBound()); + f.PutInteger(pp->_CSFDB_GetPTopoDS_HArray1OfHShapeUpperBound()); + ShapeSchema_PTopoDS_FieldOfHArray1OfHShape::SWrite(pp->_CSFDB_GetPTopoDS_HArray1OfHShapeData(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_HArray1OfHShape::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_HArray1OfHShape::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PTopoDS_HArray1OfHShape::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_HArray1OfHShape) &pp = (Handle(PTopoDS_HArray1OfHShape)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Integer PTopoDS_HArray1OfHShapeLowerBound; + f.GetInteger(PTopoDS_HArray1OfHShapeLowerBound); + pp->_CSFDB_SetPTopoDS_HArray1OfHShapeLowerBound(PTopoDS_HArray1OfHShapeLowerBound); + + Standard_Integer PTopoDS_HArray1OfHShapeUpperBound; + f.GetInteger(PTopoDS_HArray1OfHShapeUpperBound); + pp->_CSFDB_SetPTopoDS_HArray1OfHShapeUpperBound(PTopoDS_HArray1OfHShapeUpperBound); + + ShapeSchema_PTopoDS_FieldOfHArray1OfHShape::SRead((PTopoDS_FieldOfHArray1OfHShape&)pp->_CSFDB_GetPTopoDS_HArray1OfHShapeData(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_HArray1OfHShape::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PTopoDS_HArray1OfHShape::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_HArray1OfHShape.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_HArray1OfHShape.hxx new file mode 100644 index 000000000..a9682ae4e --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_HArray1OfHShape.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PTopoDS_HArray1OfHShape_HeaderFile +#define _ShapeSchema_PTopoDS_HArray1OfHShape_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PTopoDS_HArray1OfHShape_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PTopoDS_HArray1OfHShape,Storage_CallBack) + +class ShapeSchema_PTopoDS_HArray1OfHShape : public Storage_CallBack { +public: + ShapeSchema_PTopoDS_HArray1OfHShape() {} + Standard_EXPORT static void SAdd(const Handle(PTopoDS_HArray1OfHShape)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PTopoDS_HArray1OfHShape) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_HArray1OfHShape.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_HArray1OfHShape.ixx new file mode 100644 index 000000000..cb5e2c979 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_HArray1OfHShape.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_PTopoDS_FieldOfHArray1OfHShape_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_HArray1OfShape1.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_HArray1OfShape1.cxx new file mode 100644 index 000000000..0ead8ceaf --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_HArray1OfShape1.cxx @@ -0,0 +1,89 @@ +#ifndef _ShapeSchema_PTopoDS_HArray1OfShape1_HeaderFile +#include +#endif +#ifndef _PTopoDS_HArray1OfShape1_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PTopoDS_HArray1OfShape1,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PTopoDS_HArray1OfShape1,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PTopoDS_HArray1OfShape1::New() const +{ + return new PTopoDS_HArray1OfShape1(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PTopoDS_HArray1OfShape1::SAdd(const Handle(PTopoDS_HArray1OfShape1)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PTopoDS_HArray1OfShape1")) { + ShapeSchema_PTopoDS_FieldOfHArray1OfShape1::SAdd(p->_CSFDB_GetPTopoDS_HArray1OfShape1Data(),theSchema); + + } + } +} + +void ShapeSchema_PTopoDS_HArray1OfShape1::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_HArray1OfShape1::SAdd((Handle(PTopoDS_HArray1OfShape1)&)p,theSchema); +} + +void ShapeSchema_PTopoDS_HArray1OfShape1::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_HArray1OfShape1) &pp = (Handle(PTopoDS_HArray1OfShape1)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutInteger(pp->_CSFDB_GetPTopoDS_HArray1OfShape1LowerBound()); + f.PutInteger(pp->_CSFDB_GetPTopoDS_HArray1OfShape1UpperBound()); + ShapeSchema_PTopoDS_FieldOfHArray1OfShape1::SWrite(pp->_CSFDB_GetPTopoDS_HArray1OfShape1Data(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_HArray1OfShape1::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_HArray1OfShape1::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PTopoDS_HArray1OfShape1::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_HArray1OfShape1) &pp = (Handle(PTopoDS_HArray1OfShape1)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Integer PTopoDS_HArray1OfShape1LowerBound; + f.GetInteger(PTopoDS_HArray1OfShape1LowerBound); + pp->_CSFDB_SetPTopoDS_HArray1OfShape1LowerBound(PTopoDS_HArray1OfShape1LowerBound); + + Standard_Integer PTopoDS_HArray1OfShape1UpperBound; + f.GetInteger(PTopoDS_HArray1OfShape1UpperBound); + pp->_CSFDB_SetPTopoDS_HArray1OfShape1UpperBound(PTopoDS_HArray1OfShape1UpperBound); + + ShapeSchema_PTopoDS_FieldOfHArray1OfShape1::SRead((PTopoDS_FieldOfHArray1OfShape1&)pp->_CSFDB_GetPTopoDS_HArray1OfShape1Data(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_HArray1OfShape1::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PTopoDS_HArray1OfShape1::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_HArray1OfShape1.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_HArray1OfShape1.hxx new file mode 100644 index 000000000..77faac775 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_HArray1OfShape1.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PTopoDS_HArray1OfShape1_HeaderFile +#define _ShapeSchema_PTopoDS_HArray1OfShape1_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PTopoDS_HArray1OfShape1_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PTopoDS_HArray1OfShape1,Storage_CallBack) + +class ShapeSchema_PTopoDS_HArray1OfShape1 : public Storage_CallBack { +public: + ShapeSchema_PTopoDS_HArray1OfShape1() {} + Standard_EXPORT static void SAdd(const Handle(PTopoDS_HArray1OfShape1)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PTopoDS_HArray1OfShape1) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_HArray1OfShape1.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_HArray1OfShape1.ixx new file mode 100644 index 000000000..8f3790f01 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_HArray1OfShape1.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_PTopoDS_FieldOfHArray1OfShape1_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_HShape.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_HShape.cxx new file mode 100644 index 000000000..7886dc366 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_HShape.cxx @@ -0,0 +1,100 @@ +#ifndef _ShapeSchema_PTopoDS_HShape_HeaderFile +#include +#endif +#ifndef _PTopoDS_HShape_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PTopoDS_HShape,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PTopoDS_HShape,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PTopoDS_HShape::New() const +{ + return new PTopoDS_HShape(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PTopoDS_HShape::SAdd(const Handle(PTopoDS_HShape)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PTopoDS_HShape")) { + theSchema->PersistentToAdd(p->_CSFDB_GetObjMgt_ExternShareablemyEntry()); + theSchema->PersistentToAdd(p->_CSFDB_GetPTopoDS_HShapemyTShape()); + ShapeSchema_PTopLoc_Location::SAdd(p->_CSFDB_GetPTopoDS_HShapemyLocation(),theSchema); + + } + } +} + +void ShapeSchema_PTopoDS_HShape::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_HShape::SAdd((Handle(PTopoDS_HShape)&)p,theSchema); +} + +void ShapeSchema_PTopoDS_HShape::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_HShape) &pp = (Handle(PTopoDS_HShape)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetObjMgt_ExternShareablemyEntry(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPTopoDS_HShapemyTShape(),f); + ShapeSchema_PTopLoc_Location::SWrite(pp->_CSFDB_GetPTopoDS_HShapemyLocation(),f,theSchema); + f.PutInteger(pp->_CSFDB_GetPTopoDS_HShapemyOrient()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_HShape::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_HShape::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PTopoDS_HShape::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_HShape) &pp = (Handle(PTopoDS_HShape)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PCollection_HAsciiString) ObjMgt_ExternShareablemyEntry; + + theSchema->ReadPersistentReference(ObjMgt_ExternShareablemyEntry,f); + pp->_CSFDB_SetObjMgt_ExternShareablemyEntry(ObjMgt_ExternShareablemyEntry); + + Handle(PTopoDS_TShape) PTopoDS_HShapemyTShape; + + theSchema->ReadPersistentReference(PTopoDS_HShapemyTShape,f); + pp->_CSFDB_SetPTopoDS_HShapemyTShape(PTopoDS_HShapemyTShape); + + ShapeSchema_PTopLoc_Location::SRead((PTopLoc_Location&)pp->_CSFDB_GetPTopoDS_HShapemyLocation(),f,theSchema); + + TopAbs_Orientation PTopoDS_HShapemyOrient; + Standard_Integer i_CSFDB_PTopoDS_HShapemyOrient; + f.GetInteger(i_CSFDB_PTopoDS_HShapemyOrient); + PTopoDS_HShapemyOrient = (TopAbs_Orientation)i_CSFDB_PTopoDS_HShapemyOrient; + pp->_CSFDB_SetPTopoDS_HShapemyOrient(PTopoDS_HShapemyOrient); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_HShape::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PTopoDS_HShape::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_HShape.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_HShape.hxx new file mode 100644 index 000000000..4e4f6219d --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_HShape.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PTopoDS_HShape_HeaderFile +#define _ShapeSchema_PTopoDS_HShape_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PTopoDS_HShape_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_ObjMgt_ExternShareable_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PTopoDS_HShape,Storage_CallBack) + +class ShapeSchema_PTopoDS_HShape : public Storage_CallBack { +public: + ShapeSchema_PTopoDS_HShape() {} + Standard_EXPORT static void SAdd(const Handle(PTopoDS_HShape)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PTopoDS_HShape) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_HShape.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_HShape.ixx new file mode 100644 index 000000000..2f80d0e03 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_HShape.ixx @@ -0,0 +1,8 @@ +#include +#ifndef _ShapeSchema_PTopoDS_TShape_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PTopLoc_Location_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Shape1.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Shape1.cxx new file mode 100644 index 000000000..d2f42eab9 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Shape1.cxx @@ -0,0 +1,52 @@ +#ifndef _ShapeSchema_PTopoDS_Shape1_HeaderFile +#include +#endif +#ifndef _PTopoDS_Shape1_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void ShapeSchema_PTopoDS_Shape1::SAdd(const PTopoDS_Shape1& p, const Handle(Storage_Schema)& theSchema) +{ + theSchema->PersistentToAdd(p._CSFDB_GetPTopoDS_Shape1myTShape()); + ShapeSchema_PTopLoc_Location::SAdd(p._CSFDB_GetPTopoDS_Shape1myLocation(),theSchema); + +} + +void ShapeSchema_PTopoDS_Shape1::SWrite(const PTopoDS_Shape1& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + theSchema->WritePersistentReference(pp._CSFDB_GetPTopoDS_Shape1myTShape(),f); + ShapeSchema_PTopLoc_Location::SWrite(pp._CSFDB_GetPTopoDS_Shape1myLocation(),f,theSchema); + f.PutInteger(pp._CSFDB_GetPTopoDS_Shape1myOrient()); + + f.EndWriteObjectData(); +} + +void ShapeSchema_PTopoDS_Shape1::SRead(PTopoDS_Shape1& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + Handle(PTopoDS_TShape1) PTopoDS_Shape1myTShape; + + theSchema->ReadPersistentReference(PTopoDS_Shape1myTShape,f); + pp._CSFDB_SetPTopoDS_Shape1myTShape(PTopoDS_Shape1myTShape); + + ShapeSchema_PTopLoc_Location::SRead((PTopLoc_Location&)pp._CSFDB_GetPTopoDS_Shape1myLocation(),f,theSchema); + + TopAbs_Orientation PTopoDS_Shape1myOrient; + Standard_Integer i_CSFDB_PTopoDS_Shape1myOrient; + f.GetInteger(i_CSFDB_PTopoDS_Shape1myOrient); + PTopoDS_Shape1myOrient = (TopAbs_Orientation)i_CSFDB_PTopoDS_Shape1myOrient; + pp._CSFDB_SetPTopoDS_Shape1myOrient(PTopoDS_Shape1myOrient); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Shape1.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Shape1.hxx new file mode 100644 index 000000000..0ca819292 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Shape1.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PTopoDS_Shape1_HeaderFile +#define _ShapeSchema_PTopoDS_Shape1_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class PTopoDS_Shape1; + +class ShapeSchema_PTopoDS_Shape1 { +public: + Standard_EXPORT static void SAdd(const PTopoDS_Shape1&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const PTopoDS_Shape1&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(PTopoDS_Shape1&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Shape1.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Shape1.ixx new file mode 100644 index 000000000..fd5c48eb3 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Shape1.ixx @@ -0,0 +1,7 @@ +#ifndef _ShapeSchema_PTopoDS_TShape1_HeaderFile +#include +#endif +#ifndef _ShapeSchema_PTopLoc_Location_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Shell.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Shell.cxx new file mode 100644 index 000000000..833800588 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Shell.cxx @@ -0,0 +1,100 @@ +#ifndef _ShapeSchema_PTopoDS_Shell_HeaderFile +#include +#endif +#ifndef _PTopoDS_Shell_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PTopoDS_Shell,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PTopoDS_Shell,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PTopoDS_Shell::New() const +{ + return new PTopoDS_Shell(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PTopoDS_Shell::SAdd(const Handle(PTopoDS_Shell)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PTopoDS_Shell")) { + theSchema->PersistentToAdd(p->_CSFDB_GetObjMgt_ExternShareablemyEntry()); + theSchema->PersistentToAdd(p->_CSFDB_GetPTopoDS_HShapemyTShape()); + ShapeSchema_PTopLoc_Location::SAdd(p->_CSFDB_GetPTopoDS_HShapemyLocation(),theSchema); + + } + } +} + +void ShapeSchema_PTopoDS_Shell::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_Shell::SAdd((Handle(PTopoDS_Shell)&)p,theSchema); +} + +void ShapeSchema_PTopoDS_Shell::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_Shell) &pp = (Handle(PTopoDS_Shell)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetObjMgt_ExternShareablemyEntry(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPTopoDS_HShapemyTShape(),f); + ShapeSchema_PTopLoc_Location::SWrite(pp->_CSFDB_GetPTopoDS_HShapemyLocation(),f,theSchema); + f.PutInteger(pp->_CSFDB_GetPTopoDS_HShapemyOrient()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_Shell::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_Shell::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PTopoDS_Shell::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_Shell) &pp = (Handle(PTopoDS_Shell)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PCollection_HAsciiString) ObjMgt_ExternShareablemyEntry; + + theSchema->ReadPersistentReference(ObjMgt_ExternShareablemyEntry,f); + pp->_CSFDB_SetObjMgt_ExternShareablemyEntry(ObjMgt_ExternShareablemyEntry); + + Handle(PTopoDS_TShape) PTopoDS_HShapemyTShape; + + theSchema->ReadPersistentReference(PTopoDS_HShapemyTShape,f); + pp->_CSFDB_SetPTopoDS_HShapemyTShape(PTopoDS_HShapemyTShape); + + ShapeSchema_PTopLoc_Location::SRead((PTopLoc_Location&)pp->_CSFDB_GetPTopoDS_HShapemyLocation(),f,theSchema); + + TopAbs_Orientation PTopoDS_HShapemyOrient; + Standard_Integer i_CSFDB_PTopoDS_HShapemyOrient; + f.GetInteger(i_CSFDB_PTopoDS_HShapemyOrient); + PTopoDS_HShapemyOrient = (TopAbs_Orientation)i_CSFDB_PTopoDS_HShapemyOrient; + pp->_CSFDB_SetPTopoDS_HShapemyOrient(PTopoDS_HShapemyOrient); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_Shell::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PTopoDS_Shell::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Shell.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Shell.hxx new file mode 100644 index 000000000..3ea37c1e3 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Shell.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PTopoDS_Shell_HeaderFile +#define _ShapeSchema_PTopoDS_Shell_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PTopoDS_Shell_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PTopoDS_HShape_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PTopoDS_Shell,Storage_CallBack) + +class ShapeSchema_PTopoDS_Shell : public Storage_CallBack { +public: + ShapeSchema_PTopoDS_Shell() {} + Standard_EXPORT static void SAdd(const Handle(PTopoDS_Shell)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PTopoDS_Shell) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Shell.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Shell.ixx new file mode 100644 index 000000000..6a57a161f --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Shell.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Solid.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Solid.cxx new file mode 100644 index 000000000..0597bd717 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Solid.cxx @@ -0,0 +1,100 @@ +#ifndef _ShapeSchema_PTopoDS_Solid_HeaderFile +#include +#endif +#ifndef _PTopoDS_Solid_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PTopoDS_Solid,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PTopoDS_Solid,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PTopoDS_Solid::New() const +{ + return new PTopoDS_Solid(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PTopoDS_Solid::SAdd(const Handle(PTopoDS_Solid)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PTopoDS_Solid")) { + theSchema->PersistentToAdd(p->_CSFDB_GetObjMgt_ExternShareablemyEntry()); + theSchema->PersistentToAdd(p->_CSFDB_GetPTopoDS_HShapemyTShape()); + ShapeSchema_PTopLoc_Location::SAdd(p->_CSFDB_GetPTopoDS_HShapemyLocation(),theSchema); + + } + } +} + +void ShapeSchema_PTopoDS_Solid::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_Solid::SAdd((Handle(PTopoDS_Solid)&)p,theSchema); +} + +void ShapeSchema_PTopoDS_Solid::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_Solid) &pp = (Handle(PTopoDS_Solid)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetObjMgt_ExternShareablemyEntry(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPTopoDS_HShapemyTShape(),f); + ShapeSchema_PTopLoc_Location::SWrite(pp->_CSFDB_GetPTopoDS_HShapemyLocation(),f,theSchema); + f.PutInteger(pp->_CSFDB_GetPTopoDS_HShapemyOrient()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_Solid::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_Solid::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PTopoDS_Solid::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_Solid) &pp = (Handle(PTopoDS_Solid)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PCollection_HAsciiString) ObjMgt_ExternShareablemyEntry; + + theSchema->ReadPersistentReference(ObjMgt_ExternShareablemyEntry,f); + pp->_CSFDB_SetObjMgt_ExternShareablemyEntry(ObjMgt_ExternShareablemyEntry); + + Handle(PTopoDS_TShape) PTopoDS_HShapemyTShape; + + theSchema->ReadPersistentReference(PTopoDS_HShapemyTShape,f); + pp->_CSFDB_SetPTopoDS_HShapemyTShape(PTopoDS_HShapemyTShape); + + ShapeSchema_PTopLoc_Location::SRead((PTopLoc_Location&)pp->_CSFDB_GetPTopoDS_HShapemyLocation(),f,theSchema); + + TopAbs_Orientation PTopoDS_HShapemyOrient; + Standard_Integer i_CSFDB_PTopoDS_HShapemyOrient; + f.GetInteger(i_CSFDB_PTopoDS_HShapemyOrient); + PTopoDS_HShapemyOrient = (TopAbs_Orientation)i_CSFDB_PTopoDS_HShapemyOrient; + pp->_CSFDB_SetPTopoDS_HShapemyOrient(PTopoDS_HShapemyOrient); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_Solid::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PTopoDS_Solid::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Solid.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Solid.hxx new file mode 100644 index 000000000..467104cf6 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Solid.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PTopoDS_Solid_HeaderFile +#define _ShapeSchema_PTopoDS_Solid_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PTopoDS_Solid_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PTopoDS_HShape_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PTopoDS_Solid,Storage_CallBack) + +class ShapeSchema_PTopoDS_Solid : public Storage_CallBack { +public: + ShapeSchema_PTopoDS_Solid() {} + Standard_EXPORT static void SAdd(const Handle(PTopoDS_Solid)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PTopoDS_Solid) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Solid.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Solid.ixx new file mode 100644 index 000000000..6a57a161f --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Solid.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TCompSolid.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TCompSolid.cxx new file mode 100644 index 000000000..8de24172d --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TCompSolid.cxx @@ -0,0 +1,87 @@ +#ifndef _ShapeSchema_PTopoDS_TCompSolid_HeaderFile +#include +#endif +#ifndef _PTopoDS_TCompSolid_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PTopoDS_TCompSolid,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PTopoDS_TCompSolid,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PTopoDS_TCompSolid::New() const +{ + return new PTopoDS_TCompSolid(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PTopoDS_TCompSolid::SAdd(const Handle(PTopoDS_TCompSolid)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PTopoDS_TCompSolid")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPTopoDS_TShapemyShapes()); + + } + } +} + +void ShapeSchema_PTopoDS_TCompSolid::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_TCompSolid::SAdd((Handle(PTopoDS_TCompSolid)&)p,theSchema); +} + +void ShapeSchema_PTopoDS_TCompSolid::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_TCompSolid) &pp = (Handle(PTopoDS_TCompSolid)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPTopoDS_TShapemyShapes(),f); + f.PutInteger(pp->_CSFDB_GetPTopoDS_TShapemyFlags()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_TCompSolid::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_TCompSolid::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PTopoDS_TCompSolid::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_TCompSolid) &pp = (Handle(PTopoDS_TCompSolid)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PTopoDS_HArray1OfHShape) PTopoDS_TShapemyShapes; + + theSchema->ReadPersistentReference(PTopoDS_TShapemyShapes,f); + pp->_CSFDB_SetPTopoDS_TShapemyShapes(PTopoDS_TShapemyShapes); + + Standard_Integer PTopoDS_TShapemyFlags; + f.GetInteger(PTopoDS_TShapemyFlags); + pp->_CSFDB_SetPTopoDS_TShapemyFlags(PTopoDS_TShapemyFlags); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_TCompSolid::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PTopoDS_TCompSolid::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TCompSolid.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TCompSolid.hxx new file mode 100644 index 000000000..152012c06 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TCompSolid.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PTopoDS_TCompSolid_HeaderFile +#define _ShapeSchema_PTopoDS_TCompSolid_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PTopoDS_TCompSolid_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PTopoDS_TShape_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PTopoDS_TCompSolid,Storage_CallBack) + +class ShapeSchema_PTopoDS_TCompSolid : public Storage_CallBack { +public: + ShapeSchema_PTopoDS_TCompSolid() {} + Standard_EXPORT static void SAdd(const Handle(PTopoDS_TCompSolid)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PTopoDS_TCompSolid) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TCompSolid.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TCompSolid.ixx new file mode 100644 index 000000000..4d6d06872 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TCompSolid.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TCompSolid1.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TCompSolid1.cxx new file mode 100644 index 000000000..31a06ebfe --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TCompSolid1.cxx @@ -0,0 +1,87 @@ +#ifndef _ShapeSchema_PTopoDS_TCompSolid1_HeaderFile +#include +#endif +#ifndef _PTopoDS_TCompSolid1_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PTopoDS_TCompSolid1,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PTopoDS_TCompSolid1,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PTopoDS_TCompSolid1::New() const +{ + return new PTopoDS_TCompSolid1(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PTopoDS_TCompSolid1::SAdd(const Handle(PTopoDS_TCompSolid1)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PTopoDS_TCompSolid1")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPTopoDS_TShape1myShapes()); + + } + } +} + +void ShapeSchema_PTopoDS_TCompSolid1::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_TCompSolid1::SAdd((Handle(PTopoDS_TCompSolid1)&)p,theSchema); +} + +void ShapeSchema_PTopoDS_TCompSolid1::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_TCompSolid1) &pp = (Handle(PTopoDS_TCompSolid1)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPTopoDS_TShape1myShapes(),f); + f.PutInteger(pp->_CSFDB_GetPTopoDS_TShape1myFlags()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_TCompSolid1::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_TCompSolid1::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PTopoDS_TCompSolid1::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_TCompSolid1) &pp = (Handle(PTopoDS_TCompSolid1)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PTopoDS_HArray1OfShape1) PTopoDS_TShape1myShapes; + + theSchema->ReadPersistentReference(PTopoDS_TShape1myShapes,f); + pp->_CSFDB_SetPTopoDS_TShape1myShapes(PTopoDS_TShape1myShapes); + + Standard_Integer PTopoDS_TShape1myFlags; + f.GetInteger(PTopoDS_TShape1myFlags); + pp->_CSFDB_SetPTopoDS_TShape1myFlags(PTopoDS_TShape1myFlags); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_TCompSolid1::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PTopoDS_TCompSolid1::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TCompSolid1.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TCompSolid1.hxx new file mode 100644 index 000000000..7b7a2465c --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TCompSolid1.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PTopoDS_TCompSolid1_HeaderFile +#define _ShapeSchema_PTopoDS_TCompSolid1_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PTopoDS_TCompSolid1_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PTopoDS_TShape1_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PTopoDS_TCompSolid1,Storage_CallBack) + +class ShapeSchema_PTopoDS_TCompSolid1 : public Storage_CallBack { +public: + ShapeSchema_PTopoDS_TCompSolid1() {} + Standard_EXPORT static void SAdd(const Handle(PTopoDS_TCompSolid1)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PTopoDS_TCompSolid1) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TCompSolid1.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TCompSolid1.ixx new file mode 100644 index 000000000..0a690de06 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TCompSolid1.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TCompound.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TCompound.cxx new file mode 100644 index 000000000..08db7aee3 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TCompound.cxx @@ -0,0 +1,87 @@ +#ifndef _ShapeSchema_PTopoDS_TCompound_HeaderFile +#include +#endif +#ifndef _PTopoDS_TCompound_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PTopoDS_TCompound,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PTopoDS_TCompound,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PTopoDS_TCompound::New() const +{ + return new PTopoDS_TCompound(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PTopoDS_TCompound::SAdd(const Handle(PTopoDS_TCompound)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PTopoDS_TCompound")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPTopoDS_TShapemyShapes()); + + } + } +} + +void ShapeSchema_PTopoDS_TCompound::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_TCompound::SAdd((Handle(PTopoDS_TCompound)&)p,theSchema); +} + +void ShapeSchema_PTopoDS_TCompound::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_TCompound) &pp = (Handle(PTopoDS_TCompound)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPTopoDS_TShapemyShapes(),f); + f.PutInteger(pp->_CSFDB_GetPTopoDS_TShapemyFlags()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_TCompound::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_TCompound::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PTopoDS_TCompound::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_TCompound) &pp = (Handle(PTopoDS_TCompound)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PTopoDS_HArray1OfHShape) PTopoDS_TShapemyShapes; + + theSchema->ReadPersistentReference(PTopoDS_TShapemyShapes,f); + pp->_CSFDB_SetPTopoDS_TShapemyShapes(PTopoDS_TShapemyShapes); + + Standard_Integer PTopoDS_TShapemyFlags; + f.GetInteger(PTopoDS_TShapemyFlags); + pp->_CSFDB_SetPTopoDS_TShapemyFlags(PTopoDS_TShapemyFlags); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_TCompound::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PTopoDS_TCompound::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TCompound.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TCompound.hxx new file mode 100644 index 000000000..5045b84a4 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TCompound.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PTopoDS_TCompound_HeaderFile +#define _ShapeSchema_PTopoDS_TCompound_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PTopoDS_TCompound_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PTopoDS_TShape_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PTopoDS_TCompound,Storage_CallBack) + +class ShapeSchema_PTopoDS_TCompound : public Storage_CallBack { +public: + ShapeSchema_PTopoDS_TCompound() {} + Standard_EXPORT static void SAdd(const Handle(PTopoDS_TCompound)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PTopoDS_TCompound) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TCompound.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TCompound.ixx new file mode 100644 index 000000000..4d6d06872 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TCompound.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TCompound1.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TCompound1.cxx new file mode 100644 index 000000000..e5659d945 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TCompound1.cxx @@ -0,0 +1,87 @@ +#ifndef _ShapeSchema_PTopoDS_TCompound1_HeaderFile +#include +#endif +#ifndef _PTopoDS_TCompound1_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PTopoDS_TCompound1,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PTopoDS_TCompound1,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PTopoDS_TCompound1::New() const +{ + return new PTopoDS_TCompound1(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PTopoDS_TCompound1::SAdd(const Handle(PTopoDS_TCompound1)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PTopoDS_TCompound1")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPTopoDS_TShape1myShapes()); + + } + } +} + +void ShapeSchema_PTopoDS_TCompound1::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_TCompound1::SAdd((Handle(PTopoDS_TCompound1)&)p,theSchema); +} + +void ShapeSchema_PTopoDS_TCompound1::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_TCompound1) &pp = (Handle(PTopoDS_TCompound1)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPTopoDS_TShape1myShapes(),f); + f.PutInteger(pp->_CSFDB_GetPTopoDS_TShape1myFlags()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_TCompound1::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_TCompound1::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PTopoDS_TCompound1::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_TCompound1) &pp = (Handle(PTopoDS_TCompound1)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PTopoDS_HArray1OfShape1) PTopoDS_TShape1myShapes; + + theSchema->ReadPersistentReference(PTopoDS_TShape1myShapes,f); + pp->_CSFDB_SetPTopoDS_TShape1myShapes(PTopoDS_TShape1myShapes); + + Standard_Integer PTopoDS_TShape1myFlags; + f.GetInteger(PTopoDS_TShape1myFlags); + pp->_CSFDB_SetPTopoDS_TShape1myFlags(PTopoDS_TShape1myFlags); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_TCompound1::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PTopoDS_TCompound1::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TCompound1.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TCompound1.hxx new file mode 100644 index 000000000..437d4eaa8 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TCompound1.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PTopoDS_TCompound1_HeaderFile +#define _ShapeSchema_PTopoDS_TCompound1_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PTopoDS_TCompound1_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PTopoDS_TShape1_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PTopoDS_TCompound1,Storage_CallBack) + +class ShapeSchema_PTopoDS_TCompound1 : public Storage_CallBack { +public: + ShapeSchema_PTopoDS_TCompound1() {} + Standard_EXPORT static void SAdd(const Handle(PTopoDS_TCompound1)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PTopoDS_TCompound1) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TCompound1.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TCompound1.ixx new file mode 100644 index 000000000..0a690de06 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TCompound1.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TEdge.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TEdge.cxx new file mode 100644 index 000000000..901d31252 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TEdge.cxx @@ -0,0 +1,88 @@ +#ifndef _ShapeSchema_PTopoDS_TEdge_HeaderFile +#include +#endif +#ifndef _PTopoDS_TEdge_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PTopoDS_TEdge,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PTopoDS_TEdge,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PTopoDS_TEdge::New() const +{ + Handle(Standard_Persistent) NullObject; + return NullObject; +} + +void ShapeSchema_PTopoDS_TEdge::SAdd(const Handle(PTopoDS_TEdge)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PTopoDS_TEdge")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPTopoDS_TShapemyShapes()); + + } + } +} + +void ShapeSchema_PTopoDS_TEdge::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_TEdge::SAdd((Handle(PTopoDS_TEdge)&)p,theSchema); +} + +void ShapeSchema_PTopoDS_TEdge::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_TEdge) &pp = (Handle(PTopoDS_TEdge)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPTopoDS_TShapemyShapes(),f); + f.PutInteger(pp->_CSFDB_GetPTopoDS_TShapemyFlags()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_TEdge::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_TEdge::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PTopoDS_TEdge::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_TEdge) &pp = (Handle(PTopoDS_TEdge)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PTopoDS_HArray1OfHShape) PTopoDS_TShapemyShapes; + + theSchema->ReadPersistentReference(PTopoDS_TShapemyShapes,f); + pp->_CSFDB_SetPTopoDS_TShapemyShapes(PTopoDS_TShapemyShapes); + + Standard_Integer PTopoDS_TShapemyFlags; + f.GetInteger(PTopoDS_TShapemyFlags); + pp->_CSFDB_SetPTopoDS_TShapemyFlags(PTopoDS_TShapemyFlags); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_TEdge::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PTopoDS_TEdge::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TEdge.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TEdge.hxx new file mode 100644 index 000000000..fcf0e2429 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TEdge.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PTopoDS_TEdge_HeaderFile +#define _ShapeSchema_PTopoDS_TEdge_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PTopoDS_TEdge_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PTopoDS_TShape_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PTopoDS_TEdge,Storage_CallBack) + +class ShapeSchema_PTopoDS_TEdge : public Storage_CallBack { +public: + ShapeSchema_PTopoDS_TEdge() {} + Standard_EXPORT static void SAdd(const Handle(PTopoDS_TEdge)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PTopoDS_TEdge) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TEdge.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TEdge.ixx new file mode 100644 index 000000000..4d6d06872 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TEdge.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TEdge1.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TEdge1.cxx new file mode 100644 index 000000000..30ad88c70 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TEdge1.cxx @@ -0,0 +1,88 @@ +#ifndef _ShapeSchema_PTopoDS_TEdge1_HeaderFile +#include +#endif +#ifndef _PTopoDS_TEdge1_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PTopoDS_TEdge1,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PTopoDS_TEdge1,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PTopoDS_TEdge1::New() const +{ + Handle(Standard_Persistent) NullObject; + return NullObject; +} + +void ShapeSchema_PTopoDS_TEdge1::SAdd(const Handle(PTopoDS_TEdge1)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PTopoDS_TEdge1")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPTopoDS_TShape1myShapes()); + + } + } +} + +void ShapeSchema_PTopoDS_TEdge1::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_TEdge1::SAdd((Handle(PTopoDS_TEdge1)&)p,theSchema); +} + +void ShapeSchema_PTopoDS_TEdge1::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_TEdge1) &pp = (Handle(PTopoDS_TEdge1)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPTopoDS_TShape1myShapes(),f); + f.PutInteger(pp->_CSFDB_GetPTopoDS_TShape1myFlags()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_TEdge1::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_TEdge1::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PTopoDS_TEdge1::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_TEdge1) &pp = (Handle(PTopoDS_TEdge1)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PTopoDS_HArray1OfShape1) PTopoDS_TShape1myShapes; + + theSchema->ReadPersistentReference(PTopoDS_TShape1myShapes,f); + pp->_CSFDB_SetPTopoDS_TShape1myShapes(PTopoDS_TShape1myShapes); + + Standard_Integer PTopoDS_TShape1myFlags; + f.GetInteger(PTopoDS_TShape1myFlags); + pp->_CSFDB_SetPTopoDS_TShape1myFlags(PTopoDS_TShape1myFlags); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_TEdge1::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PTopoDS_TEdge1::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TEdge1.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TEdge1.hxx new file mode 100644 index 000000000..1780c76ee --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TEdge1.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PTopoDS_TEdge1_HeaderFile +#define _ShapeSchema_PTopoDS_TEdge1_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PTopoDS_TEdge1_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PTopoDS_TShape1_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PTopoDS_TEdge1,Storage_CallBack) + +class ShapeSchema_PTopoDS_TEdge1 : public Storage_CallBack { +public: + ShapeSchema_PTopoDS_TEdge1() {} + Standard_EXPORT static void SAdd(const Handle(PTopoDS_TEdge1)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PTopoDS_TEdge1) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TEdge1.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TEdge1.ixx new file mode 100644 index 000000000..0a690de06 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TEdge1.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TFace.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TFace.cxx new file mode 100644 index 000000000..897999bba --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TFace.cxx @@ -0,0 +1,87 @@ +#ifndef _ShapeSchema_PTopoDS_TFace_HeaderFile +#include +#endif +#ifndef _PTopoDS_TFace_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PTopoDS_TFace,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PTopoDS_TFace,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PTopoDS_TFace::New() const +{ + return new PTopoDS_TFace(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PTopoDS_TFace::SAdd(const Handle(PTopoDS_TFace)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PTopoDS_TFace")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPTopoDS_TShapemyShapes()); + + } + } +} + +void ShapeSchema_PTopoDS_TFace::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_TFace::SAdd((Handle(PTopoDS_TFace)&)p,theSchema); +} + +void ShapeSchema_PTopoDS_TFace::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_TFace) &pp = (Handle(PTopoDS_TFace)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPTopoDS_TShapemyShapes(),f); + f.PutInteger(pp->_CSFDB_GetPTopoDS_TShapemyFlags()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_TFace::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_TFace::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PTopoDS_TFace::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_TFace) &pp = (Handle(PTopoDS_TFace)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PTopoDS_HArray1OfHShape) PTopoDS_TShapemyShapes; + + theSchema->ReadPersistentReference(PTopoDS_TShapemyShapes,f); + pp->_CSFDB_SetPTopoDS_TShapemyShapes(PTopoDS_TShapemyShapes); + + Standard_Integer PTopoDS_TShapemyFlags; + f.GetInteger(PTopoDS_TShapemyFlags); + pp->_CSFDB_SetPTopoDS_TShapemyFlags(PTopoDS_TShapemyFlags); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_TFace::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PTopoDS_TFace::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TFace.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TFace.hxx new file mode 100644 index 000000000..75545c7be --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TFace.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PTopoDS_TFace_HeaderFile +#define _ShapeSchema_PTopoDS_TFace_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PTopoDS_TFace_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PTopoDS_TShape_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PTopoDS_TFace,Storage_CallBack) + +class ShapeSchema_PTopoDS_TFace : public Storage_CallBack { +public: + ShapeSchema_PTopoDS_TFace() {} + Standard_EXPORT static void SAdd(const Handle(PTopoDS_TFace)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PTopoDS_TFace) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TFace.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TFace.ixx new file mode 100644 index 000000000..4d6d06872 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TFace.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TFace1.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TFace1.cxx new file mode 100644 index 000000000..d13e7036d --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TFace1.cxx @@ -0,0 +1,87 @@ +#ifndef _ShapeSchema_PTopoDS_TFace1_HeaderFile +#include +#endif +#ifndef _PTopoDS_TFace1_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PTopoDS_TFace1,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PTopoDS_TFace1,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PTopoDS_TFace1::New() const +{ + return new PTopoDS_TFace1(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PTopoDS_TFace1::SAdd(const Handle(PTopoDS_TFace1)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PTopoDS_TFace1")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPTopoDS_TShape1myShapes()); + + } + } +} + +void ShapeSchema_PTopoDS_TFace1::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_TFace1::SAdd((Handle(PTopoDS_TFace1)&)p,theSchema); +} + +void ShapeSchema_PTopoDS_TFace1::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_TFace1) &pp = (Handle(PTopoDS_TFace1)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPTopoDS_TShape1myShapes(),f); + f.PutInteger(pp->_CSFDB_GetPTopoDS_TShape1myFlags()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_TFace1::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_TFace1::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PTopoDS_TFace1::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_TFace1) &pp = (Handle(PTopoDS_TFace1)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PTopoDS_HArray1OfShape1) PTopoDS_TShape1myShapes; + + theSchema->ReadPersistentReference(PTopoDS_TShape1myShapes,f); + pp->_CSFDB_SetPTopoDS_TShape1myShapes(PTopoDS_TShape1myShapes); + + Standard_Integer PTopoDS_TShape1myFlags; + f.GetInteger(PTopoDS_TShape1myFlags); + pp->_CSFDB_SetPTopoDS_TShape1myFlags(PTopoDS_TShape1myFlags); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_TFace1::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PTopoDS_TFace1::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TFace1.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TFace1.hxx new file mode 100644 index 000000000..78bbbb2b7 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TFace1.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PTopoDS_TFace1_HeaderFile +#define _ShapeSchema_PTopoDS_TFace1_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PTopoDS_TFace1_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PTopoDS_TShape1_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PTopoDS_TFace1,Storage_CallBack) + +class ShapeSchema_PTopoDS_TFace1 : public Storage_CallBack { +public: + ShapeSchema_PTopoDS_TFace1() {} + Standard_EXPORT static void SAdd(const Handle(PTopoDS_TFace1)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PTopoDS_TFace1) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TFace1.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TFace1.ixx new file mode 100644 index 000000000..0a690de06 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TFace1.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TShape.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TShape.cxx new file mode 100644 index 000000000..0466ceef0 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TShape.cxx @@ -0,0 +1,88 @@ +#ifndef _ShapeSchema_PTopoDS_TShape_HeaderFile +#include +#endif +#ifndef _PTopoDS_TShape_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PTopoDS_TShape,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PTopoDS_TShape,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PTopoDS_TShape::New() const +{ + Handle(Standard_Persistent) NullObject; + return NullObject; +} + +void ShapeSchema_PTopoDS_TShape::SAdd(const Handle(PTopoDS_TShape)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PTopoDS_TShape")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPTopoDS_TShapemyShapes()); + + } + } +} + +void ShapeSchema_PTopoDS_TShape::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_TShape::SAdd((Handle(PTopoDS_TShape)&)p,theSchema); +} + +void ShapeSchema_PTopoDS_TShape::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_TShape) &pp = (Handle(PTopoDS_TShape)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPTopoDS_TShapemyShapes(),f); + f.PutInteger(pp->_CSFDB_GetPTopoDS_TShapemyFlags()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_TShape::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_TShape::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PTopoDS_TShape::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_TShape) &pp = (Handle(PTopoDS_TShape)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PTopoDS_HArray1OfHShape) PTopoDS_TShapemyShapes; + + theSchema->ReadPersistentReference(PTopoDS_TShapemyShapes,f); + pp->_CSFDB_SetPTopoDS_TShapemyShapes(PTopoDS_TShapemyShapes); + + Standard_Integer PTopoDS_TShapemyFlags; + f.GetInteger(PTopoDS_TShapemyFlags); + pp->_CSFDB_SetPTopoDS_TShapemyFlags(PTopoDS_TShapemyFlags); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_TShape::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PTopoDS_TShape::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TShape.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TShape.hxx new file mode 100644 index 000000000..89c5a4820 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TShape.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PTopoDS_TShape_HeaderFile +#define _ShapeSchema_PTopoDS_TShape_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PTopoDS_TShape_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PTopoDS_TShape,Storage_CallBack) + +class ShapeSchema_PTopoDS_TShape : public Storage_CallBack { +public: + ShapeSchema_PTopoDS_TShape() {} + Standard_EXPORT static void SAdd(const Handle(PTopoDS_TShape)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PTopoDS_TShape) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TShape.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TShape.ixx new file mode 100644 index 000000000..e27716f5e --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TShape.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_PTopoDS_HArray1OfHShape_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TShape1.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TShape1.cxx new file mode 100644 index 000000000..c8d8527ce --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TShape1.cxx @@ -0,0 +1,88 @@ +#ifndef _ShapeSchema_PTopoDS_TShape1_HeaderFile +#include +#endif +#ifndef _PTopoDS_TShape1_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PTopoDS_TShape1,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PTopoDS_TShape1,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PTopoDS_TShape1::New() const +{ + Handle(Standard_Persistent) NullObject; + return NullObject; +} + +void ShapeSchema_PTopoDS_TShape1::SAdd(const Handle(PTopoDS_TShape1)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PTopoDS_TShape1")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPTopoDS_TShape1myShapes()); + + } + } +} + +void ShapeSchema_PTopoDS_TShape1::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_TShape1::SAdd((Handle(PTopoDS_TShape1)&)p,theSchema); +} + +void ShapeSchema_PTopoDS_TShape1::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_TShape1) &pp = (Handle(PTopoDS_TShape1)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPTopoDS_TShape1myShapes(),f); + f.PutInteger(pp->_CSFDB_GetPTopoDS_TShape1myFlags()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_TShape1::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_TShape1::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PTopoDS_TShape1::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_TShape1) &pp = (Handle(PTopoDS_TShape1)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PTopoDS_HArray1OfShape1) PTopoDS_TShape1myShapes; + + theSchema->ReadPersistentReference(PTopoDS_TShape1myShapes,f); + pp->_CSFDB_SetPTopoDS_TShape1myShapes(PTopoDS_TShape1myShapes); + + Standard_Integer PTopoDS_TShape1myFlags; + f.GetInteger(PTopoDS_TShape1myFlags); + pp->_CSFDB_SetPTopoDS_TShape1myFlags(PTopoDS_TShape1myFlags); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_TShape1::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PTopoDS_TShape1::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TShape1.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TShape1.hxx new file mode 100644 index 000000000..dd2ffba41 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TShape1.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PTopoDS_TShape1_HeaderFile +#define _ShapeSchema_PTopoDS_TShape1_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PTopoDS_TShape1_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PTopoDS_TShape1,Storage_CallBack) + +class ShapeSchema_PTopoDS_TShape1 : public Storage_CallBack { +public: + ShapeSchema_PTopoDS_TShape1() {} + Standard_EXPORT static void SAdd(const Handle(PTopoDS_TShape1)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PTopoDS_TShape1) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TShape1.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TShape1.ixx new file mode 100644 index 000000000..0b3b117b1 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TShape1.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _ShapeSchema_PTopoDS_HArray1OfShape1_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TShell.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TShell.cxx new file mode 100644 index 000000000..33f9883eb --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TShell.cxx @@ -0,0 +1,87 @@ +#ifndef _ShapeSchema_PTopoDS_TShell_HeaderFile +#include +#endif +#ifndef _PTopoDS_TShell_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PTopoDS_TShell,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PTopoDS_TShell,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PTopoDS_TShell::New() const +{ + return new PTopoDS_TShell(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PTopoDS_TShell::SAdd(const Handle(PTopoDS_TShell)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PTopoDS_TShell")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPTopoDS_TShapemyShapes()); + + } + } +} + +void ShapeSchema_PTopoDS_TShell::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_TShell::SAdd((Handle(PTopoDS_TShell)&)p,theSchema); +} + +void ShapeSchema_PTopoDS_TShell::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_TShell) &pp = (Handle(PTopoDS_TShell)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPTopoDS_TShapemyShapes(),f); + f.PutInteger(pp->_CSFDB_GetPTopoDS_TShapemyFlags()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_TShell::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_TShell::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PTopoDS_TShell::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_TShell) &pp = (Handle(PTopoDS_TShell)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PTopoDS_HArray1OfHShape) PTopoDS_TShapemyShapes; + + theSchema->ReadPersistentReference(PTopoDS_TShapemyShapes,f); + pp->_CSFDB_SetPTopoDS_TShapemyShapes(PTopoDS_TShapemyShapes); + + Standard_Integer PTopoDS_TShapemyFlags; + f.GetInteger(PTopoDS_TShapemyFlags); + pp->_CSFDB_SetPTopoDS_TShapemyFlags(PTopoDS_TShapemyFlags); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_TShell::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PTopoDS_TShell::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TShell.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TShell.hxx new file mode 100644 index 000000000..9e1d8790d --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TShell.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PTopoDS_TShell_HeaderFile +#define _ShapeSchema_PTopoDS_TShell_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PTopoDS_TShell_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PTopoDS_TShape_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PTopoDS_TShell,Storage_CallBack) + +class ShapeSchema_PTopoDS_TShell : public Storage_CallBack { +public: + ShapeSchema_PTopoDS_TShell() {} + Standard_EXPORT static void SAdd(const Handle(PTopoDS_TShell)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PTopoDS_TShell) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TShell.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TShell.ixx new file mode 100644 index 000000000..4d6d06872 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TShell.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TShell1.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TShell1.cxx new file mode 100644 index 000000000..b06019d99 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TShell1.cxx @@ -0,0 +1,87 @@ +#ifndef _ShapeSchema_PTopoDS_TShell1_HeaderFile +#include +#endif +#ifndef _PTopoDS_TShell1_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PTopoDS_TShell1,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PTopoDS_TShell1,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PTopoDS_TShell1::New() const +{ + return new PTopoDS_TShell1(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PTopoDS_TShell1::SAdd(const Handle(PTopoDS_TShell1)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PTopoDS_TShell1")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPTopoDS_TShape1myShapes()); + + } + } +} + +void ShapeSchema_PTopoDS_TShell1::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_TShell1::SAdd((Handle(PTopoDS_TShell1)&)p,theSchema); +} + +void ShapeSchema_PTopoDS_TShell1::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_TShell1) &pp = (Handle(PTopoDS_TShell1)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPTopoDS_TShape1myShapes(),f); + f.PutInteger(pp->_CSFDB_GetPTopoDS_TShape1myFlags()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_TShell1::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_TShell1::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PTopoDS_TShell1::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_TShell1) &pp = (Handle(PTopoDS_TShell1)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PTopoDS_HArray1OfShape1) PTopoDS_TShape1myShapes; + + theSchema->ReadPersistentReference(PTopoDS_TShape1myShapes,f); + pp->_CSFDB_SetPTopoDS_TShape1myShapes(PTopoDS_TShape1myShapes); + + Standard_Integer PTopoDS_TShape1myFlags; + f.GetInteger(PTopoDS_TShape1myFlags); + pp->_CSFDB_SetPTopoDS_TShape1myFlags(PTopoDS_TShape1myFlags); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_TShell1::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PTopoDS_TShell1::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TShell1.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TShell1.hxx new file mode 100644 index 000000000..4fb372ef0 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TShell1.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PTopoDS_TShell1_HeaderFile +#define _ShapeSchema_PTopoDS_TShell1_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PTopoDS_TShell1_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PTopoDS_TShape1_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PTopoDS_TShell1,Storage_CallBack) + +class ShapeSchema_PTopoDS_TShell1 : public Storage_CallBack { +public: + ShapeSchema_PTopoDS_TShell1() {} + Standard_EXPORT static void SAdd(const Handle(PTopoDS_TShell1)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PTopoDS_TShell1) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TShell1.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TShell1.ixx new file mode 100644 index 000000000..0a690de06 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TShell1.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TSolid.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TSolid.cxx new file mode 100644 index 000000000..a04f9541b --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TSolid.cxx @@ -0,0 +1,87 @@ +#ifndef _ShapeSchema_PTopoDS_TSolid_HeaderFile +#include +#endif +#ifndef _PTopoDS_TSolid_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PTopoDS_TSolid,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PTopoDS_TSolid,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PTopoDS_TSolid::New() const +{ + return new PTopoDS_TSolid(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PTopoDS_TSolid::SAdd(const Handle(PTopoDS_TSolid)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PTopoDS_TSolid")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPTopoDS_TShapemyShapes()); + + } + } +} + +void ShapeSchema_PTopoDS_TSolid::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_TSolid::SAdd((Handle(PTopoDS_TSolid)&)p,theSchema); +} + +void ShapeSchema_PTopoDS_TSolid::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_TSolid) &pp = (Handle(PTopoDS_TSolid)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPTopoDS_TShapemyShapes(),f); + f.PutInteger(pp->_CSFDB_GetPTopoDS_TShapemyFlags()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_TSolid::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_TSolid::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PTopoDS_TSolid::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_TSolid) &pp = (Handle(PTopoDS_TSolid)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PTopoDS_HArray1OfHShape) PTopoDS_TShapemyShapes; + + theSchema->ReadPersistentReference(PTopoDS_TShapemyShapes,f); + pp->_CSFDB_SetPTopoDS_TShapemyShapes(PTopoDS_TShapemyShapes); + + Standard_Integer PTopoDS_TShapemyFlags; + f.GetInteger(PTopoDS_TShapemyFlags); + pp->_CSFDB_SetPTopoDS_TShapemyFlags(PTopoDS_TShapemyFlags); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_TSolid::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PTopoDS_TSolid::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TSolid.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TSolid.hxx new file mode 100644 index 000000000..0c1293b4a --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TSolid.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PTopoDS_TSolid_HeaderFile +#define _ShapeSchema_PTopoDS_TSolid_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PTopoDS_TSolid_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PTopoDS_TShape_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PTopoDS_TSolid,Storage_CallBack) + +class ShapeSchema_PTopoDS_TSolid : public Storage_CallBack { +public: + ShapeSchema_PTopoDS_TSolid() {} + Standard_EXPORT static void SAdd(const Handle(PTopoDS_TSolid)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PTopoDS_TSolid) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TSolid.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TSolid.ixx new file mode 100644 index 000000000..4d6d06872 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TSolid.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TSolid1.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TSolid1.cxx new file mode 100644 index 000000000..05b0c5f48 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TSolid1.cxx @@ -0,0 +1,87 @@ +#ifndef _ShapeSchema_PTopoDS_TSolid1_HeaderFile +#include +#endif +#ifndef _PTopoDS_TSolid1_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PTopoDS_TSolid1,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PTopoDS_TSolid1,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PTopoDS_TSolid1::New() const +{ + return new PTopoDS_TSolid1(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PTopoDS_TSolid1::SAdd(const Handle(PTopoDS_TSolid1)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PTopoDS_TSolid1")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPTopoDS_TShape1myShapes()); + + } + } +} + +void ShapeSchema_PTopoDS_TSolid1::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_TSolid1::SAdd((Handle(PTopoDS_TSolid1)&)p,theSchema); +} + +void ShapeSchema_PTopoDS_TSolid1::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_TSolid1) &pp = (Handle(PTopoDS_TSolid1)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPTopoDS_TShape1myShapes(),f); + f.PutInteger(pp->_CSFDB_GetPTopoDS_TShape1myFlags()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_TSolid1::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_TSolid1::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PTopoDS_TSolid1::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_TSolid1) &pp = (Handle(PTopoDS_TSolid1)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PTopoDS_HArray1OfShape1) PTopoDS_TShape1myShapes; + + theSchema->ReadPersistentReference(PTopoDS_TShape1myShapes,f); + pp->_CSFDB_SetPTopoDS_TShape1myShapes(PTopoDS_TShape1myShapes); + + Standard_Integer PTopoDS_TShape1myFlags; + f.GetInteger(PTopoDS_TShape1myFlags); + pp->_CSFDB_SetPTopoDS_TShape1myFlags(PTopoDS_TShape1myFlags); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_TSolid1::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PTopoDS_TSolid1::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TSolid1.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TSolid1.hxx new file mode 100644 index 000000000..17e91d042 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TSolid1.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PTopoDS_TSolid1_HeaderFile +#define _ShapeSchema_PTopoDS_TSolid1_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PTopoDS_TSolid1_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PTopoDS_TShape1_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PTopoDS_TSolid1,Storage_CallBack) + +class ShapeSchema_PTopoDS_TSolid1 : public Storage_CallBack { +public: + ShapeSchema_PTopoDS_TSolid1() {} + Standard_EXPORT static void SAdd(const Handle(PTopoDS_TSolid1)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PTopoDS_TSolid1) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TSolid1.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TSolid1.ixx new file mode 100644 index 000000000..0a690de06 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TSolid1.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TVertex.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TVertex.cxx new file mode 100644 index 000000000..0069910f9 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TVertex.cxx @@ -0,0 +1,88 @@ +#ifndef _ShapeSchema_PTopoDS_TVertex_HeaderFile +#include +#endif +#ifndef _PTopoDS_TVertex_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PTopoDS_TVertex,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PTopoDS_TVertex,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PTopoDS_TVertex::New() const +{ + Handle(Standard_Persistent) NullObject; + return NullObject; +} + +void ShapeSchema_PTopoDS_TVertex::SAdd(const Handle(PTopoDS_TVertex)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PTopoDS_TVertex")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPTopoDS_TShapemyShapes()); + + } + } +} + +void ShapeSchema_PTopoDS_TVertex::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_TVertex::SAdd((Handle(PTopoDS_TVertex)&)p,theSchema); +} + +void ShapeSchema_PTopoDS_TVertex::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_TVertex) &pp = (Handle(PTopoDS_TVertex)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPTopoDS_TShapemyShapes(),f); + f.PutInteger(pp->_CSFDB_GetPTopoDS_TShapemyFlags()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_TVertex::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_TVertex::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PTopoDS_TVertex::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_TVertex) &pp = (Handle(PTopoDS_TVertex)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PTopoDS_HArray1OfHShape) PTopoDS_TShapemyShapes; + + theSchema->ReadPersistentReference(PTopoDS_TShapemyShapes,f); + pp->_CSFDB_SetPTopoDS_TShapemyShapes(PTopoDS_TShapemyShapes); + + Standard_Integer PTopoDS_TShapemyFlags; + f.GetInteger(PTopoDS_TShapemyFlags); + pp->_CSFDB_SetPTopoDS_TShapemyFlags(PTopoDS_TShapemyFlags); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_TVertex::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PTopoDS_TVertex::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TVertex.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TVertex.hxx new file mode 100644 index 000000000..eabad8d3a --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TVertex.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PTopoDS_TVertex_HeaderFile +#define _ShapeSchema_PTopoDS_TVertex_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PTopoDS_TVertex_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PTopoDS_TShape_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PTopoDS_TVertex,Storage_CallBack) + +class ShapeSchema_PTopoDS_TVertex : public Storage_CallBack { +public: + ShapeSchema_PTopoDS_TVertex() {} + Standard_EXPORT static void SAdd(const Handle(PTopoDS_TVertex)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PTopoDS_TVertex) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TVertex.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TVertex.ixx new file mode 100644 index 000000000..4d6d06872 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TVertex.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TVertex1.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TVertex1.cxx new file mode 100644 index 000000000..44019c9d0 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TVertex1.cxx @@ -0,0 +1,88 @@ +#ifndef _ShapeSchema_PTopoDS_TVertex1_HeaderFile +#include +#endif +#ifndef _PTopoDS_TVertex1_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PTopoDS_TVertex1,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PTopoDS_TVertex1,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PTopoDS_TVertex1::New() const +{ + Handle(Standard_Persistent) NullObject; + return NullObject; +} + +void ShapeSchema_PTopoDS_TVertex1::SAdd(const Handle(PTopoDS_TVertex1)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PTopoDS_TVertex1")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPTopoDS_TShape1myShapes()); + + } + } +} + +void ShapeSchema_PTopoDS_TVertex1::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_TVertex1::SAdd((Handle(PTopoDS_TVertex1)&)p,theSchema); +} + +void ShapeSchema_PTopoDS_TVertex1::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_TVertex1) &pp = (Handle(PTopoDS_TVertex1)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPTopoDS_TShape1myShapes(),f); + f.PutInteger(pp->_CSFDB_GetPTopoDS_TShape1myFlags()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_TVertex1::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_TVertex1::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PTopoDS_TVertex1::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_TVertex1) &pp = (Handle(PTopoDS_TVertex1)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PTopoDS_HArray1OfShape1) PTopoDS_TShape1myShapes; + + theSchema->ReadPersistentReference(PTopoDS_TShape1myShapes,f); + pp->_CSFDB_SetPTopoDS_TShape1myShapes(PTopoDS_TShape1myShapes); + + Standard_Integer PTopoDS_TShape1myFlags; + f.GetInteger(PTopoDS_TShape1myFlags); + pp->_CSFDB_SetPTopoDS_TShape1myFlags(PTopoDS_TShape1myFlags); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_TVertex1::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PTopoDS_TVertex1::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TVertex1.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TVertex1.hxx new file mode 100644 index 000000000..2a095ef3f --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TVertex1.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PTopoDS_TVertex1_HeaderFile +#define _ShapeSchema_PTopoDS_TVertex1_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PTopoDS_TVertex1_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PTopoDS_TShape1_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PTopoDS_TVertex1,Storage_CallBack) + +class ShapeSchema_PTopoDS_TVertex1 : public Storage_CallBack { +public: + ShapeSchema_PTopoDS_TVertex1() {} + Standard_EXPORT static void SAdd(const Handle(PTopoDS_TVertex1)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PTopoDS_TVertex1) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TVertex1.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TVertex1.ixx new file mode 100644 index 000000000..0a690de06 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TVertex1.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TWire.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TWire.cxx new file mode 100644 index 000000000..b505f78f5 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TWire.cxx @@ -0,0 +1,87 @@ +#ifndef _ShapeSchema_PTopoDS_TWire_HeaderFile +#include +#endif +#ifndef _PTopoDS_TWire_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PTopoDS_TWire,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PTopoDS_TWire,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PTopoDS_TWire::New() const +{ + return new PTopoDS_TWire(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PTopoDS_TWire::SAdd(const Handle(PTopoDS_TWire)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PTopoDS_TWire")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPTopoDS_TShapemyShapes()); + + } + } +} + +void ShapeSchema_PTopoDS_TWire::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_TWire::SAdd((Handle(PTopoDS_TWire)&)p,theSchema); +} + +void ShapeSchema_PTopoDS_TWire::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_TWire) &pp = (Handle(PTopoDS_TWire)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPTopoDS_TShapemyShapes(),f); + f.PutInteger(pp->_CSFDB_GetPTopoDS_TShapemyFlags()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_TWire::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_TWire::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PTopoDS_TWire::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_TWire) &pp = (Handle(PTopoDS_TWire)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PTopoDS_HArray1OfHShape) PTopoDS_TShapemyShapes; + + theSchema->ReadPersistentReference(PTopoDS_TShapemyShapes,f); + pp->_CSFDB_SetPTopoDS_TShapemyShapes(PTopoDS_TShapemyShapes); + + Standard_Integer PTopoDS_TShapemyFlags; + f.GetInteger(PTopoDS_TShapemyFlags); + pp->_CSFDB_SetPTopoDS_TShapemyFlags(PTopoDS_TShapemyFlags); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_TWire::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PTopoDS_TWire::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TWire.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TWire.hxx new file mode 100644 index 000000000..a92f2ac82 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TWire.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PTopoDS_TWire_HeaderFile +#define _ShapeSchema_PTopoDS_TWire_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PTopoDS_TWire_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PTopoDS_TShape_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PTopoDS_TWire,Storage_CallBack) + +class ShapeSchema_PTopoDS_TWire : public Storage_CallBack { +public: + ShapeSchema_PTopoDS_TWire() {} + Standard_EXPORT static void SAdd(const Handle(PTopoDS_TWire)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PTopoDS_TWire) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TWire.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TWire.ixx new file mode 100644 index 000000000..4d6d06872 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TWire.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TWire1.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TWire1.cxx new file mode 100644 index 000000000..84bf801cc --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TWire1.cxx @@ -0,0 +1,87 @@ +#ifndef _ShapeSchema_PTopoDS_TWire1_HeaderFile +#include +#endif +#ifndef _PTopoDS_TWire1_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PTopoDS_TWire1,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PTopoDS_TWire1,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PTopoDS_TWire1::New() const +{ + return new PTopoDS_TWire1(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PTopoDS_TWire1::SAdd(const Handle(PTopoDS_TWire1)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PTopoDS_TWire1")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPTopoDS_TShape1myShapes()); + + } + } +} + +void ShapeSchema_PTopoDS_TWire1::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_TWire1::SAdd((Handle(PTopoDS_TWire1)&)p,theSchema); +} + +void ShapeSchema_PTopoDS_TWire1::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_TWire1) &pp = (Handle(PTopoDS_TWire1)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPTopoDS_TShape1myShapes(),f); + f.PutInteger(pp->_CSFDB_GetPTopoDS_TShape1myFlags()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_TWire1::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_TWire1::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PTopoDS_TWire1::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_TWire1) &pp = (Handle(PTopoDS_TWire1)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PTopoDS_HArray1OfShape1) PTopoDS_TShape1myShapes; + + theSchema->ReadPersistentReference(PTopoDS_TShape1myShapes,f); + pp->_CSFDB_SetPTopoDS_TShape1myShapes(PTopoDS_TShape1myShapes); + + Standard_Integer PTopoDS_TShape1myFlags; + f.GetInteger(PTopoDS_TShape1myFlags); + pp->_CSFDB_SetPTopoDS_TShape1myFlags(PTopoDS_TShape1myFlags); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_TWire1::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PTopoDS_TWire1::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TWire1.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TWire1.hxx new file mode 100644 index 000000000..2947335b0 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TWire1.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PTopoDS_TWire1_HeaderFile +#define _ShapeSchema_PTopoDS_TWire1_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PTopoDS_TWire1_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PTopoDS_TShape1_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PTopoDS_TWire1,Storage_CallBack) + +class ShapeSchema_PTopoDS_TWire1 : public Storage_CallBack { +public: + ShapeSchema_PTopoDS_TWire1() {} + Standard_EXPORT static void SAdd(const Handle(PTopoDS_TWire1)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PTopoDS_TWire1) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TWire1.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TWire1.ixx new file mode 100644 index 000000000..0a690de06 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_TWire1.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Vertex.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Vertex.cxx new file mode 100644 index 000000000..b52fd9381 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Vertex.cxx @@ -0,0 +1,100 @@ +#ifndef _ShapeSchema_PTopoDS_Vertex_HeaderFile +#include +#endif +#ifndef _PTopoDS_Vertex_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PTopoDS_Vertex,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PTopoDS_Vertex,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PTopoDS_Vertex::New() const +{ + return new PTopoDS_Vertex(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PTopoDS_Vertex::SAdd(const Handle(PTopoDS_Vertex)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PTopoDS_Vertex")) { + theSchema->PersistentToAdd(p->_CSFDB_GetObjMgt_ExternShareablemyEntry()); + theSchema->PersistentToAdd(p->_CSFDB_GetPTopoDS_HShapemyTShape()); + ShapeSchema_PTopLoc_Location::SAdd(p->_CSFDB_GetPTopoDS_HShapemyLocation(),theSchema); + + } + } +} + +void ShapeSchema_PTopoDS_Vertex::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_Vertex::SAdd((Handle(PTopoDS_Vertex)&)p,theSchema); +} + +void ShapeSchema_PTopoDS_Vertex::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_Vertex) &pp = (Handle(PTopoDS_Vertex)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetObjMgt_ExternShareablemyEntry(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPTopoDS_HShapemyTShape(),f); + ShapeSchema_PTopLoc_Location::SWrite(pp->_CSFDB_GetPTopoDS_HShapemyLocation(),f,theSchema); + f.PutInteger(pp->_CSFDB_GetPTopoDS_HShapemyOrient()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_Vertex::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_Vertex::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PTopoDS_Vertex::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_Vertex) &pp = (Handle(PTopoDS_Vertex)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PCollection_HAsciiString) ObjMgt_ExternShareablemyEntry; + + theSchema->ReadPersistentReference(ObjMgt_ExternShareablemyEntry,f); + pp->_CSFDB_SetObjMgt_ExternShareablemyEntry(ObjMgt_ExternShareablemyEntry); + + Handle(PTopoDS_TShape) PTopoDS_HShapemyTShape; + + theSchema->ReadPersistentReference(PTopoDS_HShapemyTShape,f); + pp->_CSFDB_SetPTopoDS_HShapemyTShape(PTopoDS_HShapemyTShape); + + ShapeSchema_PTopLoc_Location::SRead((PTopLoc_Location&)pp->_CSFDB_GetPTopoDS_HShapemyLocation(),f,theSchema); + + TopAbs_Orientation PTopoDS_HShapemyOrient; + Standard_Integer i_CSFDB_PTopoDS_HShapemyOrient; + f.GetInteger(i_CSFDB_PTopoDS_HShapemyOrient); + PTopoDS_HShapemyOrient = (TopAbs_Orientation)i_CSFDB_PTopoDS_HShapemyOrient; + pp->_CSFDB_SetPTopoDS_HShapemyOrient(PTopoDS_HShapemyOrient); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_Vertex::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PTopoDS_Vertex::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Vertex.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Vertex.hxx new file mode 100644 index 000000000..aa4d7e513 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Vertex.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PTopoDS_Vertex_HeaderFile +#define _ShapeSchema_PTopoDS_Vertex_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PTopoDS_Vertex_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PTopoDS_HShape_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PTopoDS_Vertex,Storage_CallBack) + +class ShapeSchema_PTopoDS_Vertex : public Storage_CallBack { +public: + ShapeSchema_PTopoDS_Vertex() {} + Standard_EXPORT static void SAdd(const Handle(PTopoDS_Vertex)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PTopoDS_Vertex) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Vertex.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Vertex.ixx new file mode 100644 index 000000000..6a57a161f --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Vertex.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Wire.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Wire.cxx new file mode 100644 index 000000000..36fa6e19f --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Wire.cxx @@ -0,0 +1,100 @@ +#ifndef _ShapeSchema_PTopoDS_Wire_HeaderFile +#include +#endif +#ifndef _PTopoDS_Wire_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PTopoDS_Wire,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PTopoDS_Wire,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_PTopoDS_Wire::New() const +{ + return new PTopoDS_Wire(Storage_stCONSTclCOM()); +} + +void ShapeSchema_PTopoDS_Wire::SAdd(const Handle(PTopoDS_Wire)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PTopoDS_Wire")) { + theSchema->PersistentToAdd(p->_CSFDB_GetObjMgt_ExternShareablemyEntry()); + theSchema->PersistentToAdd(p->_CSFDB_GetPTopoDS_HShapemyTShape()); + ShapeSchema_PTopLoc_Location::SAdd(p->_CSFDB_GetPTopoDS_HShapemyLocation(),theSchema); + + } + } +} + +void ShapeSchema_PTopoDS_Wire::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_Wire::SAdd((Handle(PTopoDS_Wire)&)p,theSchema); +} + +void ShapeSchema_PTopoDS_Wire::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_Wire) &pp = (Handle(PTopoDS_Wire)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetObjMgt_ExternShareablemyEntry(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPTopoDS_HShapemyTShape(),f); + ShapeSchema_PTopLoc_Location::SWrite(pp->_CSFDB_GetPTopoDS_HShapemyLocation(),f,theSchema); + f.PutInteger(pp->_CSFDB_GetPTopoDS_HShapemyOrient()); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_Wire::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_PTopoDS_Wire::SWrite(p,f,theSchema); +} + + +void ShapeSchema_PTopoDS_Wire::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_Wire) &pp = (Handle(PTopoDS_Wire)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PCollection_HAsciiString) ObjMgt_ExternShareablemyEntry; + + theSchema->ReadPersistentReference(ObjMgt_ExternShareablemyEntry,f); + pp->_CSFDB_SetObjMgt_ExternShareablemyEntry(ObjMgt_ExternShareablemyEntry); + + Handle(PTopoDS_TShape) PTopoDS_HShapemyTShape; + + theSchema->ReadPersistentReference(PTopoDS_HShapemyTShape,f); + pp->_CSFDB_SetPTopoDS_HShapemyTShape(PTopoDS_HShapemyTShape); + + ShapeSchema_PTopLoc_Location::SRead((PTopLoc_Location&)pp->_CSFDB_GetPTopoDS_HShapemyLocation(),f,theSchema); + + TopAbs_Orientation PTopoDS_HShapemyOrient; + Standard_Integer i_CSFDB_PTopoDS_HShapemyOrient; + f.GetInteger(i_CSFDB_PTopoDS_HShapemyOrient); + PTopoDS_HShapemyOrient = (TopAbs_Orientation)i_CSFDB_PTopoDS_HShapemyOrient; + pp->_CSFDB_SetPTopoDS_HShapemyOrient(PTopoDS_HShapemyOrient); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_PTopoDS_Wire::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_PTopoDS_Wire::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Wire.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Wire.hxx new file mode 100644 index 000000000..8637182f7 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Wire.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_PTopoDS_Wire_HeaderFile +#define _ShapeSchema_PTopoDS_Wire_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PTopoDS_Wire_HeaderFile +#include +#endif + +#ifndef _ShapeSchema_PTopoDS_HShape_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_PTopoDS_Wire,Storage_CallBack) + +class ShapeSchema_PTopoDS_Wire : public Storage_CallBack { +public: + ShapeSchema_PTopoDS_Wire() {} + Standard_EXPORT static void SAdd(const Handle(PTopoDS_Wire)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_PTopoDS_Wire) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Wire.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Wire.ixx new file mode 100644 index 000000000..6a57a161f --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_PTopoDS_Wire.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_Standard_Persistent.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_Standard_Persistent.cxx new file mode 100644 index 000000000..6cc65a9f9 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_Standard_Persistent.cxx @@ -0,0 +1,76 @@ +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#include +#endif +#ifndef _Standard_Persistent_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(ShapeSchema_Standard_Persistent,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_Standard_Persistent,Storage_CallBack) + +Handle(Standard_Persistent) ShapeSchema_Standard_Persistent::New() const +{ + Handle(Standard_Persistent) NullObject; + return NullObject; +} + +void ShapeSchema_Standard_Persistent::SAdd(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"Standard_Persistent")) { + + } + } +} + +void ShapeSchema_Standard_Persistent::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_Standard_Persistent::SAdd((Handle(Standard_Persistent)&)p,theSchema); +} + +void ShapeSchema_Standard_Persistent::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(Standard_Persistent) &pp = (Handle(Standard_Persistent)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + + f.EndWritePersistentObjectData(); + } +} + +void ShapeSchema_Standard_Persistent::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + ShapeSchema_Standard_Persistent::SWrite(p,f,theSchema); +} + + +void ShapeSchema_Standard_Persistent::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(Standard_Persistent) &pp = (Handle(Standard_Persistent)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + f.EndReadPersistentObjectData(); + } +} + +void ShapeSchema_Standard_Persistent::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + ShapeSchema_Standard_Persistent::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_Standard_Persistent.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_Standard_Persistent.hxx new file mode 100644 index 000000000..ab0aa5a11 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_Standard_Persistent.hxx @@ -0,0 +1,39 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_Standard_Persistent_HeaderFile +#define _ShapeSchema_Standard_Persistent_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(ShapeSchema_Standard_Persistent,Storage_CallBack) + +class ShapeSchema_Standard_Persistent : public Storage_CallBack { +public: + ShapeSchema_Standard_Persistent() {} + Standard_EXPORT static void SAdd(const Handle(Standard_Persistent)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(ShapeSchema_Standard_Persistent) +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_Standard_Persistent.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_Standard_Persistent.ixx new file mode 100644 index 000000000..e69de29bb diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax1.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax1.cxx new file mode 100644 index 000000000..7e41639c7 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax1.cxx @@ -0,0 +1,35 @@ +#ifndef _ShapeSchema_gp_Ax1_HeaderFile +#include +#endif +#ifndef _gp_Ax1_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void ShapeSchema_gp_Ax1::SWrite(const gp_Ax1& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + ShapeSchema_gp_Pnt::SWrite(pp.Location(),f,theSchema); + ShapeSchema_gp_Dir::SWrite(pp.Direction(),f,theSchema); + + f.EndWriteObjectData(); +} + +void ShapeSchema_gp_Ax1::SRead(gp_Ax1& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + ShapeSchema_gp_Pnt::SRead((gp_Pnt&)pp.Location(),f,theSchema); + + ShapeSchema_gp_Dir::SRead((gp_Dir&)pp.Direction(),f,theSchema); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax1.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax1.hxx new file mode 100644 index 000000000..c51a1a731 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax1.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_gp_Ax1_HeaderFile +#define _ShapeSchema_gp_Ax1_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class gp_Ax1; + +class ShapeSchema_gp_Ax1 { +public: + Standard_EXPORT static void SAdd(const gp_Ax1&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const gp_Ax1&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(gp_Ax1&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax1.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax1.ixx new file mode 100644 index 000000000..4e215d69c --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax1.ixx @@ -0,0 +1,7 @@ +#ifndef _ShapeSchema_gp_Pnt_HeaderFile +#include +#endif +#ifndef _ShapeSchema_gp_Dir_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax2.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax2.cxx new file mode 100644 index 000000000..30ca4d519 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax2.cxx @@ -0,0 +1,38 @@ +#ifndef _ShapeSchema_gp_Ax2_HeaderFile +#include +#endif +#ifndef _gp_Ax2_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void ShapeSchema_gp_Ax2::SWrite(const gp_Ax2& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + ShapeSchema_gp_Ax1::SWrite(pp.Axis(),f,theSchema); + ShapeSchema_gp_Dir::SWrite(pp.YDirection(),f,theSchema); + ShapeSchema_gp_Dir::SWrite(pp.XDirection(),f,theSchema); + + f.EndWriteObjectData(); +} + +void ShapeSchema_gp_Ax2::SRead(gp_Ax2& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + ShapeSchema_gp_Ax1::SRead((gp_Ax1&)pp.Axis(),f,theSchema); + + ShapeSchema_gp_Dir::SRead((gp_Dir&)pp.YDirection(),f,theSchema); + + ShapeSchema_gp_Dir::SRead((gp_Dir&)pp.XDirection(),f,theSchema); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax2.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax2.hxx new file mode 100644 index 000000000..af84f53d9 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax2.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_gp_Ax2_HeaderFile +#define _ShapeSchema_gp_Ax2_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class gp_Ax2; + +class ShapeSchema_gp_Ax2 { +public: + Standard_EXPORT static void SAdd(const gp_Ax2&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const gp_Ax2&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(gp_Ax2&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax2.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax2.ixx new file mode 100644 index 000000000..a44bf85e8 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax2.ixx @@ -0,0 +1,10 @@ +#ifndef _ShapeSchema_gp_Ax1_HeaderFile +#include +#endif +#ifndef _ShapeSchema_gp_Dir_HeaderFile +#include +#endif +#ifndef _ShapeSchema_gp_Dir_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax22d.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax22d.cxx new file mode 100644 index 000000000..b7061bbf9 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax22d.cxx @@ -0,0 +1,38 @@ +#ifndef _ShapeSchema_gp_Ax22d_HeaderFile +#include +#endif +#ifndef _gp_Ax22d_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void ShapeSchema_gp_Ax22d::SWrite(const gp_Ax22d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + ShapeSchema_gp_Pnt2d::SWrite(pp.Location(),f,theSchema); + ShapeSchema_gp_Dir2d::SWrite(pp.YDirection(),f,theSchema); + ShapeSchema_gp_Dir2d::SWrite(pp.XDirection(),f,theSchema); + + f.EndWriteObjectData(); +} + +void ShapeSchema_gp_Ax22d::SRead(gp_Ax22d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + ShapeSchema_gp_Pnt2d::SRead((gp_Pnt2d&)pp.Location(),f,theSchema); + + ShapeSchema_gp_Dir2d::SRead((gp_Dir2d&)pp.YDirection(),f,theSchema); + + ShapeSchema_gp_Dir2d::SRead((gp_Dir2d&)pp.XDirection(),f,theSchema); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax22d.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax22d.hxx new file mode 100644 index 000000000..853643ab3 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax22d.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_gp_Ax22d_HeaderFile +#define _ShapeSchema_gp_Ax22d_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class gp_Ax22d; + +class ShapeSchema_gp_Ax22d { +public: + Standard_EXPORT static void SAdd(const gp_Ax22d&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const gp_Ax22d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(gp_Ax22d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax22d.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax22d.ixx new file mode 100644 index 000000000..0df69d772 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax22d.ixx @@ -0,0 +1,10 @@ +#ifndef _ShapeSchema_gp_Pnt2d_HeaderFile +#include +#endif +#ifndef _ShapeSchema_gp_Dir2d_HeaderFile +#include +#endif +#ifndef _ShapeSchema_gp_Dir2d_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax2d.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax2d.cxx new file mode 100644 index 000000000..340490ad4 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax2d.cxx @@ -0,0 +1,35 @@ +#ifndef _ShapeSchema_gp_Ax2d_HeaderFile +#include +#endif +#ifndef _gp_Ax2d_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void ShapeSchema_gp_Ax2d::SWrite(const gp_Ax2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + ShapeSchema_gp_Pnt2d::SWrite(pp.Location(),f,theSchema); + ShapeSchema_gp_Dir2d::SWrite(pp.Direction(),f,theSchema); + + f.EndWriteObjectData(); +} + +void ShapeSchema_gp_Ax2d::SRead(gp_Ax2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + ShapeSchema_gp_Pnt2d::SRead((gp_Pnt2d&)pp.Location(),f,theSchema); + + ShapeSchema_gp_Dir2d::SRead((gp_Dir2d&)pp.Direction(),f,theSchema); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax2d.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax2d.hxx new file mode 100644 index 000000000..04ea65154 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax2d.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_gp_Ax2d_HeaderFile +#define _ShapeSchema_gp_Ax2d_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class gp_Ax2d; + +class ShapeSchema_gp_Ax2d { +public: + Standard_EXPORT static void SAdd(const gp_Ax2d&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const gp_Ax2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(gp_Ax2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax2d.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax2d.ixx new file mode 100644 index 000000000..c54d3303f --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax2d.ixx @@ -0,0 +1,7 @@ +#ifndef _ShapeSchema_gp_Pnt2d_HeaderFile +#include +#endif +#ifndef _ShapeSchema_gp_Dir2d_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax3.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax3.cxx new file mode 100644 index 000000000..1fc3b58ad --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax3.cxx @@ -0,0 +1,38 @@ +#ifndef _ShapeSchema_gp_Ax3_HeaderFile +#include +#endif +#ifndef _gp_Ax3_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void ShapeSchema_gp_Ax3::SWrite(const gp_Ax3& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + ShapeSchema_gp_Ax1::SWrite(pp.Axis(),f,theSchema); + ShapeSchema_gp_Dir::SWrite(pp.YDirection(),f,theSchema); + ShapeSchema_gp_Dir::SWrite(pp.XDirection(),f,theSchema); + + f.EndWriteObjectData(); +} + +void ShapeSchema_gp_Ax3::SRead(gp_Ax3& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + ShapeSchema_gp_Ax1::SRead((gp_Ax1&)pp.Axis(),f,theSchema); + + ShapeSchema_gp_Dir::SRead((gp_Dir&)pp.YDirection(),f,theSchema); + + ShapeSchema_gp_Dir::SRead((gp_Dir&)pp.XDirection(),f,theSchema); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax3.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax3.hxx new file mode 100644 index 000000000..c6d9d89fa --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax3.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_gp_Ax3_HeaderFile +#define _ShapeSchema_gp_Ax3_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class gp_Ax3; + +class ShapeSchema_gp_Ax3 { +public: + Standard_EXPORT static void SAdd(const gp_Ax3&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const gp_Ax3&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(gp_Ax3&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax3.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax3.ixx new file mode 100644 index 000000000..a44bf85e8 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Ax3.ixx @@ -0,0 +1,10 @@ +#ifndef _ShapeSchema_gp_Ax1_HeaderFile +#include +#endif +#ifndef _ShapeSchema_gp_Dir_HeaderFile +#include +#endif +#ifndef _ShapeSchema_gp_Dir_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Circ2d.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Circ2d.cxx new file mode 100644 index 000000000..74c444e11 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Circ2d.cxx @@ -0,0 +1,37 @@ +#ifndef _ShapeSchema_gp_Circ2d_HeaderFile +#include +#endif +#ifndef _gp_Circ2d_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void ShapeSchema_gp_Circ2d::SWrite(const gp_Circ2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + ShapeSchema_gp_Ax22d::SWrite(pp.Axis(),f,theSchema); + f.PutReal(pp.Radius()); + + f.EndWriteObjectData(); +} + +void ShapeSchema_gp_Circ2d::SRead(gp_Circ2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + ShapeSchema_gp_Ax22d::SRead((gp_Ax22d&)pp.Axis(),f,theSchema); + + Standard_Real gp_Circ2dradius; + f.GetReal(gp_Circ2dradius); + pp.SetRadius(gp_Circ2dradius); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Circ2d.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Circ2d.hxx new file mode 100644 index 000000000..de3821df0 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Circ2d.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_gp_Circ2d_HeaderFile +#define _ShapeSchema_gp_Circ2d_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class gp_Circ2d; + +class ShapeSchema_gp_Circ2d { +public: + Standard_EXPORT static void SAdd(const gp_Circ2d&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const gp_Circ2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(gp_Circ2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Circ2d.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Circ2d.ixx new file mode 100644 index 000000000..50fba5d8f --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Circ2d.ixx @@ -0,0 +1,4 @@ +#ifndef _ShapeSchema_gp_Ax22d_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Dir.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Dir.cxx new file mode 100644 index 000000000..ec2bf8353 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Dir.cxx @@ -0,0 +1,32 @@ +#ifndef _ShapeSchema_gp_Dir_HeaderFile +#include +#endif +#ifndef _gp_Dir_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void ShapeSchema_gp_Dir::SWrite(const gp_Dir& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + ShapeSchema_gp_XYZ::SWrite(pp.XYZ(),f,theSchema); + + f.EndWriteObjectData(); +} + +void ShapeSchema_gp_Dir::SRead(gp_Dir& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + ShapeSchema_gp_XYZ::SRead((gp_XYZ&)pp.XYZ(),f,theSchema); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Dir.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Dir.hxx new file mode 100644 index 000000000..7bad312d8 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Dir.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_gp_Dir_HeaderFile +#define _ShapeSchema_gp_Dir_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class gp_Dir; + +class ShapeSchema_gp_Dir { +public: + Standard_EXPORT static void SAdd(const gp_Dir&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const gp_Dir&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(gp_Dir&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Dir.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Dir.ixx new file mode 100644 index 000000000..1a384c2c1 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Dir.ixx @@ -0,0 +1,4 @@ +#ifndef _ShapeSchema_gp_XYZ_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Dir2d.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Dir2d.cxx new file mode 100644 index 000000000..85bd32c16 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Dir2d.cxx @@ -0,0 +1,32 @@ +#ifndef _ShapeSchema_gp_Dir2d_HeaderFile +#include +#endif +#ifndef _gp_Dir2d_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void ShapeSchema_gp_Dir2d::SWrite(const gp_Dir2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + ShapeSchema_gp_XY::SWrite(pp.XY(),f,theSchema); + + f.EndWriteObjectData(); +} + +void ShapeSchema_gp_Dir2d::SRead(gp_Dir2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + ShapeSchema_gp_XY::SRead((gp_XY&)pp.XY(),f,theSchema); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Dir2d.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Dir2d.hxx new file mode 100644 index 000000000..50de2eb3b --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Dir2d.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_gp_Dir2d_HeaderFile +#define _ShapeSchema_gp_Dir2d_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class gp_Dir2d; + +class ShapeSchema_gp_Dir2d { +public: + Standard_EXPORT static void SAdd(const gp_Dir2d&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const gp_Dir2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(gp_Dir2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Dir2d.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Dir2d.ixx new file mode 100644 index 000000000..1746fd59b --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Dir2d.ixx @@ -0,0 +1,4 @@ +#ifndef _ShapeSchema_gp_XY_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Lin2d.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Lin2d.cxx new file mode 100644 index 000000000..f94808961 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Lin2d.cxx @@ -0,0 +1,32 @@ +#ifndef _ShapeSchema_gp_Lin2d_HeaderFile +#include +#endif +#ifndef _gp_Lin2d_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void ShapeSchema_gp_Lin2d::SWrite(const gp_Lin2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + ShapeSchema_gp_Ax2d::SWrite(pp.Position(),f,theSchema); + + f.EndWriteObjectData(); +} + +void ShapeSchema_gp_Lin2d::SRead(gp_Lin2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + ShapeSchema_gp_Ax2d::SRead((gp_Ax2d&)pp.Position(),f,theSchema); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Lin2d.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Lin2d.hxx new file mode 100644 index 000000000..305415dae --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Lin2d.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_gp_Lin2d_HeaderFile +#define _ShapeSchema_gp_Lin2d_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class gp_Lin2d; + +class ShapeSchema_gp_Lin2d { +public: + Standard_EXPORT static void SAdd(const gp_Lin2d&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const gp_Lin2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(gp_Lin2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Lin2d.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Lin2d.ixx new file mode 100644 index 000000000..d52fc10c7 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Lin2d.ixx @@ -0,0 +1,4 @@ +#ifndef _ShapeSchema_gp_Ax2d_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Mat.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Mat.cxx new file mode 100644 index 000000000..f8646e25d --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Mat.cxx @@ -0,0 +1,48 @@ +#ifndef _ShapeSchema_gp_Mat_HeaderFile +#include +#endif +#ifndef _gp_Mat_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void ShapeSchema_gp_Mat::SWrite(const gp_Mat& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + Standard_Integer gp_Matmatrix1 = 0,gp_Matmatrix2 = 0; + + for (gp_Matmatrix1 = 1; gp_Matmatrix1 <= 3; gp_Matmatrix1++) + for (gp_Matmatrix2 = 1; gp_Matmatrix2 <= 3; gp_Matmatrix2++) + { + f.PutReal(pp.Value(gp_Matmatrix1,gp_Matmatrix2)); + + } + + f.EndWriteObjectData(); +} + +void ShapeSchema_gp_Mat::SRead(gp_Mat& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + Standard_Integer gp_Matmatrix1 = 0,gp_Matmatrix2 = 0; + + for (gp_Matmatrix1 = 1; gp_Matmatrix1 <= 3; gp_Matmatrix1++) + for (gp_Matmatrix2 = 1; gp_Matmatrix2 <= 3; gp_Matmatrix2++) + { + Standard_Real gp_Matmatrix; + + f.GetReal(gp_Matmatrix); + pp.ChangeValue(gp_Matmatrix1,gp_Matmatrix2) = gp_Matmatrix; + +} + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Mat.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Mat.hxx new file mode 100644 index 000000000..5a0e79b46 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Mat.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_gp_Mat_HeaderFile +#define _ShapeSchema_gp_Mat_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class gp_Mat; + +class ShapeSchema_gp_Mat { +public: + Standard_EXPORT static void SAdd(const gp_Mat&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const gp_Mat&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(gp_Mat&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Mat.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Mat.ixx new file mode 100644 index 000000000..e69de29bb diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Mat2d.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Mat2d.cxx new file mode 100644 index 000000000..ba3131015 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Mat2d.cxx @@ -0,0 +1,48 @@ +#ifndef _ShapeSchema_gp_Mat2d_HeaderFile +#include +#endif +#ifndef _gp_Mat2d_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void ShapeSchema_gp_Mat2d::SWrite(const gp_Mat2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + Standard_Integer gp_Mat2dmatrix1 = 0,gp_Mat2dmatrix2 = 0; + + for (gp_Mat2dmatrix1 = 1; gp_Mat2dmatrix1 <= 2; gp_Mat2dmatrix1++) + for (gp_Mat2dmatrix2 = 1; gp_Mat2dmatrix2 <= 2; gp_Mat2dmatrix2++) + { + f.PutReal(pp.Value(gp_Mat2dmatrix1,gp_Mat2dmatrix2)); + + } + + f.EndWriteObjectData(); +} + +void ShapeSchema_gp_Mat2d::SRead(gp_Mat2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + Standard_Integer gp_Mat2dmatrix1 = 0,gp_Mat2dmatrix2 = 0; + + for (gp_Mat2dmatrix1 = 1; gp_Mat2dmatrix1 <= 2; gp_Mat2dmatrix1++) + for (gp_Mat2dmatrix2 = 1; gp_Mat2dmatrix2 <= 2; gp_Mat2dmatrix2++) + { + Standard_Real gp_Mat2dmatrix; + + f.GetReal(gp_Mat2dmatrix); + pp.ChangeValue(gp_Mat2dmatrix1,gp_Mat2dmatrix2) = gp_Mat2dmatrix; + +} + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Mat2d.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Mat2d.hxx new file mode 100644 index 000000000..d539ca5b8 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Mat2d.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_gp_Mat2d_HeaderFile +#define _ShapeSchema_gp_Mat2d_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class gp_Mat2d; + +class ShapeSchema_gp_Mat2d { +public: + Standard_EXPORT static void SAdd(const gp_Mat2d&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const gp_Mat2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(gp_Mat2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Mat2d.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Mat2d.ixx new file mode 100644 index 000000000..e69de29bb diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Pnt.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Pnt.cxx new file mode 100644 index 000000000..43cebad6c --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Pnt.cxx @@ -0,0 +1,32 @@ +#ifndef _ShapeSchema_gp_Pnt_HeaderFile +#include +#endif +#ifndef _gp_Pnt_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void ShapeSchema_gp_Pnt::SWrite(const gp_Pnt& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + ShapeSchema_gp_XYZ::SWrite(pp.XYZ(),f,theSchema); + + f.EndWriteObjectData(); +} + +void ShapeSchema_gp_Pnt::SRead(gp_Pnt& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + ShapeSchema_gp_XYZ::SRead((gp_XYZ&)pp.XYZ(),f,theSchema); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Pnt.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Pnt.hxx new file mode 100644 index 000000000..520bc7b29 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Pnt.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_gp_Pnt_HeaderFile +#define _ShapeSchema_gp_Pnt_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class gp_Pnt; + +class ShapeSchema_gp_Pnt { +public: + Standard_EXPORT static void SAdd(const gp_Pnt&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const gp_Pnt&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(gp_Pnt&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Pnt.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Pnt.ixx new file mode 100644 index 000000000..1a384c2c1 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Pnt.ixx @@ -0,0 +1,4 @@ +#ifndef _ShapeSchema_gp_XYZ_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Pnt2d.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Pnt2d.cxx new file mode 100644 index 000000000..7f5b8f570 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Pnt2d.cxx @@ -0,0 +1,32 @@ +#ifndef _ShapeSchema_gp_Pnt2d_HeaderFile +#include +#endif +#ifndef _gp_Pnt2d_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void ShapeSchema_gp_Pnt2d::SWrite(const gp_Pnt2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + ShapeSchema_gp_XY::SWrite(pp.XY(),f,theSchema); + + f.EndWriteObjectData(); +} + +void ShapeSchema_gp_Pnt2d::SRead(gp_Pnt2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + ShapeSchema_gp_XY::SRead((gp_XY&)pp.XY(),f,theSchema); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Pnt2d.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Pnt2d.hxx new file mode 100644 index 000000000..cb62ea088 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Pnt2d.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_gp_Pnt2d_HeaderFile +#define _ShapeSchema_gp_Pnt2d_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class gp_Pnt2d; + +class ShapeSchema_gp_Pnt2d { +public: + Standard_EXPORT static void SAdd(const gp_Pnt2d&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const gp_Pnt2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(gp_Pnt2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Pnt2d.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Pnt2d.ixx new file mode 100644 index 000000000..1746fd59b --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Pnt2d.ixx @@ -0,0 +1,4 @@ +#ifndef _ShapeSchema_gp_XY_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Trsf.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Trsf.cxx new file mode 100644 index 000000000..9b74a5961 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Trsf.cxx @@ -0,0 +1,47 @@ +#ifndef _ShapeSchema_gp_Trsf_HeaderFile +#include +#endif +#ifndef _gp_Trsf_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void ShapeSchema_gp_Trsf::SWrite(const gp_Trsf& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + f.PutReal(pp.ScaleFactor()); + f.PutInteger(pp.Form()); + ShapeSchema_gp_Mat::SWrite(pp.HVectorialPart(),f,theSchema); + ShapeSchema_gp_XYZ::SWrite(pp.TranslationPart(),f,theSchema); + + f.EndWriteObjectData(); +} + +void ShapeSchema_gp_Trsf::SRead(gp_Trsf& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + Standard_Real gp_Trsfscale; + f.GetReal(gp_Trsfscale); + pp.SetScaleFactor(gp_Trsfscale); + + gp_TrsfForm gp_Trsfshape; + Standard_Integer i_CSFDB_gp_Trsfshape; + f.GetInteger(i_CSFDB_gp_Trsfshape); + gp_Trsfshape = (gp_TrsfForm)i_CSFDB_gp_Trsfshape; + pp.SetForm(gp_Trsfshape); + + ShapeSchema_gp_Mat::SRead((gp_Mat&)pp.HVectorialPart(),f,theSchema); + + ShapeSchema_gp_XYZ::SRead((gp_XYZ&)pp.TranslationPart(),f,theSchema); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Trsf.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Trsf.hxx new file mode 100644 index 000000000..9670aa815 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Trsf.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_gp_Trsf_HeaderFile +#define _ShapeSchema_gp_Trsf_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class gp_Trsf; + +class ShapeSchema_gp_Trsf { +public: + Standard_EXPORT static void SAdd(const gp_Trsf&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const gp_Trsf&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(gp_Trsf&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Trsf.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Trsf.ixx new file mode 100644 index 000000000..58cddbabd --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Trsf.ixx @@ -0,0 +1,7 @@ +#ifndef _ShapeSchema_gp_Mat_HeaderFile +#include +#endif +#ifndef _ShapeSchema_gp_XYZ_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Trsf2d.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Trsf2d.cxx new file mode 100644 index 000000000..c69df1e57 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Trsf2d.cxx @@ -0,0 +1,47 @@ +#ifndef _ShapeSchema_gp_Trsf2d_HeaderFile +#include +#endif +#ifndef _gp_Trsf2d_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void ShapeSchema_gp_Trsf2d::SWrite(const gp_Trsf2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + f.PutReal(pp.ScaleFactor()); + f.PutInteger(pp.Form()); + ShapeSchema_gp_Mat2d::SWrite(pp.HVectorialPart(),f,theSchema); + ShapeSchema_gp_XY::SWrite(pp.TranslationPart(),f,theSchema); + + f.EndWriteObjectData(); +} + +void ShapeSchema_gp_Trsf2d::SRead(gp_Trsf2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + Standard_Real gp_Trsf2dscale; + f.GetReal(gp_Trsf2dscale); + pp.SetScaleFactor(gp_Trsf2dscale); + + gp_TrsfForm gp_Trsf2dshape; + Standard_Integer i_CSFDB_gp_Trsf2dshape; + f.GetInteger(i_CSFDB_gp_Trsf2dshape); + gp_Trsf2dshape = (gp_TrsfForm)i_CSFDB_gp_Trsf2dshape; + //pp._CSFDB_Setgp_Trsf2dshape(gp_Trsf2dshape); + + ShapeSchema_gp_Mat2d::SRead((gp_Mat2d&)pp.HVectorialPart(),f,theSchema); + + ShapeSchema_gp_XY::SRead((gp_XY&)pp.TranslationPart(),f,theSchema); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Trsf2d.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Trsf2d.hxx new file mode 100644 index 000000000..c3d708c86 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Trsf2d.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_gp_Trsf2d_HeaderFile +#define _ShapeSchema_gp_Trsf2d_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class gp_Trsf2d; + +class ShapeSchema_gp_Trsf2d { +public: + Standard_EXPORT static void SAdd(const gp_Trsf2d&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const gp_Trsf2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(gp_Trsf2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Trsf2d.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Trsf2d.ixx new file mode 100644 index 000000000..b69a5a598 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Trsf2d.ixx @@ -0,0 +1,7 @@ +#ifndef _ShapeSchema_gp_Mat2d_HeaderFile +#include +#endif +#ifndef _ShapeSchema_gp_XY_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Vec.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Vec.cxx new file mode 100644 index 000000000..581e67f87 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Vec.cxx @@ -0,0 +1,32 @@ +#ifndef _ShapeSchema_gp_Vec_HeaderFile +#include +#endif +#ifndef _gp_Vec_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void ShapeSchema_gp_Vec::SWrite(const gp_Vec& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + ShapeSchema_gp_XYZ::SWrite(pp.XYZ(),f,theSchema); + + f.EndWriteObjectData(); +} + +void ShapeSchema_gp_Vec::SRead(gp_Vec& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + ShapeSchema_gp_XYZ::SRead((gp_XYZ&)pp.XYZ(),f,theSchema); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Vec.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Vec.hxx new file mode 100644 index 000000000..ad45cc80d --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Vec.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_gp_Vec_HeaderFile +#define _ShapeSchema_gp_Vec_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class gp_Vec; + +class ShapeSchema_gp_Vec { +public: + Standard_EXPORT static void SAdd(const gp_Vec&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const gp_Vec&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(gp_Vec&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Vec.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Vec.ixx new file mode 100644 index 000000000..1a384c2c1 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Vec.ixx @@ -0,0 +1,4 @@ +#ifndef _ShapeSchema_gp_XYZ_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Vec2d.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Vec2d.cxx new file mode 100644 index 000000000..2eeb43c9a --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Vec2d.cxx @@ -0,0 +1,32 @@ +#ifndef _ShapeSchema_gp_Vec2d_HeaderFile +#include +#endif +#ifndef _gp_Vec2d_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void ShapeSchema_gp_Vec2d::SWrite(const gp_Vec2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + ShapeSchema_gp_XY::SWrite(pp.XY(),f,theSchema); + + f.EndWriteObjectData(); +} + +void ShapeSchema_gp_Vec2d::SRead(gp_Vec2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + ShapeSchema_gp_XY::SRead((gp_XY&)pp.XY(),f,theSchema); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Vec2d.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Vec2d.hxx new file mode 100644 index 000000000..101dfde61 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Vec2d.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_gp_Vec2d_HeaderFile +#define _ShapeSchema_gp_Vec2d_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class gp_Vec2d; + +class ShapeSchema_gp_Vec2d { +public: + Standard_EXPORT static void SAdd(const gp_Vec2d&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const gp_Vec2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(gp_Vec2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Vec2d.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Vec2d.ixx new file mode 100644 index 000000000..1746fd59b --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_Vec2d.ixx @@ -0,0 +1,4 @@ +#ifndef _ShapeSchema_gp_XY_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_XY.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_XY.cxx new file mode 100644 index 000000000..7e5a0c87d --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_XY.cxx @@ -0,0 +1,39 @@ +#ifndef _ShapeSchema_gp_XY_HeaderFile +#include +#endif +#ifndef _gp_XY_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void ShapeSchema_gp_XY::SWrite(const gp_XY& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + f.PutReal(pp.X()); + f.PutReal(pp.Y()); + + f.EndWriteObjectData(); +} + +void ShapeSchema_gp_XY::SRead(gp_XY& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + Standard_Real gp_XYx; + f.GetReal(gp_XYx); + pp.SetX(gp_XYx); + + Standard_Real gp_XYy; + f.GetReal(gp_XYy); + pp.SetY(gp_XYy); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_XY.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_XY.hxx new file mode 100644 index 000000000..57f55f864 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_XY.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_gp_XY_HeaderFile +#define _ShapeSchema_gp_XY_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class gp_XY; + +class ShapeSchema_gp_XY { +public: + Standard_EXPORT static void SAdd(const gp_XY&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const gp_XY&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(gp_XY&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_XY.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_XY.ixx new file mode 100644 index 000000000..e69de29bb diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_XYZ.cxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_XYZ.cxx new file mode 100644 index 000000000..04d52e746 --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_XYZ.cxx @@ -0,0 +1,44 @@ +#ifndef _ShapeSchema_gp_XYZ_HeaderFile +#include +#endif +#ifndef _gp_XYZ_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void ShapeSchema_gp_XYZ::SWrite(const gp_XYZ& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + f.PutReal(pp.X()); + f.PutReal(pp.Y()); + f.PutReal(pp.Z()); + + f.EndWriteObjectData(); +} + +void ShapeSchema_gp_XYZ::SRead(gp_XYZ& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + Standard_Real gp_XYZx; + f.GetReal(gp_XYZx); + pp.SetX(gp_XYZx); + + Standard_Real gp_XYZy; + f.GetReal(gp_XYZy); + pp.SetY(gp_XYZy); + + Standard_Real gp_XYZz; + f.GetReal(gp_XYZz); + pp.SetZ(gp_XYZz); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_XYZ.hxx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_XYZ.hxx new file mode 100644 index 000000000..2eb257aee --- /dev/null +++ b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_XYZ.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _ShapeSchema_gp_XYZ_HeaderFile +#define _ShapeSchema_gp_XYZ_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class gp_XYZ; + +class ShapeSchema_gp_XYZ { +public: + Standard_EXPORT static void SAdd(const gp_XYZ&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const gp_XYZ&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(gp_XYZ&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_XYZ.ixx b/src/FromOCCT/TKShapeSchema/ShapeSchema_gp_XYZ.ixx new file mode 100644 index 000000000..e69de29bb diff --git a/src/FromOCCT/TKStdLSchema/CMakeLists.txt b/src/FromOCCT/TKStdLSchema/CMakeLists.txt new file mode 100755 index 000000000..cc409e234 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/CMakeLists.txt @@ -0,0 +1,265 @@ +# Copyright (C) 2012-2015 CEA/DEN, EDF R&D, OPEN CASCADE +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# + +# --- options --- + +# additional include directories +INCLUDE_DIRECTORIES( + ${CAS_INCLUDE_DIRS} + ${PROJECT_SOURCE_DIR}/src/FromOCCT/TKShapeSchema + ${PROJECT_SOURCE_DIR}/src/FromOCCT/TKPLCAF + ${PROJECT_SOURCE_DIR}/src/FromOCCT/PTKernel + ${CMAKE_CURRENT_SOURCE_DIR} +) + +# additional preprocessor / compiler flags +ADD_DEFINITIONS( + ${CAS_DEFINITIONS} + ) + +# libraries to link to +SET(_link_LIBRARIES + ${CAS_TKCDF} ${CAS_TKernel} ${CAS_TKLCAF} + TKShapeSchema + TKPLCAF + PTKernel + ) + +# --- headers --- + +SET(GEOM_HEADERS + Handle_StdLDrivers_DocumentRetrievalDriver.hxx + Handle_StdLDrivers_DocumentStorageDriver.hxx + StdLDrivers_DocumentRetrievalDriver.hxx + StdLDrivers_DocumentRetrievalDriver.ixx + StdLDrivers_DocumentRetrievalDriver.jxx + StdLDrivers_DocumentStorageDriver.hxx + StdLDrivers_DocumentStorageDriver.ixx + StdLDrivers_DocumentStorageDriver.jxx + StdLDrivers.hxx + StdLDrivers.ixx + StdLDrivers.jxx + StdLSchema_DBC_VArrayOfCharacter.hxx + StdLSchema_DBC_VArrayOfCharacter.ixx + StdLSchema_DBC_VArrayOfExtCharacter.hxx + StdLSchema_DBC_VArrayOfExtCharacter.ixx + StdLSchema.hxx + StdLSchema_PCDM_Document.hxx + StdLSchema_PCDM_Document.ixx + StdLSchema_PCollection_HAsciiString.hxx + StdLSchema_PCollection_HAsciiString.ixx + StdLSchema_PCollection_HExtendedString.hxx + StdLSchema_PCollection_HExtendedString.ixx + StdLSchema_PColStd_FieldOfHArray1OfExtendedString.hxx + StdLSchema_PColStd_FieldOfHArray1OfExtendedString.ixx + StdLSchema_PColStd_FieldOfHArray1OfInteger.hxx + StdLSchema_PColStd_FieldOfHArray1OfInteger.ixx + StdLSchema_PColStd_FieldOfHArray1OfReal.hxx + StdLSchema_PColStd_FieldOfHArray1OfReal.ixx + StdLSchema_PColStd_FieldOfHArray2OfInteger.hxx + StdLSchema_PColStd_FieldOfHArray2OfInteger.ixx + StdLSchema_PColStd_HArray1OfExtendedString.hxx + StdLSchema_PColStd_HArray1OfExtendedString.ixx + StdLSchema_PColStd_HArray1OfInteger.hxx + StdLSchema_PColStd_HArray1OfInteger.ixx + StdLSchema_PColStd_HArray1OfReal.hxx + StdLSchema_PColStd_HArray1OfReal.ixx + StdLSchema_PColStd_HArray2OfInteger.hxx + StdLSchema_PColStd_HArray2OfInteger.ixx + StdLSchema_PDataStd_AsciiString.hxx + StdLSchema_PDataStd_AsciiString.ixx + StdLSchema_PDataStd_BooleanArray.hxx + StdLSchema_PDataStd_BooleanArray.ixx + StdLSchema_PDataStd_BooleanList.hxx + StdLSchema_PDataStd_BooleanList.ixx + StdLSchema_PDataStd_ByteArray_1.hxx + StdLSchema_PDataStd_ByteArray_1.ixx + StdLSchema_PDataStd_ByteArray.hxx + StdLSchema_PDataStd_ByteArray.ixx + StdLSchema_PDataStd_Comment.hxx + StdLSchema_PDataStd_Comment.ixx + StdLSchema_PDataStd_Directory.hxx + StdLSchema_PDataStd_Directory.ixx + StdLSchema_PDataStd_Expression.hxx + StdLSchema_PDataStd_Expression.ixx + StdLSchema_PDataStd_ExtStringArray_1.hxx + StdLSchema_PDataStd_ExtStringArray_1.ixx + StdLSchema_PDataStd_ExtStringArray.hxx + StdLSchema_PDataStd_ExtStringArray.ixx + StdLSchema_PDataStd_ExtStringList.hxx + StdLSchema_PDataStd_ExtStringList.ixx + StdLSchema_PDataStd_FieldOfHArray1OfByte.hxx + StdLSchema_PDataStd_FieldOfHArray1OfByte.ixx + StdLSchema_PDataStd_FieldOfHArray1OfHArray1OfInteger.hxx + StdLSchema_PDataStd_FieldOfHArray1OfHArray1OfInteger.ixx + StdLSchema_PDataStd_FieldOfHArray1OfHArray1OfReal.hxx + StdLSchema_PDataStd_FieldOfHArray1OfHArray1OfReal.ixx + StdLSchema_PDataStd_FieldOfHArray1OfHAsciiString.hxx + StdLSchema_PDataStd_FieldOfHArray1OfHAsciiString.ixx + StdLSchema_PDataStd_HArray1OfByte.hxx + StdLSchema_PDataStd_HArray1OfByte.ixx + StdLSchema_PDataStd_HArray1OfHArray1OfInteger.hxx + StdLSchema_PDataStd_HArray1OfHArray1OfInteger.ixx + StdLSchema_PDataStd_HArray1OfHArray1OfReal.hxx + StdLSchema_PDataStd_HArray1OfHArray1OfReal.ixx + StdLSchema_PDataStd_HArray1OfHAsciiString.hxx + StdLSchema_PDataStd_HArray1OfHAsciiString.ixx + StdLSchema_PDataStd_IntegerArray_1.hxx + StdLSchema_PDataStd_IntegerArray_1.ixx + StdLSchema_PDataStd_IntegerArray.hxx + StdLSchema_PDataStd_IntegerArray.ixx + StdLSchema_PDataStd_Integer.hxx + StdLSchema_PDataStd_Integer.ixx + StdLSchema_PDataStd_IntegerList.hxx + StdLSchema_PDataStd_IntegerList.ixx + StdLSchema_PDataStd_IntPackedMap_1.hxx + StdLSchema_PDataStd_IntPackedMap_1.ixx + StdLSchema_PDataStd_IntPackedMap.hxx + StdLSchema_PDataStd_IntPackedMap.ixx + StdLSchema_PDataStd_NamedData.hxx + StdLSchema_PDataStd_NamedData.ixx + StdLSchema_PDataStd_Name.hxx + StdLSchema_PDataStd_Name.ixx + StdLSchema_PDataStd_NoteBook.hxx + StdLSchema_PDataStd_NoteBook.ixx + StdLSchema_PDataStd_RealArray_1.hxx + StdLSchema_PDataStd_RealArray_1.ixx + StdLSchema_PDataStd_RealArray.hxx + StdLSchema_PDataStd_RealArray.ixx + StdLSchema_PDataStd_Real.hxx + StdLSchema_PDataStd_Real.ixx + StdLSchema_PDataStd_RealList.hxx + StdLSchema_PDataStd_RealList.ixx + StdLSchema_PDataStd_ReferenceArray.hxx + StdLSchema_PDataStd_ReferenceArray.ixx + StdLSchema_PDataStd_ReferenceList.hxx + StdLSchema_PDataStd_ReferenceList.ixx + StdLSchema_PDataStd_Relation.hxx + StdLSchema_PDataStd_Relation.ixx + StdLSchema_PDataStd_Tick.hxx + StdLSchema_PDataStd_Tick.ixx + StdLSchema_PDataStd_TreeNode.hxx + StdLSchema_PDataStd_TreeNode.ixx + StdLSchema_PDataStd_UAttribute.hxx + StdLSchema_PDataStd_UAttribute.ixx + StdLSchema_PDataStd_Variable.hxx + StdLSchema_PDataStd_Variable.ixx + StdLSchema_PDF_Attribute.hxx + StdLSchema_PDF_Attribute.ixx + StdLSchema_PDF_Data.hxx + StdLSchema_PDF_Data.ixx + StdLSchema_PDF_FieldOfHAttributeArray1.hxx + StdLSchema_PDF_FieldOfHAttributeArray1.ixx + StdLSchema_PDF_HAttributeArray1.hxx + StdLSchema_PDF_HAttributeArray1.ixx + StdLSchema_PDF_Reference.hxx + StdLSchema_PDF_Reference.ixx + StdLSchema_PDF_TagSource.hxx + StdLSchema_PDF_TagSource.ixx + StdLSchema_PDocStd_Document.hxx + StdLSchema_PDocStd_Document.ixx + StdLSchema_PDocStd_XLink.hxx + StdLSchema_PDocStd_XLink.ixx + StdLSchema_PFunction_Function.hxx + StdLSchema_PFunction_Function.ixx + StdLSchema_Standard_GUID.hxx + StdLSchema_Standard_GUID.ixx + StdLSchema_Standard_Persistent.hxx + StdLSchema_Standard_Persistent.ixx + ) + +# --- sources --- + +SET(GEOM_SOURCES + StdLDrivers.cxx + StdLDrivers_DocumentRetrievalDriver.cxx + StdLDrivers_DocumentStorageDriver.cxx + StdLSchema.cxx + StdLSchema_DBC_VArrayOfCharacter.cxx + StdLSchema_DBC_VArrayOfExtCharacter.cxx + StdLSchema_PCDM_Document.cxx + StdLSchema_PCollection_HAsciiString.cxx + StdLSchema_PCollection_HExtendedString.cxx + StdLSchema_PColStd_FieldOfHArray1OfExtendedString.cxx + StdLSchema_PColStd_FieldOfHArray1OfInteger.cxx + StdLSchema_PColStd_FieldOfHArray1OfReal.cxx + StdLSchema_PColStd_FieldOfHArray2OfInteger.cxx + StdLSchema_PColStd_HArray1OfExtendedString.cxx + StdLSchema_PColStd_HArray1OfInteger.cxx + StdLSchema_PColStd_HArray1OfReal.cxx + StdLSchema_PColStd_HArray2OfInteger.cxx + StdLSchema_PDataStd_AsciiString.cxx + StdLSchema_PDataStd_BooleanArray.cxx + StdLSchema_PDataStd_BooleanList.cxx + StdLSchema_PDataStd_ByteArray_1.cxx + StdLSchema_PDataStd_ByteArray.cxx + StdLSchema_PDataStd_Comment.cxx + StdLSchema_PDataStd_Directory.cxx + StdLSchema_PDataStd_Expression.cxx + StdLSchema_PDataStd_ExtStringArray_1.cxx + StdLSchema_PDataStd_ExtStringArray.cxx + StdLSchema_PDataStd_ExtStringList.cxx + StdLSchema_PDataStd_FieldOfHArray1OfByte.cxx + StdLSchema_PDataStd_FieldOfHArray1OfHArray1OfInteger.cxx + StdLSchema_PDataStd_FieldOfHArray1OfHArray1OfReal.cxx + StdLSchema_PDataStd_FieldOfHArray1OfHAsciiString.cxx + StdLSchema_PDataStd_HArray1OfByte.cxx + StdLSchema_PDataStd_HArray1OfHArray1OfInteger.cxx + StdLSchema_PDataStd_HArray1OfHArray1OfReal.cxx + StdLSchema_PDataStd_HArray1OfHAsciiString.cxx + StdLSchema_PDataStd_IntegerArray_1.cxx + StdLSchema_PDataStd_IntegerArray.cxx + StdLSchema_PDataStd_Integer.cxx + StdLSchema_PDataStd_IntegerList.cxx + StdLSchema_PDataStd_IntPackedMap_1.cxx + StdLSchema_PDataStd_IntPackedMap.cxx + StdLSchema_PDataStd_Name.cxx + StdLSchema_PDataStd_NamedData.cxx + StdLSchema_PDataStd_NoteBook.cxx + StdLSchema_PDataStd_RealArray_1.cxx + StdLSchema_PDataStd_RealArray.cxx + StdLSchema_PDataStd_Real.cxx + StdLSchema_PDataStd_RealList.cxx + StdLSchema_PDataStd_ReferenceArray.cxx + StdLSchema_PDataStd_ReferenceList.cxx + StdLSchema_PDataStd_Relation.cxx + StdLSchema_PDataStd_Tick.cxx + StdLSchema_PDataStd_TreeNode.cxx + StdLSchema_PDataStd_UAttribute.cxx + StdLSchema_PDataStd_Variable.cxx + StdLSchema_PDF_Attribute.cxx + StdLSchema_PDF_Data.cxx + StdLSchema_PDF_FieldOfHAttributeArray1.cxx + StdLSchema_PDF_HAttributeArray1.cxx + StdLSchema_PDF_Reference.cxx + StdLSchema_PDF_TagSource.cxx + StdLSchema_PDocStd_Document.cxx + StdLSchema_PDocStd_XLink.cxx + StdLSchema_PFunction_Function.cxx + StdLSchema_Standard_GUID.cxx + StdLSchema_Standard_Persistent.cxx + ) + +# --- rules --- + +ADD_LIBRARY(TKStdLSchema ${GEOM_SOURCES}) +TARGET_LINK_LIBRARIES(TKStdLSchema ${_link_LIBRARIES}) +INSTALL(TARGETS TKStdLSchema EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) + +INSTALL(FILES ${GEOM_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) diff --git a/src/FromOCCT/TKStdLSchema/Handle_StdLDrivers_DocumentRetrievalDriver.hxx b/src/FromOCCT/TKStdLSchema/Handle_StdLDrivers_DocumentRetrievalDriver.hxx new file mode 100644 index 000000000..0fc1d2e43 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/Handle_StdLDrivers_DocumentRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_StdLDrivers_DocumentRetrievalDriver_HeaderFile +#define _Handle_StdLDrivers_DocumentRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDocStd_DocumentRetrievalDriver); +class StdLDrivers_DocumentRetrievalDriver; + +DEFINE_STANDARD_HANDLE(StdLDrivers_DocumentRetrievalDriver, MDocStd_DocumentRetrievalDriver) + +#endif // _Handle_StdLDrivers_DocumentRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKStdLSchema/Handle_StdLDrivers_DocumentStorageDriver.hxx b/src/FromOCCT/TKStdLSchema/Handle_StdLDrivers_DocumentStorageDriver.hxx new file mode 100644 index 000000000..a14bd46d2 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/Handle_StdLDrivers_DocumentStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_StdLDrivers_DocumentStorageDriver_HeaderFile +#define _Handle_StdLDrivers_DocumentStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDocStd_DocumentStorageDriver); +class StdLDrivers_DocumentStorageDriver; + +DEFINE_STANDARD_HANDLE(StdLDrivers_DocumentStorageDriver, MDocStd_DocumentStorageDriver) + +#endif // _Handle_StdLDrivers_DocumentStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKStdLSchema/StdLDrivers.cxx b/src/FromOCCT/TKStdLSchema/StdLDrivers.cxx new file mode 100644 index 000000000..1a2a8ab93 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLDrivers.cxx @@ -0,0 +1,71 @@ +// 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 +#include +#include +#include +#include +#include + +#include +#include +#include + +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/FromOCCT/TKStdLSchema/StdLDrivers.hxx b/src/FromOCCT/TKStdLSchema/StdLDrivers.hxx new file mode 100644 index 000000000..4ebd73781 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLDrivers.hxx @@ -0,0 +1,57 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLDrivers_HeaderFile +#define _StdLDrivers_HeaderFile + +#include +#include +#include + +#include +class Standard_Transient; +class Standard_GUID; +class StdLDrivers_DocumentRetrievalDriver; +class StdLDrivers_DocumentStorageDriver; + + + +class StdLDrivers +{ +public: + + DEFINE_STANDARD_ALLOC + + + //! Depending from the ID, returns a list of storage + //! or retrieval attribute drivers. Used for plugin + Standard_EXPORT static Handle(Standard_Transient) Factory (const Standard_GUID& aGUID) ; + + + + +protected: + + + + + +private: + + + + +friend class StdLDrivers_DocumentRetrievalDriver; +friend class StdLDrivers_DocumentStorageDriver; + +}; + + + + + + + +#endif // _StdLDrivers_HeaderFile diff --git a/src/FromOCCT/TKStdLSchema/StdLDrivers.ixx b/src/FromOCCT/TKStdLSchema/StdLDrivers.ixx new file mode 100644 index 000000000..741e386c0 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLDrivers.ixx @@ -0,0 +1,10 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + + + + diff --git a/src/FromOCCT/TKStdLSchema/StdLDrivers.jxx b/src/FromOCCT/TKStdLSchema/StdLDrivers.jxx new file mode 100644 index 000000000..f1481ad9e --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLDrivers.jxx @@ -0,0 +1,3 @@ +#include +#include +#include diff --git a/src/FromOCCT/TKStdLSchema/StdLDrivers_DocumentRetrievalDriver.cxx b/src/FromOCCT/TKStdLSchema/StdLDrivers_DocumentRetrievalDriver.cxx new file mode 100644 index 000000000..a75d9e934 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLDrivers_DocumentRetrievalDriver.cxx @@ -0,0 +1,50 @@ +// 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 + +#include +#include +#include +#include +#include + +#include +//======================================================================= +//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/FromOCCT/TKStdLSchema/StdLDrivers_DocumentRetrievalDriver.hxx b/src/FromOCCT/TKStdLSchema/StdLDrivers_DocumentRetrievalDriver.hxx new file mode 100644 index 000000000..6705367ed --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLDrivers_DocumentRetrievalDriver.hxx @@ -0,0 +1,54 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLDrivers_DocumentRetrievalDriver_HeaderFile +#define _StdLDrivers_DocumentRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +class MDF_ARDriverTable; +class CDM_MessageDriver; + + +//! retrieval driver of a Part document +class StdLDrivers_DocumentRetrievalDriver : public MDocStd_DocumentRetrievalDriver +{ + +public: + + + Standard_EXPORT StdLDrivers_DocumentRetrievalDriver(); + + Standard_EXPORT virtual Handle(MDF_ARDriverTable) AttributeDrivers (const Handle(CDM_MessageDriver)& theMessageDriver) ; + + + + + DEFINE_STANDARD_RTTI(StdLDrivers_DocumentRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _StdLDrivers_DocumentRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKStdLSchema/StdLDrivers_DocumentRetrievalDriver.ixx b/src/FromOCCT/TKStdLSchema/StdLDrivers_DocumentRetrievalDriver.ixx new file mode 100644 index 000000000..fb71f7d5a --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLDrivers_DocumentRetrievalDriver.ixx @@ -0,0 +1,29 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(StdLDrivers_DocumentRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDocStd_DocumentRetrievalDriver), + STANDARD_TYPE(PCDM_RetrievalDriver), + STANDARD_TYPE(PCDM_Reader), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(StdLDrivers_DocumentRetrievalDriver) + + +IMPLEMENT_DOWNCAST(StdLDrivers_DocumentRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(StdLDrivers_DocumentRetrievalDriver) + + + diff --git a/src/FromOCCT/TKStdLSchema/StdLDrivers_DocumentRetrievalDriver.jxx b/src/FromOCCT/TKStdLSchema/StdLDrivers_DocumentRetrievalDriver.jxx new file mode 100644 index 000000000..8793e5c7f --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLDrivers_DocumentRetrievalDriver.jxx @@ -0,0 +1,3 @@ +#include +#include +#include diff --git a/src/FromOCCT/TKStdLSchema/StdLDrivers_DocumentStorageDriver.cxx b/src/FromOCCT/TKStdLSchema/StdLDrivers_DocumentStorageDriver.cxx new file mode 100644 index 000000000..198004be6 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLDrivers_DocumentStorageDriver.cxx @@ -0,0 +1,72 @@ +// 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 +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include + + +//======================================================================= +//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/FromOCCT/TKStdLSchema/StdLDrivers_DocumentStorageDriver.hxx b/src/FromOCCT/TKStdLSchema/StdLDrivers_DocumentStorageDriver.hxx new file mode 100644 index 000000000..1a055e695 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLDrivers_DocumentStorageDriver.hxx @@ -0,0 +1,59 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLDrivers_DocumentStorageDriver_HeaderFile +#define _StdLDrivers_DocumentStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class CDM_Document; +class PCDM_SequenceOfDocument; +class MDF_ASDriverTable; +class CDM_MessageDriver; + + +//! storage driver of a Part document +class StdLDrivers_DocumentStorageDriver : public MDocStd_DocumentStorageDriver +{ + +public: + + + Standard_EXPORT StdLDrivers_DocumentStorageDriver(); + + Standard_EXPORT virtual void Make (const Handle(CDM_Document)& aDocument, PCDM_SequenceOfDocument& Documents) ; + + Standard_EXPORT virtual Handle(MDF_ASDriverTable) AttributeDrivers (const Handle(CDM_MessageDriver)& theMessageDriver) ; + + + + + DEFINE_STANDARD_RTTI(StdLDrivers_DocumentStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _StdLDrivers_DocumentStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKStdLSchema/StdLDrivers_DocumentStorageDriver.ixx b/src/FromOCCT/TKStdLSchema/StdLDrivers_DocumentStorageDriver.ixx new file mode 100644 index 000000000..f6c3abad6 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLDrivers_DocumentStorageDriver.ixx @@ -0,0 +1,29 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(StdLDrivers_DocumentStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDocStd_DocumentStorageDriver), + STANDARD_TYPE(PCDM_StorageDriver), + STANDARD_TYPE(PCDM_Writer), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(StdLDrivers_DocumentStorageDriver) + + +IMPLEMENT_DOWNCAST(StdLDrivers_DocumentStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(StdLDrivers_DocumentStorageDriver) + + + diff --git a/src/FromOCCT/TKStdLSchema/StdLDrivers_DocumentStorageDriver.jxx b/src/FromOCCT/TKStdLSchema/StdLDrivers_DocumentStorageDriver.jxx new file mode 100644 index 000000000..4d940f14e --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLDrivers_DocumentStorageDriver.jxx @@ -0,0 +1,5 @@ +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema.cxx new file mode 100644 index 000000000..09abce6af --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema.cxx @@ -0,0 +1,324 @@ +#ifndef _StdLSchema_HeaderFile +#include +#endif +#ifndef _Storage_StreamUnknownTypeError_HeaderFile +#include +#endif +#ifndef _TColStd_SequenceOfAsciiString_HeaderFile +#include +#endif +#ifndef _StdLSchema_PDF_Data_HeaderFile +#include +#endif +#ifndef _StdLSchema_PDF_Attribute_HeaderFile +#include +#endif +#ifndef _StdLSchema_PDF_TagSource_HeaderFile +#include +#endif +#ifndef _StdLSchema_PDF_Reference_HeaderFile +#include +#endif +#ifndef _StdLSchema_PDF_HAttributeArray1_HeaderFile +#include +#endif +#ifndef _StdLSchema_PDataStd_Name_HeaderFile +#include +#endif +#ifndef _StdLSchema_PDataStd_Comment_HeaderFile +#include +#endif +#ifndef _StdLSchema_PDataStd_Integer_HeaderFile +#include +#endif +#ifndef _StdLSchema_PDataStd_IntegerArray_HeaderFile +#include +#endif +#ifndef _StdLSchema_PDataStd_IntegerArray_1_HeaderFile +#include +#endif +#ifndef _StdLSchema_PDataStd_Real_HeaderFile +#include +#endif +#ifndef _StdLSchema_PDataStd_RealArray_HeaderFile +#include +#endif +#ifndef _StdLSchema_PDataStd_RealArray_1_HeaderFile +#include +#endif +#ifndef _StdLSchema_PDataStd_ExtStringArray_HeaderFile +#include +#endif +#ifndef _StdLSchema_PDataStd_ExtStringArray_1_HeaderFile +#include +#endif +#ifndef _StdLSchema_PDataStd_TreeNode_HeaderFile +#include +#endif +#ifndef _StdLSchema_PDataStd_Expression_HeaderFile +#include +#endif +#ifndef _StdLSchema_PDataStd_Relation_HeaderFile +#include +#endif +#ifndef _StdLSchema_PDataStd_Variable_HeaderFile +#include +#endif +#ifndef _StdLSchema_PDataStd_NoteBook_HeaderFile +#include +#endif +#ifndef _StdLSchema_PDataStd_UAttribute_HeaderFile +#include +#endif +#ifndef _StdLSchema_PDataStd_Directory_HeaderFile +#include +#endif +#ifndef _StdLSchema_PDataStd_Tick_HeaderFile +#include +#endif +#ifndef _StdLSchema_PDataStd_IntegerList_HeaderFile +#include +#endif +#ifndef _StdLSchema_PDataStd_RealList_HeaderFile +#include +#endif +#ifndef _StdLSchema_PDataStd_ExtStringList_HeaderFile +#include +#endif +#ifndef _StdLSchema_PDataStd_BooleanList_HeaderFile +#include +#endif +#ifndef _StdLSchema_PDataStd_ReferenceList_HeaderFile +#include +#endif +#ifndef _StdLSchema_PDataStd_BooleanArray_HeaderFile +#include +#endif +#ifndef _StdLSchema_PDataStd_ReferenceArray_HeaderFile +#include +#endif +#ifndef _StdLSchema_PDataStd_ByteArray_HeaderFile +#include +#endif +#ifndef _StdLSchema_PDataStd_ByteArray_1_HeaderFile +#include +#endif +#ifndef _StdLSchema_PDataStd_NamedData_HeaderFile +#include +#endif +#ifndef _StdLSchema_PDataStd_AsciiString_HeaderFile +#include +#endif +#ifndef _StdLSchema_PDataStd_IntPackedMap_HeaderFile +#include +#endif +#ifndef _StdLSchema_PDataStd_IntPackedMap_1_HeaderFile +#include +#endif +#ifndef _StdLSchema_PDataStd_HArray1OfHAsciiString_HeaderFile +#include +#endif +#ifndef _StdLSchema_PDataStd_HArray1OfHArray1OfInteger_HeaderFile +#include +#endif +#ifndef _StdLSchema_PDataStd_HArray1OfHArray1OfReal_HeaderFile +#include +#endif +#ifndef _StdLSchema_PDataStd_HArray1OfByte_HeaderFile +#include +#endif +#ifndef _StdLSchema_PFunction_Function_HeaderFile +#include +#endif +#ifndef _StdLSchema_PDocStd_Document_HeaderFile +#include +#endif +#ifndef _StdLSchema_PDocStd_XLink_HeaderFile +#include +#endif +#ifndef _StdLSchema_PCDM_Document_HeaderFile +#include +#endif +#ifndef _StdLSchema_Standard_Persistent_HeaderFile +#include +#endif +#ifndef _StdLSchema_PColStd_HArray1OfInteger_HeaderFile +#include +#endif +#ifndef _StdLSchema_PCollection_HAsciiString_HeaderFile +#include +#endif +#ifndef _StdLSchema_PCollection_HExtendedString_HeaderFile +#include +#endif +#ifndef _StdLSchema_PColStd_HArray1OfReal_HeaderFile +#include +#endif +#ifndef _StdLSchema_PColStd_HArray1OfExtendedString_HeaderFile +#include +#endif +#ifndef _StdLSchema_PColStd_HArray2OfInteger_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdLSchema,Storage_Schema) +IMPLEMENT_STANDARD_RTTIEXT(StdLSchema,Storage_Schema) + +Storage_BEGIN_ADD_TYPES(StdLSchema) +Storage_ADD_TYPES(StdLSchema,PDF_Data,StdLSchema_PDF_Data) +Storage_ADD_TYPES(StdLSchema,PDF_Attribute,StdLSchema_PDF_Attribute) +Storage_ADD_TYPES(StdLSchema,PDF_TagSource,StdLSchema_PDF_TagSource) +Storage_ADD_TYPES(StdLSchema,PDF_Reference,StdLSchema_PDF_Reference) +Storage_ADD_TYPES(StdLSchema,PDF_HAttributeArray1,StdLSchema_PDF_HAttributeArray1) +Storage_ADD_TYPES(StdLSchema,PDataStd_Name,StdLSchema_PDataStd_Name) +Storage_ADD_TYPES(StdLSchema,PDataStd_Comment,StdLSchema_PDataStd_Comment) +Storage_ADD_TYPES(StdLSchema,PDataStd_Integer,StdLSchema_PDataStd_Integer) +Storage_ADD_TYPES(StdLSchema,PDataStd_IntegerArray,StdLSchema_PDataStd_IntegerArray) +Storage_ADD_TYPES(StdLSchema,PDataStd_IntegerArray_1,StdLSchema_PDataStd_IntegerArray_1) +Storage_ADD_TYPES(StdLSchema,PDataStd_Real,StdLSchema_PDataStd_Real) +Storage_ADD_TYPES(StdLSchema,PDataStd_RealArray,StdLSchema_PDataStd_RealArray) +Storage_ADD_TYPES(StdLSchema,PDataStd_RealArray_1,StdLSchema_PDataStd_RealArray_1) +Storage_ADD_TYPES(StdLSchema,PDataStd_ExtStringArray,StdLSchema_PDataStd_ExtStringArray) +Storage_ADD_TYPES(StdLSchema,PDataStd_ExtStringArray_1,StdLSchema_PDataStd_ExtStringArray_1) +Storage_ADD_TYPES(StdLSchema,PDataStd_TreeNode,StdLSchema_PDataStd_TreeNode) +Storage_ADD_TYPES(StdLSchema,PDataStd_Expression,StdLSchema_PDataStd_Expression) +Storage_ADD_TYPES(StdLSchema,PDataStd_Relation,StdLSchema_PDataStd_Relation) +Storage_ADD_TYPES(StdLSchema,PDataStd_Variable,StdLSchema_PDataStd_Variable) +Storage_ADD_TYPES(StdLSchema,PDataStd_NoteBook,StdLSchema_PDataStd_NoteBook) +Storage_ADD_TYPES(StdLSchema,PDataStd_UAttribute,StdLSchema_PDataStd_UAttribute) +Storage_ADD_TYPES(StdLSchema,PDataStd_Directory,StdLSchema_PDataStd_Directory) +Storage_ADD_TYPES(StdLSchema,PDataStd_Tick,StdLSchema_PDataStd_Tick) +Storage_ADD_TYPES(StdLSchema,PDataStd_IntegerList,StdLSchema_PDataStd_IntegerList) +Storage_ADD_TYPES(StdLSchema,PDataStd_RealList,StdLSchema_PDataStd_RealList) +Storage_ADD_TYPES(StdLSchema,PDataStd_ExtStringList,StdLSchema_PDataStd_ExtStringList) +Storage_ADD_TYPES(StdLSchema,PDataStd_BooleanList,StdLSchema_PDataStd_BooleanList) +Storage_ADD_TYPES(StdLSchema,PDataStd_ReferenceList,StdLSchema_PDataStd_ReferenceList) +Storage_ADD_TYPES(StdLSchema,PDataStd_BooleanArray,StdLSchema_PDataStd_BooleanArray) +Storage_ADD_TYPES(StdLSchema,PDataStd_ReferenceArray,StdLSchema_PDataStd_ReferenceArray) +Storage_ADD_TYPES(StdLSchema,PDataStd_ByteArray,StdLSchema_PDataStd_ByteArray) +Storage_ADD_TYPES(StdLSchema,PDataStd_ByteArray_1,StdLSchema_PDataStd_ByteArray_1) +Storage_ADD_TYPES(StdLSchema,PDataStd_NamedData,StdLSchema_PDataStd_NamedData) +Storage_ADD_TYPES(StdLSchema,PDataStd_AsciiString,StdLSchema_PDataStd_AsciiString) +Storage_ADD_TYPES(StdLSchema,PDataStd_IntPackedMap,StdLSchema_PDataStd_IntPackedMap) +Storage_ADD_TYPES(StdLSchema,PDataStd_IntPackedMap_1,StdLSchema_PDataStd_IntPackedMap_1) +Storage_ADD_TYPES(StdLSchema,PDataStd_HArray1OfHAsciiString,StdLSchema_PDataStd_HArray1OfHAsciiString) +Storage_ADD_TYPES(StdLSchema,PDataStd_HArray1OfHArray1OfInteger,StdLSchema_PDataStd_HArray1OfHArray1OfInteger) +Storage_ADD_TYPES(StdLSchema,PDataStd_HArray1OfHArray1OfReal,StdLSchema_PDataStd_HArray1OfHArray1OfReal) +Storage_ADD_TYPES(StdLSchema,PDataStd_HArray1OfByte,StdLSchema_PDataStd_HArray1OfByte) +Storage_ADD_TYPES(StdLSchema,PFunction_Function,StdLSchema_PFunction_Function) +Storage_ADD_TYPES(StdLSchema,PDocStd_Document,StdLSchema_PDocStd_Document) +Storage_ADD_TYPES(StdLSchema,PDocStd_XLink,StdLSchema_PDocStd_XLink) +Storage_ADD_TYPES(StdLSchema,PCDM_Document,StdLSchema_PCDM_Document) +Storage_ADD_TYPES(StdLSchema,Standard_Persistent,StdLSchema_Standard_Persistent) +Storage_ADD_TYPES(StdLSchema,PColStd_HArray1OfInteger,StdLSchema_PColStd_HArray1OfInteger) +Storage_ADD_TYPES(StdLSchema,PCollection_HAsciiString,StdLSchema_PCollection_HAsciiString) +Storage_ADD_TYPES(StdLSchema,PCollection_HExtendedString,StdLSchema_PCollection_HExtendedString) +Storage_ADD_TYPES(StdLSchema,PColStd_HArray1OfReal,StdLSchema_PColStd_HArray1OfReal) +Storage_ADD_TYPES(StdLSchema,PColStd_HArray1OfExtendedString,StdLSchema_PColStd_HArray1OfExtendedString) +Storage_ADD_TYPES(StdLSchema,PColStd_HArray2OfInteger,StdLSchema_PColStd_HArray2OfInteger) +Storage_END_ADD_TYPES(StdLSchema) + +Storage_BEGIN_READ_SELECTION(StdLSchema) +Storage_READ_SELECTION(StdLSchema,PDF_Data,StdLSchema_PDF_Data) +Storage_READ_SELECTION(StdLSchema,PDF_TagSource,StdLSchema_PDF_TagSource) +Storage_READ_SELECTION(StdLSchema,PDF_Reference,StdLSchema_PDF_Reference) +Storage_READ_SELECTION(StdLSchema,PDF_HAttributeArray1,StdLSchema_PDF_HAttributeArray1) +Storage_READ_SELECTION(StdLSchema,PDataStd_Name,StdLSchema_PDataStd_Name) +Storage_READ_SELECTION(StdLSchema,PDataStd_Comment,StdLSchema_PDataStd_Comment) +Storage_READ_SELECTION(StdLSchema,PDataStd_Integer,StdLSchema_PDataStd_Integer) +Storage_READ_SELECTION(StdLSchema,PDataStd_IntegerArray,StdLSchema_PDataStd_IntegerArray) +Storage_READ_SELECTION(StdLSchema,PDataStd_IntegerArray_1,StdLSchema_PDataStd_IntegerArray_1) +Storage_READ_SELECTION(StdLSchema,PDataStd_Real,StdLSchema_PDataStd_Real) +Storage_READ_SELECTION(StdLSchema,PDataStd_RealArray,StdLSchema_PDataStd_RealArray) +Storage_READ_SELECTION(StdLSchema,PDataStd_RealArray_1,StdLSchema_PDataStd_RealArray_1) +Storage_READ_SELECTION(StdLSchema,PDataStd_ExtStringArray,StdLSchema_PDataStd_ExtStringArray) +Storage_READ_SELECTION(StdLSchema,PDataStd_ExtStringArray_1,StdLSchema_PDataStd_ExtStringArray_1) +Storage_READ_SELECTION(StdLSchema,PDataStd_TreeNode,StdLSchema_PDataStd_TreeNode) +Storage_READ_SELECTION(StdLSchema,PDataStd_Expression,StdLSchema_PDataStd_Expression) +Storage_READ_SELECTION(StdLSchema,PDataStd_Relation,StdLSchema_PDataStd_Relation) +Storage_READ_SELECTION(StdLSchema,PDataStd_Variable,StdLSchema_PDataStd_Variable) +Storage_READ_SELECTION(StdLSchema,PDataStd_NoteBook,StdLSchema_PDataStd_NoteBook) +Storage_READ_SELECTION(StdLSchema,PDataStd_UAttribute,StdLSchema_PDataStd_UAttribute) +Storage_READ_SELECTION(StdLSchema,PDataStd_Directory,StdLSchema_PDataStd_Directory) +Storage_READ_SELECTION(StdLSchema,PDataStd_Tick,StdLSchema_PDataStd_Tick) +Storage_READ_SELECTION(StdLSchema,PDataStd_IntegerList,StdLSchema_PDataStd_IntegerList) +Storage_READ_SELECTION(StdLSchema,PDataStd_RealList,StdLSchema_PDataStd_RealList) +Storage_READ_SELECTION(StdLSchema,PDataStd_ExtStringList,StdLSchema_PDataStd_ExtStringList) +Storage_READ_SELECTION(StdLSchema,PDataStd_BooleanList,StdLSchema_PDataStd_BooleanList) +Storage_READ_SELECTION(StdLSchema,PDataStd_ReferenceList,StdLSchema_PDataStd_ReferenceList) +Storage_READ_SELECTION(StdLSchema,PDataStd_BooleanArray,StdLSchema_PDataStd_BooleanArray) +Storage_READ_SELECTION(StdLSchema,PDataStd_ReferenceArray,StdLSchema_PDataStd_ReferenceArray) +Storage_READ_SELECTION(StdLSchema,PDataStd_ByteArray,StdLSchema_PDataStd_ByteArray) +Storage_READ_SELECTION(StdLSchema,PDataStd_ByteArray_1,StdLSchema_PDataStd_ByteArray_1) +Storage_READ_SELECTION(StdLSchema,PDataStd_NamedData,StdLSchema_PDataStd_NamedData) +Storage_READ_SELECTION(StdLSchema,PDataStd_AsciiString,StdLSchema_PDataStd_AsciiString) +Storage_READ_SELECTION(StdLSchema,PDataStd_IntPackedMap,StdLSchema_PDataStd_IntPackedMap) +Storage_READ_SELECTION(StdLSchema,PDataStd_IntPackedMap_1,StdLSchema_PDataStd_IntPackedMap_1) +Storage_READ_SELECTION(StdLSchema,PDataStd_HArray1OfHAsciiString,StdLSchema_PDataStd_HArray1OfHAsciiString) +Storage_READ_SELECTION(StdLSchema,PDataStd_HArray1OfHArray1OfInteger,StdLSchema_PDataStd_HArray1OfHArray1OfInteger) +Storage_READ_SELECTION(StdLSchema,PDataStd_HArray1OfHArray1OfReal,StdLSchema_PDataStd_HArray1OfHArray1OfReal) +Storage_READ_SELECTION(StdLSchema,PDataStd_HArray1OfByte,StdLSchema_PDataStd_HArray1OfByte) +Storage_READ_SELECTION(StdLSchema,PFunction_Function,StdLSchema_PFunction_Function) +Storage_READ_SELECTION(StdLSchema,PDocStd_Document,StdLSchema_PDocStd_Document) +Storage_READ_SELECTION(StdLSchema,PDocStd_XLink,StdLSchema_PDocStd_XLink) +Storage_READ_SELECTION(StdLSchema,PColStd_HArray1OfInteger,StdLSchema_PColStd_HArray1OfInteger) +Storage_READ_SELECTION(StdLSchema,PCollection_HAsciiString,StdLSchema_PCollection_HAsciiString) +Storage_READ_SELECTION(StdLSchema,PCollection_HExtendedString,StdLSchema_PCollection_HExtendedString) +Storage_READ_SELECTION(StdLSchema,PColStd_HArray1OfReal,StdLSchema_PColStd_HArray1OfReal) +Storage_READ_SELECTION(StdLSchema,PColStd_HArray1OfExtendedString,StdLSchema_PColStd_HArray1OfExtendedString) +Storage_READ_SELECTION(StdLSchema,PColStd_HArray2OfInteger,StdLSchema_PColStd_HArray2OfInteger) +Storage_END_READ_SELECTION(StdLSchema) + +Storage_BEGIN_SCHEMA_TYPES(StdLSchema) +Storage_SCHEMA_TYPES(PDF_Data) +Storage_SCHEMA_TYPES(PDF_Attribute) +Storage_SCHEMA_TYPES(PDF_TagSource) +Storage_SCHEMA_TYPES(PDF_Reference) +Storage_SCHEMA_TYPES(PDF_HAttributeArray1) +Storage_SCHEMA_TYPES(PDataStd_Name) +Storage_SCHEMA_TYPES(PDataStd_Comment) +Storage_SCHEMA_TYPES(PDataStd_Integer) +Storage_SCHEMA_TYPES(PDataStd_IntegerArray) +Storage_SCHEMA_TYPES(PDataStd_IntegerArray_1) +Storage_SCHEMA_TYPES(PDataStd_Real) +Storage_SCHEMA_TYPES(PDataStd_RealArray) +Storage_SCHEMA_TYPES(PDataStd_RealArray_1) +Storage_SCHEMA_TYPES(PDataStd_ExtStringArray) +Storage_SCHEMA_TYPES(PDataStd_ExtStringArray_1) +Storage_SCHEMA_TYPES(PDataStd_TreeNode) +Storage_SCHEMA_TYPES(PDataStd_Expression) +Storage_SCHEMA_TYPES(PDataStd_Relation) +Storage_SCHEMA_TYPES(PDataStd_Variable) +Storage_SCHEMA_TYPES(PDataStd_NoteBook) +Storage_SCHEMA_TYPES(PDataStd_UAttribute) +Storage_SCHEMA_TYPES(PDataStd_Directory) +Storage_SCHEMA_TYPES(PDataStd_Tick) +Storage_SCHEMA_TYPES(PDataStd_IntegerList) +Storage_SCHEMA_TYPES(PDataStd_RealList) +Storage_SCHEMA_TYPES(PDataStd_ExtStringList) +Storage_SCHEMA_TYPES(PDataStd_BooleanList) +Storage_SCHEMA_TYPES(PDataStd_ReferenceList) +Storage_SCHEMA_TYPES(PDataStd_BooleanArray) +Storage_SCHEMA_TYPES(PDataStd_ReferenceArray) +Storage_SCHEMA_TYPES(PDataStd_ByteArray) +Storage_SCHEMA_TYPES(PDataStd_ByteArray_1) +Storage_SCHEMA_TYPES(PDataStd_NamedData) +Storage_SCHEMA_TYPES(PDataStd_AsciiString) +Storage_SCHEMA_TYPES(PDataStd_IntPackedMap) +Storage_SCHEMA_TYPES(PDataStd_IntPackedMap_1) +Storage_SCHEMA_TYPES(PDataStd_HArray1OfHAsciiString) +Storage_SCHEMA_TYPES(PDataStd_HArray1OfHArray1OfInteger) +Storage_SCHEMA_TYPES(PDataStd_HArray1OfHArray1OfReal) +Storage_SCHEMA_TYPES(PDataStd_HArray1OfByte) +Storage_SCHEMA_TYPES(PFunction_Function) +Storage_SCHEMA_TYPES(PDocStd_Document) +Storage_SCHEMA_TYPES(PDocStd_XLink) +Storage_SCHEMA_TYPES(PCDM_Document) +Storage_SCHEMA_TYPES(Standard_Persistent) +Storage_SCHEMA_TYPES(PColStd_HArray1OfInteger) +Storage_SCHEMA_TYPES(PCollection_HAsciiString) +Storage_SCHEMA_TYPES(PCollection_HExtendedString) +Storage_SCHEMA_TYPES(PColStd_HArray1OfReal) +Storage_SCHEMA_TYPES(PColStd_HArray1OfExtendedString) +Storage_SCHEMA_TYPES(PColStd_HArray2OfInteger) +Storage_END_SCHEMA_TYPES(StdLSchema) diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema.hxx new file mode 100644 index 000000000..69adb38b8 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema.hxx @@ -0,0 +1,115 @@ +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_Macros_HeaderFile +#include +#endif +class Handle(PDF_Data); +class Handle(PDF_Attribute); +class Handle(PDF_TagSource); +class Handle(PDF_Reference); +class Handle(PDF_HAttributeArray1); +class PDF_FieldOfHAttributeArray1; +class Handle(PDataStd_Name); +class Handle(PDataStd_Comment); +class Handle(PDataStd_Integer); +class Handle(PDataStd_IntegerArray); +class Handle(PDataStd_IntegerArray_1); +class Handle(PDataStd_Real); +class Handle(PDataStd_RealArray); +class Handle(PDataStd_RealArray_1); +class Handle(PDataStd_ExtStringArray); +class Handle(PDataStd_ExtStringArray_1); +class Handle(PDataStd_TreeNode); +class Handle(PDataStd_Expression); +class Handle(PDataStd_Relation); +class Handle(PDataStd_Variable); +class Handle(PDataStd_NoteBook); +class Handle(PDataStd_UAttribute); +class Handle(PDataStd_Directory); +class Handle(PDataStd_Tick); +class Handle(PDataStd_IntegerList); +class Handle(PDataStd_RealList); +class Handle(PDataStd_ExtStringList); +class Handle(PDataStd_BooleanList); +class Handle(PDataStd_ReferenceList); +class Handle(PDataStd_BooleanArray); +class Handle(PDataStd_ReferenceArray); +class Handle(PDataStd_ByteArray); +class Handle(PDataStd_ByteArray_1); +class Handle(PDataStd_NamedData); +class Handle(PDataStd_AsciiString); +class Handle(PDataStd_IntPackedMap); +class Handle(PDataStd_IntPackedMap_1); +class Handle(PDataStd_HArray1OfHAsciiString); +class PDataStd_FieldOfHArray1OfHAsciiString; +class Handle(PDataStd_HArray1OfHArray1OfInteger); +class PDataStd_FieldOfHArray1OfHArray1OfInteger; +class Handle(PDataStd_HArray1OfHArray1OfReal); +class PDataStd_FieldOfHArray1OfHArray1OfReal; +class Handle(PDataStd_HArray1OfByte); +class PDataStd_FieldOfHArray1OfByte; +class Handle(PFunction_Function); +class Handle(PDocStd_Document); +class Handle(PDocStd_XLink); +class Handle(PCDM_Document); +class Handle(Standard_Persistent); +class Standard_Storable; +class Handle(PColStd_HArray1OfInteger); +class Handle(PCollection_HAsciiString); +class Handle(PCollection_HExtendedString); +class Handle(PColStd_HArray1OfReal); +class Handle(PColStd_HArray1OfExtendedString); +class Standard_GUID; +class Handle(PColStd_HArray2OfInteger); +class PColStd_FieldOfHArray1OfInteger; +class DBC_VArrayOfCharacter; +class DBC_VArrayOfExtCharacter; +class PColStd_FieldOfHArray1OfReal; +class PColStd_FieldOfHArray1OfExtendedString; +class PColStd_FieldOfHArray2OfInteger; +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_HeaderFile +#define _StdLSchema_HeaderFile + +#ifndef _Standard_Macro_HeaderFile +#include +#endif +#ifndef _Storage_Macros_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + +DEFINE_STANDARD_HANDLE(StdLSchema,Storage_Schema) + + +class StdLSchema : public Storage_Schema { +public: + + Storage_DECLARE_SCHEMA_METHODS(StdLSchema) + + DEFINE_STANDARD_RTTI(StdLSchema) +}; + +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_DBC_VArrayOfCharacter.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_DBC_VArrayOfCharacter.cxx new file mode 100644 index 000000000..04415bb39 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_DBC_VArrayOfCharacter.cxx @@ -0,0 +1,45 @@ +#ifndef _StdLSchema_DBC_VArrayOfCharacter_HeaderFile +#include +#endif +#ifndef _DBC_VArrayOfCharacter_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void StdLSchema_DBC_VArrayOfCharacter::SWrite(const DBC_VArrayOfCharacter& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + + f.BeginWriteObjectData(); + f.PutInteger(pp.Length()); + for (Standard_Integer i = 0; i < pp.Length(); i++) { + f.PutCharacter(pp.Value(i)); + + } + f.EndWriteObjectData(); +} + +void StdLSchema_DBC_VArrayOfCharacter::SRead(DBC_VArrayOfCharacter& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + Standard_Integer size = 0; + + f.BeginReadObjectData(); + f.GetInteger(size); + pp.Resize(size); + + for (Standard_Integer j = 0; j < size; j++) { + Standard_Character par; + + f.GetCharacter(par); + pp.SetValue(j,par); + + } + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_DBC_VArrayOfCharacter.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_DBC_VArrayOfCharacter.hxx new file mode 100644 index 000000000..4c9b92171 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_DBC_VArrayOfCharacter.hxx @@ -0,0 +1,26 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_DBC_VArrayOfCharacter_HeaderFile +#define _StdLSchema_DBC_VArrayOfCharacter_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + + +class DBC_VArrayOfCharacter; + +class StdLSchema_DBC_VArrayOfCharacter { +public: + Standard_EXPORT static void SAdd(const DBC_VArrayOfCharacter&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const DBC_VArrayOfCharacter&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(DBC_VArrayOfCharacter&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_DBC_VArrayOfCharacter.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_DBC_VArrayOfCharacter.ixx new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_DBC_VArrayOfCharacter.ixx @@ -0,0 +1 @@ + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_DBC_VArrayOfExtCharacter.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_DBC_VArrayOfExtCharacter.cxx new file mode 100644 index 000000000..0eaa6b8dd --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_DBC_VArrayOfExtCharacter.cxx @@ -0,0 +1,45 @@ +#ifndef _StdLSchema_DBC_VArrayOfExtCharacter_HeaderFile +#include +#endif +#ifndef _DBC_VArrayOfExtCharacter_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void StdLSchema_DBC_VArrayOfExtCharacter::SWrite(const DBC_VArrayOfExtCharacter& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + + f.BeginWriteObjectData(); + f.PutInteger(pp.Length()); + for (Standard_Integer i = 0; i < pp.Length(); i++) { + f.PutExtCharacter(pp.Value(i)); + + } + f.EndWriteObjectData(); +} + +void StdLSchema_DBC_VArrayOfExtCharacter::SRead(DBC_VArrayOfExtCharacter& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + Standard_Integer size = 0; + + f.BeginReadObjectData(); + f.GetInteger(size); + pp.Resize(size); + + for (Standard_Integer j = 0; j < size; j++) { + Standard_ExtCharacter par; + + f.GetExtCharacter(par); + pp.SetValue(j,par); + + } + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_DBC_VArrayOfExtCharacter.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_DBC_VArrayOfExtCharacter.hxx new file mode 100644 index 000000000..35e8f9b14 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_DBC_VArrayOfExtCharacter.hxx @@ -0,0 +1,26 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_DBC_VArrayOfExtCharacter_HeaderFile +#define _StdLSchema_DBC_VArrayOfExtCharacter_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + + +class DBC_VArrayOfExtCharacter; + +class StdLSchema_DBC_VArrayOfExtCharacter { +public: + Standard_EXPORT static void SAdd(const DBC_VArrayOfExtCharacter&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const DBC_VArrayOfExtCharacter&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(DBC_VArrayOfExtCharacter&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_DBC_VArrayOfExtCharacter.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_DBC_VArrayOfExtCharacter.ixx new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_DBC_VArrayOfExtCharacter.ixx @@ -0,0 +1 @@ + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PCDM_Document.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PCDM_Document.cxx new file mode 100644 index 000000000..92e09df72 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PCDM_Document.cxx @@ -0,0 +1,76 @@ +#ifndef _StdLSchema_PCDM_Document_HeaderFile +#include +#endif +#ifndef _PCDM_Document_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdLSchema_PCDM_Document,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdLSchema_PCDM_Document,Storage_CallBack) + +Handle(Standard_Persistent) StdLSchema_PCDM_Document::New() const +{ + Handle(Standard_Persistent) NullObject; + return NullObject; +} + +void StdLSchema_PCDM_Document::SAdd(const Handle(PCDM_Document)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PCDM_Document")) { + + } + } +} + +void StdLSchema_PCDM_Document::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PCDM_Document::SAdd((Handle(PCDM_Document)&)p,theSchema); +} + +void StdLSchema_PCDM_Document::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PCDM_Document) &pp = (Handle(PCDM_Document)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + + f.EndWritePersistentObjectData(); + } +} + +void StdLSchema_PCDM_Document::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PCDM_Document::SWrite(p,f,theSchema); +} + + +void StdLSchema_PCDM_Document::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PCDM_Document) &pp = (Handle(PCDM_Document)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + f.EndReadPersistentObjectData(); + } +} + +void StdLSchema_PCDM_Document::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdLSchema_PCDM_Document::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PCDM_Document.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PCDM_Document.hxx new file mode 100644 index 000000000..b51d6095e --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PCDM_Document.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PCDM_Document_HeaderFile +#define _StdLSchema_PCDM_Document_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PCDM_Document_HeaderFile +#include +#endif + +#ifndef _StdLSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdLSchema_PCDM_Document,Storage_CallBack) + +class StdLSchema_PCDM_Document : public Storage_CallBack { +public: + StdLSchema_PCDM_Document() {} + Standard_EXPORT static void SAdd(const Handle(PCDM_Document)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdLSchema_PCDM_Document) +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PCDM_Document.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PCDM_Document.ixx new file mode 100644 index 000000000..cafd0041d --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PCDM_Document.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_FieldOfHArray1OfExtendedString.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_FieldOfHArray1OfExtendedString.cxx new file mode 100644 index 000000000..040c3faff --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_FieldOfHArray1OfExtendedString.cxx @@ -0,0 +1,54 @@ +#ifndef _StdLSchema_PColStd_FieldOfHArray1OfExtendedString_HeaderFile +#include +#endif +#ifndef _PColStd_FieldOfHArray1OfExtendedString_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void StdLSchema_PColStd_FieldOfHArray1OfExtendedString::SAdd(const PColStd_FieldOfHArray1OfExtendedString& p, const Handle(Storage_Schema)& theSchema) +{ + Standard_Integer i; + for (i = 0; i < p.Length(); i++) { + theSchema->PersistentToAdd(p.Value(i)); + } + +} + +void StdLSchema_PColStd_FieldOfHArray1OfExtendedString::SWrite(const PColStd_FieldOfHArray1OfExtendedString& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + + f.BeginWriteObjectData(); + f.PutInteger(pp.Length()); + for (Standard_Integer i = 0; i < pp.Length(); i++) { + theSchema->WritePersistentReference(pp.Value(i),f); + + } + f.EndWriteObjectData(); +} + +void StdLSchema_PColStd_FieldOfHArray1OfExtendedString::SRead(PColStd_FieldOfHArray1OfExtendedString& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + Standard_Integer size = 0; + + f.BeginReadObjectData(); + f.GetInteger(size); + pp.Resize(size); + + for (Standard_Integer j = 0; j < size; j++) { + Handle(PCollection_HExtendedString) par; + + theSchema->ReadPersistentReference(par,f); + pp.SetValue(j,par); + + } + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_FieldOfHArray1OfExtendedString.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_FieldOfHArray1OfExtendedString.hxx new file mode 100644 index 000000000..405dbf2c5 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_FieldOfHArray1OfExtendedString.hxx @@ -0,0 +1,29 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PColStd_FieldOfHArray1OfExtendedString_HeaderFile +#define _StdLSchema_PColStd_FieldOfHArray1OfExtendedString_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + +#ifndef _StdLSchema_PCollection_HExtendedString_HeaderFile +#include +#endif + + +class PColStd_FieldOfHArray1OfExtendedString; + +class StdLSchema_PColStd_FieldOfHArray1OfExtendedString { +public: + Standard_EXPORT static void SAdd(const PColStd_FieldOfHArray1OfExtendedString&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const PColStd_FieldOfHArray1OfExtendedString&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(PColStd_FieldOfHArray1OfExtendedString&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_FieldOfHArray1OfExtendedString.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_FieldOfHArray1OfExtendedString.ixx new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_FieldOfHArray1OfExtendedString.ixx @@ -0,0 +1 @@ + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_FieldOfHArray1OfInteger.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_FieldOfHArray1OfInteger.cxx new file mode 100644 index 000000000..7d539e50e --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_FieldOfHArray1OfInteger.cxx @@ -0,0 +1,45 @@ +#ifndef _StdLSchema_PColStd_FieldOfHArray1OfInteger_HeaderFile +#include +#endif +#ifndef _PColStd_FieldOfHArray1OfInteger_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void StdLSchema_PColStd_FieldOfHArray1OfInteger::SWrite(const PColStd_FieldOfHArray1OfInteger& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + + f.BeginWriteObjectData(); + f.PutInteger(pp.Length()); + for (Standard_Integer i = 0; i < pp.Length(); i++) { + f.PutInteger(pp.Value(i)); + + } + f.EndWriteObjectData(); +} + +void StdLSchema_PColStd_FieldOfHArray1OfInteger::SRead(PColStd_FieldOfHArray1OfInteger& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + Standard_Integer size = 0; + + f.BeginReadObjectData(); + f.GetInteger(size); + pp.Resize(size); + + for (Standard_Integer j = 0; j < size; j++) { + Standard_Integer par; + + f.GetInteger(par); + pp.SetValue(j,par); + + } + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_FieldOfHArray1OfInteger.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_FieldOfHArray1OfInteger.hxx new file mode 100644 index 000000000..02ee36188 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_FieldOfHArray1OfInteger.hxx @@ -0,0 +1,26 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PColStd_FieldOfHArray1OfInteger_HeaderFile +#define _StdLSchema_PColStd_FieldOfHArray1OfInteger_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + + +class PColStd_FieldOfHArray1OfInteger; + +class StdLSchema_PColStd_FieldOfHArray1OfInteger { +public: + Standard_EXPORT static void SAdd(const PColStd_FieldOfHArray1OfInteger&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const PColStd_FieldOfHArray1OfInteger&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(PColStd_FieldOfHArray1OfInteger&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_FieldOfHArray1OfInteger.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_FieldOfHArray1OfInteger.ixx new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_FieldOfHArray1OfInteger.ixx @@ -0,0 +1 @@ + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_FieldOfHArray1OfReal.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_FieldOfHArray1OfReal.cxx new file mode 100644 index 000000000..70e3b065a --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_FieldOfHArray1OfReal.cxx @@ -0,0 +1,45 @@ +#ifndef _StdLSchema_PColStd_FieldOfHArray1OfReal_HeaderFile +#include +#endif +#ifndef _PColStd_FieldOfHArray1OfReal_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void StdLSchema_PColStd_FieldOfHArray1OfReal::SWrite(const PColStd_FieldOfHArray1OfReal& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + + f.BeginWriteObjectData(); + f.PutInteger(pp.Length()); + for (Standard_Integer i = 0; i < pp.Length(); i++) { + f.PutReal(pp.Value(i)); + + } + f.EndWriteObjectData(); +} + +void StdLSchema_PColStd_FieldOfHArray1OfReal::SRead(PColStd_FieldOfHArray1OfReal& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + Standard_Integer size = 0; + + f.BeginReadObjectData(); + f.GetInteger(size); + pp.Resize(size); + + for (Standard_Integer j = 0; j < size; j++) { + Standard_Real par; + + f.GetReal(par); + pp.SetValue(j,par); + + } + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_FieldOfHArray1OfReal.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_FieldOfHArray1OfReal.hxx new file mode 100644 index 000000000..3b684d6fe --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_FieldOfHArray1OfReal.hxx @@ -0,0 +1,26 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PColStd_FieldOfHArray1OfReal_HeaderFile +#define _StdLSchema_PColStd_FieldOfHArray1OfReal_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + + +class PColStd_FieldOfHArray1OfReal; + +class StdLSchema_PColStd_FieldOfHArray1OfReal { +public: + Standard_EXPORT static void SAdd(const PColStd_FieldOfHArray1OfReal&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const PColStd_FieldOfHArray1OfReal&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(PColStd_FieldOfHArray1OfReal&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_FieldOfHArray1OfReal.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_FieldOfHArray1OfReal.ixx new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_FieldOfHArray1OfReal.ixx @@ -0,0 +1 @@ + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_FieldOfHArray2OfInteger.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_FieldOfHArray2OfInteger.cxx new file mode 100644 index 000000000..3971d9bbd --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_FieldOfHArray2OfInteger.cxx @@ -0,0 +1,45 @@ +#ifndef _StdLSchema_PColStd_FieldOfHArray2OfInteger_HeaderFile +#include +#endif +#ifndef _PColStd_FieldOfHArray2OfInteger_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void StdLSchema_PColStd_FieldOfHArray2OfInteger::SWrite(const PColStd_FieldOfHArray2OfInteger& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + + f.BeginWriteObjectData(); + f.PutInteger(pp.Length()); + for (Standard_Integer i = 0; i < pp.Length(); i++) { + f.PutInteger(pp.Value(i)); + + } + f.EndWriteObjectData(); +} + +void StdLSchema_PColStd_FieldOfHArray2OfInteger::SRead(PColStd_FieldOfHArray2OfInteger& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + Standard_Integer size = 0; + + f.BeginReadObjectData(); + f.GetInteger(size); + pp.Resize(size); + + for (Standard_Integer j = 0; j < size; j++) { + Standard_Integer par; + + f.GetInteger(par); + pp.SetValue(j,par); + + } + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_FieldOfHArray2OfInteger.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_FieldOfHArray2OfInteger.hxx new file mode 100644 index 000000000..0030d280a --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_FieldOfHArray2OfInteger.hxx @@ -0,0 +1,26 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PColStd_FieldOfHArray2OfInteger_HeaderFile +#define _StdLSchema_PColStd_FieldOfHArray2OfInteger_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + + +class PColStd_FieldOfHArray2OfInteger; + +class StdLSchema_PColStd_FieldOfHArray2OfInteger { +public: + Standard_EXPORT static void SAdd(const PColStd_FieldOfHArray2OfInteger&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const PColStd_FieldOfHArray2OfInteger&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(PColStd_FieldOfHArray2OfInteger&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_FieldOfHArray2OfInteger.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_FieldOfHArray2OfInteger.ixx new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_FieldOfHArray2OfInteger.ixx @@ -0,0 +1 @@ + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_HArray1OfExtendedString.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_HArray1OfExtendedString.cxx new file mode 100644 index 000000000..2b68e0ea0 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_HArray1OfExtendedString.cxx @@ -0,0 +1,89 @@ +#ifndef _StdLSchema_PColStd_HArray1OfExtendedString_HeaderFile +#include +#endif +#ifndef _PColStd_HArray1OfExtendedString_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdLSchema_PColStd_HArray1OfExtendedString,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdLSchema_PColStd_HArray1OfExtendedString,Storage_CallBack) + +Handle(Standard_Persistent) StdLSchema_PColStd_HArray1OfExtendedString::New() const +{ + return new PColStd_HArray1OfExtendedString(Storage_stCONSTclCOM()); +} + +void StdLSchema_PColStd_HArray1OfExtendedString::SAdd(const Handle(PColStd_HArray1OfExtendedString)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PColStd_HArray1OfExtendedString")) { + StdLSchema_PColStd_FieldOfHArray1OfExtendedString::SAdd(p->_CSFDB_GetPColStd_HArray1OfExtendedStringData(),theSchema); + + } + } +} + +void StdLSchema_PColStd_HArray1OfExtendedString::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PColStd_HArray1OfExtendedString::SAdd((Handle(PColStd_HArray1OfExtendedString)&)p,theSchema); +} + +void StdLSchema_PColStd_HArray1OfExtendedString::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColStd_HArray1OfExtendedString) &pp = (Handle(PColStd_HArray1OfExtendedString)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutInteger(pp->_CSFDB_GetPColStd_HArray1OfExtendedStringLowerBound()); + f.PutInteger(pp->_CSFDB_GetPColStd_HArray1OfExtendedStringUpperBound()); + StdLSchema_PColStd_FieldOfHArray1OfExtendedString::SWrite(pp->_CSFDB_GetPColStd_HArray1OfExtendedStringData(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void StdLSchema_PColStd_HArray1OfExtendedString::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PColStd_HArray1OfExtendedString::SWrite(p,f,theSchema); +} + + +void StdLSchema_PColStd_HArray1OfExtendedString::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColStd_HArray1OfExtendedString) &pp = (Handle(PColStd_HArray1OfExtendedString)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Integer PColStd_HArray1OfExtendedStringLowerBound; + f.GetInteger(PColStd_HArray1OfExtendedStringLowerBound); + pp->_CSFDB_SetPColStd_HArray1OfExtendedStringLowerBound(PColStd_HArray1OfExtendedStringLowerBound); + + Standard_Integer PColStd_HArray1OfExtendedStringUpperBound; + f.GetInteger(PColStd_HArray1OfExtendedStringUpperBound); + pp->_CSFDB_SetPColStd_HArray1OfExtendedStringUpperBound(PColStd_HArray1OfExtendedStringUpperBound); + + StdLSchema_PColStd_FieldOfHArray1OfExtendedString::SRead((PColStd_FieldOfHArray1OfExtendedString&)pp->_CSFDB_GetPColStd_HArray1OfExtendedStringData(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void StdLSchema_PColStd_HArray1OfExtendedString::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdLSchema_PColStd_HArray1OfExtendedString::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_HArray1OfExtendedString.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_HArray1OfExtendedString.hxx new file mode 100644 index 000000000..844fa58ba --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_HArray1OfExtendedString.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PColStd_HArray1OfExtendedString_HeaderFile +#define _StdLSchema_PColStd_HArray1OfExtendedString_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PColStd_HArray1OfExtendedString_HeaderFile +#include +#endif + +#ifndef _StdLSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdLSchema_PColStd_HArray1OfExtendedString,Storage_CallBack) + +class StdLSchema_PColStd_HArray1OfExtendedString : public Storage_CallBack { +public: + StdLSchema_PColStd_HArray1OfExtendedString() {} + Standard_EXPORT static void SAdd(const Handle(PColStd_HArray1OfExtendedString)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdLSchema_PColStd_HArray1OfExtendedString) +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_HArray1OfExtendedString.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_HArray1OfExtendedString.ixx new file mode 100644 index 000000000..f346406b3 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_HArray1OfExtendedString.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _StdLSchema_PColStd_FieldOfHArray1OfExtendedString_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_HArray1OfInteger.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_HArray1OfInteger.cxx new file mode 100644 index 000000000..5d501c9a8 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_HArray1OfInteger.cxx @@ -0,0 +1,88 @@ +#ifndef _StdLSchema_PColStd_HArray1OfInteger_HeaderFile +#include +#endif +#ifndef _PColStd_HArray1OfInteger_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdLSchema_PColStd_HArray1OfInteger,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdLSchema_PColStd_HArray1OfInteger,Storage_CallBack) + +Handle(Standard_Persistent) StdLSchema_PColStd_HArray1OfInteger::New() const +{ + return new PColStd_HArray1OfInteger(Storage_stCONSTclCOM()); +} + +void StdLSchema_PColStd_HArray1OfInteger::SAdd(const Handle(PColStd_HArray1OfInteger)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PColStd_HArray1OfInteger")) { + + } + } +} + +void StdLSchema_PColStd_HArray1OfInteger::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PColStd_HArray1OfInteger::SAdd((Handle(PColStd_HArray1OfInteger)&)p,theSchema); +} + +void StdLSchema_PColStd_HArray1OfInteger::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColStd_HArray1OfInteger) &pp = (Handle(PColStd_HArray1OfInteger)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutInteger(pp->_CSFDB_GetPColStd_HArray1OfIntegerLowerBound()); + f.PutInteger(pp->_CSFDB_GetPColStd_HArray1OfIntegerUpperBound()); + StdLSchema_PColStd_FieldOfHArray1OfInteger::SWrite(pp->_CSFDB_GetPColStd_HArray1OfIntegerData(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void StdLSchema_PColStd_HArray1OfInteger::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PColStd_HArray1OfInteger::SWrite(p,f,theSchema); +} + + +void StdLSchema_PColStd_HArray1OfInteger::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColStd_HArray1OfInteger) &pp = (Handle(PColStd_HArray1OfInteger)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Integer PColStd_HArray1OfIntegerLowerBound; + f.GetInteger(PColStd_HArray1OfIntegerLowerBound); + pp->_CSFDB_SetPColStd_HArray1OfIntegerLowerBound(PColStd_HArray1OfIntegerLowerBound); + + Standard_Integer PColStd_HArray1OfIntegerUpperBound; + f.GetInteger(PColStd_HArray1OfIntegerUpperBound); + pp->_CSFDB_SetPColStd_HArray1OfIntegerUpperBound(PColStd_HArray1OfIntegerUpperBound); + + StdLSchema_PColStd_FieldOfHArray1OfInteger::SRead((PColStd_FieldOfHArray1OfInteger&)pp->_CSFDB_GetPColStd_HArray1OfIntegerData(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void StdLSchema_PColStd_HArray1OfInteger::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdLSchema_PColStd_HArray1OfInteger::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_HArray1OfInteger.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_HArray1OfInteger.hxx new file mode 100644 index 000000000..f924830ac --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_HArray1OfInteger.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PColStd_HArray1OfInteger_HeaderFile +#define _StdLSchema_PColStd_HArray1OfInteger_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PColStd_HArray1OfInteger_HeaderFile +#include +#endif + +#ifndef _StdLSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdLSchema_PColStd_HArray1OfInteger,Storage_CallBack) + +class StdLSchema_PColStd_HArray1OfInteger : public Storage_CallBack { +public: + StdLSchema_PColStd_HArray1OfInteger() {} + Standard_EXPORT static void SAdd(const Handle(PColStd_HArray1OfInteger)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdLSchema_PColStd_HArray1OfInteger) +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_HArray1OfInteger.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_HArray1OfInteger.ixx new file mode 100644 index 000000000..4fc27865c --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_HArray1OfInteger.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _StdLSchema_PColStd_FieldOfHArray1OfInteger_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_HArray1OfReal.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_HArray1OfReal.cxx new file mode 100644 index 000000000..999a37b3b --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_HArray1OfReal.cxx @@ -0,0 +1,88 @@ +#ifndef _StdLSchema_PColStd_HArray1OfReal_HeaderFile +#include +#endif +#ifndef _PColStd_HArray1OfReal_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdLSchema_PColStd_HArray1OfReal,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdLSchema_PColStd_HArray1OfReal,Storage_CallBack) + +Handle(Standard_Persistent) StdLSchema_PColStd_HArray1OfReal::New() const +{ + return new PColStd_HArray1OfReal(Storage_stCONSTclCOM()); +} + +void StdLSchema_PColStd_HArray1OfReal::SAdd(const Handle(PColStd_HArray1OfReal)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PColStd_HArray1OfReal")) { + + } + } +} + +void StdLSchema_PColStd_HArray1OfReal::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PColStd_HArray1OfReal::SAdd((Handle(PColStd_HArray1OfReal)&)p,theSchema); +} + +void StdLSchema_PColStd_HArray1OfReal::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColStd_HArray1OfReal) &pp = (Handle(PColStd_HArray1OfReal)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutInteger(pp->_CSFDB_GetPColStd_HArray1OfRealLowerBound()); + f.PutInteger(pp->_CSFDB_GetPColStd_HArray1OfRealUpperBound()); + StdLSchema_PColStd_FieldOfHArray1OfReal::SWrite(pp->_CSFDB_GetPColStd_HArray1OfRealData(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void StdLSchema_PColStd_HArray1OfReal::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PColStd_HArray1OfReal::SWrite(p,f,theSchema); +} + + +void StdLSchema_PColStd_HArray1OfReal::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColStd_HArray1OfReal) &pp = (Handle(PColStd_HArray1OfReal)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Integer PColStd_HArray1OfRealLowerBound; + f.GetInteger(PColStd_HArray1OfRealLowerBound); + pp->_CSFDB_SetPColStd_HArray1OfRealLowerBound(PColStd_HArray1OfRealLowerBound); + + Standard_Integer PColStd_HArray1OfRealUpperBound; + f.GetInteger(PColStd_HArray1OfRealUpperBound); + pp->_CSFDB_SetPColStd_HArray1OfRealUpperBound(PColStd_HArray1OfRealUpperBound); + + StdLSchema_PColStd_FieldOfHArray1OfReal::SRead((PColStd_FieldOfHArray1OfReal&)pp->_CSFDB_GetPColStd_HArray1OfRealData(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void StdLSchema_PColStd_HArray1OfReal::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdLSchema_PColStd_HArray1OfReal::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_HArray1OfReal.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_HArray1OfReal.hxx new file mode 100644 index 000000000..26e832e81 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_HArray1OfReal.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PColStd_HArray1OfReal_HeaderFile +#define _StdLSchema_PColStd_HArray1OfReal_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PColStd_HArray1OfReal_HeaderFile +#include +#endif + +#ifndef _StdLSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdLSchema_PColStd_HArray1OfReal,Storage_CallBack) + +class StdLSchema_PColStd_HArray1OfReal : public Storage_CallBack { +public: + StdLSchema_PColStd_HArray1OfReal() {} + Standard_EXPORT static void SAdd(const Handle(PColStd_HArray1OfReal)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdLSchema_PColStd_HArray1OfReal) +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_HArray1OfReal.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_HArray1OfReal.ixx new file mode 100644 index 000000000..84de6d572 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_HArray1OfReal.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _StdLSchema_PColStd_FieldOfHArray1OfReal_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_HArray2OfInteger.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_HArray2OfInteger.cxx new file mode 100644 index 000000000..280fccc4a --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_HArray2OfInteger.cxx @@ -0,0 +1,98 @@ +#ifndef _StdLSchema_PColStd_HArray2OfInteger_HeaderFile +#include +#endif +#ifndef _PColStd_HArray2OfInteger_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdLSchema_PColStd_HArray2OfInteger,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdLSchema_PColStd_HArray2OfInteger,Storage_CallBack) + +Handle(Standard_Persistent) StdLSchema_PColStd_HArray2OfInteger::New() const +{ + return new PColStd_HArray2OfInteger(Storage_stCONSTclCOM()); +} + +void StdLSchema_PColStd_HArray2OfInteger::SAdd(const Handle(PColStd_HArray2OfInteger)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PColStd_HArray2OfInteger")) { + + } + } +} + +void StdLSchema_PColStd_HArray2OfInteger::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PColStd_HArray2OfInteger::SAdd((Handle(PColStd_HArray2OfInteger)&)p,theSchema); +} + +void StdLSchema_PColStd_HArray2OfInteger::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColStd_HArray2OfInteger) &pp = (Handle(PColStd_HArray2OfInteger)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutInteger(pp->_CSFDB_GetPColStd_HArray2OfIntegermyLowerRow()); + f.PutInteger(pp->_CSFDB_GetPColStd_HArray2OfIntegermyLowerCol()); + f.PutInteger(pp->_CSFDB_GetPColStd_HArray2OfIntegermyUpperRow()); + f.PutInteger(pp->_CSFDB_GetPColStd_HArray2OfIntegermyUpperCol()); + StdLSchema_PColStd_FieldOfHArray2OfInteger::SWrite(pp->_CSFDB_GetPColStd_HArray2OfIntegerData(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void StdLSchema_PColStd_HArray2OfInteger::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PColStd_HArray2OfInteger::SWrite(p,f,theSchema); +} + + +void StdLSchema_PColStd_HArray2OfInteger::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColStd_HArray2OfInteger) &pp = (Handle(PColStd_HArray2OfInteger)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Integer PColStd_HArray2OfIntegermyLowerRow; + f.GetInteger(PColStd_HArray2OfIntegermyLowerRow); + pp->_CSFDB_SetPColStd_HArray2OfIntegermyLowerRow(PColStd_HArray2OfIntegermyLowerRow); + + Standard_Integer PColStd_HArray2OfIntegermyLowerCol; + f.GetInteger(PColStd_HArray2OfIntegermyLowerCol); + pp->_CSFDB_SetPColStd_HArray2OfIntegermyLowerCol(PColStd_HArray2OfIntegermyLowerCol); + + Standard_Integer PColStd_HArray2OfIntegermyUpperRow; + f.GetInteger(PColStd_HArray2OfIntegermyUpperRow); + pp->_CSFDB_SetPColStd_HArray2OfIntegermyUpperRow(PColStd_HArray2OfIntegermyUpperRow); + + Standard_Integer PColStd_HArray2OfIntegermyUpperCol; + f.GetInteger(PColStd_HArray2OfIntegermyUpperCol); + pp->_CSFDB_SetPColStd_HArray2OfIntegermyUpperCol(PColStd_HArray2OfIntegermyUpperCol); + + StdLSchema_PColStd_FieldOfHArray2OfInteger::SRead((PColStd_FieldOfHArray2OfInteger&)pp->_CSFDB_GetPColStd_HArray2OfIntegerData(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void StdLSchema_PColStd_HArray2OfInteger::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdLSchema_PColStd_HArray2OfInteger::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_HArray2OfInteger.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_HArray2OfInteger.hxx new file mode 100644 index 000000000..16e91670d --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_HArray2OfInteger.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PColStd_HArray2OfInteger_HeaderFile +#define _StdLSchema_PColStd_HArray2OfInteger_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PColStd_HArray2OfInteger_HeaderFile +#include +#endif + +#ifndef _StdLSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdLSchema_PColStd_HArray2OfInteger,Storage_CallBack) + +class StdLSchema_PColStd_HArray2OfInteger : public Storage_CallBack { +public: + StdLSchema_PColStd_HArray2OfInteger() {} + Standard_EXPORT static void SAdd(const Handle(PColStd_HArray2OfInteger)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdLSchema_PColStd_HArray2OfInteger) +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_HArray2OfInteger.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_HArray2OfInteger.ixx new file mode 100644 index 000000000..70d1abf72 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PColStd_HArray2OfInteger.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _StdLSchema_PColStd_FieldOfHArray2OfInteger_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PCollection_HAsciiString.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PCollection_HAsciiString.cxx new file mode 100644 index 000000000..25d73899c --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PCollection_HAsciiString.cxx @@ -0,0 +1,78 @@ +#ifndef _StdLSchema_PCollection_HAsciiString_HeaderFile +#include +#endif +#ifndef _PCollection_HAsciiString_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdLSchema_PCollection_HAsciiString,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdLSchema_PCollection_HAsciiString,Storage_CallBack) + +Handle(Standard_Persistent) StdLSchema_PCollection_HAsciiString::New() const +{ + return new PCollection_HAsciiString(Storage_stCONSTclCOM()); +} + +void StdLSchema_PCollection_HAsciiString::SAdd(const Handle(PCollection_HAsciiString)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PCollection_HAsciiString")) { + + } + } +} + +void StdLSchema_PCollection_HAsciiString::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PCollection_HAsciiString::SAdd((Handle(PCollection_HAsciiString)&)p,theSchema); +} + +void StdLSchema_PCollection_HAsciiString::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PCollection_HAsciiString) &pp = (Handle(PCollection_HAsciiString)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + StdLSchema_DBC_VArrayOfCharacter::SWrite(pp->_CSFDB_GetPCollection_HAsciiStringData(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void StdLSchema_PCollection_HAsciiString::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PCollection_HAsciiString::SWrite(p,f,theSchema); +} + + +void StdLSchema_PCollection_HAsciiString::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PCollection_HAsciiString) &pp = (Handle(PCollection_HAsciiString)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + StdLSchema_DBC_VArrayOfCharacter::SRead((DBC_VArrayOfCharacter&)pp->_CSFDB_GetPCollection_HAsciiStringData(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void StdLSchema_PCollection_HAsciiString::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdLSchema_PCollection_HAsciiString::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PCollection_HAsciiString.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PCollection_HAsciiString.hxx new file mode 100644 index 000000000..f1886642d --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PCollection_HAsciiString.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PCollection_HAsciiString_HeaderFile +#define _StdLSchema_PCollection_HAsciiString_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PCollection_HAsciiString_HeaderFile +#include +#endif + +#ifndef _StdLSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdLSchema_PCollection_HAsciiString,Storage_CallBack) + +class StdLSchema_PCollection_HAsciiString : public Storage_CallBack { +public: + StdLSchema_PCollection_HAsciiString() {} + Standard_EXPORT static void SAdd(const Handle(PCollection_HAsciiString)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdLSchema_PCollection_HAsciiString) +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PCollection_HAsciiString.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PCollection_HAsciiString.ixx new file mode 100644 index 000000000..8255b50c2 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PCollection_HAsciiString.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _StdLSchema_DBC_VArrayOfCharacter_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PCollection_HExtendedString.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PCollection_HExtendedString.cxx new file mode 100644 index 000000000..e3a80e025 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PCollection_HExtendedString.cxx @@ -0,0 +1,78 @@ +#ifndef _StdLSchema_PCollection_HExtendedString_HeaderFile +#include +#endif +#ifndef _PCollection_HExtendedString_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdLSchema_PCollection_HExtendedString,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdLSchema_PCollection_HExtendedString,Storage_CallBack) + +Handle(Standard_Persistent) StdLSchema_PCollection_HExtendedString::New() const +{ + return new PCollection_HExtendedString(Storage_stCONSTclCOM()); +} + +void StdLSchema_PCollection_HExtendedString::SAdd(const Handle(PCollection_HExtendedString)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PCollection_HExtendedString")) { + + } + } +} + +void StdLSchema_PCollection_HExtendedString::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PCollection_HExtendedString::SAdd((Handle(PCollection_HExtendedString)&)p,theSchema); +} + +void StdLSchema_PCollection_HExtendedString::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PCollection_HExtendedString) &pp = (Handle(PCollection_HExtendedString)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + StdLSchema_DBC_VArrayOfExtCharacter::SWrite(pp->_CSFDB_GetPCollection_HExtendedStringData(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void StdLSchema_PCollection_HExtendedString::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PCollection_HExtendedString::SWrite(p,f,theSchema); +} + + +void StdLSchema_PCollection_HExtendedString::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PCollection_HExtendedString) &pp = (Handle(PCollection_HExtendedString)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + StdLSchema_DBC_VArrayOfExtCharacter::SRead((DBC_VArrayOfExtCharacter&)pp->_CSFDB_GetPCollection_HExtendedStringData(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void StdLSchema_PCollection_HExtendedString::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdLSchema_PCollection_HExtendedString::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PCollection_HExtendedString.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PCollection_HExtendedString.hxx new file mode 100644 index 000000000..e62f9e8dd --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PCollection_HExtendedString.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PCollection_HExtendedString_HeaderFile +#define _StdLSchema_PCollection_HExtendedString_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PCollection_HExtendedString_HeaderFile +#include +#endif + +#ifndef _StdLSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdLSchema_PCollection_HExtendedString,Storage_CallBack) + +class StdLSchema_PCollection_HExtendedString : public Storage_CallBack { +public: + StdLSchema_PCollection_HExtendedString() {} + Standard_EXPORT static void SAdd(const Handle(PCollection_HExtendedString)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdLSchema_PCollection_HExtendedString) +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PCollection_HExtendedString.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PCollection_HExtendedString.ixx new file mode 100644 index 000000000..14a2b1140 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PCollection_HExtendedString.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _StdLSchema_DBC_VArrayOfExtCharacter_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_Attribute.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_Attribute.cxx new file mode 100644 index 000000000..c9fcd6bf5 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_Attribute.cxx @@ -0,0 +1,76 @@ +#ifndef _StdLSchema_PDF_Attribute_HeaderFile +#include +#endif +#ifndef _PDF_Attribute_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdLSchema_PDF_Attribute,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdLSchema_PDF_Attribute,Storage_CallBack) + +Handle(Standard_Persistent) StdLSchema_PDF_Attribute::New() const +{ + Handle(Standard_Persistent) NullObject; + return NullObject; +} + +void StdLSchema_PDF_Attribute::SAdd(const Handle(PDF_Attribute)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDF_Attribute")) { + + } + } +} + +void StdLSchema_PDF_Attribute::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDF_Attribute::SAdd((Handle(PDF_Attribute)&)p,theSchema); +} + +void StdLSchema_PDF_Attribute::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDF_Attribute) &pp = (Handle(PDF_Attribute)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + + f.EndWritePersistentObjectData(); + } +} + +void StdLSchema_PDF_Attribute::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDF_Attribute::SWrite(p,f,theSchema); +} + + +void StdLSchema_PDF_Attribute::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDF_Attribute) &pp = (Handle(PDF_Attribute)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + f.EndReadPersistentObjectData(); + } +} + +void StdLSchema_PDF_Attribute::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdLSchema_PDF_Attribute::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_Attribute.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_Attribute.hxx new file mode 100644 index 000000000..8a29afdb5 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_Attribute.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PDF_Attribute_HeaderFile +#define _StdLSchema_PDF_Attribute_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDF_Attribute_HeaderFile +#include +#endif + +#ifndef _StdLSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdLSchema_PDF_Attribute,Storage_CallBack) + +class StdLSchema_PDF_Attribute : public Storage_CallBack { +public: + StdLSchema_PDF_Attribute() {} + Standard_EXPORT static void SAdd(const Handle(PDF_Attribute)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdLSchema_PDF_Attribute) +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_Attribute.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_Attribute.ixx new file mode 100644 index 000000000..cafd0041d --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_Attribute.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_Data.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_Data.cxx new file mode 100644 index 000000000..2d428ab2c --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_Data.cxx @@ -0,0 +1,94 @@ +#ifndef _StdLSchema_PDF_Data_HeaderFile +#include +#endif +#ifndef _PDF_Data_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdLSchema_PDF_Data,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdLSchema_PDF_Data,Storage_CallBack) + +Handle(Standard_Persistent) StdLSchema_PDF_Data::New() const +{ + return new PDF_Data(Storage_stCONSTclCOM()); +} + +void StdLSchema_PDF_Data::SAdd(const Handle(PDF_Data)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDF_Data")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPDF_DatamyLabels()); + theSchema->PersistentToAdd(p->_CSFDB_GetPDF_DatamyAttributes()); + + } + } +} + +void StdLSchema_PDF_Data::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDF_Data::SAdd((Handle(PDF_Data)&)p,theSchema); +} + +void StdLSchema_PDF_Data::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDF_Data) &pp = (Handle(PDF_Data)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutInteger(pp->_CSFDB_GetPDF_DatamyVersion()); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDF_DatamyLabels(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDF_DatamyAttributes(),f); + + f.EndWritePersistentObjectData(); + } +} + +void StdLSchema_PDF_Data::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDF_Data::SWrite(p,f,theSchema); +} + + +void StdLSchema_PDF_Data::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDF_Data) &pp = (Handle(PDF_Data)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Integer PDF_DatamyVersion; + f.GetInteger(PDF_DatamyVersion); + pp->_CSFDB_SetPDF_DatamyVersion(PDF_DatamyVersion); + + Handle(PColStd_HArray1OfInteger) PDF_DatamyLabels; + + theSchema->ReadPersistentReference(PDF_DatamyLabels,f); + pp->_CSFDB_SetPDF_DatamyLabels(PDF_DatamyLabels); + + Handle(PDF_HAttributeArray1) PDF_DatamyAttributes; + + theSchema->ReadPersistentReference(PDF_DatamyAttributes,f); + pp->_CSFDB_SetPDF_DatamyAttributes(PDF_DatamyAttributes); + + f.EndReadPersistentObjectData(); + } +} + +void StdLSchema_PDF_Data::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdLSchema_PDF_Data::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_Data.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_Data.hxx new file mode 100644 index 000000000..3ee573697 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_Data.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PDF_Data_HeaderFile +#define _StdLSchema_PDF_Data_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDF_Data_HeaderFile +#include +#endif + +#ifndef _StdLSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdLSchema_PDF_Data,Storage_CallBack) + +class StdLSchema_PDF_Data : public Storage_CallBack { +public: + StdLSchema_PDF_Data() {} + Standard_EXPORT static void SAdd(const Handle(PDF_Data)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdLSchema_PDF_Data) +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_Data.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_Data.ixx new file mode 100644 index 000000000..b4a2da22a --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_Data.ixx @@ -0,0 +1,8 @@ +#include +#ifndef _StdLSchema_PColStd_HArray1OfInteger_HeaderFile +#include +#endif +#ifndef _StdLSchema_PDF_HAttributeArray1_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_FieldOfHAttributeArray1.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_FieldOfHAttributeArray1.cxx new file mode 100644 index 000000000..5a087c491 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_FieldOfHAttributeArray1.cxx @@ -0,0 +1,54 @@ +#ifndef _StdLSchema_PDF_FieldOfHAttributeArray1_HeaderFile +#include +#endif +#ifndef _PDF_FieldOfHAttributeArray1_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void StdLSchema_PDF_FieldOfHAttributeArray1::SAdd(const PDF_FieldOfHAttributeArray1& p, const Handle(Storage_Schema)& theSchema) +{ + Standard_Integer i; + for (i = 0; i < p.Length(); i++) { + theSchema->PersistentToAdd(p.Value(i)); + } + +} + +void StdLSchema_PDF_FieldOfHAttributeArray1::SWrite(const PDF_FieldOfHAttributeArray1& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + + f.BeginWriteObjectData(); + f.PutInteger(pp.Length()); + for (Standard_Integer i = 0; i < pp.Length(); i++) { + theSchema->WritePersistentReference(pp.Value(i),f); + + } + f.EndWriteObjectData(); +} + +void StdLSchema_PDF_FieldOfHAttributeArray1::SRead(PDF_FieldOfHAttributeArray1& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + Standard_Integer size = 0; + + f.BeginReadObjectData(); + f.GetInteger(size); + pp.Resize(size); + + for (Standard_Integer j = 0; j < size; j++) { + Handle(PDF_Attribute) par; + + theSchema->ReadPersistentReference(par,f); + pp.SetValue(j,par); + + } + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_FieldOfHAttributeArray1.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_FieldOfHAttributeArray1.hxx new file mode 100644 index 000000000..699cba53a --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_FieldOfHAttributeArray1.hxx @@ -0,0 +1,29 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PDF_FieldOfHAttributeArray1_HeaderFile +#define _StdLSchema_PDF_FieldOfHAttributeArray1_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + +#ifndef _StdLSchema_PDF_Attribute_HeaderFile +#include +#endif + + +class PDF_FieldOfHAttributeArray1; + +class StdLSchema_PDF_FieldOfHAttributeArray1 { +public: + Standard_EXPORT static void SAdd(const PDF_FieldOfHAttributeArray1&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const PDF_FieldOfHAttributeArray1&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(PDF_FieldOfHAttributeArray1&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_FieldOfHAttributeArray1.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_FieldOfHAttributeArray1.ixx new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_FieldOfHAttributeArray1.ixx @@ -0,0 +1 @@ + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_HAttributeArray1.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_HAttributeArray1.cxx new file mode 100644 index 000000000..4b9ef31e4 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_HAttributeArray1.cxx @@ -0,0 +1,89 @@ +#ifndef _StdLSchema_PDF_HAttributeArray1_HeaderFile +#include +#endif +#ifndef _PDF_HAttributeArray1_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdLSchema_PDF_HAttributeArray1,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdLSchema_PDF_HAttributeArray1,Storage_CallBack) + +Handle(Standard_Persistent) StdLSchema_PDF_HAttributeArray1::New() const +{ + return new PDF_HAttributeArray1(Storage_stCONSTclCOM()); +} + +void StdLSchema_PDF_HAttributeArray1::SAdd(const Handle(PDF_HAttributeArray1)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDF_HAttributeArray1")) { + StdLSchema_PDF_FieldOfHAttributeArray1::SAdd(p->_CSFDB_GetPDF_HAttributeArray1Data(),theSchema); + + } + } +} + +void StdLSchema_PDF_HAttributeArray1::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDF_HAttributeArray1::SAdd((Handle(PDF_HAttributeArray1)&)p,theSchema); +} + +void StdLSchema_PDF_HAttributeArray1::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDF_HAttributeArray1) &pp = (Handle(PDF_HAttributeArray1)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutInteger(pp->_CSFDB_GetPDF_HAttributeArray1LowerBound()); + f.PutInteger(pp->_CSFDB_GetPDF_HAttributeArray1UpperBound()); + StdLSchema_PDF_FieldOfHAttributeArray1::SWrite(pp->_CSFDB_GetPDF_HAttributeArray1Data(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void StdLSchema_PDF_HAttributeArray1::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDF_HAttributeArray1::SWrite(p,f,theSchema); +} + + +void StdLSchema_PDF_HAttributeArray1::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDF_HAttributeArray1) &pp = (Handle(PDF_HAttributeArray1)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Integer PDF_HAttributeArray1LowerBound; + f.GetInteger(PDF_HAttributeArray1LowerBound); + pp->_CSFDB_SetPDF_HAttributeArray1LowerBound(PDF_HAttributeArray1LowerBound); + + Standard_Integer PDF_HAttributeArray1UpperBound; + f.GetInteger(PDF_HAttributeArray1UpperBound); + pp->_CSFDB_SetPDF_HAttributeArray1UpperBound(PDF_HAttributeArray1UpperBound); + + StdLSchema_PDF_FieldOfHAttributeArray1::SRead((PDF_FieldOfHAttributeArray1&)pp->_CSFDB_GetPDF_HAttributeArray1Data(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void StdLSchema_PDF_HAttributeArray1::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdLSchema_PDF_HAttributeArray1::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_HAttributeArray1.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_HAttributeArray1.hxx new file mode 100644 index 000000000..68342223c --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_HAttributeArray1.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PDF_HAttributeArray1_HeaderFile +#define _StdLSchema_PDF_HAttributeArray1_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDF_HAttributeArray1_HeaderFile +#include +#endif + +#ifndef _StdLSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdLSchema_PDF_HAttributeArray1,Storage_CallBack) + +class StdLSchema_PDF_HAttributeArray1 : public Storage_CallBack { +public: + StdLSchema_PDF_HAttributeArray1() {} + Standard_EXPORT static void SAdd(const Handle(PDF_HAttributeArray1)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdLSchema_PDF_HAttributeArray1) +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_HAttributeArray1.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_HAttributeArray1.ixx new file mode 100644 index 000000000..808b42421 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_HAttributeArray1.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _StdLSchema_PDF_FieldOfHAttributeArray1_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_Reference.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_Reference.cxx new file mode 100644 index 000000000..0206b82ad --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_Reference.cxx @@ -0,0 +1,82 @@ +#ifndef _StdLSchema_PDF_Reference_HeaderFile +#include +#endif +#ifndef _PDF_Reference_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdLSchema_PDF_Reference,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdLSchema_PDF_Reference,Storage_CallBack) + +Handle(Standard_Persistent) StdLSchema_PDF_Reference::New() const +{ + return new PDF_Reference(Storage_stCONSTclCOM()); +} + +void StdLSchema_PDF_Reference::SAdd(const Handle(PDF_Reference)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDF_Reference")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPDF_ReferencemyValue()); + + } + } +} + +void StdLSchema_PDF_Reference::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDF_Reference::SAdd((Handle(PDF_Reference)&)p,theSchema); +} + +void StdLSchema_PDF_Reference::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDF_Reference) &pp = (Handle(PDF_Reference)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDF_ReferencemyValue(),f); + + f.EndWritePersistentObjectData(); + } +} + +void StdLSchema_PDF_Reference::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDF_Reference::SWrite(p,f,theSchema); +} + + +void StdLSchema_PDF_Reference::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDF_Reference) &pp = (Handle(PDF_Reference)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PCollection_HAsciiString) PDF_ReferencemyValue; + + theSchema->ReadPersistentReference(PDF_ReferencemyValue,f); + pp->_CSFDB_SetPDF_ReferencemyValue(PDF_ReferencemyValue); + + f.EndReadPersistentObjectData(); + } +} + +void StdLSchema_PDF_Reference::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdLSchema_PDF_Reference::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_Reference.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_Reference.hxx new file mode 100644 index 000000000..d74ba2028 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_Reference.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PDF_Reference_HeaderFile +#define _StdLSchema_PDF_Reference_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDF_Reference_HeaderFile +#include +#endif + +#ifndef _StdLSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdLSchema_PDF_Reference,Storage_CallBack) + +class StdLSchema_PDF_Reference : public Storage_CallBack { +public: + StdLSchema_PDF_Reference() {} + Standard_EXPORT static void SAdd(const Handle(PDF_Reference)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdLSchema_PDF_Reference) +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_Reference.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_Reference.ixx new file mode 100644 index 000000000..6284a6b90 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_Reference.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _StdLSchema_PCollection_HAsciiString_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_TagSource.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_TagSource.cxx new file mode 100644 index 000000000..f0e67e243 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_TagSource.cxx @@ -0,0 +1,80 @@ +#ifndef _StdLSchema_PDF_TagSource_HeaderFile +#include +#endif +#ifndef _PDF_TagSource_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdLSchema_PDF_TagSource,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdLSchema_PDF_TagSource,Storage_CallBack) + +Handle(Standard_Persistent) StdLSchema_PDF_TagSource::New() const +{ + return new PDF_TagSource(Storage_stCONSTclCOM()); +} + +void StdLSchema_PDF_TagSource::SAdd(const Handle(PDF_TagSource)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDF_TagSource")) { + + } + } +} + +void StdLSchema_PDF_TagSource::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDF_TagSource::SAdd((Handle(PDF_TagSource)&)p,theSchema); +} + +void StdLSchema_PDF_TagSource::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDF_TagSource) &pp = (Handle(PDF_TagSource)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutInteger(pp->_CSFDB_GetPDF_TagSourcemyValue()); + + f.EndWritePersistentObjectData(); + } +} + +void StdLSchema_PDF_TagSource::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDF_TagSource::SWrite(p,f,theSchema); +} + + +void StdLSchema_PDF_TagSource::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDF_TagSource) &pp = (Handle(PDF_TagSource)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Integer PDF_TagSourcemyValue; + f.GetInteger(PDF_TagSourcemyValue); + pp->_CSFDB_SetPDF_TagSourcemyValue(PDF_TagSourcemyValue); + + f.EndReadPersistentObjectData(); + } +} + +void StdLSchema_PDF_TagSource::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdLSchema_PDF_TagSource::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_TagSource.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_TagSource.hxx new file mode 100644 index 000000000..b4d70e1b7 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_TagSource.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PDF_TagSource_HeaderFile +#define _StdLSchema_PDF_TagSource_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDF_TagSource_HeaderFile +#include +#endif + +#ifndef _StdLSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdLSchema_PDF_TagSource,Storage_CallBack) + +class StdLSchema_PDF_TagSource : public Storage_CallBack { +public: + StdLSchema_PDF_TagSource() {} + Standard_EXPORT static void SAdd(const Handle(PDF_TagSource)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdLSchema_PDF_TagSource) +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_TagSource.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_TagSource.ixx new file mode 100644 index 000000000..8039503ca --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDF_TagSource.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_AsciiString.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_AsciiString.cxx new file mode 100644 index 000000000..d55565906 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_AsciiString.cxx @@ -0,0 +1,82 @@ +#ifndef _StdLSchema_PDataStd_AsciiString_HeaderFile +#include +#endif +#ifndef _PDataStd_AsciiString_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdLSchema_PDataStd_AsciiString,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdLSchema_PDataStd_AsciiString,Storage_CallBack) + +Handle(Standard_Persistent) StdLSchema_PDataStd_AsciiString::New() const +{ + return new PDataStd_AsciiString(Storage_stCONSTclCOM()); +} + +void StdLSchema_PDataStd_AsciiString::SAdd(const Handle(PDataStd_AsciiString)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDataStd_AsciiString")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPDataStd_AsciiStringmyValue()); + + } + } +} + +void StdLSchema_PDataStd_AsciiString::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_AsciiString::SAdd((Handle(PDataStd_AsciiString)&)p,theSchema); +} + +void StdLSchema_PDataStd_AsciiString::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_AsciiString) &pp = (Handle(PDataStd_AsciiString)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDataStd_AsciiStringmyValue(),f); + + f.EndWritePersistentObjectData(); + } +} + +void StdLSchema_PDataStd_AsciiString::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_AsciiString::SWrite(p,f,theSchema); +} + + +void StdLSchema_PDataStd_AsciiString::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_AsciiString) &pp = (Handle(PDataStd_AsciiString)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PCollection_HAsciiString) PDataStd_AsciiStringmyValue; + + theSchema->ReadPersistentReference(PDataStd_AsciiStringmyValue,f); + pp->_CSFDB_SetPDataStd_AsciiStringmyValue(PDataStd_AsciiStringmyValue); + + f.EndReadPersistentObjectData(); + } +} + +void StdLSchema_PDataStd_AsciiString::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdLSchema_PDataStd_AsciiString::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_AsciiString.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_AsciiString.hxx new file mode 100644 index 000000000..7254654bf --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_AsciiString.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PDataStd_AsciiString_HeaderFile +#define _StdLSchema_PDataStd_AsciiString_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDataStd_AsciiString_HeaderFile +#include +#endif + +#ifndef _StdLSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdLSchema_PDataStd_AsciiString,Storage_CallBack) + +class StdLSchema_PDataStd_AsciiString : public Storage_CallBack { +public: + StdLSchema_PDataStd_AsciiString() {} + Standard_EXPORT static void SAdd(const Handle(PDataStd_AsciiString)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdLSchema_PDataStd_AsciiString) +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_AsciiString.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_AsciiString.ixx new file mode 100644 index 000000000..6284a6b90 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_AsciiString.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _StdLSchema_PCollection_HAsciiString_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_BooleanArray.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_BooleanArray.cxx new file mode 100644 index 000000000..7c6d0bf8b --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_BooleanArray.cxx @@ -0,0 +1,92 @@ +#ifndef _StdLSchema_PDataStd_BooleanArray_HeaderFile +#include +#endif +#ifndef _PDataStd_BooleanArray_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdLSchema_PDataStd_BooleanArray,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdLSchema_PDataStd_BooleanArray,Storage_CallBack) + +Handle(Standard_Persistent) StdLSchema_PDataStd_BooleanArray::New() const +{ + return new PDataStd_BooleanArray(Storage_stCONSTclCOM()); +} + +void StdLSchema_PDataStd_BooleanArray::SAdd(const Handle(PDataStd_BooleanArray)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDataStd_BooleanArray")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPDataStd_BooleanArraymyValues()); + + } + } +} + +void StdLSchema_PDataStd_BooleanArray::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_BooleanArray::SAdd((Handle(PDataStd_BooleanArray)&)p,theSchema); +} + +void StdLSchema_PDataStd_BooleanArray::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_BooleanArray) &pp = (Handle(PDataStd_BooleanArray)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDataStd_BooleanArraymyValues(),f); + f.PutInteger(pp->_CSFDB_GetPDataStd_BooleanArraymyLower()); + f.PutInteger(pp->_CSFDB_GetPDataStd_BooleanArraymyUpper()); + + f.EndWritePersistentObjectData(); + } +} + +void StdLSchema_PDataStd_BooleanArray::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_BooleanArray::SWrite(p,f,theSchema); +} + + +void StdLSchema_PDataStd_BooleanArray::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_BooleanArray) &pp = (Handle(PDataStd_BooleanArray)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PColStd_HArray1OfInteger) PDataStd_BooleanArraymyValues; + + theSchema->ReadPersistentReference(PDataStd_BooleanArraymyValues,f); + pp->_CSFDB_SetPDataStd_BooleanArraymyValues(PDataStd_BooleanArraymyValues); + + Standard_Integer PDataStd_BooleanArraymyLower; + f.GetInteger(PDataStd_BooleanArraymyLower); + pp->_CSFDB_SetPDataStd_BooleanArraymyLower(PDataStd_BooleanArraymyLower); + + Standard_Integer PDataStd_BooleanArraymyUpper; + f.GetInteger(PDataStd_BooleanArraymyUpper); + pp->_CSFDB_SetPDataStd_BooleanArraymyUpper(PDataStd_BooleanArraymyUpper); + + f.EndReadPersistentObjectData(); + } +} + +void StdLSchema_PDataStd_BooleanArray::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdLSchema_PDataStd_BooleanArray::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_BooleanArray.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_BooleanArray.hxx new file mode 100644 index 000000000..25bc707c9 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_BooleanArray.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PDataStd_BooleanArray_HeaderFile +#define _StdLSchema_PDataStd_BooleanArray_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDataStd_BooleanArray_HeaderFile +#include +#endif + +#ifndef _StdLSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdLSchema_PDataStd_BooleanArray,Storage_CallBack) + +class StdLSchema_PDataStd_BooleanArray : public Storage_CallBack { +public: + StdLSchema_PDataStd_BooleanArray() {} + Standard_EXPORT static void SAdd(const Handle(PDataStd_BooleanArray)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdLSchema_PDataStd_BooleanArray) +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_BooleanArray.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_BooleanArray.ixx new file mode 100644 index 000000000..ced416afa --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_BooleanArray.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _StdLSchema_PColStd_HArray1OfInteger_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_BooleanList.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_BooleanList.cxx new file mode 100644 index 000000000..c6b2c39e5 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_BooleanList.cxx @@ -0,0 +1,82 @@ +#ifndef _StdLSchema_PDataStd_BooleanList_HeaderFile +#include +#endif +#ifndef _PDataStd_BooleanList_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdLSchema_PDataStd_BooleanList,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdLSchema_PDataStd_BooleanList,Storage_CallBack) + +Handle(Standard_Persistent) StdLSchema_PDataStd_BooleanList::New() const +{ + return new PDataStd_BooleanList(Storage_stCONSTclCOM()); +} + +void StdLSchema_PDataStd_BooleanList::SAdd(const Handle(PDataStd_BooleanList)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDataStd_BooleanList")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPDataStd_BooleanListmyValue()); + + } + } +} + +void StdLSchema_PDataStd_BooleanList::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_BooleanList::SAdd((Handle(PDataStd_BooleanList)&)p,theSchema); +} + +void StdLSchema_PDataStd_BooleanList::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_BooleanList) &pp = (Handle(PDataStd_BooleanList)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDataStd_BooleanListmyValue(),f); + + f.EndWritePersistentObjectData(); + } +} + +void StdLSchema_PDataStd_BooleanList::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_BooleanList::SWrite(p,f,theSchema); +} + + +void StdLSchema_PDataStd_BooleanList::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_BooleanList) &pp = (Handle(PDataStd_BooleanList)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PColStd_HArray1OfInteger) PDataStd_BooleanListmyValue; + + theSchema->ReadPersistentReference(PDataStd_BooleanListmyValue,f); + pp->_CSFDB_SetPDataStd_BooleanListmyValue(PDataStd_BooleanListmyValue); + + f.EndReadPersistentObjectData(); + } +} + +void StdLSchema_PDataStd_BooleanList::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdLSchema_PDataStd_BooleanList::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_BooleanList.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_BooleanList.hxx new file mode 100644 index 000000000..308991d96 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_BooleanList.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PDataStd_BooleanList_HeaderFile +#define _StdLSchema_PDataStd_BooleanList_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDataStd_BooleanList_HeaderFile +#include +#endif + +#ifndef _StdLSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdLSchema_PDataStd_BooleanList,Storage_CallBack) + +class StdLSchema_PDataStd_BooleanList : public Storage_CallBack { +public: + StdLSchema_PDataStd_BooleanList() {} + Standard_EXPORT static void SAdd(const Handle(PDataStd_BooleanList)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdLSchema_PDataStd_BooleanList) +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_BooleanList.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_BooleanList.ixx new file mode 100644 index 000000000..ced416afa --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_BooleanList.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _StdLSchema_PColStd_HArray1OfInteger_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ByteArray.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ByteArray.cxx new file mode 100644 index 000000000..41ac9c949 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ByteArray.cxx @@ -0,0 +1,82 @@ +#ifndef _StdLSchema_PDataStd_ByteArray_HeaderFile +#include +#endif +#ifndef _PDataStd_ByteArray_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdLSchema_PDataStd_ByteArray,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdLSchema_PDataStd_ByteArray,Storage_CallBack) + +Handle(Standard_Persistent) StdLSchema_PDataStd_ByteArray::New() const +{ + return new PDataStd_ByteArray(Storage_stCONSTclCOM()); +} + +void StdLSchema_PDataStd_ByteArray::SAdd(const Handle(PDataStd_ByteArray)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDataStd_ByteArray")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPDataStd_ByteArraymyValues()); + + } + } +} + +void StdLSchema_PDataStd_ByteArray::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_ByteArray::SAdd((Handle(PDataStd_ByteArray)&)p,theSchema); +} + +void StdLSchema_PDataStd_ByteArray::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_ByteArray) &pp = (Handle(PDataStd_ByteArray)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDataStd_ByteArraymyValues(),f); + + f.EndWritePersistentObjectData(); + } +} + +void StdLSchema_PDataStd_ByteArray::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_ByteArray::SWrite(p,f,theSchema); +} + + +void StdLSchema_PDataStd_ByteArray::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_ByteArray) &pp = (Handle(PDataStd_ByteArray)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PColStd_HArray1OfInteger) PDataStd_ByteArraymyValues; + + theSchema->ReadPersistentReference(PDataStd_ByteArraymyValues,f); + pp->_CSFDB_SetPDataStd_ByteArraymyValues(PDataStd_ByteArraymyValues); + + f.EndReadPersistentObjectData(); + } +} + +void StdLSchema_PDataStd_ByteArray::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdLSchema_PDataStd_ByteArray::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ByteArray.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ByteArray.hxx new file mode 100644 index 000000000..593ff2c46 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ByteArray.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PDataStd_ByteArray_HeaderFile +#define _StdLSchema_PDataStd_ByteArray_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDataStd_ByteArray_HeaderFile +#include +#endif + +#ifndef _StdLSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdLSchema_PDataStd_ByteArray,Storage_CallBack) + +class StdLSchema_PDataStd_ByteArray : public Storage_CallBack { +public: + StdLSchema_PDataStd_ByteArray() {} + Standard_EXPORT static void SAdd(const Handle(PDataStd_ByteArray)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdLSchema_PDataStd_ByteArray) +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ByteArray.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ByteArray.ixx new file mode 100644 index 000000000..ced416afa --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ByteArray.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _StdLSchema_PColStd_HArray1OfInteger_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ByteArray_1.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ByteArray_1.cxx new file mode 100644 index 000000000..200c7a460 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ByteArray_1.cxx @@ -0,0 +1,87 @@ +#ifndef _StdLSchema_PDataStd_ByteArray_1_HeaderFile +#include +#endif +#ifndef _PDataStd_ByteArray_1_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdLSchema_PDataStd_ByteArray_1,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdLSchema_PDataStd_ByteArray_1,Storage_CallBack) + +Handle(Standard_Persistent) StdLSchema_PDataStd_ByteArray_1::New() const +{ + return new PDataStd_ByteArray_1(Storage_stCONSTclCOM()); +} + +void StdLSchema_PDataStd_ByteArray_1::SAdd(const Handle(PDataStd_ByteArray_1)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDataStd_ByteArray_1")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPDataStd_ByteArray_1myValues()); + + } + } +} + +void StdLSchema_PDataStd_ByteArray_1::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_ByteArray_1::SAdd((Handle(PDataStd_ByteArray_1)&)p,theSchema); +} + +void StdLSchema_PDataStd_ByteArray_1::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_ByteArray_1) &pp = (Handle(PDataStd_ByteArray_1)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDataStd_ByteArray_1myValues(),f); + f.PutBoolean(pp->_CSFDB_GetPDataStd_ByteArray_1myDelta()); + + f.EndWritePersistentObjectData(); + } +} + +void StdLSchema_PDataStd_ByteArray_1::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_ByteArray_1::SWrite(p,f,theSchema); +} + + +void StdLSchema_PDataStd_ByteArray_1::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_ByteArray_1) &pp = (Handle(PDataStd_ByteArray_1)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PColStd_HArray1OfInteger) PDataStd_ByteArray_1myValues; + + theSchema->ReadPersistentReference(PDataStd_ByteArray_1myValues,f); + pp->_CSFDB_SetPDataStd_ByteArray_1myValues(PDataStd_ByteArray_1myValues); + + Standard_Boolean PDataStd_ByteArray_1myDelta; + f.GetBoolean(PDataStd_ByteArray_1myDelta); + pp->_CSFDB_SetPDataStd_ByteArray_1myDelta(PDataStd_ByteArray_1myDelta); + + f.EndReadPersistentObjectData(); + } +} + +void StdLSchema_PDataStd_ByteArray_1::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdLSchema_PDataStd_ByteArray_1::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ByteArray_1.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ByteArray_1.hxx new file mode 100644 index 000000000..d2f173392 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ByteArray_1.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PDataStd_ByteArray_1_HeaderFile +#define _StdLSchema_PDataStd_ByteArray_1_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDataStd_ByteArray_1_HeaderFile +#include +#endif + +#ifndef _StdLSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdLSchema_PDataStd_ByteArray_1,Storage_CallBack) + +class StdLSchema_PDataStd_ByteArray_1 : public Storage_CallBack { +public: + StdLSchema_PDataStd_ByteArray_1() {} + Standard_EXPORT static void SAdd(const Handle(PDataStd_ByteArray_1)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdLSchema_PDataStd_ByteArray_1) +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ByteArray_1.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ByteArray_1.ixx new file mode 100644 index 000000000..ced416afa --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ByteArray_1.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _StdLSchema_PColStd_HArray1OfInteger_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Comment.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Comment.cxx new file mode 100644 index 000000000..0eb142fc5 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Comment.cxx @@ -0,0 +1,82 @@ +#ifndef _StdLSchema_PDataStd_Comment_HeaderFile +#include +#endif +#ifndef _PDataStd_Comment_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdLSchema_PDataStd_Comment,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdLSchema_PDataStd_Comment,Storage_CallBack) + +Handle(Standard_Persistent) StdLSchema_PDataStd_Comment::New() const +{ + return new PDataStd_Comment(Storage_stCONSTclCOM()); +} + +void StdLSchema_PDataStd_Comment::SAdd(const Handle(PDataStd_Comment)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDataStd_Comment")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPDataStd_CommentmyValue()); + + } + } +} + +void StdLSchema_PDataStd_Comment::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_Comment::SAdd((Handle(PDataStd_Comment)&)p,theSchema); +} + +void StdLSchema_PDataStd_Comment::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_Comment) &pp = (Handle(PDataStd_Comment)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDataStd_CommentmyValue(),f); + + f.EndWritePersistentObjectData(); + } +} + +void StdLSchema_PDataStd_Comment::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_Comment::SWrite(p,f,theSchema); +} + + +void StdLSchema_PDataStd_Comment::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_Comment) &pp = (Handle(PDataStd_Comment)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PCollection_HExtendedString) PDataStd_CommentmyValue; + + theSchema->ReadPersistentReference(PDataStd_CommentmyValue,f); + pp->_CSFDB_SetPDataStd_CommentmyValue(PDataStd_CommentmyValue); + + f.EndReadPersistentObjectData(); + } +} + +void StdLSchema_PDataStd_Comment::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdLSchema_PDataStd_Comment::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Comment.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Comment.hxx new file mode 100644 index 000000000..1ca065883 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Comment.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PDataStd_Comment_HeaderFile +#define _StdLSchema_PDataStd_Comment_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDataStd_Comment_HeaderFile +#include +#endif + +#ifndef _StdLSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdLSchema_PDataStd_Comment,Storage_CallBack) + +class StdLSchema_PDataStd_Comment : public Storage_CallBack { +public: + StdLSchema_PDataStd_Comment() {} + Standard_EXPORT static void SAdd(const Handle(PDataStd_Comment)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdLSchema_PDataStd_Comment) +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Comment.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Comment.ixx new file mode 100644 index 000000000..e6c47b2ee --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Comment.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _StdLSchema_PCollection_HExtendedString_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Directory.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Directory.cxx new file mode 100644 index 000000000..add7ab6da --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Directory.cxx @@ -0,0 +1,75 @@ +#ifndef _StdLSchema_PDataStd_Directory_HeaderFile +#include +#endif +#ifndef _PDataStd_Directory_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdLSchema_PDataStd_Directory,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdLSchema_PDataStd_Directory,Storage_CallBack) + +Handle(Standard_Persistent) StdLSchema_PDataStd_Directory::New() const +{ + return new PDataStd_Directory(Storage_stCONSTclCOM()); +} + +void StdLSchema_PDataStd_Directory::SAdd(const Handle(PDataStd_Directory)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDataStd_Directory")) { + + } + } +} + +void StdLSchema_PDataStd_Directory::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_Directory::SAdd((Handle(PDataStd_Directory)&)p,theSchema); +} + +void StdLSchema_PDataStd_Directory::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_Directory) &pp = (Handle(PDataStd_Directory)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + + f.EndWritePersistentObjectData(); + } +} + +void StdLSchema_PDataStd_Directory::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_Directory::SWrite(p,f,theSchema); +} + + +void StdLSchema_PDataStd_Directory::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_Directory) &pp = (Handle(PDataStd_Directory)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + f.EndReadPersistentObjectData(); + } +} + +void StdLSchema_PDataStd_Directory::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdLSchema_PDataStd_Directory::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Directory.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Directory.hxx new file mode 100644 index 000000000..bf801330b --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Directory.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PDataStd_Directory_HeaderFile +#define _StdLSchema_PDataStd_Directory_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDataStd_Directory_HeaderFile +#include +#endif + +#ifndef _StdLSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdLSchema_PDataStd_Directory,Storage_CallBack) + +class StdLSchema_PDataStd_Directory : public Storage_CallBack { +public: + StdLSchema_PDataStd_Directory() {} + Standard_EXPORT static void SAdd(const Handle(PDataStd_Directory)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdLSchema_PDataStd_Directory) +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Directory.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Directory.ixx new file mode 100644 index 000000000..8039503ca --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Directory.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Expression.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Expression.cxx new file mode 100644 index 000000000..435c78db9 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Expression.cxx @@ -0,0 +1,89 @@ +#ifndef _StdLSchema_PDataStd_Expression_HeaderFile +#include +#endif +#ifndef _PDataStd_Expression_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdLSchema_PDataStd_Expression,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdLSchema_PDataStd_Expression,Storage_CallBack) + +Handle(Standard_Persistent) StdLSchema_PDataStd_Expression::New() const +{ + return new PDataStd_Expression(Storage_stCONSTclCOM()); +} + +void StdLSchema_PDataStd_Expression::SAdd(const Handle(PDataStd_Expression)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDataStd_Expression")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPDataStd_ExpressionmyName()); + theSchema->PersistentToAdd(p->_CSFDB_GetPDataStd_ExpressionmyVariables()); + + } + } +} + +void StdLSchema_PDataStd_Expression::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_Expression::SAdd((Handle(PDataStd_Expression)&)p,theSchema); +} + +void StdLSchema_PDataStd_Expression::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_Expression) &pp = (Handle(PDataStd_Expression)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDataStd_ExpressionmyName(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDataStd_ExpressionmyVariables(),f); + + f.EndWritePersistentObjectData(); + } +} + +void StdLSchema_PDataStd_Expression::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_Expression::SWrite(p,f,theSchema); +} + + +void StdLSchema_PDataStd_Expression::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_Expression) &pp = (Handle(PDataStd_Expression)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PCollection_HExtendedString) PDataStd_ExpressionmyName; + + theSchema->ReadPersistentReference(PDataStd_ExpressionmyName,f); + pp->_CSFDB_SetPDataStd_ExpressionmyName(PDataStd_ExpressionmyName); + + Handle(PDF_HAttributeArray1) PDataStd_ExpressionmyVariables; + + theSchema->ReadPersistentReference(PDataStd_ExpressionmyVariables,f); + pp->_CSFDB_SetPDataStd_ExpressionmyVariables(PDataStd_ExpressionmyVariables); + + f.EndReadPersistentObjectData(); + } +} + +void StdLSchema_PDataStd_Expression::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdLSchema_PDataStd_Expression::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Expression.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Expression.hxx new file mode 100644 index 000000000..aa7df7d92 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Expression.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PDataStd_Expression_HeaderFile +#define _StdLSchema_PDataStd_Expression_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDataStd_Expression_HeaderFile +#include +#endif + +#ifndef _StdLSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdLSchema_PDataStd_Expression,Storage_CallBack) + +class StdLSchema_PDataStd_Expression : public Storage_CallBack { +public: + StdLSchema_PDataStd_Expression() {} + Standard_EXPORT static void SAdd(const Handle(PDataStd_Expression)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdLSchema_PDataStd_Expression) +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Expression.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Expression.ixx new file mode 100644 index 000000000..1fc850795 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Expression.ixx @@ -0,0 +1,8 @@ +#include +#ifndef _StdLSchema_PCollection_HExtendedString_HeaderFile +#include +#endif +#ifndef _StdLSchema_PDF_HAttributeArray1_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ExtStringArray.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ExtStringArray.cxx new file mode 100644 index 000000000..403568619 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ExtStringArray.cxx @@ -0,0 +1,82 @@ +#ifndef _StdLSchema_PDataStd_ExtStringArray_HeaderFile +#include +#endif +#ifndef _PDataStd_ExtStringArray_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdLSchema_PDataStd_ExtStringArray,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdLSchema_PDataStd_ExtStringArray,Storage_CallBack) + +Handle(Standard_Persistent) StdLSchema_PDataStd_ExtStringArray::New() const +{ + return new PDataStd_ExtStringArray(Storage_stCONSTclCOM()); +} + +void StdLSchema_PDataStd_ExtStringArray::SAdd(const Handle(PDataStd_ExtStringArray)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDataStd_ExtStringArray")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPDataStd_ExtStringArraymyValue()); + + } + } +} + +void StdLSchema_PDataStd_ExtStringArray::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_ExtStringArray::SAdd((Handle(PDataStd_ExtStringArray)&)p,theSchema); +} + +void StdLSchema_PDataStd_ExtStringArray::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_ExtStringArray) &pp = (Handle(PDataStd_ExtStringArray)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDataStd_ExtStringArraymyValue(),f); + + f.EndWritePersistentObjectData(); + } +} + +void StdLSchema_PDataStd_ExtStringArray::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_ExtStringArray::SWrite(p,f,theSchema); +} + + +void StdLSchema_PDataStd_ExtStringArray::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_ExtStringArray) &pp = (Handle(PDataStd_ExtStringArray)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PColStd_HArray1OfExtendedString) PDataStd_ExtStringArraymyValue; + + theSchema->ReadPersistentReference(PDataStd_ExtStringArraymyValue,f); + pp->_CSFDB_SetPDataStd_ExtStringArraymyValue(PDataStd_ExtStringArraymyValue); + + f.EndReadPersistentObjectData(); + } +} + +void StdLSchema_PDataStd_ExtStringArray::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdLSchema_PDataStd_ExtStringArray::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ExtStringArray.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ExtStringArray.hxx new file mode 100644 index 000000000..ea154d4cc --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ExtStringArray.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PDataStd_ExtStringArray_HeaderFile +#define _StdLSchema_PDataStd_ExtStringArray_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDataStd_ExtStringArray_HeaderFile +#include +#endif + +#ifndef _StdLSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdLSchema_PDataStd_ExtStringArray,Storage_CallBack) + +class StdLSchema_PDataStd_ExtStringArray : public Storage_CallBack { +public: + StdLSchema_PDataStd_ExtStringArray() {} + Standard_EXPORT static void SAdd(const Handle(PDataStd_ExtStringArray)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdLSchema_PDataStd_ExtStringArray) +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ExtStringArray.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ExtStringArray.ixx new file mode 100644 index 000000000..620a134f9 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ExtStringArray.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _StdLSchema_PColStd_HArray1OfExtendedString_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ExtStringArray_1.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ExtStringArray_1.cxx new file mode 100644 index 000000000..3573e13b7 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ExtStringArray_1.cxx @@ -0,0 +1,87 @@ +#ifndef _StdLSchema_PDataStd_ExtStringArray_1_HeaderFile +#include +#endif +#ifndef _PDataStd_ExtStringArray_1_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdLSchema_PDataStd_ExtStringArray_1,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdLSchema_PDataStd_ExtStringArray_1,Storage_CallBack) + +Handle(Standard_Persistent) StdLSchema_PDataStd_ExtStringArray_1::New() const +{ + return new PDataStd_ExtStringArray_1(Storage_stCONSTclCOM()); +} + +void StdLSchema_PDataStd_ExtStringArray_1::SAdd(const Handle(PDataStd_ExtStringArray_1)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDataStd_ExtStringArray_1")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPDataStd_ExtStringArray_1myValue()); + + } + } +} + +void StdLSchema_PDataStd_ExtStringArray_1::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_ExtStringArray_1::SAdd((Handle(PDataStd_ExtStringArray_1)&)p,theSchema); +} + +void StdLSchema_PDataStd_ExtStringArray_1::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_ExtStringArray_1) &pp = (Handle(PDataStd_ExtStringArray_1)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDataStd_ExtStringArray_1myValue(),f); + f.PutBoolean(pp->_CSFDB_GetPDataStd_ExtStringArray_1myDelta()); + + f.EndWritePersistentObjectData(); + } +} + +void StdLSchema_PDataStd_ExtStringArray_1::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_ExtStringArray_1::SWrite(p,f,theSchema); +} + + +void StdLSchema_PDataStd_ExtStringArray_1::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_ExtStringArray_1) &pp = (Handle(PDataStd_ExtStringArray_1)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PColStd_HArray1OfExtendedString) PDataStd_ExtStringArray_1myValue; + + theSchema->ReadPersistentReference(PDataStd_ExtStringArray_1myValue,f); + pp->_CSFDB_SetPDataStd_ExtStringArray_1myValue(PDataStd_ExtStringArray_1myValue); + + Standard_Boolean PDataStd_ExtStringArray_1myDelta; + f.GetBoolean(PDataStd_ExtStringArray_1myDelta); + pp->_CSFDB_SetPDataStd_ExtStringArray_1myDelta(PDataStd_ExtStringArray_1myDelta); + + f.EndReadPersistentObjectData(); + } +} + +void StdLSchema_PDataStd_ExtStringArray_1::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdLSchema_PDataStd_ExtStringArray_1::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ExtStringArray_1.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ExtStringArray_1.hxx new file mode 100644 index 000000000..fb6dbbfe2 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ExtStringArray_1.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PDataStd_ExtStringArray_1_HeaderFile +#define _StdLSchema_PDataStd_ExtStringArray_1_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDataStd_ExtStringArray_1_HeaderFile +#include +#endif + +#ifndef _StdLSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdLSchema_PDataStd_ExtStringArray_1,Storage_CallBack) + +class StdLSchema_PDataStd_ExtStringArray_1 : public Storage_CallBack { +public: + StdLSchema_PDataStd_ExtStringArray_1() {} + Standard_EXPORT static void SAdd(const Handle(PDataStd_ExtStringArray_1)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdLSchema_PDataStd_ExtStringArray_1) +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ExtStringArray_1.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ExtStringArray_1.ixx new file mode 100644 index 000000000..620a134f9 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ExtStringArray_1.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _StdLSchema_PColStd_HArray1OfExtendedString_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ExtStringList.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ExtStringList.cxx new file mode 100644 index 000000000..3fb39059f --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ExtStringList.cxx @@ -0,0 +1,82 @@ +#ifndef _StdLSchema_PDataStd_ExtStringList_HeaderFile +#include +#endif +#ifndef _PDataStd_ExtStringList_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdLSchema_PDataStd_ExtStringList,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdLSchema_PDataStd_ExtStringList,Storage_CallBack) + +Handle(Standard_Persistent) StdLSchema_PDataStd_ExtStringList::New() const +{ + return new PDataStd_ExtStringList(Storage_stCONSTclCOM()); +} + +void StdLSchema_PDataStd_ExtStringList::SAdd(const Handle(PDataStd_ExtStringList)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDataStd_ExtStringList")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPDataStd_ExtStringListmyValue()); + + } + } +} + +void StdLSchema_PDataStd_ExtStringList::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_ExtStringList::SAdd((Handle(PDataStd_ExtStringList)&)p,theSchema); +} + +void StdLSchema_PDataStd_ExtStringList::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_ExtStringList) &pp = (Handle(PDataStd_ExtStringList)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDataStd_ExtStringListmyValue(),f); + + f.EndWritePersistentObjectData(); + } +} + +void StdLSchema_PDataStd_ExtStringList::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_ExtStringList::SWrite(p,f,theSchema); +} + + +void StdLSchema_PDataStd_ExtStringList::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_ExtStringList) &pp = (Handle(PDataStd_ExtStringList)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PColStd_HArray1OfExtendedString) PDataStd_ExtStringListmyValue; + + theSchema->ReadPersistentReference(PDataStd_ExtStringListmyValue,f); + pp->_CSFDB_SetPDataStd_ExtStringListmyValue(PDataStd_ExtStringListmyValue); + + f.EndReadPersistentObjectData(); + } +} + +void StdLSchema_PDataStd_ExtStringList::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdLSchema_PDataStd_ExtStringList::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ExtStringList.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ExtStringList.hxx new file mode 100644 index 000000000..10059b91c --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ExtStringList.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PDataStd_ExtStringList_HeaderFile +#define _StdLSchema_PDataStd_ExtStringList_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDataStd_ExtStringList_HeaderFile +#include +#endif + +#ifndef _StdLSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdLSchema_PDataStd_ExtStringList,Storage_CallBack) + +class StdLSchema_PDataStd_ExtStringList : public Storage_CallBack { +public: + StdLSchema_PDataStd_ExtStringList() {} + Standard_EXPORT static void SAdd(const Handle(PDataStd_ExtStringList)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdLSchema_PDataStd_ExtStringList) +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ExtStringList.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ExtStringList.ixx new file mode 100644 index 000000000..620a134f9 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ExtStringList.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _StdLSchema_PColStd_HArray1OfExtendedString_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_FieldOfHArray1OfByte.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_FieldOfHArray1OfByte.cxx new file mode 100644 index 000000000..b1dd8f0a9 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_FieldOfHArray1OfByte.cxx @@ -0,0 +1,45 @@ +#ifndef _StdLSchema_PDataStd_FieldOfHArray1OfByte_HeaderFile +#include +#endif +#ifndef _PDataStd_FieldOfHArray1OfByte_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void StdLSchema_PDataStd_FieldOfHArray1OfByte::SWrite(const PDataStd_FieldOfHArray1OfByte& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + + f.BeginWriteObjectData(); + f.PutInteger(pp.Length()); + for (Standard_Integer i = 0; i < pp.Length(); i++) { + f.PutCharacter(pp.Value(i)); + + } + f.EndWriteObjectData(); +} + +void StdLSchema_PDataStd_FieldOfHArray1OfByte::SRead(PDataStd_FieldOfHArray1OfByte& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + Standard_Integer size = 0; + + f.BeginReadObjectData(); + f.GetInteger(size); + pp.Resize(size); + + for (Standard_Integer j = 0; j < size; j++) { + Standard_Character par; + + f.GetCharacter(par); + pp.SetValue(j,par); + + } + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_FieldOfHArray1OfByte.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_FieldOfHArray1OfByte.hxx new file mode 100644 index 000000000..953d2003a --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_FieldOfHArray1OfByte.hxx @@ -0,0 +1,26 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PDataStd_FieldOfHArray1OfByte_HeaderFile +#define _StdLSchema_PDataStd_FieldOfHArray1OfByte_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + + +class PDataStd_FieldOfHArray1OfByte; + +class StdLSchema_PDataStd_FieldOfHArray1OfByte { +public: + Standard_EXPORT static void SAdd(const PDataStd_FieldOfHArray1OfByte&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const PDataStd_FieldOfHArray1OfByte&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(PDataStd_FieldOfHArray1OfByte&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_FieldOfHArray1OfByte.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_FieldOfHArray1OfByte.ixx new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_FieldOfHArray1OfByte.ixx @@ -0,0 +1 @@ + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_FieldOfHArray1OfHArray1OfInteger.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_FieldOfHArray1OfHArray1OfInteger.cxx new file mode 100644 index 000000000..c70cff8e8 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_FieldOfHArray1OfHArray1OfInteger.cxx @@ -0,0 +1,54 @@ +#ifndef _StdLSchema_PDataStd_FieldOfHArray1OfHArray1OfInteger_HeaderFile +#include +#endif +#ifndef _PDataStd_FieldOfHArray1OfHArray1OfInteger_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void StdLSchema_PDataStd_FieldOfHArray1OfHArray1OfInteger::SAdd(const PDataStd_FieldOfHArray1OfHArray1OfInteger& p, const Handle(Storage_Schema)& theSchema) +{ + Standard_Integer i; + for (i = 0; i < p.Length(); i++) { + theSchema->PersistentToAdd(p.Value(i)); + } + +} + +void StdLSchema_PDataStd_FieldOfHArray1OfHArray1OfInteger::SWrite(const PDataStd_FieldOfHArray1OfHArray1OfInteger& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + + f.BeginWriteObjectData(); + f.PutInteger(pp.Length()); + for (Standard_Integer i = 0; i < pp.Length(); i++) { + theSchema->WritePersistentReference(pp.Value(i),f); + + } + f.EndWriteObjectData(); +} + +void StdLSchema_PDataStd_FieldOfHArray1OfHArray1OfInteger::SRead(PDataStd_FieldOfHArray1OfHArray1OfInteger& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + Standard_Integer size = 0; + + f.BeginReadObjectData(); + f.GetInteger(size); + pp.Resize(size); + + for (Standard_Integer j = 0; j < size; j++) { + Handle(PColStd_HArray1OfInteger) par; + + theSchema->ReadPersistentReference(par,f); + pp.SetValue(j,par); + + } + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_FieldOfHArray1OfHArray1OfInteger.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_FieldOfHArray1OfHArray1OfInteger.hxx new file mode 100644 index 000000000..7b254b389 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_FieldOfHArray1OfHArray1OfInteger.hxx @@ -0,0 +1,29 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PDataStd_FieldOfHArray1OfHArray1OfInteger_HeaderFile +#define _StdLSchema_PDataStd_FieldOfHArray1OfHArray1OfInteger_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + +#ifndef _StdLSchema_PColStd_HArray1OfInteger_HeaderFile +#include +#endif + + +class PDataStd_FieldOfHArray1OfHArray1OfInteger; + +class StdLSchema_PDataStd_FieldOfHArray1OfHArray1OfInteger { +public: + Standard_EXPORT static void SAdd(const PDataStd_FieldOfHArray1OfHArray1OfInteger&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const PDataStd_FieldOfHArray1OfHArray1OfInteger&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(PDataStd_FieldOfHArray1OfHArray1OfInteger&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_FieldOfHArray1OfHArray1OfInteger.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_FieldOfHArray1OfHArray1OfInteger.ixx new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_FieldOfHArray1OfHArray1OfInteger.ixx @@ -0,0 +1 @@ + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_FieldOfHArray1OfHArray1OfReal.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_FieldOfHArray1OfHArray1OfReal.cxx new file mode 100644 index 000000000..f9514bbdd --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_FieldOfHArray1OfHArray1OfReal.cxx @@ -0,0 +1,54 @@ +#ifndef _StdLSchema_PDataStd_FieldOfHArray1OfHArray1OfReal_HeaderFile +#include +#endif +#ifndef _PDataStd_FieldOfHArray1OfHArray1OfReal_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void StdLSchema_PDataStd_FieldOfHArray1OfHArray1OfReal::SAdd(const PDataStd_FieldOfHArray1OfHArray1OfReal& p, const Handle(Storage_Schema)& theSchema) +{ + Standard_Integer i; + for (i = 0; i < p.Length(); i++) { + theSchema->PersistentToAdd(p.Value(i)); + } + +} + +void StdLSchema_PDataStd_FieldOfHArray1OfHArray1OfReal::SWrite(const PDataStd_FieldOfHArray1OfHArray1OfReal& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + + f.BeginWriteObjectData(); + f.PutInteger(pp.Length()); + for (Standard_Integer i = 0; i < pp.Length(); i++) { + theSchema->WritePersistentReference(pp.Value(i),f); + + } + f.EndWriteObjectData(); +} + +void StdLSchema_PDataStd_FieldOfHArray1OfHArray1OfReal::SRead(PDataStd_FieldOfHArray1OfHArray1OfReal& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + Standard_Integer size = 0; + + f.BeginReadObjectData(); + f.GetInteger(size); + pp.Resize(size); + + for (Standard_Integer j = 0; j < size; j++) { + Handle(PColStd_HArray1OfReal) par; + + theSchema->ReadPersistentReference(par,f); + pp.SetValue(j,par); + + } + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_FieldOfHArray1OfHArray1OfReal.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_FieldOfHArray1OfHArray1OfReal.hxx new file mode 100644 index 000000000..90d306724 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_FieldOfHArray1OfHArray1OfReal.hxx @@ -0,0 +1,29 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PDataStd_FieldOfHArray1OfHArray1OfReal_HeaderFile +#define _StdLSchema_PDataStd_FieldOfHArray1OfHArray1OfReal_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + +#ifndef _StdLSchema_PColStd_HArray1OfReal_HeaderFile +#include +#endif + + +class PDataStd_FieldOfHArray1OfHArray1OfReal; + +class StdLSchema_PDataStd_FieldOfHArray1OfHArray1OfReal { +public: + Standard_EXPORT static void SAdd(const PDataStd_FieldOfHArray1OfHArray1OfReal&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const PDataStd_FieldOfHArray1OfHArray1OfReal&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(PDataStd_FieldOfHArray1OfHArray1OfReal&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_FieldOfHArray1OfHArray1OfReal.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_FieldOfHArray1OfHArray1OfReal.ixx new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_FieldOfHArray1OfHArray1OfReal.ixx @@ -0,0 +1 @@ + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_FieldOfHArray1OfHAsciiString.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_FieldOfHArray1OfHAsciiString.cxx new file mode 100644 index 000000000..3b48ec806 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_FieldOfHArray1OfHAsciiString.cxx @@ -0,0 +1,54 @@ +#ifndef _StdLSchema_PDataStd_FieldOfHArray1OfHAsciiString_HeaderFile +#include +#endif +#ifndef _PDataStd_FieldOfHArray1OfHAsciiString_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void StdLSchema_PDataStd_FieldOfHArray1OfHAsciiString::SAdd(const PDataStd_FieldOfHArray1OfHAsciiString& p, const Handle(Storage_Schema)& theSchema) +{ + Standard_Integer i; + for (i = 0; i < p.Length(); i++) { + theSchema->PersistentToAdd(p.Value(i)); + } + +} + +void StdLSchema_PDataStd_FieldOfHArray1OfHAsciiString::SWrite(const PDataStd_FieldOfHArray1OfHAsciiString& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + + f.BeginWriteObjectData(); + f.PutInteger(pp.Length()); + for (Standard_Integer i = 0; i < pp.Length(); i++) { + theSchema->WritePersistentReference(pp.Value(i),f); + + } + f.EndWriteObjectData(); +} + +void StdLSchema_PDataStd_FieldOfHArray1OfHAsciiString::SRead(PDataStd_FieldOfHArray1OfHAsciiString& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + Standard_Integer size = 0; + + f.BeginReadObjectData(); + f.GetInteger(size); + pp.Resize(size); + + for (Standard_Integer j = 0; j < size; j++) { + Handle(PCollection_HAsciiString) par; + + theSchema->ReadPersistentReference(par,f); + pp.SetValue(j,par); + + } + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_FieldOfHArray1OfHAsciiString.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_FieldOfHArray1OfHAsciiString.hxx new file mode 100644 index 000000000..d054b441f --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_FieldOfHArray1OfHAsciiString.hxx @@ -0,0 +1,29 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PDataStd_FieldOfHArray1OfHAsciiString_HeaderFile +#define _StdLSchema_PDataStd_FieldOfHArray1OfHAsciiString_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + +#ifndef _StdLSchema_PCollection_HAsciiString_HeaderFile +#include +#endif + + +class PDataStd_FieldOfHArray1OfHAsciiString; + +class StdLSchema_PDataStd_FieldOfHArray1OfHAsciiString { +public: + Standard_EXPORT static void SAdd(const PDataStd_FieldOfHArray1OfHAsciiString&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const PDataStd_FieldOfHArray1OfHAsciiString&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(PDataStd_FieldOfHArray1OfHAsciiString&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_FieldOfHArray1OfHAsciiString.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_FieldOfHArray1OfHAsciiString.ixx new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_FieldOfHArray1OfHAsciiString.ixx @@ -0,0 +1 @@ + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_HArray1OfByte.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_HArray1OfByte.cxx new file mode 100644 index 000000000..ab11a04a0 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_HArray1OfByte.cxx @@ -0,0 +1,88 @@ +#ifndef _StdLSchema_PDataStd_HArray1OfByte_HeaderFile +#include +#endif +#ifndef _PDataStd_HArray1OfByte_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdLSchema_PDataStd_HArray1OfByte,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdLSchema_PDataStd_HArray1OfByte,Storage_CallBack) + +Handle(Standard_Persistent) StdLSchema_PDataStd_HArray1OfByte::New() const +{ + return new PDataStd_HArray1OfByte(Storage_stCONSTclCOM()); +} + +void StdLSchema_PDataStd_HArray1OfByte::SAdd(const Handle(PDataStd_HArray1OfByte)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDataStd_HArray1OfByte")) { + + } + } +} + +void StdLSchema_PDataStd_HArray1OfByte::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_HArray1OfByte::SAdd((Handle(PDataStd_HArray1OfByte)&)p,theSchema); +} + +void StdLSchema_PDataStd_HArray1OfByte::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_HArray1OfByte) &pp = (Handle(PDataStd_HArray1OfByte)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutInteger(pp->_CSFDB_GetPDataStd_HArray1OfByteLowerBound()); + f.PutInteger(pp->_CSFDB_GetPDataStd_HArray1OfByteUpperBound()); + StdLSchema_PDataStd_FieldOfHArray1OfByte::SWrite(pp->_CSFDB_GetPDataStd_HArray1OfByteData(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void StdLSchema_PDataStd_HArray1OfByte::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_HArray1OfByte::SWrite(p,f,theSchema); +} + + +void StdLSchema_PDataStd_HArray1OfByte::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_HArray1OfByte) &pp = (Handle(PDataStd_HArray1OfByte)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Integer PDataStd_HArray1OfByteLowerBound; + f.GetInteger(PDataStd_HArray1OfByteLowerBound); + pp->_CSFDB_SetPDataStd_HArray1OfByteLowerBound(PDataStd_HArray1OfByteLowerBound); + + Standard_Integer PDataStd_HArray1OfByteUpperBound; + f.GetInteger(PDataStd_HArray1OfByteUpperBound); + pp->_CSFDB_SetPDataStd_HArray1OfByteUpperBound(PDataStd_HArray1OfByteUpperBound); + + StdLSchema_PDataStd_FieldOfHArray1OfByte::SRead((PDataStd_FieldOfHArray1OfByte&)pp->_CSFDB_GetPDataStd_HArray1OfByteData(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void StdLSchema_PDataStd_HArray1OfByte::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdLSchema_PDataStd_HArray1OfByte::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_HArray1OfByte.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_HArray1OfByte.hxx new file mode 100644 index 000000000..3129caf44 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_HArray1OfByte.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PDataStd_HArray1OfByte_HeaderFile +#define _StdLSchema_PDataStd_HArray1OfByte_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDataStd_HArray1OfByte_HeaderFile +#include +#endif + +#ifndef _StdLSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdLSchema_PDataStd_HArray1OfByte,Storage_CallBack) + +class StdLSchema_PDataStd_HArray1OfByte : public Storage_CallBack { +public: + StdLSchema_PDataStd_HArray1OfByte() {} + Standard_EXPORT static void SAdd(const Handle(PDataStd_HArray1OfByte)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdLSchema_PDataStd_HArray1OfByte) +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_HArray1OfByte.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_HArray1OfByte.ixx new file mode 100644 index 000000000..c7e723b9d --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_HArray1OfByte.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _StdLSchema_PDataStd_FieldOfHArray1OfByte_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_HArray1OfHArray1OfInteger.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_HArray1OfHArray1OfInteger.cxx new file mode 100644 index 000000000..dfaf5b4b7 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_HArray1OfHArray1OfInteger.cxx @@ -0,0 +1,89 @@ +#ifndef _StdLSchema_PDataStd_HArray1OfHArray1OfInteger_HeaderFile +#include +#endif +#ifndef _PDataStd_HArray1OfHArray1OfInteger_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdLSchema_PDataStd_HArray1OfHArray1OfInteger,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdLSchema_PDataStd_HArray1OfHArray1OfInteger,Storage_CallBack) + +Handle(Standard_Persistent) StdLSchema_PDataStd_HArray1OfHArray1OfInteger::New() const +{ + return new PDataStd_HArray1OfHArray1OfInteger(Storage_stCONSTclCOM()); +} + +void StdLSchema_PDataStd_HArray1OfHArray1OfInteger::SAdd(const Handle(PDataStd_HArray1OfHArray1OfInteger)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDataStd_HArray1OfHArray1OfInteger")) { + StdLSchema_PDataStd_FieldOfHArray1OfHArray1OfInteger::SAdd(p->_CSFDB_GetPDataStd_HArray1OfHArray1OfIntegerData(),theSchema); + + } + } +} + +void StdLSchema_PDataStd_HArray1OfHArray1OfInteger::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_HArray1OfHArray1OfInteger::SAdd((Handle(PDataStd_HArray1OfHArray1OfInteger)&)p,theSchema); +} + +void StdLSchema_PDataStd_HArray1OfHArray1OfInteger::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_HArray1OfHArray1OfInteger) &pp = (Handle(PDataStd_HArray1OfHArray1OfInteger)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutInteger(pp->_CSFDB_GetPDataStd_HArray1OfHArray1OfIntegerLowerBound()); + f.PutInteger(pp->_CSFDB_GetPDataStd_HArray1OfHArray1OfIntegerUpperBound()); + StdLSchema_PDataStd_FieldOfHArray1OfHArray1OfInteger::SWrite(pp->_CSFDB_GetPDataStd_HArray1OfHArray1OfIntegerData(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void StdLSchema_PDataStd_HArray1OfHArray1OfInteger::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_HArray1OfHArray1OfInteger::SWrite(p,f,theSchema); +} + + +void StdLSchema_PDataStd_HArray1OfHArray1OfInteger::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_HArray1OfHArray1OfInteger) &pp = (Handle(PDataStd_HArray1OfHArray1OfInteger)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Integer PDataStd_HArray1OfHArray1OfIntegerLowerBound; + f.GetInteger(PDataStd_HArray1OfHArray1OfIntegerLowerBound); + pp->_CSFDB_SetPDataStd_HArray1OfHArray1OfIntegerLowerBound(PDataStd_HArray1OfHArray1OfIntegerLowerBound); + + Standard_Integer PDataStd_HArray1OfHArray1OfIntegerUpperBound; + f.GetInteger(PDataStd_HArray1OfHArray1OfIntegerUpperBound); + pp->_CSFDB_SetPDataStd_HArray1OfHArray1OfIntegerUpperBound(PDataStd_HArray1OfHArray1OfIntegerUpperBound); + + StdLSchema_PDataStd_FieldOfHArray1OfHArray1OfInteger::SRead((PDataStd_FieldOfHArray1OfHArray1OfInteger&)pp->_CSFDB_GetPDataStd_HArray1OfHArray1OfIntegerData(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void StdLSchema_PDataStd_HArray1OfHArray1OfInteger::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdLSchema_PDataStd_HArray1OfHArray1OfInteger::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_HArray1OfHArray1OfInteger.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_HArray1OfHArray1OfInteger.hxx new file mode 100644 index 000000000..d9fe05c68 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_HArray1OfHArray1OfInteger.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PDataStd_HArray1OfHArray1OfInteger_HeaderFile +#define _StdLSchema_PDataStd_HArray1OfHArray1OfInteger_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDataStd_HArray1OfHArray1OfInteger_HeaderFile +#include +#endif + +#ifndef _StdLSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdLSchema_PDataStd_HArray1OfHArray1OfInteger,Storage_CallBack) + +class StdLSchema_PDataStd_HArray1OfHArray1OfInteger : public Storage_CallBack { +public: + StdLSchema_PDataStd_HArray1OfHArray1OfInteger() {} + Standard_EXPORT static void SAdd(const Handle(PDataStd_HArray1OfHArray1OfInteger)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdLSchema_PDataStd_HArray1OfHArray1OfInteger) +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_HArray1OfHArray1OfInteger.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_HArray1OfHArray1OfInteger.ixx new file mode 100644 index 000000000..d08bd1ae2 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_HArray1OfHArray1OfInteger.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _StdLSchema_PDataStd_FieldOfHArray1OfHArray1OfInteger_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_HArray1OfHArray1OfReal.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_HArray1OfHArray1OfReal.cxx new file mode 100644 index 000000000..67393fd00 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_HArray1OfHArray1OfReal.cxx @@ -0,0 +1,89 @@ +#ifndef _StdLSchema_PDataStd_HArray1OfHArray1OfReal_HeaderFile +#include +#endif +#ifndef _PDataStd_HArray1OfHArray1OfReal_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdLSchema_PDataStd_HArray1OfHArray1OfReal,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdLSchema_PDataStd_HArray1OfHArray1OfReal,Storage_CallBack) + +Handle(Standard_Persistent) StdLSchema_PDataStd_HArray1OfHArray1OfReal::New() const +{ + return new PDataStd_HArray1OfHArray1OfReal(Storage_stCONSTclCOM()); +} + +void StdLSchema_PDataStd_HArray1OfHArray1OfReal::SAdd(const Handle(PDataStd_HArray1OfHArray1OfReal)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDataStd_HArray1OfHArray1OfReal")) { + StdLSchema_PDataStd_FieldOfHArray1OfHArray1OfReal::SAdd(p->_CSFDB_GetPDataStd_HArray1OfHArray1OfRealData(),theSchema); + + } + } +} + +void StdLSchema_PDataStd_HArray1OfHArray1OfReal::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_HArray1OfHArray1OfReal::SAdd((Handle(PDataStd_HArray1OfHArray1OfReal)&)p,theSchema); +} + +void StdLSchema_PDataStd_HArray1OfHArray1OfReal::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_HArray1OfHArray1OfReal) &pp = (Handle(PDataStd_HArray1OfHArray1OfReal)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutInteger(pp->_CSFDB_GetPDataStd_HArray1OfHArray1OfRealLowerBound()); + f.PutInteger(pp->_CSFDB_GetPDataStd_HArray1OfHArray1OfRealUpperBound()); + StdLSchema_PDataStd_FieldOfHArray1OfHArray1OfReal::SWrite(pp->_CSFDB_GetPDataStd_HArray1OfHArray1OfRealData(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void StdLSchema_PDataStd_HArray1OfHArray1OfReal::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_HArray1OfHArray1OfReal::SWrite(p,f,theSchema); +} + + +void StdLSchema_PDataStd_HArray1OfHArray1OfReal::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_HArray1OfHArray1OfReal) &pp = (Handle(PDataStd_HArray1OfHArray1OfReal)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Integer PDataStd_HArray1OfHArray1OfRealLowerBound; + f.GetInteger(PDataStd_HArray1OfHArray1OfRealLowerBound); + pp->_CSFDB_SetPDataStd_HArray1OfHArray1OfRealLowerBound(PDataStd_HArray1OfHArray1OfRealLowerBound); + + Standard_Integer PDataStd_HArray1OfHArray1OfRealUpperBound; + f.GetInteger(PDataStd_HArray1OfHArray1OfRealUpperBound); + pp->_CSFDB_SetPDataStd_HArray1OfHArray1OfRealUpperBound(PDataStd_HArray1OfHArray1OfRealUpperBound); + + StdLSchema_PDataStd_FieldOfHArray1OfHArray1OfReal::SRead((PDataStd_FieldOfHArray1OfHArray1OfReal&)pp->_CSFDB_GetPDataStd_HArray1OfHArray1OfRealData(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void StdLSchema_PDataStd_HArray1OfHArray1OfReal::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdLSchema_PDataStd_HArray1OfHArray1OfReal::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_HArray1OfHArray1OfReal.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_HArray1OfHArray1OfReal.hxx new file mode 100644 index 000000000..7984b8c53 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_HArray1OfHArray1OfReal.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PDataStd_HArray1OfHArray1OfReal_HeaderFile +#define _StdLSchema_PDataStd_HArray1OfHArray1OfReal_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDataStd_HArray1OfHArray1OfReal_HeaderFile +#include +#endif + +#ifndef _StdLSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdLSchema_PDataStd_HArray1OfHArray1OfReal,Storage_CallBack) + +class StdLSchema_PDataStd_HArray1OfHArray1OfReal : public Storage_CallBack { +public: + StdLSchema_PDataStd_HArray1OfHArray1OfReal() {} + Standard_EXPORT static void SAdd(const Handle(PDataStd_HArray1OfHArray1OfReal)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdLSchema_PDataStd_HArray1OfHArray1OfReal) +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_HArray1OfHArray1OfReal.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_HArray1OfHArray1OfReal.ixx new file mode 100644 index 000000000..08b45dc41 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_HArray1OfHArray1OfReal.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _StdLSchema_PDataStd_FieldOfHArray1OfHArray1OfReal_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_HArray1OfHAsciiString.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_HArray1OfHAsciiString.cxx new file mode 100644 index 000000000..135a0468a --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_HArray1OfHAsciiString.cxx @@ -0,0 +1,89 @@ +#ifndef _StdLSchema_PDataStd_HArray1OfHAsciiString_HeaderFile +#include +#endif +#ifndef _PDataStd_HArray1OfHAsciiString_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdLSchema_PDataStd_HArray1OfHAsciiString,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdLSchema_PDataStd_HArray1OfHAsciiString,Storage_CallBack) + +Handle(Standard_Persistent) StdLSchema_PDataStd_HArray1OfHAsciiString::New() const +{ + return new PDataStd_HArray1OfHAsciiString(Storage_stCONSTclCOM()); +} + +void StdLSchema_PDataStd_HArray1OfHAsciiString::SAdd(const Handle(PDataStd_HArray1OfHAsciiString)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDataStd_HArray1OfHAsciiString")) { + StdLSchema_PDataStd_FieldOfHArray1OfHAsciiString::SAdd(p->_CSFDB_GetPDataStd_HArray1OfHAsciiStringData(),theSchema); + + } + } +} + +void StdLSchema_PDataStd_HArray1OfHAsciiString::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_HArray1OfHAsciiString::SAdd((Handle(PDataStd_HArray1OfHAsciiString)&)p,theSchema); +} + +void StdLSchema_PDataStd_HArray1OfHAsciiString::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_HArray1OfHAsciiString) &pp = (Handle(PDataStd_HArray1OfHAsciiString)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutInteger(pp->_CSFDB_GetPDataStd_HArray1OfHAsciiStringLowerBound()); + f.PutInteger(pp->_CSFDB_GetPDataStd_HArray1OfHAsciiStringUpperBound()); + StdLSchema_PDataStd_FieldOfHArray1OfHAsciiString::SWrite(pp->_CSFDB_GetPDataStd_HArray1OfHAsciiStringData(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void StdLSchema_PDataStd_HArray1OfHAsciiString::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_HArray1OfHAsciiString::SWrite(p,f,theSchema); +} + + +void StdLSchema_PDataStd_HArray1OfHAsciiString::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_HArray1OfHAsciiString) &pp = (Handle(PDataStd_HArray1OfHAsciiString)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Integer PDataStd_HArray1OfHAsciiStringLowerBound; + f.GetInteger(PDataStd_HArray1OfHAsciiStringLowerBound); + pp->_CSFDB_SetPDataStd_HArray1OfHAsciiStringLowerBound(PDataStd_HArray1OfHAsciiStringLowerBound); + + Standard_Integer PDataStd_HArray1OfHAsciiStringUpperBound; + f.GetInteger(PDataStd_HArray1OfHAsciiStringUpperBound); + pp->_CSFDB_SetPDataStd_HArray1OfHAsciiStringUpperBound(PDataStd_HArray1OfHAsciiStringUpperBound); + + StdLSchema_PDataStd_FieldOfHArray1OfHAsciiString::SRead((PDataStd_FieldOfHArray1OfHAsciiString&)pp->_CSFDB_GetPDataStd_HArray1OfHAsciiStringData(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void StdLSchema_PDataStd_HArray1OfHAsciiString::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdLSchema_PDataStd_HArray1OfHAsciiString::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_HArray1OfHAsciiString.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_HArray1OfHAsciiString.hxx new file mode 100644 index 000000000..9e0521054 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_HArray1OfHAsciiString.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PDataStd_HArray1OfHAsciiString_HeaderFile +#define _StdLSchema_PDataStd_HArray1OfHAsciiString_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDataStd_HArray1OfHAsciiString_HeaderFile +#include +#endif + +#ifndef _StdLSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdLSchema_PDataStd_HArray1OfHAsciiString,Storage_CallBack) + +class StdLSchema_PDataStd_HArray1OfHAsciiString : public Storage_CallBack { +public: + StdLSchema_PDataStd_HArray1OfHAsciiString() {} + Standard_EXPORT static void SAdd(const Handle(PDataStd_HArray1OfHAsciiString)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdLSchema_PDataStd_HArray1OfHAsciiString) +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_HArray1OfHAsciiString.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_HArray1OfHAsciiString.ixx new file mode 100644 index 000000000..c7d768cd5 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_HArray1OfHAsciiString.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _StdLSchema_PDataStd_FieldOfHArray1OfHAsciiString_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntPackedMap.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntPackedMap.cxx new file mode 100644 index 000000000..aae4b446d --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntPackedMap.cxx @@ -0,0 +1,82 @@ +#ifndef _StdLSchema_PDataStd_IntPackedMap_HeaderFile +#include +#endif +#ifndef _PDataStd_IntPackedMap_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdLSchema_PDataStd_IntPackedMap,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdLSchema_PDataStd_IntPackedMap,Storage_CallBack) + +Handle(Standard_Persistent) StdLSchema_PDataStd_IntPackedMap::New() const +{ + return new PDataStd_IntPackedMap(Storage_stCONSTclCOM()); +} + +void StdLSchema_PDataStd_IntPackedMap::SAdd(const Handle(PDataStd_IntPackedMap)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDataStd_IntPackedMap")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPDataStd_IntPackedMapmyIntValues()); + + } + } +} + +void StdLSchema_PDataStd_IntPackedMap::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_IntPackedMap::SAdd((Handle(PDataStd_IntPackedMap)&)p,theSchema); +} + +void StdLSchema_PDataStd_IntPackedMap::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_IntPackedMap) &pp = (Handle(PDataStd_IntPackedMap)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDataStd_IntPackedMapmyIntValues(),f); + + f.EndWritePersistentObjectData(); + } +} + +void StdLSchema_PDataStd_IntPackedMap::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_IntPackedMap::SWrite(p,f,theSchema); +} + + +void StdLSchema_PDataStd_IntPackedMap::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_IntPackedMap) &pp = (Handle(PDataStd_IntPackedMap)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PColStd_HArray1OfInteger) PDataStd_IntPackedMapmyIntValues; + + theSchema->ReadPersistentReference(PDataStd_IntPackedMapmyIntValues,f); + pp->_CSFDB_SetPDataStd_IntPackedMapmyIntValues(PDataStd_IntPackedMapmyIntValues); + + f.EndReadPersistentObjectData(); + } +} + +void StdLSchema_PDataStd_IntPackedMap::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdLSchema_PDataStd_IntPackedMap::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntPackedMap.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntPackedMap.hxx new file mode 100644 index 000000000..b51070735 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntPackedMap.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PDataStd_IntPackedMap_HeaderFile +#define _StdLSchema_PDataStd_IntPackedMap_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDataStd_IntPackedMap_HeaderFile +#include +#endif + +#ifndef _StdLSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdLSchema_PDataStd_IntPackedMap,Storage_CallBack) + +class StdLSchema_PDataStd_IntPackedMap : public Storage_CallBack { +public: + StdLSchema_PDataStd_IntPackedMap() {} + Standard_EXPORT static void SAdd(const Handle(PDataStd_IntPackedMap)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdLSchema_PDataStd_IntPackedMap) +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntPackedMap.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntPackedMap.ixx new file mode 100644 index 000000000..ced416afa --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntPackedMap.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _StdLSchema_PColStd_HArray1OfInteger_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntPackedMap_1.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntPackedMap_1.cxx new file mode 100644 index 000000000..d8a3cdbca --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntPackedMap_1.cxx @@ -0,0 +1,87 @@ +#ifndef _StdLSchema_PDataStd_IntPackedMap_1_HeaderFile +#include +#endif +#ifndef _PDataStd_IntPackedMap_1_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdLSchema_PDataStd_IntPackedMap_1,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdLSchema_PDataStd_IntPackedMap_1,Storage_CallBack) + +Handle(Standard_Persistent) StdLSchema_PDataStd_IntPackedMap_1::New() const +{ + return new PDataStd_IntPackedMap_1(Storage_stCONSTclCOM()); +} + +void StdLSchema_PDataStd_IntPackedMap_1::SAdd(const Handle(PDataStd_IntPackedMap_1)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDataStd_IntPackedMap_1")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPDataStd_IntPackedMap_1myIntValues()); + + } + } +} + +void StdLSchema_PDataStd_IntPackedMap_1::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_IntPackedMap_1::SAdd((Handle(PDataStd_IntPackedMap_1)&)p,theSchema); +} + +void StdLSchema_PDataStd_IntPackedMap_1::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_IntPackedMap_1) &pp = (Handle(PDataStd_IntPackedMap_1)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDataStd_IntPackedMap_1myIntValues(),f); + f.PutBoolean(pp->_CSFDB_GetPDataStd_IntPackedMap_1myDelta()); + + f.EndWritePersistentObjectData(); + } +} + +void StdLSchema_PDataStd_IntPackedMap_1::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_IntPackedMap_1::SWrite(p,f,theSchema); +} + + +void StdLSchema_PDataStd_IntPackedMap_1::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_IntPackedMap_1) &pp = (Handle(PDataStd_IntPackedMap_1)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PColStd_HArray1OfInteger) PDataStd_IntPackedMap_1myIntValues; + + theSchema->ReadPersistentReference(PDataStd_IntPackedMap_1myIntValues,f); + pp->_CSFDB_SetPDataStd_IntPackedMap_1myIntValues(PDataStd_IntPackedMap_1myIntValues); + + Standard_Boolean PDataStd_IntPackedMap_1myDelta; + f.GetBoolean(PDataStd_IntPackedMap_1myDelta); + pp->_CSFDB_SetPDataStd_IntPackedMap_1myDelta(PDataStd_IntPackedMap_1myDelta); + + f.EndReadPersistentObjectData(); + } +} + +void StdLSchema_PDataStd_IntPackedMap_1::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdLSchema_PDataStd_IntPackedMap_1::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntPackedMap_1.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntPackedMap_1.hxx new file mode 100644 index 000000000..176c56c04 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntPackedMap_1.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PDataStd_IntPackedMap_1_HeaderFile +#define _StdLSchema_PDataStd_IntPackedMap_1_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDataStd_IntPackedMap_1_HeaderFile +#include +#endif + +#ifndef _StdLSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdLSchema_PDataStd_IntPackedMap_1,Storage_CallBack) + +class StdLSchema_PDataStd_IntPackedMap_1 : public Storage_CallBack { +public: + StdLSchema_PDataStd_IntPackedMap_1() {} + Standard_EXPORT static void SAdd(const Handle(PDataStd_IntPackedMap_1)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdLSchema_PDataStd_IntPackedMap_1) +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntPackedMap_1.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntPackedMap_1.ixx new file mode 100644 index 000000000..ced416afa --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntPackedMap_1.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _StdLSchema_PColStd_HArray1OfInteger_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Integer.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Integer.cxx new file mode 100644 index 000000000..16a13966f --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Integer.cxx @@ -0,0 +1,80 @@ +#ifndef _StdLSchema_PDataStd_Integer_HeaderFile +#include +#endif +#ifndef _PDataStd_Integer_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdLSchema_PDataStd_Integer,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdLSchema_PDataStd_Integer,Storage_CallBack) + +Handle(Standard_Persistent) StdLSchema_PDataStd_Integer::New() const +{ + return new PDataStd_Integer(Storage_stCONSTclCOM()); +} + +void StdLSchema_PDataStd_Integer::SAdd(const Handle(PDataStd_Integer)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDataStd_Integer")) { + + } + } +} + +void StdLSchema_PDataStd_Integer::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_Integer::SAdd((Handle(PDataStd_Integer)&)p,theSchema); +} + +void StdLSchema_PDataStd_Integer::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_Integer) &pp = (Handle(PDataStd_Integer)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutInteger(pp->_CSFDB_GetPDataStd_IntegermyValue()); + + f.EndWritePersistentObjectData(); + } +} + +void StdLSchema_PDataStd_Integer::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_Integer::SWrite(p,f,theSchema); +} + + +void StdLSchema_PDataStd_Integer::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_Integer) &pp = (Handle(PDataStd_Integer)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Integer PDataStd_IntegermyValue; + f.GetInteger(PDataStd_IntegermyValue); + pp->_CSFDB_SetPDataStd_IntegermyValue(PDataStd_IntegermyValue); + + f.EndReadPersistentObjectData(); + } +} + +void StdLSchema_PDataStd_Integer::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdLSchema_PDataStd_Integer::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Integer.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Integer.hxx new file mode 100644 index 000000000..d3bf6a5be --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Integer.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PDataStd_Integer_HeaderFile +#define _StdLSchema_PDataStd_Integer_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDataStd_Integer_HeaderFile +#include +#endif + +#ifndef _StdLSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdLSchema_PDataStd_Integer,Storage_CallBack) + +class StdLSchema_PDataStd_Integer : public Storage_CallBack { +public: + StdLSchema_PDataStd_Integer() {} + Standard_EXPORT static void SAdd(const Handle(PDataStd_Integer)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdLSchema_PDataStd_Integer) +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Integer.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Integer.ixx new file mode 100644 index 000000000..8039503ca --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Integer.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntegerArray.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntegerArray.cxx new file mode 100644 index 000000000..b8c760909 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntegerArray.cxx @@ -0,0 +1,82 @@ +#ifndef _StdLSchema_PDataStd_IntegerArray_HeaderFile +#include +#endif +#ifndef _PDataStd_IntegerArray_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdLSchema_PDataStd_IntegerArray,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdLSchema_PDataStd_IntegerArray,Storage_CallBack) + +Handle(Standard_Persistent) StdLSchema_PDataStd_IntegerArray::New() const +{ + return new PDataStd_IntegerArray(Storage_stCONSTclCOM()); +} + +void StdLSchema_PDataStd_IntegerArray::SAdd(const Handle(PDataStd_IntegerArray)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDataStd_IntegerArray")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPDataStd_IntegerArraymyValue()); + + } + } +} + +void StdLSchema_PDataStd_IntegerArray::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_IntegerArray::SAdd((Handle(PDataStd_IntegerArray)&)p,theSchema); +} + +void StdLSchema_PDataStd_IntegerArray::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_IntegerArray) &pp = (Handle(PDataStd_IntegerArray)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDataStd_IntegerArraymyValue(),f); + + f.EndWritePersistentObjectData(); + } +} + +void StdLSchema_PDataStd_IntegerArray::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_IntegerArray::SWrite(p,f,theSchema); +} + + +void StdLSchema_PDataStd_IntegerArray::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_IntegerArray) &pp = (Handle(PDataStd_IntegerArray)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PColStd_HArray1OfInteger) PDataStd_IntegerArraymyValue; + + theSchema->ReadPersistentReference(PDataStd_IntegerArraymyValue,f); + pp->_CSFDB_SetPDataStd_IntegerArraymyValue(PDataStd_IntegerArraymyValue); + + f.EndReadPersistentObjectData(); + } +} + +void StdLSchema_PDataStd_IntegerArray::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdLSchema_PDataStd_IntegerArray::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntegerArray.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntegerArray.hxx new file mode 100644 index 000000000..7861a533b --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntegerArray.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PDataStd_IntegerArray_HeaderFile +#define _StdLSchema_PDataStd_IntegerArray_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDataStd_IntegerArray_HeaderFile +#include +#endif + +#ifndef _StdLSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdLSchema_PDataStd_IntegerArray,Storage_CallBack) + +class StdLSchema_PDataStd_IntegerArray : public Storage_CallBack { +public: + StdLSchema_PDataStd_IntegerArray() {} + Standard_EXPORT static void SAdd(const Handle(PDataStd_IntegerArray)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdLSchema_PDataStd_IntegerArray) +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntegerArray.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntegerArray.ixx new file mode 100644 index 000000000..ced416afa --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntegerArray.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _StdLSchema_PColStd_HArray1OfInteger_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntegerArray_1.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntegerArray_1.cxx new file mode 100644 index 000000000..a1736c4c8 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntegerArray_1.cxx @@ -0,0 +1,87 @@ +#ifndef _StdLSchema_PDataStd_IntegerArray_1_HeaderFile +#include +#endif +#ifndef _PDataStd_IntegerArray_1_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdLSchema_PDataStd_IntegerArray_1,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdLSchema_PDataStd_IntegerArray_1,Storage_CallBack) + +Handle(Standard_Persistent) StdLSchema_PDataStd_IntegerArray_1::New() const +{ + return new PDataStd_IntegerArray_1(Storage_stCONSTclCOM()); +} + +void StdLSchema_PDataStd_IntegerArray_1::SAdd(const Handle(PDataStd_IntegerArray_1)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDataStd_IntegerArray_1")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPDataStd_IntegerArray_1myValue()); + + } + } +} + +void StdLSchema_PDataStd_IntegerArray_1::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_IntegerArray_1::SAdd((Handle(PDataStd_IntegerArray_1)&)p,theSchema); +} + +void StdLSchema_PDataStd_IntegerArray_1::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_IntegerArray_1) &pp = (Handle(PDataStd_IntegerArray_1)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDataStd_IntegerArray_1myValue(),f); + f.PutBoolean(pp->_CSFDB_GetPDataStd_IntegerArray_1myDelta()); + + f.EndWritePersistentObjectData(); + } +} + +void StdLSchema_PDataStd_IntegerArray_1::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_IntegerArray_1::SWrite(p,f,theSchema); +} + + +void StdLSchema_PDataStd_IntegerArray_1::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_IntegerArray_1) &pp = (Handle(PDataStd_IntegerArray_1)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PColStd_HArray1OfInteger) PDataStd_IntegerArray_1myValue; + + theSchema->ReadPersistentReference(PDataStd_IntegerArray_1myValue,f); + pp->_CSFDB_SetPDataStd_IntegerArray_1myValue(PDataStd_IntegerArray_1myValue); + + Standard_Boolean PDataStd_IntegerArray_1myDelta; + f.GetBoolean(PDataStd_IntegerArray_1myDelta); + pp->_CSFDB_SetPDataStd_IntegerArray_1myDelta(PDataStd_IntegerArray_1myDelta); + + f.EndReadPersistentObjectData(); + } +} + +void StdLSchema_PDataStd_IntegerArray_1::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdLSchema_PDataStd_IntegerArray_1::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntegerArray_1.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntegerArray_1.hxx new file mode 100644 index 000000000..1971855c7 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntegerArray_1.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PDataStd_IntegerArray_1_HeaderFile +#define _StdLSchema_PDataStd_IntegerArray_1_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDataStd_IntegerArray_1_HeaderFile +#include +#endif + +#ifndef _StdLSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdLSchema_PDataStd_IntegerArray_1,Storage_CallBack) + +class StdLSchema_PDataStd_IntegerArray_1 : public Storage_CallBack { +public: + StdLSchema_PDataStd_IntegerArray_1() {} + Standard_EXPORT static void SAdd(const Handle(PDataStd_IntegerArray_1)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdLSchema_PDataStd_IntegerArray_1) +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntegerArray_1.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntegerArray_1.ixx new file mode 100644 index 000000000..ced416afa --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntegerArray_1.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _StdLSchema_PColStd_HArray1OfInteger_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntegerList.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntegerList.cxx new file mode 100644 index 000000000..d66d6365d --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntegerList.cxx @@ -0,0 +1,82 @@ +#ifndef _StdLSchema_PDataStd_IntegerList_HeaderFile +#include +#endif +#ifndef _PDataStd_IntegerList_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdLSchema_PDataStd_IntegerList,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdLSchema_PDataStd_IntegerList,Storage_CallBack) + +Handle(Standard_Persistent) StdLSchema_PDataStd_IntegerList::New() const +{ + return new PDataStd_IntegerList(Storage_stCONSTclCOM()); +} + +void StdLSchema_PDataStd_IntegerList::SAdd(const Handle(PDataStd_IntegerList)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDataStd_IntegerList")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPDataStd_IntegerListmyValue()); + + } + } +} + +void StdLSchema_PDataStd_IntegerList::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_IntegerList::SAdd((Handle(PDataStd_IntegerList)&)p,theSchema); +} + +void StdLSchema_PDataStd_IntegerList::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_IntegerList) &pp = (Handle(PDataStd_IntegerList)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDataStd_IntegerListmyValue(),f); + + f.EndWritePersistentObjectData(); + } +} + +void StdLSchema_PDataStd_IntegerList::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_IntegerList::SWrite(p,f,theSchema); +} + + +void StdLSchema_PDataStd_IntegerList::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_IntegerList) &pp = (Handle(PDataStd_IntegerList)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PColStd_HArray1OfInteger) PDataStd_IntegerListmyValue; + + theSchema->ReadPersistentReference(PDataStd_IntegerListmyValue,f); + pp->_CSFDB_SetPDataStd_IntegerListmyValue(PDataStd_IntegerListmyValue); + + f.EndReadPersistentObjectData(); + } +} + +void StdLSchema_PDataStd_IntegerList::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdLSchema_PDataStd_IntegerList::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntegerList.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntegerList.hxx new file mode 100644 index 000000000..3afc38858 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntegerList.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PDataStd_IntegerList_HeaderFile +#define _StdLSchema_PDataStd_IntegerList_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDataStd_IntegerList_HeaderFile +#include +#endif + +#ifndef _StdLSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdLSchema_PDataStd_IntegerList,Storage_CallBack) + +class StdLSchema_PDataStd_IntegerList : public Storage_CallBack { +public: + StdLSchema_PDataStd_IntegerList() {} + Standard_EXPORT static void SAdd(const Handle(PDataStd_IntegerList)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdLSchema_PDataStd_IntegerList) +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntegerList.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntegerList.ixx new file mode 100644 index 000000000..ced416afa --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_IntegerList.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _StdLSchema_PColStd_HArray1OfInteger_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Name.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Name.cxx new file mode 100644 index 000000000..69aff378b --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Name.cxx @@ -0,0 +1,82 @@ +#ifndef _StdLSchema_PDataStd_Name_HeaderFile +#include +#endif +#ifndef _PDataStd_Name_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdLSchema_PDataStd_Name,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdLSchema_PDataStd_Name,Storage_CallBack) + +Handle(Standard_Persistent) StdLSchema_PDataStd_Name::New() const +{ + return new PDataStd_Name(Storage_stCONSTclCOM()); +} + +void StdLSchema_PDataStd_Name::SAdd(const Handle(PDataStd_Name)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDataStd_Name")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPDataStd_NamemyValue()); + + } + } +} + +void StdLSchema_PDataStd_Name::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_Name::SAdd((Handle(PDataStd_Name)&)p,theSchema); +} + +void StdLSchema_PDataStd_Name::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_Name) &pp = (Handle(PDataStd_Name)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDataStd_NamemyValue(),f); + + f.EndWritePersistentObjectData(); + } +} + +void StdLSchema_PDataStd_Name::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_Name::SWrite(p,f,theSchema); +} + + +void StdLSchema_PDataStd_Name::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_Name) &pp = (Handle(PDataStd_Name)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PCollection_HExtendedString) PDataStd_NamemyValue; + + theSchema->ReadPersistentReference(PDataStd_NamemyValue,f); + pp->_CSFDB_SetPDataStd_NamemyValue(PDataStd_NamemyValue); + + f.EndReadPersistentObjectData(); + } +} + +void StdLSchema_PDataStd_Name::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdLSchema_PDataStd_Name::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Name.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Name.hxx new file mode 100644 index 000000000..ed36b540a --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Name.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PDataStd_Name_HeaderFile +#define _StdLSchema_PDataStd_Name_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDataStd_Name_HeaderFile +#include +#endif + +#ifndef _StdLSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdLSchema_PDataStd_Name,Storage_CallBack) + +class StdLSchema_PDataStd_Name : public Storage_CallBack { +public: + StdLSchema_PDataStd_Name() {} + Standard_EXPORT static void SAdd(const Handle(PDataStd_Name)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdLSchema_PDataStd_Name) +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Name.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Name.ixx new file mode 100644 index 000000000..e6c47b2ee --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Name.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _StdLSchema_PCollection_HExtendedString_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_NamedData.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_NamedData.cxx new file mode 100644 index 000000000..127dbac2a --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_NamedData.cxx @@ -0,0 +1,166 @@ +#ifndef _StdLSchema_PDataStd_NamedData_HeaderFile +#include +#endif +#ifndef _PDataStd_NamedData_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdLSchema_PDataStd_NamedData,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdLSchema_PDataStd_NamedData,Storage_CallBack) + +Handle(Standard_Persistent) StdLSchema_PDataStd_NamedData::New() const +{ + return new PDataStd_NamedData(Storage_stCONSTclCOM()); +} + +void StdLSchema_PDataStd_NamedData::SAdd(const Handle(PDataStd_NamedData)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDataStd_NamedData")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPDataStd_NamedDatamyDimensions()); + theSchema->PersistentToAdd(p->_CSFDB_GetPDataStd_NamedDatamyIntKeys()); + theSchema->PersistentToAdd(p->_CSFDB_GetPDataStd_NamedDatamyIntValues()); + theSchema->PersistentToAdd(p->_CSFDB_GetPDataStd_NamedDatamyRealKeys()); + theSchema->PersistentToAdd(p->_CSFDB_GetPDataStd_NamedDatamyRealValues()); + theSchema->PersistentToAdd(p->_CSFDB_GetPDataStd_NamedDatamyStrKeys()); + theSchema->PersistentToAdd(p->_CSFDB_GetPDataStd_NamedDatamyStrValues()); + theSchema->PersistentToAdd(p->_CSFDB_GetPDataStd_NamedDatamyByteKeys()); + theSchema->PersistentToAdd(p->_CSFDB_GetPDataStd_NamedDatamyByteValues()); + theSchema->PersistentToAdd(p->_CSFDB_GetPDataStd_NamedDatamyArrIntKeys()); + theSchema->PersistentToAdd(p->_CSFDB_GetPDataStd_NamedDatamyArrIntValues()); + theSchema->PersistentToAdd(p->_CSFDB_GetPDataStd_NamedDatamyArrRealKeys()); + theSchema->PersistentToAdd(p->_CSFDB_GetPDataStd_NamedDatamyArrRealValues()); + + } + } +} + +void StdLSchema_PDataStd_NamedData::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_NamedData::SAdd((Handle(PDataStd_NamedData)&)p,theSchema); +} + +void StdLSchema_PDataStd_NamedData::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_NamedData) &pp = (Handle(PDataStd_NamedData)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDataStd_NamedDatamyDimensions(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDataStd_NamedDatamyIntKeys(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDataStd_NamedDatamyIntValues(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDataStd_NamedDatamyRealKeys(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDataStd_NamedDatamyRealValues(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDataStd_NamedDatamyStrKeys(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDataStd_NamedDatamyStrValues(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDataStd_NamedDatamyByteKeys(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDataStd_NamedDatamyByteValues(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDataStd_NamedDatamyArrIntKeys(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDataStd_NamedDatamyArrIntValues(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDataStd_NamedDatamyArrRealKeys(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDataStd_NamedDatamyArrRealValues(),f); + + f.EndWritePersistentObjectData(); + } +} + +void StdLSchema_PDataStd_NamedData::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_NamedData::SWrite(p,f,theSchema); +} + + +void StdLSchema_PDataStd_NamedData::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_NamedData) &pp = (Handle(PDataStd_NamedData)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PColStd_HArray2OfInteger) PDataStd_NamedDatamyDimensions; + + theSchema->ReadPersistentReference(PDataStd_NamedDatamyDimensions,f); + pp->_CSFDB_SetPDataStd_NamedDatamyDimensions(PDataStd_NamedDatamyDimensions); + + Handle(PColStd_HArray1OfExtendedString) PDataStd_NamedDatamyIntKeys; + + theSchema->ReadPersistentReference(PDataStd_NamedDatamyIntKeys,f); + pp->_CSFDB_SetPDataStd_NamedDatamyIntKeys(PDataStd_NamedDatamyIntKeys); + + Handle(PColStd_HArray1OfInteger) PDataStd_NamedDatamyIntValues; + + theSchema->ReadPersistentReference(PDataStd_NamedDatamyIntValues,f); + pp->_CSFDB_SetPDataStd_NamedDatamyIntValues(PDataStd_NamedDatamyIntValues); + + Handle(PColStd_HArray1OfExtendedString) PDataStd_NamedDatamyRealKeys; + + theSchema->ReadPersistentReference(PDataStd_NamedDatamyRealKeys,f); + pp->_CSFDB_SetPDataStd_NamedDatamyRealKeys(PDataStd_NamedDatamyRealKeys); + + Handle(PColStd_HArray1OfReal) PDataStd_NamedDatamyRealValues; + + theSchema->ReadPersistentReference(PDataStd_NamedDatamyRealValues,f); + pp->_CSFDB_SetPDataStd_NamedDatamyRealValues(PDataStd_NamedDatamyRealValues); + + Handle(PColStd_HArray1OfExtendedString) PDataStd_NamedDatamyStrKeys; + + theSchema->ReadPersistentReference(PDataStd_NamedDatamyStrKeys,f); + pp->_CSFDB_SetPDataStd_NamedDatamyStrKeys(PDataStd_NamedDatamyStrKeys); + + Handle(PColStd_HArray1OfExtendedString) PDataStd_NamedDatamyStrValues; + + theSchema->ReadPersistentReference(PDataStd_NamedDatamyStrValues,f); + pp->_CSFDB_SetPDataStd_NamedDatamyStrValues(PDataStd_NamedDatamyStrValues); + + Handle(PColStd_HArray1OfExtendedString) PDataStd_NamedDatamyByteKeys; + + theSchema->ReadPersistentReference(PDataStd_NamedDatamyByteKeys,f); + pp->_CSFDB_SetPDataStd_NamedDatamyByteKeys(PDataStd_NamedDatamyByteKeys); + + Handle(PDataStd_HArray1OfByte) PDataStd_NamedDatamyByteValues; + + theSchema->ReadPersistentReference(PDataStd_NamedDatamyByteValues,f); + pp->_CSFDB_SetPDataStd_NamedDatamyByteValues(PDataStd_NamedDatamyByteValues); + + Handle(PColStd_HArray1OfExtendedString) PDataStd_NamedDatamyArrIntKeys; + + theSchema->ReadPersistentReference(PDataStd_NamedDatamyArrIntKeys,f); + pp->_CSFDB_SetPDataStd_NamedDatamyArrIntKeys(PDataStd_NamedDatamyArrIntKeys); + + Handle(PDataStd_HArray1OfHArray1OfInteger) PDataStd_NamedDatamyArrIntValues; + + theSchema->ReadPersistentReference(PDataStd_NamedDatamyArrIntValues,f); + pp->_CSFDB_SetPDataStd_NamedDatamyArrIntValues(PDataStd_NamedDatamyArrIntValues); + + Handle(PColStd_HArray1OfExtendedString) PDataStd_NamedDatamyArrRealKeys; + + theSchema->ReadPersistentReference(PDataStd_NamedDatamyArrRealKeys,f); + pp->_CSFDB_SetPDataStd_NamedDatamyArrRealKeys(PDataStd_NamedDatamyArrRealKeys); + + Handle(PDataStd_HArray1OfHArray1OfReal) PDataStd_NamedDatamyArrRealValues; + + theSchema->ReadPersistentReference(PDataStd_NamedDatamyArrRealValues,f); + pp->_CSFDB_SetPDataStd_NamedDatamyArrRealValues(PDataStd_NamedDatamyArrRealValues); + + f.EndReadPersistentObjectData(); + } +} + +void StdLSchema_PDataStd_NamedData::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdLSchema_PDataStd_NamedData::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_NamedData.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_NamedData.hxx new file mode 100644 index 000000000..7903b485f --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_NamedData.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PDataStd_NamedData_HeaderFile +#define _StdLSchema_PDataStd_NamedData_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDataStd_NamedData_HeaderFile +#include +#endif + +#ifndef _StdLSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdLSchema_PDataStd_NamedData,Storage_CallBack) + +class StdLSchema_PDataStd_NamedData : public Storage_CallBack { +public: + StdLSchema_PDataStd_NamedData() {} + Standard_EXPORT static void SAdd(const Handle(PDataStd_NamedData)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdLSchema_PDataStd_NamedData) +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_NamedData.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_NamedData.ixx new file mode 100644 index 000000000..d76699a61 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_NamedData.ixx @@ -0,0 +1,41 @@ +#include +#ifndef _StdLSchema_PColStd_HArray2OfInteger_HeaderFile +#include +#endif +#ifndef _StdLSchema_PColStd_HArray1OfExtendedString_HeaderFile +#include +#endif +#ifndef _StdLSchema_PColStd_HArray1OfInteger_HeaderFile +#include +#endif +#ifndef _StdLSchema_PColStd_HArray1OfExtendedString_HeaderFile +#include +#endif +#ifndef _StdLSchema_PColStd_HArray1OfReal_HeaderFile +#include +#endif +#ifndef _StdLSchema_PColStd_HArray1OfExtendedString_HeaderFile +#include +#endif +#ifndef _StdLSchema_PColStd_HArray1OfExtendedString_HeaderFile +#include +#endif +#ifndef _StdLSchema_PColStd_HArray1OfExtendedString_HeaderFile +#include +#endif +#ifndef _StdLSchema_PDataStd_HArray1OfByte_HeaderFile +#include +#endif +#ifndef _StdLSchema_PColStd_HArray1OfExtendedString_HeaderFile +#include +#endif +#ifndef _StdLSchema_PDataStd_HArray1OfHArray1OfInteger_HeaderFile +#include +#endif +#ifndef _StdLSchema_PColStd_HArray1OfExtendedString_HeaderFile +#include +#endif +#ifndef _StdLSchema_PDataStd_HArray1OfHArray1OfReal_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_NoteBook.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_NoteBook.cxx new file mode 100644 index 000000000..75a37e53a --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_NoteBook.cxx @@ -0,0 +1,75 @@ +#ifndef _StdLSchema_PDataStd_NoteBook_HeaderFile +#include +#endif +#ifndef _PDataStd_NoteBook_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdLSchema_PDataStd_NoteBook,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdLSchema_PDataStd_NoteBook,Storage_CallBack) + +Handle(Standard_Persistent) StdLSchema_PDataStd_NoteBook::New() const +{ + return new PDataStd_NoteBook(Storage_stCONSTclCOM()); +} + +void StdLSchema_PDataStd_NoteBook::SAdd(const Handle(PDataStd_NoteBook)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDataStd_NoteBook")) { + + } + } +} + +void StdLSchema_PDataStd_NoteBook::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_NoteBook::SAdd((Handle(PDataStd_NoteBook)&)p,theSchema); +} + +void StdLSchema_PDataStd_NoteBook::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_NoteBook) &pp = (Handle(PDataStd_NoteBook)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + + f.EndWritePersistentObjectData(); + } +} + +void StdLSchema_PDataStd_NoteBook::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_NoteBook::SWrite(p,f,theSchema); +} + + +void StdLSchema_PDataStd_NoteBook::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_NoteBook) &pp = (Handle(PDataStd_NoteBook)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + f.EndReadPersistentObjectData(); + } +} + +void StdLSchema_PDataStd_NoteBook::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdLSchema_PDataStd_NoteBook::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_NoteBook.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_NoteBook.hxx new file mode 100644 index 000000000..9e32c8fe3 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_NoteBook.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PDataStd_NoteBook_HeaderFile +#define _StdLSchema_PDataStd_NoteBook_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDataStd_NoteBook_HeaderFile +#include +#endif + +#ifndef _StdLSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdLSchema_PDataStd_NoteBook,Storage_CallBack) + +class StdLSchema_PDataStd_NoteBook : public Storage_CallBack { +public: + StdLSchema_PDataStd_NoteBook() {} + Standard_EXPORT static void SAdd(const Handle(PDataStd_NoteBook)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdLSchema_PDataStd_NoteBook) +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_NoteBook.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_NoteBook.ixx new file mode 100644 index 000000000..8039503ca --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_NoteBook.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Real.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Real.cxx new file mode 100644 index 000000000..c313e6cfe --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Real.cxx @@ -0,0 +1,85 @@ +#ifndef _StdLSchema_PDataStd_Real_HeaderFile +#include +#endif +#ifndef _PDataStd_Real_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdLSchema_PDataStd_Real,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdLSchema_PDataStd_Real,Storage_CallBack) + +Handle(Standard_Persistent) StdLSchema_PDataStd_Real::New() const +{ + return new PDataStd_Real(Storage_stCONSTclCOM()); +} + +void StdLSchema_PDataStd_Real::SAdd(const Handle(PDataStd_Real)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDataStd_Real")) { + + } + } +} + +void StdLSchema_PDataStd_Real::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_Real::SAdd((Handle(PDataStd_Real)&)p,theSchema); +} + +void StdLSchema_PDataStd_Real::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_Real) &pp = (Handle(PDataStd_Real)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutReal(pp->_CSFDB_GetPDataStd_RealmyValue()); + f.PutInteger(pp->_CSFDB_GetPDataStd_RealmyDimension()); + + f.EndWritePersistentObjectData(); + } +} + +void StdLSchema_PDataStd_Real::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_Real::SWrite(p,f,theSchema); +} + + +void StdLSchema_PDataStd_Real::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_Real) &pp = (Handle(PDataStd_Real)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Real PDataStd_RealmyValue; + f.GetReal(PDataStd_RealmyValue); + pp->_CSFDB_SetPDataStd_RealmyValue(PDataStd_RealmyValue); + + Standard_Integer PDataStd_RealmyDimension; + f.GetInteger(PDataStd_RealmyDimension); + pp->_CSFDB_SetPDataStd_RealmyDimension(PDataStd_RealmyDimension); + + f.EndReadPersistentObjectData(); + } +} + +void StdLSchema_PDataStd_Real::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdLSchema_PDataStd_Real::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Real.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Real.hxx new file mode 100644 index 000000000..a539d77b6 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Real.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PDataStd_Real_HeaderFile +#define _StdLSchema_PDataStd_Real_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDataStd_Real_HeaderFile +#include +#endif + +#ifndef _StdLSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdLSchema_PDataStd_Real,Storage_CallBack) + +class StdLSchema_PDataStd_Real : public Storage_CallBack { +public: + StdLSchema_PDataStd_Real() {} + Standard_EXPORT static void SAdd(const Handle(PDataStd_Real)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdLSchema_PDataStd_Real) +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Real.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Real.ixx new file mode 100644 index 000000000..8039503ca --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Real.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_RealArray.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_RealArray.cxx new file mode 100644 index 000000000..416e7230f --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_RealArray.cxx @@ -0,0 +1,82 @@ +#ifndef _StdLSchema_PDataStd_RealArray_HeaderFile +#include +#endif +#ifndef _PDataStd_RealArray_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdLSchema_PDataStd_RealArray,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdLSchema_PDataStd_RealArray,Storage_CallBack) + +Handle(Standard_Persistent) StdLSchema_PDataStd_RealArray::New() const +{ + return new PDataStd_RealArray(Storage_stCONSTclCOM()); +} + +void StdLSchema_PDataStd_RealArray::SAdd(const Handle(PDataStd_RealArray)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDataStd_RealArray")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPDataStd_RealArraymyValue()); + + } + } +} + +void StdLSchema_PDataStd_RealArray::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_RealArray::SAdd((Handle(PDataStd_RealArray)&)p,theSchema); +} + +void StdLSchema_PDataStd_RealArray::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_RealArray) &pp = (Handle(PDataStd_RealArray)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDataStd_RealArraymyValue(),f); + + f.EndWritePersistentObjectData(); + } +} + +void StdLSchema_PDataStd_RealArray::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_RealArray::SWrite(p,f,theSchema); +} + + +void StdLSchema_PDataStd_RealArray::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_RealArray) &pp = (Handle(PDataStd_RealArray)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PColStd_HArray1OfReal) PDataStd_RealArraymyValue; + + theSchema->ReadPersistentReference(PDataStd_RealArraymyValue,f); + pp->_CSFDB_SetPDataStd_RealArraymyValue(PDataStd_RealArraymyValue); + + f.EndReadPersistentObjectData(); + } +} + +void StdLSchema_PDataStd_RealArray::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdLSchema_PDataStd_RealArray::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_RealArray.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_RealArray.hxx new file mode 100644 index 000000000..863726a65 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_RealArray.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PDataStd_RealArray_HeaderFile +#define _StdLSchema_PDataStd_RealArray_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDataStd_RealArray_HeaderFile +#include +#endif + +#ifndef _StdLSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdLSchema_PDataStd_RealArray,Storage_CallBack) + +class StdLSchema_PDataStd_RealArray : public Storage_CallBack { +public: + StdLSchema_PDataStd_RealArray() {} + Standard_EXPORT static void SAdd(const Handle(PDataStd_RealArray)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdLSchema_PDataStd_RealArray) +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_RealArray.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_RealArray.ixx new file mode 100644 index 000000000..08182f390 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_RealArray.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _StdLSchema_PColStd_HArray1OfReal_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_RealArray_1.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_RealArray_1.cxx new file mode 100644 index 000000000..7eb582aa2 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_RealArray_1.cxx @@ -0,0 +1,87 @@ +#ifndef _StdLSchema_PDataStd_RealArray_1_HeaderFile +#include +#endif +#ifndef _PDataStd_RealArray_1_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdLSchema_PDataStd_RealArray_1,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdLSchema_PDataStd_RealArray_1,Storage_CallBack) + +Handle(Standard_Persistent) StdLSchema_PDataStd_RealArray_1::New() const +{ + return new PDataStd_RealArray_1(Storage_stCONSTclCOM()); +} + +void StdLSchema_PDataStd_RealArray_1::SAdd(const Handle(PDataStd_RealArray_1)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDataStd_RealArray_1")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPDataStd_RealArray_1myValue()); + + } + } +} + +void StdLSchema_PDataStd_RealArray_1::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_RealArray_1::SAdd((Handle(PDataStd_RealArray_1)&)p,theSchema); +} + +void StdLSchema_PDataStd_RealArray_1::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_RealArray_1) &pp = (Handle(PDataStd_RealArray_1)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDataStd_RealArray_1myValue(),f); + f.PutBoolean(pp->_CSFDB_GetPDataStd_RealArray_1myDelta()); + + f.EndWritePersistentObjectData(); + } +} + +void StdLSchema_PDataStd_RealArray_1::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_RealArray_1::SWrite(p,f,theSchema); +} + + +void StdLSchema_PDataStd_RealArray_1::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_RealArray_1) &pp = (Handle(PDataStd_RealArray_1)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PColStd_HArray1OfReal) PDataStd_RealArray_1myValue; + + theSchema->ReadPersistentReference(PDataStd_RealArray_1myValue,f); + pp->_CSFDB_SetPDataStd_RealArray_1myValue(PDataStd_RealArray_1myValue); + + Standard_Boolean PDataStd_RealArray_1myDelta; + f.GetBoolean(PDataStd_RealArray_1myDelta); + pp->_CSFDB_SetPDataStd_RealArray_1myDelta(PDataStd_RealArray_1myDelta); + + f.EndReadPersistentObjectData(); + } +} + +void StdLSchema_PDataStd_RealArray_1::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdLSchema_PDataStd_RealArray_1::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_RealArray_1.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_RealArray_1.hxx new file mode 100644 index 000000000..43792a861 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_RealArray_1.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PDataStd_RealArray_1_HeaderFile +#define _StdLSchema_PDataStd_RealArray_1_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDataStd_RealArray_1_HeaderFile +#include +#endif + +#ifndef _StdLSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdLSchema_PDataStd_RealArray_1,Storage_CallBack) + +class StdLSchema_PDataStd_RealArray_1 : public Storage_CallBack { +public: + StdLSchema_PDataStd_RealArray_1() {} + Standard_EXPORT static void SAdd(const Handle(PDataStd_RealArray_1)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdLSchema_PDataStd_RealArray_1) +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_RealArray_1.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_RealArray_1.ixx new file mode 100644 index 000000000..08182f390 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_RealArray_1.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _StdLSchema_PColStd_HArray1OfReal_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_RealList.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_RealList.cxx new file mode 100644 index 000000000..b6b00ae57 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_RealList.cxx @@ -0,0 +1,82 @@ +#ifndef _StdLSchema_PDataStd_RealList_HeaderFile +#include +#endif +#ifndef _PDataStd_RealList_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdLSchema_PDataStd_RealList,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdLSchema_PDataStd_RealList,Storage_CallBack) + +Handle(Standard_Persistent) StdLSchema_PDataStd_RealList::New() const +{ + return new PDataStd_RealList(Storage_stCONSTclCOM()); +} + +void StdLSchema_PDataStd_RealList::SAdd(const Handle(PDataStd_RealList)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDataStd_RealList")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPDataStd_RealListmyValue()); + + } + } +} + +void StdLSchema_PDataStd_RealList::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_RealList::SAdd((Handle(PDataStd_RealList)&)p,theSchema); +} + +void StdLSchema_PDataStd_RealList::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_RealList) &pp = (Handle(PDataStd_RealList)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDataStd_RealListmyValue(),f); + + f.EndWritePersistentObjectData(); + } +} + +void StdLSchema_PDataStd_RealList::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_RealList::SWrite(p,f,theSchema); +} + + +void StdLSchema_PDataStd_RealList::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_RealList) &pp = (Handle(PDataStd_RealList)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PColStd_HArray1OfReal) PDataStd_RealListmyValue; + + theSchema->ReadPersistentReference(PDataStd_RealListmyValue,f); + pp->_CSFDB_SetPDataStd_RealListmyValue(PDataStd_RealListmyValue); + + f.EndReadPersistentObjectData(); + } +} + +void StdLSchema_PDataStd_RealList::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdLSchema_PDataStd_RealList::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_RealList.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_RealList.hxx new file mode 100644 index 000000000..03ffd4853 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_RealList.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PDataStd_RealList_HeaderFile +#define _StdLSchema_PDataStd_RealList_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDataStd_RealList_HeaderFile +#include +#endif + +#ifndef _StdLSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdLSchema_PDataStd_RealList,Storage_CallBack) + +class StdLSchema_PDataStd_RealList : public Storage_CallBack { +public: + StdLSchema_PDataStd_RealList() {} + Standard_EXPORT static void SAdd(const Handle(PDataStd_RealList)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdLSchema_PDataStd_RealList) +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_RealList.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_RealList.ixx new file mode 100644 index 000000000..08182f390 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_RealList.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _StdLSchema_PColStd_HArray1OfReal_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ReferenceArray.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ReferenceArray.cxx new file mode 100644 index 000000000..50fc748ab --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ReferenceArray.cxx @@ -0,0 +1,82 @@ +#ifndef _StdLSchema_PDataStd_ReferenceArray_HeaderFile +#include +#endif +#ifndef _PDataStd_ReferenceArray_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdLSchema_PDataStd_ReferenceArray,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdLSchema_PDataStd_ReferenceArray,Storage_CallBack) + +Handle(Standard_Persistent) StdLSchema_PDataStd_ReferenceArray::New() const +{ + return new PDataStd_ReferenceArray(Storage_stCONSTclCOM()); +} + +void StdLSchema_PDataStd_ReferenceArray::SAdd(const Handle(PDataStd_ReferenceArray)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDataStd_ReferenceArray")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPDataStd_ReferenceArraymyValue()); + + } + } +} + +void StdLSchema_PDataStd_ReferenceArray::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_ReferenceArray::SAdd((Handle(PDataStd_ReferenceArray)&)p,theSchema); +} + +void StdLSchema_PDataStd_ReferenceArray::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_ReferenceArray) &pp = (Handle(PDataStd_ReferenceArray)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDataStd_ReferenceArraymyValue(),f); + + f.EndWritePersistentObjectData(); + } +} + +void StdLSchema_PDataStd_ReferenceArray::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_ReferenceArray::SWrite(p,f,theSchema); +} + + +void StdLSchema_PDataStd_ReferenceArray::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_ReferenceArray) &pp = (Handle(PDataStd_ReferenceArray)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PColStd_HArray1OfExtendedString) PDataStd_ReferenceArraymyValue; + + theSchema->ReadPersistentReference(PDataStd_ReferenceArraymyValue,f); + pp->_CSFDB_SetPDataStd_ReferenceArraymyValue(PDataStd_ReferenceArraymyValue); + + f.EndReadPersistentObjectData(); + } +} + +void StdLSchema_PDataStd_ReferenceArray::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdLSchema_PDataStd_ReferenceArray::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ReferenceArray.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ReferenceArray.hxx new file mode 100644 index 000000000..b48390bd7 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ReferenceArray.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PDataStd_ReferenceArray_HeaderFile +#define _StdLSchema_PDataStd_ReferenceArray_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDataStd_ReferenceArray_HeaderFile +#include +#endif + +#ifndef _StdLSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdLSchema_PDataStd_ReferenceArray,Storage_CallBack) + +class StdLSchema_PDataStd_ReferenceArray : public Storage_CallBack { +public: + StdLSchema_PDataStd_ReferenceArray() {} + Standard_EXPORT static void SAdd(const Handle(PDataStd_ReferenceArray)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdLSchema_PDataStd_ReferenceArray) +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ReferenceArray.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ReferenceArray.ixx new file mode 100644 index 000000000..620a134f9 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ReferenceArray.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _StdLSchema_PColStd_HArray1OfExtendedString_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ReferenceList.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ReferenceList.cxx new file mode 100644 index 000000000..a22dffff8 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ReferenceList.cxx @@ -0,0 +1,82 @@ +#ifndef _StdLSchema_PDataStd_ReferenceList_HeaderFile +#include +#endif +#ifndef _PDataStd_ReferenceList_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdLSchema_PDataStd_ReferenceList,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdLSchema_PDataStd_ReferenceList,Storage_CallBack) + +Handle(Standard_Persistent) StdLSchema_PDataStd_ReferenceList::New() const +{ + return new PDataStd_ReferenceList(Storage_stCONSTclCOM()); +} + +void StdLSchema_PDataStd_ReferenceList::SAdd(const Handle(PDataStd_ReferenceList)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDataStd_ReferenceList")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPDataStd_ReferenceListmyValue()); + + } + } +} + +void StdLSchema_PDataStd_ReferenceList::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_ReferenceList::SAdd((Handle(PDataStd_ReferenceList)&)p,theSchema); +} + +void StdLSchema_PDataStd_ReferenceList::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_ReferenceList) &pp = (Handle(PDataStd_ReferenceList)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDataStd_ReferenceListmyValue(),f); + + f.EndWritePersistentObjectData(); + } +} + +void StdLSchema_PDataStd_ReferenceList::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_ReferenceList::SWrite(p,f,theSchema); +} + + +void StdLSchema_PDataStd_ReferenceList::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_ReferenceList) &pp = (Handle(PDataStd_ReferenceList)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PColStd_HArray1OfExtendedString) PDataStd_ReferenceListmyValue; + + theSchema->ReadPersistentReference(PDataStd_ReferenceListmyValue,f); + pp->_CSFDB_SetPDataStd_ReferenceListmyValue(PDataStd_ReferenceListmyValue); + + f.EndReadPersistentObjectData(); + } +} + +void StdLSchema_PDataStd_ReferenceList::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdLSchema_PDataStd_ReferenceList::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ReferenceList.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ReferenceList.hxx new file mode 100644 index 000000000..3c7bc276e --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ReferenceList.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PDataStd_ReferenceList_HeaderFile +#define _StdLSchema_PDataStd_ReferenceList_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDataStd_ReferenceList_HeaderFile +#include +#endif + +#ifndef _StdLSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdLSchema_PDataStd_ReferenceList,Storage_CallBack) + +class StdLSchema_PDataStd_ReferenceList : public Storage_CallBack { +public: + StdLSchema_PDataStd_ReferenceList() {} + Standard_EXPORT static void SAdd(const Handle(PDataStd_ReferenceList)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdLSchema_PDataStd_ReferenceList) +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ReferenceList.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ReferenceList.ixx new file mode 100644 index 000000000..620a134f9 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_ReferenceList.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _StdLSchema_PColStd_HArray1OfExtendedString_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Relation.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Relation.cxx new file mode 100644 index 000000000..322521d1d --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Relation.cxx @@ -0,0 +1,89 @@ +#ifndef _StdLSchema_PDataStd_Relation_HeaderFile +#include +#endif +#ifndef _PDataStd_Relation_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdLSchema_PDataStd_Relation,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdLSchema_PDataStd_Relation,Storage_CallBack) + +Handle(Standard_Persistent) StdLSchema_PDataStd_Relation::New() const +{ + return new PDataStd_Relation(Storage_stCONSTclCOM()); +} + +void StdLSchema_PDataStd_Relation::SAdd(const Handle(PDataStd_Relation)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDataStd_Relation")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPDataStd_RelationmyName()); + theSchema->PersistentToAdd(p->_CSFDB_GetPDataStd_RelationmyVariables()); + + } + } +} + +void StdLSchema_PDataStd_Relation::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_Relation::SAdd((Handle(PDataStd_Relation)&)p,theSchema); +} + +void StdLSchema_PDataStd_Relation::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_Relation) &pp = (Handle(PDataStd_Relation)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDataStd_RelationmyName(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDataStd_RelationmyVariables(),f); + + f.EndWritePersistentObjectData(); + } +} + +void StdLSchema_PDataStd_Relation::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_Relation::SWrite(p,f,theSchema); +} + + +void StdLSchema_PDataStd_Relation::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_Relation) &pp = (Handle(PDataStd_Relation)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PCollection_HExtendedString) PDataStd_RelationmyName; + + theSchema->ReadPersistentReference(PDataStd_RelationmyName,f); + pp->_CSFDB_SetPDataStd_RelationmyName(PDataStd_RelationmyName); + + Handle(PDF_HAttributeArray1) PDataStd_RelationmyVariables; + + theSchema->ReadPersistentReference(PDataStd_RelationmyVariables,f); + pp->_CSFDB_SetPDataStd_RelationmyVariables(PDataStd_RelationmyVariables); + + f.EndReadPersistentObjectData(); + } +} + +void StdLSchema_PDataStd_Relation::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdLSchema_PDataStd_Relation::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Relation.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Relation.hxx new file mode 100644 index 000000000..22167cf9b --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Relation.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PDataStd_Relation_HeaderFile +#define _StdLSchema_PDataStd_Relation_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDataStd_Relation_HeaderFile +#include +#endif + +#ifndef _StdLSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdLSchema_PDataStd_Relation,Storage_CallBack) + +class StdLSchema_PDataStd_Relation : public Storage_CallBack { +public: + StdLSchema_PDataStd_Relation() {} + Standard_EXPORT static void SAdd(const Handle(PDataStd_Relation)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdLSchema_PDataStd_Relation) +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Relation.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Relation.ixx new file mode 100644 index 000000000..1fc850795 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Relation.ixx @@ -0,0 +1,8 @@ +#include +#ifndef _StdLSchema_PCollection_HExtendedString_HeaderFile +#include +#endif +#ifndef _StdLSchema_PDF_HAttributeArray1_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Tick.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Tick.cxx new file mode 100644 index 000000000..3e68eb4cd --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Tick.cxx @@ -0,0 +1,75 @@ +#ifndef _StdLSchema_PDataStd_Tick_HeaderFile +#include +#endif +#ifndef _PDataStd_Tick_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdLSchema_PDataStd_Tick,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdLSchema_PDataStd_Tick,Storage_CallBack) + +Handle(Standard_Persistent) StdLSchema_PDataStd_Tick::New() const +{ + return new PDataStd_Tick(Storage_stCONSTclCOM()); +} + +void StdLSchema_PDataStd_Tick::SAdd(const Handle(PDataStd_Tick)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDataStd_Tick")) { + + } + } +} + +void StdLSchema_PDataStd_Tick::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_Tick::SAdd((Handle(PDataStd_Tick)&)p,theSchema); +} + +void StdLSchema_PDataStd_Tick::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_Tick) &pp = (Handle(PDataStd_Tick)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + + f.EndWritePersistentObjectData(); + } +} + +void StdLSchema_PDataStd_Tick::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_Tick::SWrite(p,f,theSchema); +} + + +void StdLSchema_PDataStd_Tick::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_Tick) &pp = (Handle(PDataStd_Tick)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + f.EndReadPersistentObjectData(); + } +} + +void StdLSchema_PDataStd_Tick::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdLSchema_PDataStd_Tick::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Tick.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Tick.hxx new file mode 100644 index 000000000..7898b903f --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Tick.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PDataStd_Tick_HeaderFile +#define _StdLSchema_PDataStd_Tick_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDataStd_Tick_HeaderFile +#include +#endif + +#ifndef _StdLSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdLSchema_PDataStd_Tick,Storage_CallBack) + +class StdLSchema_PDataStd_Tick : public Storage_CallBack { +public: + StdLSchema_PDataStd_Tick() {} + Standard_EXPORT static void SAdd(const Handle(PDataStd_Tick)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdLSchema_PDataStd_Tick) +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Tick.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Tick.ixx new file mode 100644 index 000000000..8039503ca --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Tick.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_TreeNode.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_TreeNode.cxx new file mode 100644 index 000000000..3f4d794e2 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_TreeNode.cxx @@ -0,0 +1,92 @@ +#ifndef _StdLSchema_PDataStd_TreeNode_HeaderFile +#include +#endif +#ifndef _PDataStd_TreeNode_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdLSchema_PDataStd_TreeNode,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdLSchema_PDataStd_TreeNode,Storage_CallBack) + +Handle(Standard_Persistent) StdLSchema_PDataStd_TreeNode::New() const +{ + return new PDataStd_TreeNode(Storage_stCONSTclCOM()); +} + +void StdLSchema_PDataStd_TreeNode::SAdd(const Handle(PDataStd_TreeNode)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDataStd_TreeNode")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPDataStd_TreeNodemyFirst()); + theSchema->PersistentToAdd(p->_CSFDB_GetPDataStd_TreeNodemyNext()); + + } + } +} + +void StdLSchema_PDataStd_TreeNode::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_TreeNode::SAdd((Handle(PDataStd_TreeNode)&)p,theSchema); +} + +void StdLSchema_PDataStd_TreeNode::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_TreeNode) &pp = (Handle(PDataStd_TreeNode)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDataStd_TreeNodemyFirst(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDataStd_TreeNodemyNext(),f); + StdLSchema_Standard_GUID::SWrite(pp->_CSFDB_GetPDataStd_TreeNodemyTreeID(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void StdLSchema_PDataStd_TreeNode::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_TreeNode::SWrite(p,f,theSchema); +} + + +void StdLSchema_PDataStd_TreeNode::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_TreeNode) &pp = (Handle(PDataStd_TreeNode)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PDataStd_TreeNode) PDataStd_TreeNodemyFirst; + + theSchema->ReadPersistentReference(PDataStd_TreeNodemyFirst,f); + pp->_CSFDB_SetPDataStd_TreeNodemyFirst(PDataStd_TreeNodemyFirst); + + Handle(PDataStd_TreeNode) PDataStd_TreeNodemyNext; + + theSchema->ReadPersistentReference(PDataStd_TreeNodemyNext,f); + pp->_CSFDB_SetPDataStd_TreeNodemyNext(PDataStd_TreeNodemyNext); + + StdLSchema_Standard_GUID::SRead((Standard_GUID&)pp->_CSFDB_GetPDataStd_TreeNodemyTreeID(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void StdLSchema_PDataStd_TreeNode::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdLSchema_PDataStd_TreeNode::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_TreeNode.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_TreeNode.hxx new file mode 100644 index 000000000..19e2cbf27 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_TreeNode.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PDataStd_TreeNode_HeaderFile +#define _StdLSchema_PDataStd_TreeNode_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDataStd_TreeNode_HeaderFile +#include +#endif + +#ifndef _StdLSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdLSchema_PDataStd_TreeNode,Storage_CallBack) + +class StdLSchema_PDataStd_TreeNode : public Storage_CallBack { +public: + StdLSchema_PDataStd_TreeNode() {} + Standard_EXPORT static void SAdd(const Handle(PDataStd_TreeNode)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdLSchema_PDataStd_TreeNode) +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_TreeNode.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_TreeNode.ixx new file mode 100644 index 000000000..580732237 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_TreeNode.ixx @@ -0,0 +1,11 @@ +#include +#ifndef _StdLSchema_PDataStd_TreeNode_HeaderFile +#include +#endif +#ifndef _StdLSchema_PDataStd_TreeNode_HeaderFile +#include +#endif +#ifndef _StdLSchema_Standard_GUID_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_UAttribute.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_UAttribute.cxx new file mode 100644 index 000000000..22573e095 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_UAttribute.cxx @@ -0,0 +1,82 @@ +#ifndef _StdLSchema_PDataStd_UAttribute_HeaderFile +#include +#endif +#ifndef _PDataStd_UAttribute_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdLSchema_PDataStd_UAttribute,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdLSchema_PDataStd_UAttribute,Storage_CallBack) + +Handle(Standard_Persistent) StdLSchema_PDataStd_UAttribute::New() const +{ + return new PDataStd_UAttribute(Storage_stCONSTclCOM()); +} + +void StdLSchema_PDataStd_UAttribute::SAdd(const Handle(PDataStd_UAttribute)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDataStd_UAttribute")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPDataStd_UAttributemyID()); + + } + } +} + +void StdLSchema_PDataStd_UAttribute::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_UAttribute::SAdd((Handle(PDataStd_UAttribute)&)p,theSchema); +} + +void StdLSchema_PDataStd_UAttribute::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_UAttribute) &pp = (Handle(PDataStd_UAttribute)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDataStd_UAttributemyID(),f); + + f.EndWritePersistentObjectData(); + } +} + +void StdLSchema_PDataStd_UAttribute::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_UAttribute::SWrite(p,f,theSchema); +} + + +void StdLSchema_PDataStd_UAttribute::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_UAttribute) &pp = (Handle(PDataStd_UAttribute)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PCollection_HExtendedString) PDataStd_UAttributemyID; + + theSchema->ReadPersistentReference(PDataStd_UAttributemyID,f); + pp->_CSFDB_SetPDataStd_UAttributemyID(PDataStd_UAttributemyID); + + f.EndReadPersistentObjectData(); + } +} + +void StdLSchema_PDataStd_UAttribute::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdLSchema_PDataStd_UAttribute::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_UAttribute.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_UAttribute.hxx new file mode 100644 index 000000000..c09958eb2 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_UAttribute.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PDataStd_UAttribute_HeaderFile +#define _StdLSchema_PDataStd_UAttribute_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDataStd_UAttribute_HeaderFile +#include +#endif + +#ifndef _StdLSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdLSchema_PDataStd_UAttribute,Storage_CallBack) + +class StdLSchema_PDataStd_UAttribute : public Storage_CallBack { +public: + StdLSchema_PDataStd_UAttribute() {} + Standard_EXPORT static void SAdd(const Handle(PDataStd_UAttribute)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdLSchema_PDataStd_UAttribute) +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_UAttribute.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_UAttribute.ixx new file mode 100644 index 000000000..e6c47b2ee --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_UAttribute.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _StdLSchema_PCollection_HExtendedString_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Variable.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Variable.cxx new file mode 100644 index 000000000..bf9de97c3 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Variable.cxx @@ -0,0 +1,87 @@ +#ifndef _StdLSchema_PDataStd_Variable_HeaderFile +#include +#endif +#ifndef _PDataStd_Variable_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdLSchema_PDataStd_Variable,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdLSchema_PDataStd_Variable,Storage_CallBack) + +Handle(Standard_Persistent) StdLSchema_PDataStd_Variable::New() const +{ + return new PDataStd_Variable(Storage_stCONSTclCOM()); +} + +void StdLSchema_PDataStd_Variable::SAdd(const Handle(PDataStd_Variable)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDataStd_Variable")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPDataStd_VariablemyUnit()); + + } + } +} + +void StdLSchema_PDataStd_Variable::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_Variable::SAdd((Handle(PDataStd_Variable)&)p,theSchema); +} + +void StdLSchema_PDataStd_Variable::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_Variable) &pp = (Handle(PDataStd_Variable)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutBoolean(pp->_CSFDB_GetPDataStd_VariableisConstant()); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDataStd_VariablemyUnit(),f); + + f.EndWritePersistentObjectData(); + } +} + +void StdLSchema_PDataStd_Variable::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDataStd_Variable::SWrite(p,f,theSchema); +} + + +void StdLSchema_PDataStd_Variable::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_Variable) &pp = (Handle(PDataStd_Variable)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Boolean PDataStd_VariableisConstant; + f.GetBoolean(PDataStd_VariableisConstant); + pp->_CSFDB_SetPDataStd_VariableisConstant(PDataStd_VariableisConstant); + + Handle(PCollection_HAsciiString) PDataStd_VariablemyUnit; + + theSchema->ReadPersistentReference(PDataStd_VariablemyUnit,f); + pp->_CSFDB_SetPDataStd_VariablemyUnit(PDataStd_VariablemyUnit); + + f.EndReadPersistentObjectData(); + } +} + +void StdLSchema_PDataStd_Variable::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdLSchema_PDataStd_Variable::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Variable.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Variable.hxx new file mode 100644 index 000000000..00ce0865d --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Variable.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PDataStd_Variable_HeaderFile +#define _StdLSchema_PDataStd_Variable_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDataStd_Variable_HeaderFile +#include +#endif + +#ifndef _StdLSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdLSchema_PDataStd_Variable,Storage_CallBack) + +class StdLSchema_PDataStd_Variable : public Storage_CallBack { +public: + StdLSchema_PDataStd_Variable() {} + Standard_EXPORT static void SAdd(const Handle(PDataStd_Variable)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdLSchema_PDataStd_Variable) +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Variable.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Variable.ixx new file mode 100644 index 000000000..6284a6b90 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDataStd_Variable.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _StdLSchema_PCollection_HAsciiString_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDocStd_Document.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDocStd_Document.cxx new file mode 100644 index 000000000..b593cbbda --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDocStd_Document.cxx @@ -0,0 +1,82 @@ +#ifndef _StdLSchema_PDocStd_Document_HeaderFile +#include +#endif +#ifndef _PDocStd_Document_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdLSchema_PDocStd_Document,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdLSchema_PDocStd_Document,Storage_CallBack) + +Handle(Standard_Persistent) StdLSchema_PDocStd_Document::New() const +{ + return new PDocStd_Document(Storage_stCONSTclCOM()); +} + +void StdLSchema_PDocStd_Document::SAdd(const Handle(PDocStd_Document)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDocStd_Document")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPDocStd_DocumentmyData()); + + } + } +} + +void StdLSchema_PDocStd_Document::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDocStd_Document::SAdd((Handle(PDocStd_Document)&)p,theSchema); +} + +void StdLSchema_PDocStd_Document::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDocStd_Document) &pp = (Handle(PDocStd_Document)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDocStd_DocumentmyData(),f); + + f.EndWritePersistentObjectData(); + } +} + +void StdLSchema_PDocStd_Document::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDocStd_Document::SWrite(p,f,theSchema); +} + + +void StdLSchema_PDocStd_Document::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDocStd_Document) &pp = (Handle(PDocStd_Document)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PDF_Data) PDocStd_DocumentmyData; + + theSchema->ReadPersistentReference(PDocStd_DocumentmyData,f); + pp->_CSFDB_SetPDocStd_DocumentmyData(PDocStd_DocumentmyData); + + f.EndReadPersistentObjectData(); + } +} + +void StdLSchema_PDocStd_Document::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdLSchema_PDocStd_Document::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDocStd_Document.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDocStd_Document.hxx new file mode 100644 index 000000000..26e3cbdd5 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDocStd_Document.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PDocStd_Document_HeaderFile +#define _StdLSchema_PDocStd_Document_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDocStd_Document_HeaderFile +#include +#endif + +#ifndef _StdLSchema_PCDM_Document_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdLSchema_PDocStd_Document,Storage_CallBack) + +class StdLSchema_PDocStd_Document : public Storage_CallBack { +public: + StdLSchema_PDocStd_Document() {} + Standard_EXPORT static void SAdd(const Handle(PDocStd_Document)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdLSchema_PDocStd_Document) +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDocStd_Document.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDocStd_Document.ixx new file mode 100644 index 000000000..f12b67ae5 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDocStd_Document.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _StdLSchema_PDF_Data_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDocStd_XLink.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDocStd_XLink.cxx new file mode 100644 index 000000000..3283039cd --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDocStd_XLink.cxx @@ -0,0 +1,89 @@ +#ifndef _StdLSchema_PDocStd_XLink_HeaderFile +#include +#endif +#ifndef _PDocStd_XLink_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdLSchema_PDocStd_XLink,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdLSchema_PDocStd_XLink,Storage_CallBack) + +Handle(Standard_Persistent) StdLSchema_PDocStd_XLink::New() const +{ + return new PDocStd_XLink(Storage_stCONSTclCOM()); +} + +void StdLSchema_PDocStd_XLink::SAdd(const Handle(PDocStd_XLink)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDocStd_XLink")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPDocStd_XLinkmyDocEntry()); + theSchema->PersistentToAdd(p->_CSFDB_GetPDocStd_XLinkmyLabEntry()); + + } + } +} + +void StdLSchema_PDocStd_XLink::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDocStd_XLink::SAdd((Handle(PDocStd_XLink)&)p,theSchema); +} + +void StdLSchema_PDocStd_XLink::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDocStd_XLink) &pp = (Handle(PDocStd_XLink)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDocStd_XLinkmyDocEntry(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDocStd_XLinkmyLabEntry(),f); + + f.EndWritePersistentObjectData(); + } +} + +void StdLSchema_PDocStd_XLink::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PDocStd_XLink::SWrite(p,f,theSchema); +} + + +void StdLSchema_PDocStd_XLink::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDocStd_XLink) &pp = (Handle(PDocStd_XLink)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PCollection_HAsciiString) PDocStd_XLinkmyDocEntry; + + theSchema->ReadPersistentReference(PDocStd_XLinkmyDocEntry,f); + pp->_CSFDB_SetPDocStd_XLinkmyDocEntry(PDocStd_XLinkmyDocEntry); + + Handle(PCollection_HAsciiString) PDocStd_XLinkmyLabEntry; + + theSchema->ReadPersistentReference(PDocStd_XLinkmyLabEntry,f); + pp->_CSFDB_SetPDocStd_XLinkmyLabEntry(PDocStd_XLinkmyLabEntry); + + f.EndReadPersistentObjectData(); + } +} + +void StdLSchema_PDocStd_XLink::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdLSchema_PDocStd_XLink::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDocStd_XLink.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDocStd_XLink.hxx new file mode 100644 index 000000000..16bd239b3 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDocStd_XLink.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PDocStd_XLink_HeaderFile +#define _StdLSchema_PDocStd_XLink_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDocStd_XLink_HeaderFile +#include +#endif + +#ifndef _StdLSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdLSchema_PDocStd_XLink,Storage_CallBack) + +class StdLSchema_PDocStd_XLink : public Storage_CallBack { +public: + StdLSchema_PDocStd_XLink() {} + Standard_EXPORT static void SAdd(const Handle(PDocStd_XLink)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdLSchema_PDocStd_XLink) +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PDocStd_XLink.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PDocStd_XLink.ixx new file mode 100644 index 000000000..066591c49 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PDocStd_XLink.ixx @@ -0,0 +1,8 @@ +#include +#ifndef _StdLSchema_PCollection_HAsciiString_HeaderFile +#include +#endif +#ifndef _StdLSchema_PCollection_HAsciiString_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PFunction_Function.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PFunction_Function.cxx new file mode 100644 index 000000000..4223a615a --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PFunction_Function.cxx @@ -0,0 +1,83 @@ +#ifndef _StdLSchema_PFunction_Function_HeaderFile +#include +#endif +#ifndef _PFunction_Function_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdLSchema_PFunction_Function,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdLSchema_PFunction_Function,Storage_CallBack) + +Handle(Standard_Persistent) StdLSchema_PFunction_Function::New() const +{ + return new PFunction_Function(Storage_stCONSTclCOM()); +} + +void StdLSchema_PFunction_Function::SAdd(const Handle(PFunction_Function)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PFunction_Function")) { + + } + } +} + +void StdLSchema_PFunction_Function::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PFunction_Function::SAdd((Handle(PFunction_Function)&)p,theSchema); +} + +void StdLSchema_PFunction_Function::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PFunction_Function) &pp = (Handle(PFunction_Function)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + StdLSchema_Standard_GUID::SWrite(pp->_CSFDB_GetPFunction_FunctionmyDriverGUID(),f,theSchema); + f.PutInteger(pp->_CSFDB_GetPFunction_FunctionmyFailure()); + + f.EndWritePersistentObjectData(); + } +} + +void StdLSchema_PFunction_Function::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_PFunction_Function::SWrite(p,f,theSchema); +} + + +void StdLSchema_PFunction_Function::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PFunction_Function) &pp = (Handle(PFunction_Function)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + StdLSchema_Standard_GUID::SRead((Standard_GUID&)pp->_CSFDB_GetPFunction_FunctionmyDriverGUID(),f,theSchema); + + Standard_Integer PFunction_FunctionmyFailure; + f.GetInteger(PFunction_FunctionmyFailure); + pp->_CSFDB_SetPFunction_FunctionmyFailure(PFunction_FunctionmyFailure); + + f.EndReadPersistentObjectData(); + } +} + +void StdLSchema_PFunction_Function::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdLSchema_PFunction_Function::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PFunction_Function.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_PFunction_Function.hxx new file mode 100644 index 000000000..fd0fcef08 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PFunction_Function.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_PFunction_Function_HeaderFile +#define _StdLSchema_PFunction_Function_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PFunction_Function_HeaderFile +#include +#endif + +#ifndef _StdLSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdLSchema_PFunction_Function,Storage_CallBack) + +class StdLSchema_PFunction_Function : public Storage_CallBack { +public: + StdLSchema_PFunction_Function() {} + Standard_EXPORT static void SAdd(const Handle(PFunction_Function)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdLSchema_PFunction_Function) +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_PFunction_Function.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_PFunction_Function.ixx new file mode 100644 index 000000000..39467aa61 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_PFunction_Function.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _StdLSchema_Standard_GUID_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_Standard_GUID.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_Standard_GUID.cxx new file mode 100644 index 000000000..374c53daa --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_Standard_GUID.cxx @@ -0,0 +1,80 @@ +#ifndef _StdLSchema_Standard_GUID_HeaderFile +#include +#endif +#ifndef _Standard_GUID_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void StdLSchema_Standard_GUID::SWrite(const Standard_GUID& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); +// f.PutInteger(pp._CSFDB_GetStandard_GUIDmy32b()); +// f.PutExtCharacter(pp._CSFDB_GetStandard_GUIDmy16b1()); +// f.PutExtCharacter(pp._CSFDB_GetStandard_GUIDmy16b2()); +// f.PutExtCharacter(pp._CSFDB_GetStandard_GUIDmy16b3()); +// f.PutCharacter(pp._CSFDB_GetStandard_GUIDmy8b1()); +// f.PutCharacter(pp._CSFDB_GetStandard_GUIDmy8b2()); +// f.PutCharacter(pp._CSFDB_GetStandard_GUIDmy8b3()); +// f.PutCharacter(pp._CSFDB_GetStandard_GUIDmy8b4()); +// f.PutCharacter(pp._CSFDB_GetStandard_GUIDmy8b5()); +// f.PutCharacter(pp._CSFDB_GetStandard_GUIDmy8b6()); + + f.EndWriteObjectData(); +} + +void StdLSchema_Standard_GUID::SRead(Standard_GUID& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + Standard_Integer Standard_GUIDmy32b; + f.GetInteger(Standard_GUIDmy32b); + + Standard_ExtCharacter Standard_GUIDmy16b1; + f.GetExtCharacter(Standard_GUIDmy16b1); + + Standard_ExtCharacter Standard_GUIDmy16b2; + f.GetExtCharacter(Standard_GUIDmy16b2); + + Standard_ExtCharacter Standard_GUIDmy16b3; + f.GetExtCharacter(Standard_GUIDmy16b3); + + Standard_Character Standard_GUIDmy8b1; + f.GetCharacter(Standard_GUIDmy8b1); + + Standard_Character Standard_GUIDmy8b2; + f.GetCharacter(Standard_GUIDmy8b2); + + Standard_Character Standard_GUIDmy8b3; + f.GetCharacter(Standard_GUIDmy8b3); + + Standard_Character Standard_GUIDmy8b4; + f.GetCharacter(Standard_GUIDmy8b4); + + Standard_Character Standard_GUIDmy8b5; + f.GetCharacter(Standard_GUIDmy8b5); + + Standard_Character Standard_GUIDmy8b6; + f.GetCharacter(Standard_GUIDmy8b6); + + pp = Standard_GUID(Standard_GUIDmy32b, + Standard_GUIDmy16b1, + Standard_GUIDmy16b2, + Standard_GUIDmy16b3, + Standard_GUIDmy8b1, + Standard_GUIDmy8b2, + Standard_GUIDmy8b3, + Standard_GUIDmy8b4, + Standard_GUIDmy8b5, + Standard_GUIDmy8b6); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_Standard_GUID.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_Standard_GUID.hxx new file mode 100644 index 000000000..a83aa2da0 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_Standard_GUID.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_Standard_GUID_HeaderFile +#define _StdLSchema_Standard_GUID_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class Standard_GUID; + +class StdLSchema_Standard_GUID { +public: + Standard_EXPORT static void SAdd(const Standard_GUID&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const Standard_GUID&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(Standard_GUID&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_Standard_GUID.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_Standard_GUID.ixx new file mode 100644 index 000000000..e69de29bb diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_Standard_Persistent.cxx b/src/FromOCCT/TKStdLSchema/StdLSchema_Standard_Persistent.cxx new file mode 100644 index 000000000..a85d79440 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_Standard_Persistent.cxx @@ -0,0 +1,76 @@ +#ifndef _StdLSchema_Standard_Persistent_HeaderFile +#include +#endif +#ifndef _Standard_Persistent_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdLSchema_Standard_Persistent,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdLSchema_Standard_Persistent,Storage_CallBack) + +Handle(Standard_Persistent) StdLSchema_Standard_Persistent::New() const +{ + Handle(Standard_Persistent) NullObject; + return NullObject; +} + +void StdLSchema_Standard_Persistent::SAdd(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"Standard_Persistent")) { + + } + } +} + +void StdLSchema_Standard_Persistent::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_Standard_Persistent::SAdd((Handle(Standard_Persistent)&)p,theSchema); +} + +void StdLSchema_Standard_Persistent::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(Standard_Persistent) &pp = (Handle(Standard_Persistent)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + + f.EndWritePersistentObjectData(); + } +} + +void StdLSchema_Standard_Persistent::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdLSchema_Standard_Persistent::SWrite(p,f,theSchema); +} + + +void StdLSchema_Standard_Persistent::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(Standard_Persistent) &pp = (Handle(Standard_Persistent)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + f.EndReadPersistentObjectData(); + } +} + +void StdLSchema_Standard_Persistent::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdLSchema_Standard_Persistent::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_Standard_Persistent.hxx b/src/FromOCCT/TKStdLSchema/StdLSchema_Standard_Persistent.hxx new file mode 100644 index 000000000..e4877e6d0 --- /dev/null +++ b/src/FromOCCT/TKStdLSchema/StdLSchema_Standard_Persistent.hxx @@ -0,0 +1,39 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdLSchema_Standard_Persistent_HeaderFile +#define _StdLSchema_Standard_Persistent_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdLSchema_Standard_Persistent,Storage_CallBack) + +class StdLSchema_Standard_Persistent : public Storage_CallBack { +public: + StdLSchema_Standard_Persistent() {} + Standard_EXPORT static void SAdd(const Handle(Standard_Persistent)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdLSchema_Standard_Persistent) +}; +#endif diff --git a/src/FromOCCT/TKStdLSchema/StdLSchema_Standard_Persistent.ixx b/src/FromOCCT/TKStdLSchema/StdLSchema_Standard_Persistent.ixx new file mode 100644 index 000000000..e69de29bb diff --git a/src/FromOCCT/TKStdSchema/CMakeLists.txt b/src/FromOCCT/TKStdSchema/CMakeLists.txt new file mode 100755 index 000000000..b260fd879 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/CMakeLists.txt @@ -0,0 +1,251 @@ +# Copyright (C) 2012-2015 CEA/DEN, EDF R&D, OPEN CASCADE +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# + +# --- options --- + +# additional include directories +INCLUDE_DIRECTORIES( + ${CAS_INCLUDE_DIRS} + ${PROJECT_SOURCE_DIR}/src/FromOCCT/TKPLCAF + ${PROJECT_SOURCE_DIR}/src/FromOCCT/TKShapeSchema + ${PROJECT_SOURCE_DIR}/src/FromOCCT/TKStdLSchema + ${PROJECT_SOURCE_DIR}/src/FromOCCT/TKPShape + ${PROJECT_SOURCE_DIR}/src/FromOCCT/TKPCAF + ${PROJECT_SOURCE_DIR}/src/FromOCCT/PTKernel + ${CMAKE_CURRENT_SOURCE_DIR} +) + +# additional preprocessor / compiler flags +ADD_DEFINITIONS( + ${CAS_DEFINITIONS} + ) + +# libraries to link to +SET(_link_LIBRARIES + ${CAS_TKCDF} ${CAS_TKernel} + ${CAS_TKCAF} ${CAS_TKLCAF} ${CAS_TKG3d} + ${CAS_TKMath} ${CAS_TKG2d} + TKPLCAF + TKShapeSchema + TKStdLSchema + TKPShape + TKPCAF + PTKernel + ) + +# --- headers --- + +SET(GEOM_HEADERS + Handle_StdDrivers_DocumentRetrievalDriver.hxx + Handle_StdDrivers_DocumentStorageDriver.hxx + StdDrivers_DocumentRetrievalDriver.hxx + StdDrivers_DocumentRetrievalDriver.ixx + StdDrivers_DocumentRetrievalDriver.jxx + StdDrivers_DocumentStorageDriver.hxx + StdDrivers_DocumentStorageDriver.ixx + StdDrivers_DocumentStorageDriver.jxx + StdDrivers.hxx + StdDrivers.ixx + StdDrivers.jxx + StdSchema_DBC_VArrayOfCharacter.hxx + StdSchema_DBC_VArrayOfCharacter.ixx + StdSchema_DBC_VArrayOfExtCharacter.hxx + StdSchema_DBC_VArrayOfExtCharacter.ixx + StdSchema_gp_Ax1.hxx + StdSchema_gp_Ax1.ixx + StdSchema_gp_Ax2d.hxx + StdSchema_gp_Ax2d.ixx + StdSchema_gp_Ax2.hxx + StdSchema_gp_Ax2.ixx + StdSchema_gp_Ax3.hxx + StdSchema_gp_Ax3.ixx + StdSchema_gp_Dir2d.hxx + StdSchema_gp_Dir2d.ixx + StdSchema_gp_Dir.hxx + StdSchema_gp_Dir.ixx + StdSchema_gp_Mat2d.hxx + StdSchema_gp_Mat2d.ixx + StdSchema_gp_Mat.hxx + StdSchema_gp_Mat.ixx + StdSchema_gp_Pnt2d.hxx + StdSchema_gp_Pnt2d.ixx + StdSchema_gp_Pnt.hxx + StdSchema_gp_Pnt.ixx + StdSchema_gp_Trsf2d.hxx + StdSchema_gp_Trsf2d.ixx + StdSchema_gp_Trsf.hxx + StdSchema_gp_Trsf.ixx + StdSchema_gp_Vec2d.hxx + StdSchema_gp_Vec2d.ixx + StdSchema_gp_Vec.hxx + StdSchema_gp_Vec.ixx + StdSchema_gp_XY.hxx + StdSchema_gp_XY.ixx + StdSchema_gp_XYZ.hxx + StdSchema_gp_XYZ.ixx + StdSchema.hxx + StdSchema_PCollection_HAsciiString.hxx + StdSchema_PCollection_HAsciiString.ixx + StdSchema_PCollection_HExtendedString.hxx + StdSchema_PCollection_HExtendedString.ixx + StdSchema_PColStd_FieldOfHArray1OfInteger.hxx + StdSchema_PColStd_FieldOfHArray1OfInteger.ixx + StdSchema_PColStd_HArray1OfInteger.hxx + StdSchema_PColStd_HArray1OfInteger.ixx + StdSchema_PDataStd_Integer.hxx + StdSchema_PDataStd_Integer.ixx + StdSchema_PDataStd_Real.hxx + StdSchema_PDataStd_Real.ixx + StdSchema_PDataXtd_Axis.hxx + StdSchema_PDataXtd_Axis.ixx + StdSchema_PDataXtd_Constraint.hxx + StdSchema_PDataXtd_Constraint.ixx + StdSchema_PDataXtd_Geometry.hxx + StdSchema_PDataXtd_Geometry.ixx + StdSchema_PDataXtd_PatternStd.hxx + StdSchema_PDataXtd_PatternStd.ixx + StdSchema_PDataXtd_Placement.hxx + StdSchema_PDataXtd_Placement.ixx + StdSchema_PDataXtd_Plane.hxx + StdSchema_PDataXtd_Plane.ixx + StdSchema_PDataXtd_Point.hxx + StdSchema_PDataXtd_Point.ixx + StdSchema_PDataXtd_Position.hxx + StdSchema_PDataXtd_Position.ixx + StdSchema_PDataXtd_Shape.hxx + StdSchema_PDataXtd_Shape.ixx + StdSchema_PDF_Attribute.hxx + StdSchema_PDF_Attribute.ixx + StdSchema_PDF_FieldOfHAttributeArray1.hxx + StdSchema_PDF_FieldOfHAttributeArray1.ixx + StdSchema_PDF_HAttributeArray1.hxx + StdSchema_PDF_HAttributeArray1.ixx + StdSchema_PNaming_FieldOfHArray1OfNamedShape.hxx + StdSchema_PNaming_FieldOfHArray1OfNamedShape.ixx + StdSchema_PNaming_HArray1OfNamedShape.hxx + StdSchema_PNaming_HArray1OfNamedShape.ixx + StdSchema_PNaming_Name_1.hxx + StdSchema_PNaming_Name_1.ixx + StdSchema_PNaming_Name_2.hxx + StdSchema_PNaming_Name_2.ixx + StdSchema_PNaming_NamedShape.hxx + StdSchema_PNaming_NamedShape.ixx + StdSchema_PNaming_Name.hxx + StdSchema_PNaming_Name.ixx + StdSchema_PNaming_Naming_1.hxx + StdSchema_PNaming_Naming_1.ixx + StdSchema_PNaming_Naming_2.hxx + StdSchema_PNaming_Naming_2.ixx + StdSchema_PNaming_Naming.hxx + StdSchema_PNaming_Naming.ixx + StdSchema_PPrsStd_AISPresentation_1.hxx + StdSchema_PPrsStd_AISPresentation_1.ixx + StdSchema_PPrsStd_AISPresentation.hxx + StdSchema_PPrsStd_AISPresentation.ixx + StdSchema_PTopLoc_Datum3D.hxx + StdSchema_PTopLoc_Datum3D.ixx + StdSchema_PTopLoc_ItemLocation.hxx + StdSchema_PTopLoc_ItemLocation.ixx + StdSchema_PTopLoc_Location.hxx + StdSchema_PTopLoc_Location.ixx + StdSchema_PTopoDS_FieldOfHArray1OfShape1.hxx + StdSchema_PTopoDS_FieldOfHArray1OfShape1.ixx + StdSchema_PTopoDS_HArray1OfShape1.hxx + StdSchema_PTopoDS_HArray1OfShape1.ixx + StdSchema_PTopoDS_Shape1.hxx + StdSchema_PTopoDS_Shape1.ixx + StdSchema_PTopoDS_TShape1.hxx + StdSchema_PTopoDS_TShape1.ixx + StdSchema_Standard_Persistent.hxx + StdSchema_Standard_Persistent.ixx + ) + +# --- sources --- + +SET(GEOM_SOURCES + StdDrivers.cxx + StdDrivers_DocumentRetrievalDriver.cxx + StdDrivers_DocumentStorageDriver.cxx + StdSchema.cxx + StdSchema_DBC_VArrayOfCharacter.cxx + StdSchema_DBC_VArrayOfExtCharacter.cxx + StdSchema_gp_Ax1.cxx + StdSchema_gp_Ax2.cxx + StdSchema_gp_Ax2d.cxx + StdSchema_gp_Ax3.cxx + StdSchema_gp_Dir2d.cxx + StdSchema_gp_Dir.cxx + StdSchema_gp_Mat2d.cxx + StdSchema_gp_Mat.cxx + StdSchema_gp_Pnt2d.cxx + StdSchema_gp_Pnt.cxx + StdSchema_gp_Trsf2d.cxx + StdSchema_gp_Trsf.cxx + StdSchema_gp_Vec2d.cxx + StdSchema_gp_Vec.cxx + StdSchema_gp_XY.cxx + StdSchema_gp_XYZ.cxx + StdSchema_PCollection_HAsciiString.cxx + StdSchema_PCollection_HExtendedString.cxx + StdSchema_PColStd_FieldOfHArray1OfInteger.cxx + StdSchema_PColStd_HArray1OfInteger.cxx + StdSchema_PDataStd_Integer.cxx + StdSchema_PDataStd_Real.cxx + StdSchema_PDataXtd_Axis.cxx + StdSchema_PDataXtd_Constraint.cxx + StdSchema_PDataXtd_Geometry.cxx + StdSchema_PDataXtd_PatternStd.cxx + StdSchema_PDataXtd_Placement.cxx + StdSchema_PDataXtd_Plane.cxx + StdSchema_PDataXtd_Point.cxx + StdSchema_PDataXtd_Position.cxx + StdSchema_PDataXtd_Shape.cxx + StdSchema_PDF_Attribute.cxx + StdSchema_PDF_FieldOfHAttributeArray1.cxx + StdSchema_PDF_HAttributeArray1.cxx + StdSchema_PNaming_FieldOfHArray1OfNamedShape.cxx + StdSchema_PNaming_HArray1OfNamedShape.cxx + StdSchema_PNaming_Name_1.cxx + StdSchema_PNaming_Name_2.cxx + StdSchema_PNaming_Name.cxx + StdSchema_PNaming_NamedShape.cxx + StdSchema_PNaming_Naming_1.cxx + StdSchema_PNaming_Naming_2.cxx + StdSchema_PNaming_Naming.cxx + StdSchema_PPrsStd_AISPresentation_1.cxx + StdSchema_PPrsStd_AISPresentation.cxx + StdSchema_PTopLoc_Datum3D.cxx + StdSchema_PTopLoc_ItemLocation.cxx + StdSchema_PTopLoc_Location.cxx + StdSchema_PTopoDS_FieldOfHArray1OfShape1.cxx + StdSchema_PTopoDS_HArray1OfShape1.cxx + StdSchema_PTopoDS_Shape1.cxx + StdSchema_PTopoDS_TShape1.cxx + StdSchema_Standard_Persistent.cxx + ) + +# --- rules --- + +ADD_LIBRARY(TKStdSchema ${GEOM_SOURCES}) +TARGET_LINK_LIBRARIES(TKStdSchema ${_link_LIBRARIES}) +INSTALL(TARGETS TKStdSchema EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) + +INSTALL(FILES ${GEOM_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) + +SET(CAS_STDPLUGIN TKStdSchema) diff --git a/src/FromOCCT/TKStdSchema/Handle_StdDrivers_DocumentRetrievalDriver.hxx b/src/FromOCCT/TKStdSchema/Handle_StdDrivers_DocumentRetrievalDriver.hxx new file mode 100644 index 000000000..77e0200a9 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/Handle_StdDrivers_DocumentRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_StdDrivers_DocumentRetrievalDriver_HeaderFile +#define _Handle_StdDrivers_DocumentRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDocStd_DocumentRetrievalDriver); +class StdDrivers_DocumentRetrievalDriver; + +DEFINE_STANDARD_HANDLE(StdDrivers_DocumentRetrievalDriver, MDocStd_DocumentRetrievalDriver) + +#endif // _Handle_StdDrivers_DocumentRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKStdSchema/Handle_StdDrivers_DocumentStorageDriver.hxx b/src/FromOCCT/TKStdSchema/Handle_StdDrivers_DocumentStorageDriver.hxx new file mode 100644 index 000000000..87fa3b268 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/Handle_StdDrivers_DocumentStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_StdDrivers_DocumentStorageDriver_HeaderFile +#define _Handle_StdDrivers_DocumentStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDocStd_DocumentStorageDriver); +class StdDrivers_DocumentStorageDriver; + +DEFINE_STANDARD_HANDLE(StdDrivers_DocumentStorageDriver, MDocStd_DocumentStorageDriver) + +#endif // _Handle_StdDrivers_DocumentStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKStdSchema/StdDrivers.cxx b/src/FromOCCT/TKStdSchema/StdDrivers.cxx new file mode 100644 index 000000000..6218b9176 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdDrivers.cxx @@ -0,0 +1,80 @@ +// 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 +#include +#include +#include +#include +#include +#include + +#include +#include +#include + +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/FromOCCT/TKStdSchema/StdDrivers.hxx b/src/FromOCCT/TKStdSchema/StdDrivers.hxx new file mode 100644 index 000000000..ee4a80edb --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdDrivers.hxx @@ -0,0 +1,57 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdDrivers_HeaderFile +#define _StdDrivers_HeaderFile + +#include +#include +#include + +#include +class Standard_Transient; +class Standard_GUID; +class StdDrivers_DocumentRetrievalDriver; +class StdDrivers_DocumentStorageDriver; + + + +class StdDrivers +{ +public: + + DEFINE_STANDARD_ALLOC + + + //! Depending from the ID, returns a list of storage + //! or retrieval attribute drivers. Used for plugin + Standard_EXPORT static Handle(Standard_Transient) Factory (const Standard_GUID& aGUID) ; + + + + +protected: + + + + + +private: + + + + +friend class StdDrivers_DocumentRetrievalDriver; +friend class StdDrivers_DocumentStorageDriver; + +}; + + + + + + + +#endif // _StdDrivers_HeaderFile diff --git a/src/FromOCCT/TKStdSchema/StdDrivers.ixx b/src/FromOCCT/TKStdSchema/StdDrivers.ixx new file mode 100644 index 000000000..380774e5d --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdDrivers.ixx @@ -0,0 +1,10 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + + + + diff --git a/src/FromOCCT/TKStdSchema/StdDrivers.jxx b/src/FromOCCT/TKStdSchema/StdDrivers.jxx new file mode 100644 index 000000000..7e5bfb6ce --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdDrivers.jxx @@ -0,0 +1,3 @@ +#include +#include +#include diff --git a/src/FromOCCT/TKStdSchema/StdDrivers_DocumentRetrievalDriver.cxx b/src/FromOCCT/TKStdSchema/StdDrivers_DocumentRetrievalDriver.cxx new file mode 100644 index 000000000..331e72504 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdDrivers_DocumentRetrievalDriver.cxx @@ -0,0 +1,56 @@ +// 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 +#include + +#include +#include +#include +#include +#include +#include +#include +#include +//======================================================================= +//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/FromOCCT/TKStdSchema/StdDrivers_DocumentRetrievalDriver.hxx b/src/FromOCCT/TKStdSchema/StdDrivers_DocumentRetrievalDriver.hxx new file mode 100644 index 000000000..c47fec687 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdDrivers_DocumentRetrievalDriver.hxx @@ -0,0 +1,54 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdDrivers_DocumentRetrievalDriver_HeaderFile +#define _StdDrivers_DocumentRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +class MDF_ARDriverTable; +class CDM_MessageDriver; + + +//! retrieval driver of a Part document +class StdDrivers_DocumentRetrievalDriver : public MDocStd_DocumentRetrievalDriver +{ + +public: + + + Standard_EXPORT StdDrivers_DocumentRetrievalDriver(); + + Standard_EXPORT virtual Handle(MDF_ARDriverTable) AttributeDrivers (const Handle(CDM_MessageDriver)& theMessageDriver) ; + + + + + DEFINE_STANDARD_RTTI(StdDrivers_DocumentRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _StdDrivers_DocumentRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKStdSchema/StdDrivers_DocumentRetrievalDriver.ixx b/src/FromOCCT/TKStdSchema/StdDrivers_DocumentRetrievalDriver.ixx new file mode 100644 index 000000000..a3e0a13de --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdDrivers_DocumentRetrievalDriver.ixx @@ -0,0 +1,29 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(StdDrivers_DocumentRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDocStd_DocumentRetrievalDriver), + STANDARD_TYPE(PCDM_RetrievalDriver), + STANDARD_TYPE(PCDM_Reader), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(StdDrivers_DocumentRetrievalDriver) + + +IMPLEMENT_DOWNCAST(StdDrivers_DocumentRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(StdDrivers_DocumentRetrievalDriver) + + + diff --git a/src/FromOCCT/TKStdSchema/StdDrivers_DocumentRetrievalDriver.jxx b/src/FromOCCT/TKStdSchema/StdDrivers_DocumentRetrievalDriver.jxx new file mode 100644 index 000000000..9b5abad83 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdDrivers_DocumentRetrievalDriver.jxx @@ -0,0 +1,3 @@ +#include +#include +#include diff --git a/src/FromOCCT/TKStdSchema/StdDrivers_DocumentStorageDriver.cxx b/src/FromOCCT/TKStdSchema/StdDrivers_DocumentStorageDriver.cxx new file mode 100644 index 000000000..6511faa1d --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdDrivers_DocumentStorageDriver.cxx @@ -0,0 +1,83 @@ +// 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 +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include + +#include +#include +#include +#include + + + +//======================================================================= +//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/FromOCCT/TKStdSchema/StdDrivers_DocumentStorageDriver.hxx b/src/FromOCCT/TKStdSchema/StdDrivers_DocumentStorageDriver.hxx new file mode 100644 index 000000000..5badd9980 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdDrivers_DocumentStorageDriver.hxx @@ -0,0 +1,59 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdDrivers_DocumentStorageDriver_HeaderFile +#define _StdDrivers_DocumentStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class CDM_Document; +class PCDM_SequenceOfDocument; +class MDF_ASDriverTable; +class CDM_MessageDriver; + + +//! storage driver of a Part document +class StdDrivers_DocumentStorageDriver : public MDocStd_DocumentStorageDriver +{ + +public: + + + Standard_EXPORT StdDrivers_DocumentStorageDriver(); + + Standard_EXPORT virtual void Make (const Handle(CDM_Document)& aDocument, PCDM_SequenceOfDocument& Documents) ; + + Standard_EXPORT virtual Handle(MDF_ASDriverTable) AttributeDrivers (const Handle(CDM_MessageDriver)& theMessageDriver) ; + + + + + DEFINE_STANDARD_RTTI(StdDrivers_DocumentStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _StdDrivers_DocumentStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKStdSchema/StdDrivers_DocumentStorageDriver.ixx b/src/FromOCCT/TKStdSchema/StdDrivers_DocumentStorageDriver.ixx new file mode 100644 index 000000000..d7d8fd182 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdDrivers_DocumentStorageDriver.ixx @@ -0,0 +1,29 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(StdDrivers_DocumentStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDocStd_DocumentStorageDriver), + STANDARD_TYPE(PCDM_StorageDriver), + STANDARD_TYPE(PCDM_Writer), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(StdDrivers_DocumentStorageDriver) + + +IMPLEMENT_DOWNCAST(StdDrivers_DocumentStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(StdDrivers_DocumentStorageDriver) + + + diff --git a/src/FromOCCT/TKStdSchema/StdDrivers_DocumentStorageDriver.jxx b/src/FromOCCT/TKStdSchema/StdDrivers_DocumentStorageDriver.jxx new file mode 100644 index 000000000..b97d4f6a9 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdDrivers_DocumentStorageDriver.jxx @@ -0,0 +1,5 @@ +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKStdSchema/StdSchema.cxx b/src/FromOCCT/TKStdSchema/StdSchema.cxx new file mode 100644 index 000000000..584dcdcd8 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema.cxx @@ -0,0 +1,204 @@ +#ifndef _StdSchema_HeaderFile +#include +#endif +#ifndef _Storage_StreamUnknownTypeError_HeaderFile +#include +#endif +#ifndef _TColStd_SequenceOfAsciiString_HeaderFile +#include +#endif +#ifndef _StdSchema_PDataXtd_Position_HeaderFile +#include +#endif +#ifndef _StdSchema_PDataXtd_Point_HeaderFile +#include +#endif +#ifndef _StdSchema_PDataXtd_Axis_HeaderFile +#include +#endif +#ifndef _StdSchema_PDataXtd_Plane_HeaderFile +#include +#endif +#ifndef _StdSchema_PDataXtd_Geometry_HeaderFile +#include +#endif +#ifndef _StdSchema_PDataXtd_Constraint_HeaderFile +#include +#endif +#ifndef _StdSchema_PDataXtd_Placement_HeaderFile +#include +#endif +#ifndef _StdSchema_PDataXtd_PatternStd_HeaderFile +#include +#endif +#ifndef _StdSchema_PDataXtd_Shape_HeaderFile +#include +#endif +#ifndef _StdSchema_PNaming_Name_HeaderFile +#include +#endif +#ifndef _StdSchema_PNaming_Name_1_HeaderFile +#include +#endif +#ifndef _StdSchema_PNaming_Name_2_HeaderFile +#include +#endif +#ifndef _StdSchema_PNaming_NamedShape_HeaderFile +#include +#endif +#ifndef _StdSchema_PNaming_Naming_HeaderFile +#include +#endif +#ifndef _StdSchema_PNaming_Naming_1_HeaderFile +#include +#endif +#ifndef _StdSchema_PNaming_Naming_2_HeaderFile +#include +#endif +#ifndef _StdSchema_PNaming_HArray1OfNamedShape_HeaderFile +#include +#endif +#ifndef _StdSchema_PPrsStd_AISPresentation_HeaderFile +#include +#endif +#ifndef _StdSchema_PPrsStd_AISPresentation_1_HeaderFile +#include +#endif +#ifndef _StdSchema_PDF_Attribute_HeaderFile +#include +#endif +#ifndef _StdSchema_Standard_Persistent_HeaderFile +#include +#endif +#ifndef _StdSchema_PDataStd_Real_HeaderFile +#include +#endif +#ifndef _StdSchema_PDF_HAttributeArray1_HeaderFile +#include +#endif +#ifndef _StdSchema_PDataStd_Integer_HeaderFile +#include +#endif +#ifndef _StdSchema_PCollection_HAsciiString_HeaderFile +#include +#endif +#ifndef _StdSchema_PTopoDS_HArray1OfShape1_HeaderFile +#include +#endif +#ifndef _StdSchema_PColStd_HArray1OfInteger_HeaderFile +#include +#endif +#ifndef _StdSchema_PCollection_HExtendedString_HeaderFile +#include +#endif +#ifndef _StdSchema_PTopoDS_TShape1_HeaderFile +#include +#endif +#ifndef _StdSchema_PTopLoc_Datum3D_HeaderFile +#include +#endif +#ifndef _StdSchema_PTopLoc_ItemLocation_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdSchema,Storage_Schema) +IMPLEMENT_STANDARD_RTTIEXT(StdSchema,Storage_Schema) + +Storage_BEGIN_ADD_TYPES(StdSchema) +Storage_ADD_TYPES(StdSchema,PDataXtd_Position,StdSchema_PDataXtd_Position) +Storage_ADD_TYPES(StdSchema,PDataXtd_Point,StdSchema_PDataXtd_Point) +Storage_ADD_TYPES(StdSchema,PDataXtd_Axis,StdSchema_PDataXtd_Axis) +Storage_ADD_TYPES(StdSchema,PDataXtd_Plane,StdSchema_PDataXtd_Plane) +Storage_ADD_TYPES(StdSchema,PDataXtd_Geometry,StdSchema_PDataXtd_Geometry) +Storage_ADD_TYPES(StdSchema,PDataXtd_Constraint,StdSchema_PDataXtd_Constraint) +Storage_ADD_TYPES(StdSchema,PDataXtd_Placement,StdSchema_PDataXtd_Placement) +Storage_ADD_TYPES(StdSchema,PDataXtd_PatternStd,StdSchema_PDataXtd_PatternStd) +Storage_ADD_TYPES(StdSchema,PDataXtd_Shape,StdSchema_PDataXtd_Shape) +Storage_ADD_TYPES(StdSchema,PNaming_Name,StdSchema_PNaming_Name) +Storage_ADD_TYPES(StdSchema,PNaming_Name_1,StdSchema_PNaming_Name_1) +Storage_ADD_TYPES(StdSchema,PNaming_Name_2,StdSchema_PNaming_Name_2) +Storage_ADD_TYPES(StdSchema,PNaming_NamedShape,StdSchema_PNaming_NamedShape) +Storage_ADD_TYPES(StdSchema,PNaming_Naming,StdSchema_PNaming_Naming) +Storage_ADD_TYPES(StdSchema,PNaming_Naming_1,StdSchema_PNaming_Naming_1) +Storage_ADD_TYPES(StdSchema,PNaming_Naming_2,StdSchema_PNaming_Naming_2) +Storage_ADD_TYPES(StdSchema,PNaming_HArray1OfNamedShape,StdSchema_PNaming_HArray1OfNamedShape) +Storage_ADD_TYPES(StdSchema,PPrsStd_AISPresentation,StdSchema_PPrsStd_AISPresentation) +Storage_ADD_TYPES(StdSchema,PPrsStd_AISPresentation_1,StdSchema_PPrsStd_AISPresentation_1) +Storage_ADD_TYPES(StdSchema,PDF_Attribute,StdSchema_PDF_Attribute) +Storage_ADD_TYPES(StdSchema,Standard_Persistent,StdSchema_Standard_Persistent) +Storage_ADD_TYPES(StdSchema,PDataStd_Real,StdSchema_PDataStd_Real) +Storage_ADD_TYPES(StdSchema,PDF_HAttributeArray1,StdSchema_PDF_HAttributeArray1) +Storage_ADD_TYPES(StdSchema,PDataStd_Integer,StdSchema_PDataStd_Integer) +Storage_ADD_TYPES(StdSchema,PCollection_HAsciiString,StdSchema_PCollection_HAsciiString) +Storage_ADD_TYPES(StdSchema,PTopoDS_HArray1OfShape1,StdSchema_PTopoDS_HArray1OfShape1) +Storage_ADD_TYPES(StdSchema,PColStd_HArray1OfInteger,StdSchema_PColStd_HArray1OfInteger) +Storage_ADD_TYPES(StdSchema,PCollection_HExtendedString,StdSchema_PCollection_HExtendedString) +Storage_ADD_TYPES(StdSchema,PTopoDS_TShape1,StdSchema_PTopoDS_TShape1) +Storage_ADD_TYPES(StdSchema,PTopLoc_Datum3D,StdSchema_PTopLoc_Datum3D) +Storage_ADD_TYPES(StdSchema,PTopLoc_ItemLocation,StdSchema_PTopLoc_ItemLocation) +Storage_END_ADD_TYPES(StdSchema) + +Storage_BEGIN_READ_SELECTION(StdSchema) +Storage_READ_SELECTION(StdSchema,PDataXtd_Position,StdSchema_PDataXtd_Position) +Storage_READ_SELECTION(StdSchema,PDataXtd_Point,StdSchema_PDataXtd_Point) +Storage_READ_SELECTION(StdSchema,PDataXtd_Axis,StdSchema_PDataXtd_Axis) +Storage_READ_SELECTION(StdSchema,PDataXtd_Plane,StdSchema_PDataXtd_Plane) +Storage_READ_SELECTION(StdSchema,PDataXtd_Geometry,StdSchema_PDataXtd_Geometry) +Storage_READ_SELECTION(StdSchema,PDataXtd_Constraint,StdSchema_PDataXtd_Constraint) +Storage_READ_SELECTION(StdSchema,PDataXtd_Placement,StdSchema_PDataXtd_Placement) +Storage_READ_SELECTION(StdSchema,PDataXtd_PatternStd,StdSchema_PDataXtd_PatternStd) +Storage_READ_SELECTION(StdSchema,PDataXtd_Shape,StdSchema_PDataXtd_Shape) +Storage_READ_SELECTION(StdSchema,PNaming_Name,StdSchema_PNaming_Name) +Storage_READ_SELECTION(StdSchema,PNaming_Name_1,StdSchema_PNaming_Name_1) +Storage_READ_SELECTION(StdSchema,PNaming_Name_2,StdSchema_PNaming_Name_2) +Storage_READ_SELECTION(StdSchema,PNaming_NamedShape,StdSchema_PNaming_NamedShape) +Storage_READ_SELECTION(StdSchema,PNaming_Naming,StdSchema_PNaming_Naming) +Storage_READ_SELECTION(StdSchema,PNaming_Naming_1,StdSchema_PNaming_Naming_1) +Storage_READ_SELECTION(StdSchema,PNaming_Naming_2,StdSchema_PNaming_Naming_2) +Storage_READ_SELECTION(StdSchema,PNaming_HArray1OfNamedShape,StdSchema_PNaming_HArray1OfNamedShape) +Storage_READ_SELECTION(StdSchema,PPrsStd_AISPresentation,StdSchema_PPrsStd_AISPresentation) +Storage_READ_SELECTION(StdSchema,PPrsStd_AISPresentation_1,StdSchema_PPrsStd_AISPresentation_1) +Storage_READ_SELECTION(StdSchema,PDataStd_Real,StdSchema_PDataStd_Real) +Storage_READ_SELECTION(StdSchema,PDF_HAttributeArray1,StdSchema_PDF_HAttributeArray1) +Storage_READ_SELECTION(StdSchema,PDataStd_Integer,StdSchema_PDataStd_Integer) +Storage_READ_SELECTION(StdSchema,PCollection_HAsciiString,StdSchema_PCollection_HAsciiString) +Storage_READ_SELECTION(StdSchema,PTopoDS_HArray1OfShape1,StdSchema_PTopoDS_HArray1OfShape1) +Storage_READ_SELECTION(StdSchema,PColStd_HArray1OfInteger,StdSchema_PColStd_HArray1OfInteger) +Storage_READ_SELECTION(StdSchema,PCollection_HExtendedString,StdSchema_PCollection_HExtendedString) +Storage_READ_SELECTION(StdSchema,PTopLoc_Datum3D,StdSchema_PTopLoc_Datum3D) +Storage_READ_SELECTION(StdSchema,PTopLoc_ItemLocation,StdSchema_PTopLoc_ItemLocation) +Storage_END_READ_SELECTION(StdSchema) + +Storage_BEGIN_SCHEMA_TYPES(StdSchema) +Storage_SCHEMA_TYPES(PDataXtd_Position) +Storage_SCHEMA_TYPES(PDataXtd_Point) +Storage_SCHEMA_TYPES(PDataXtd_Axis) +Storage_SCHEMA_TYPES(PDataXtd_Plane) +Storage_SCHEMA_TYPES(PDataXtd_Geometry) +Storage_SCHEMA_TYPES(PDataXtd_Constraint) +Storage_SCHEMA_TYPES(PDataXtd_Placement) +Storage_SCHEMA_TYPES(PDataXtd_PatternStd) +Storage_SCHEMA_TYPES(PDataXtd_Shape) +Storage_SCHEMA_TYPES(PNaming_Name) +Storage_SCHEMA_TYPES(PNaming_Name_1) +Storage_SCHEMA_TYPES(PNaming_Name_2) +Storage_SCHEMA_TYPES(PNaming_NamedShape) +Storage_SCHEMA_TYPES(PNaming_Naming) +Storage_SCHEMA_TYPES(PNaming_Naming_1) +Storage_SCHEMA_TYPES(PNaming_Naming_2) +Storage_SCHEMA_TYPES(PNaming_HArray1OfNamedShape) +Storage_SCHEMA_TYPES(PPrsStd_AISPresentation) +Storage_SCHEMA_TYPES(PPrsStd_AISPresentation_1) +Storage_SCHEMA_TYPES(PDF_Attribute) +Storage_SCHEMA_TYPES(Standard_Persistent) +Storage_SCHEMA_TYPES(PDataStd_Real) +Storage_SCHEMA_TYPES(PDF_HAttributeArray1) +Storage_SCHEMA_TYPES(PDataStd_Integer) +Storage_SCHEMA_TYPES(PCollection_HAsciiString) +Storage_SCHEMA_TYPES(PTopoDS_HArray1OfShape1) +Storage_SCHEMA_TYPES(PColStd_HArray1OfInteger) +Storage_SCHEMA_TYPES(PCollection_HExtendedString) +Storage_SCHEMA_TYPES(PTopoDS_TShape1) +Storage_SCHEMA_TYPES(PTopLoc_Datum3D) +Storage_SCHEMA_TYPES(PTopLoc_ItemLocation) +Storage_END_SCHEMA_TYPES(StdSchema) diff --git a/src/FromOCCT/TKStdSchema/StdSchema.hxx b/src/FromOCCT/TKStdSchema/StdSchema.hxx new file mode 100644 index 000000000..be793231b --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema.hxx @@ -0,0 +1,107 @@ +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_Macros_HeaderFile +#include +#endif +class Handle(PDataXtd_Position); +class Handle(PDataXtd_Point); +class Handle(PDataXtd_Axis); +class Handle(PDataXtd_Plane); +class Handle(PDataXtd_Geometry); +class Handle(PDataXtd_Constraint); +class Handle(PDataXtd_Placement); +class Handle(PDataXtd_PatternStd); +class Handle(PDataXtd_Shape); +class Handle(PNaming_Name); +class Handle(PNaming_Name_1); +class Handle(PNaming_Name_2); +class Handle(PNaming_NamedShape); +class Handle(PNaming_Naming); +class Handle(PNaming_Naming_1); +class Handle(PNaming_Naming_2); +class Handle(PNaming_HArray1OfNamedShape); +class PNaming_FieldOfHArray1OfNamedShape; +class Handle(PPrsStd_AISPresentation); +class Handle(PPrsStd_AISPresentation_1); +class Handle(PDF_Attribute); +class Handle(Standard_Persistent); +class Standard_Storable; +class gp_Pnt; +class Handle(PDataStd_Real); +class Handle(PDF_HAttributeArray1); +class Handle(PDataStd_Integer); +class Handle(PCollection_HAsciiString); +class Handle(PTopoDS_HArray1OfShape1); +class Handle(PColStd_HArray1OfInteger); +class Handle(PCollection_HExtendedString); +class gp_Ax1; +class gp_Ax2; +class gp_Trsf; +class gp_Vec; +class gp_XYZ; +class PDF_FieldOfHAttributeArray1; +class DBC_VArrayOfCharacter; +class PTopoDS_Shape1; +class PTopoDS_FieldOfHArray1OfShape1; +class PColStd_FieldOfHArray1OfInteger; +class DBC_VArrayOfExtCharacter; +class gp_Dir; +class gp_Ax3; +class gp_Mat; +class gp_Trsf2d; +class Handle(PTopoDS_TShape1); +class PTopLoc_Location; +class gp_Ax2d; +class gp_Mat2d; +class gp_Pnt2d; +class gp_Vec2d; +class gp_XY; +class Handle(PTopLoc_Datum3D); +class Handle(PTopLoc_ItemLocation); +class gp_Dir2d; +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_HeaderFile +#define _StdSchema_HeaderFile + +#ifndef _Standard_Macro_HeaderFile +#include +#endif +#ifndef _Storage_Macros_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + +DEFINE_STANDARD_HANDLE(StdSchema,Storage_Schema) + + +class StdSchema : public Storage_Schema { +public: + + Storage_DECLARE_SCHEMA_METHODS(StdSchema) + + DEFINE_STANDARD_RTTI(StdSchema) +}; + +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_DBC_VArrayOfCharacter.cxx b/src/FromOCCT/TKStdSchema/StdSchema_DBC_VArrayOfCharacter.cxx new file mode 100644 index 000000000..819534df2 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_DBC_VArrayOfCharacter.cxx @@ -0,0 +1,45 @@ +#ifndef _StdSchema_DBC_VArrayOfCharacter_HeaderFile +#include +#endif +#ifndef _DBC_VArrayOfCharacter_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void StdSchema_DBC_VArrayOfCharacter::SWrite(const DBC_VArrayOfCharacter& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + + f.BeginWriteObjectData(); + f.PutInteger(pp.Length()); + for (Standard_Integer i = 0; i < pp.Length(); i++) { + f.PutCharacter(pp.Value(i)); + + } + f.EndWriteObjectData(); +} + +void StdSchema_DBC_VArrayOfCharacter::SRead(DBC_VArrayOfCharacter& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + Standard_Integer size = 0; + + f.BeginReadObjectData(); + f.GetInteger(size); + pp.Resize(size); + + for (Standard_Integer j = 0; j < size; j++) { + Standard_Character par; + + f.GetCharacter(par); + pp.SetValue(j,par); + + } + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_DBC_VArrayOfCharacter.hxx b/src/FromOCCT/TKStdSchema/StdSchema_DBC_VArrayOfCharacter.hxx new file mode 100644 index 000000000..efed38483 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_DBC_VArrayOfCharacter.hxx @@ -0,0 +1,26 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_DBC_VArrayOfCharacter_HeaderFile +#define _StdSchema_DBC_VArrayOfCharacter_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + + +class DBC_VArrayOfCharacter; + +class StdSchema_DBC_VArrayOfCharacter { +public: + Standard_EXPORT static void SAdd(const DBC_VArrayOfCharacter&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const DBC_VArrayOfCharacter&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(DBC_VArrayOfCharacter&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_DBC_VArrayOfCharacter.ixx b/src/FromOCCT/TKStdSchema/StdSchema_DBC_VArrayOfCharacter.ixx new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_DBC_VArrayOfCharacter.ixx @@ -0,0 +1 @@ + diff --git a/src/FromOCCT/TKStdSchema/StdSchema_DBC_VArrayOfExtCharacter.cxx b/src/FromOCCT/TKStdSchema/StdSchema_DBC_VArrayOfExtCharacter.cxx new file mode 100644 index 000000000..ef5f8e131 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_DBC_VArrayOfExtCharacter.cxx @@ -0,0 +1,45 @@ +#ifndef _StdSchema_DBC_VArrayOfExtCharacter_HeaderFile +#include +#endif +#ifndef _DBC_VArrayOfExtCharacter_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void StdSchema_DBC_VArrayOfExtCharacter::SWrite(const DBC_VArrayOfExtCharacter& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + + f.BeginWriteObjectData(); + f.PutInteger(pp.Length()); + for (Standard_Integer i = 0; i < pp.Length(); i++) { + f.PutExtCharacter(pp.Value(i)); + + } + f.EndWriteObjectData(); +} + +void StdSchema_DBC_VArrayOfExtCharacter::SRead(DBC_VArrayOfExtCharacter& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + Standard_Integer size = 0; + + f.BeginReadObjectData(); + f.GetInteger(size); + pp.Resize(size); + + for (Standard_Integer j = 0; j < size; j++) { + Standard_ExtCharacter par; + + f.GetExtCharacter(par); + pp.SetValue(j,par); + + } + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_DBC_VArrayOfExtCharacter.hxx b/src/FromOCCT/TKStdSchema/StdSchema_DBC_VArrayOfExtCharacter.hxx new file mode 100644 index 000000000..a3161e715 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_DBC_VArrayOfExtCharacter.hxx @@ -0,0 +1,26 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_DBC_VArrayOfExtCharacter_HeaderFile +#define _StdSchema_DBC_VArrayOfExtCharacter_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + + +class DBC_VArrayOfExtCharacter; + +class StdSchema_DBC_VArrayOfExtCharacter { +public: + Standard_EXPORT static void SAdd(const DBC_VArrayOfExtCharacter&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const DBC_VArrayOfExtCharacter&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(DBC_VArrayOfExtCharacter&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_DBC_VArrayOfExtCharacter.ixx b/src/FromOCCT/TKStdSchema/StdSchema_DBC_VArrayOfExtCharacter.ixx new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_DBC_VArrayOfExtCharacter.ixx @@ -0,0 +1 @@ + diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PColStd_FieldOfHArray1OfInteger.cxx b/src/FromOCCT/TKStdSchema/StdSchema_PColStd_FieldOfHArray1OfInteger.cxx new file mode 100644 index 000000000..6c08d6c3a --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PColStd_FieldOfHArray1OfInteger.cxx @@ -0,0 +1,45 @@ +#ifndef _StdSchema_PColStd_FieldOfHArray1OfInteger_HeaderFile +#include +#endif +#ifndef _PColStd_FieldOfHArray1OfInteger_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void StdSchema_PColStd_FieldOfHArray1OfInteger::SWrite(const PColStd_FieldOfHArray1OfInteger& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + + f.BeginWriteObjectData(); + f.PutInteger(pp.Length()); + for (Standard_Integer i = 0; i < pp.Length(); i++) { + f.PutInteger(pp.Value(i)); + + } + f.EndWriteObjectData(); +} + +void StdSchema_PColStd_FieldOfHArray1OfInteger::SRead(PColStd_FieldOfHArray1OfInteger& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + Standard_Integer size = 0; + + f.BeginReadObjectData(); + f.GetInteger(size); + pp.Resize(size); + + for (Standard_Integer j = 0; j < size; j++) { + Standard_Integer par; + + f.GetInteger(par); + pp.SetValue(j,par); + + } + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PColStd_FieldOfHArray1OfInteger.hxx b/src/FromOCCT/TKStdSchema/StdSchema_PColStd_FieldOfHArray1OfInteger.hxx new file mode 100644 index 000000000..71fa04674 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PColStd_FieldOfHArray1OfInteger.hxx @@ -0,0 +1,26 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_PColStd_FieldOfHArray1OfInteger_HeaderFile +#define _StdSchema_PColStd_FieldOfHArray1OfInteger_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + + +class PColStd_FieldOfHArray1OfInteger; + +class StdSchema_PColStd_FieldOfHArray1OfInteger { +public: + Standard_EXPORT static void SAdd(const PColStd_FieldOfHArray1OfInteger&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const PColStd_FieldOfHArray1OfInteger&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(PColStd_FieldOfHArray1OfInteger&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PColStd_FieldOfHArray1OfInteger.ixx b/src/FromOCCT/TKStdSchema/StdSchema_PColStd_FieldOfHArray1OfInteger.ixx new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PColStd_FieldOfHArray1OfInteger.ixx @@ -0,0 +1 @@ + diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PColStd_HArray1OfInteger.cxx b/src/FromOCCT/TKStdSchema/StdSchema_PColStd_HArray1OfInteger.cxx new file mode 100644 index 000000000..c0d55fe0d --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PColStd_HArray1OfInteger.cxx @@ -0,0 +1,88 @@ +#ifndef _StdSchema_PColStd_HArray1OfInteger_HeaderFile +#include +#endif +#ifndef _PColStd_HArray1OfInteger_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdSchema_PColStd_HArray1OfInteger,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdSchema_PColStd_HArray1OfInteger,Storage_CallBack) + +Handle(Standard_Persistent) StdSchema_PColStd_HArray1OfInteger::New() const +{ + return new PColStd_HArray1OfInteger(Storage_stCONSTclCOM()); +} + +void StdSchema_PColStd_HArray1OfInteger::SAdd(const Handle(PColStd_HArray1OfInteger)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PColStd_HArray1OfInteger")) { + + } + } +} + +void StdSchema_PColStd_HArray1OfInteger::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PColStd_HArray1OfInteger::SAdd((Handle(PColStd_HArray1OfInteger)&)p,theSchema); +} + +void StdSchema_PColStd_HArray1OfInteger::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColStd_HArray1OfInteger) &pp = (Handle(PColStd_HArray1OfInteger)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutInteger(pp->_CSFDB_GetPColStd_HArray1OfIntegerLowerBound()); + f.PutInteger(pp->_CSFDB_GetPColStd_HArray1OfIntegerUpperBound()); + StdSchema_PColStd_FieldOfHArray1OfInteger::SWrite(pp->_CSFDB_GetPColStd_HArray1OfIntegerData(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void StdSchema_PColStd_HArray1OfInteger::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PColStd_HArray1OfInteger::SWrite(p,f,theSchema); +} + + +void StdSchema_PColStd_HArray1OfInteger::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColStd_HArray1OfInteger) &pp = (Handle(PColStd_HArray1OfInteger)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Integer PColStd_HArray1OfIntegerLowerBound; + f.GetInteger(PColStd_HArray1OfIntegerLowerBound); + pp->_CSFDB_SetPColStd_HArray1OfIntegerLowerBound(PColStd_HArray1OfIntegerLowerBound); + + Standard_Integer PColStd_HArray1OfIntegerUpperBound; + f.GetInteger(PColStd_HArray1OfIntegerUpperBound); + pp->_CSFDB_SetPColStd_HArray1OfIntegerUpperBound(PColStd_HArray1OfIntegerUpperBound); + + StdSchema_PColStd_FieldOfHArray1OfInteger::SRead((PColStd_FieldOfHArray1OfInteger&)pp->_CSFDB_GetPColStd_HArray1OfIntegerData(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void StdSchema_PColStd_HArray1OfInteger::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdSchema_PColStd_HArray1OfInteger::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PColStd_HArray1OfInteger.hxx b/src/FromOCCT/TKStdSchema/StdSchema_PColStd_HArray1OfInteger.hxx new file mode 100644 index 000000000..53a86e3db --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PColStd_HArray1OfInteger.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_PColStd_HArray1OfInteger_HeaderFile +#define _StdSchema_PColStd_HArray1OfInteger_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PColStd_HArray1OfInteger_HeaderFile +#include +#endif + +#ifndef _StdSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdSchema_PColStd_HArray1OfInteger,Storage_CallBack) + +class StdSchema_PColStd_HArray1OfInteger : public Storage_CallBack { +public: + StdSchema_PColStd_HArray1OfInteger() {} + Standard_EXPORT static void SAdd(const Handle(PColStd_HArray1OfInteger)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdSchema_PColStd_HArray1OfInteger) +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PColStd_HArray1OfInteger.ixx b/src/FromOCCT/TKStdSchema/StdSchema_PColStd_HArray1OfInteger.ixx new file mode 100644 index 000000000..4700fda7c --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PColStd_HArray1OfInteger.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _StdSchema_PColStd_FieldOfHArray1OfInteger_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PCollection_HAsciiString.cxx b/src/FromOCCT/TKStdSchema/StdSchema_PCollection_HAsciiString.cxx new file mode 100644 index 000000000..b22e576cf --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PCollection_HAsciiString.cxx @@ -0,0 +1,78 @@ +#ifndef _StdSchema_PCollection_HAsciiString_HeaderFile +#include +#endif +#ifndef _PCollection_HAsciiString_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdSchema_PCollection_HAsciiString,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdSchema_PCollection_HAsciiString,Storage_CallBack) + +Handle(Standard_Persistent) StdSchema_PCollection_HAsciiString::New() const +{ + return new PCollection_HAsciiString(Storage_stCONSTclCOM()); +} + +void StdSchema_PCollection_HAsciiString::SAdd(const Handle(PCollection_HAsciiString)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PCollection_HAsciiString")) { + + } + } +} + +void StdSchema_PCollection_HAsciiString::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PCollection_HAsciiString::SAdd((Handle(PCollection_HAsciiString)&)p,theSchema); +} + +void StdSchema_PCollection_HAsciiString::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PCollection_HAsciiString) &pp = (Handle(PCollection_HAsciiString)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + StdSchema_DBC_VArrayOfCharacter::SWrite(pp->_CSFDB_GetPCollection_HAsciiStringData(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void StdSchema_PCollection_HAsciiString::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PCollection_HAsciiString::SWrite(p,f,theSchema); +} + + +void StdSchema_PCollection_HAsciiString::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PCollection_HAsciiString) &pp = (Handle(PCollection_HAsciiString)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + StdSchema_DBC_VArrayOfCharacter::SRead((DBC_VArrayOfCharacter&)pp->_CSFDB_GetPCollection_HAsciiStringData(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void StdSchema_PCollection_HAsciiString::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdSchema_PCollection_HAsciiString::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PCollection_HAsciiString.hxx b/src/FromOCCT/TKStdSchema/StdSchema_PCollection_HAsciiString.hxx new file mode 100644 index 000000000..e3b6b8cfd --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PCollection_HAsciiString.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_PCollection_HAsciiString_HeaderFile +#define _StdSchema_PCollection_HAsciiString_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PCollection_HAsciiString_HeaderFile +#include +#endif + +#ifndef _StdSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdSchema_PCollection_HAsciiString,Storage_CallBack) + +class StdSchema_PCollection_HAsciiString : public Storage_CallBack { +public: + StdSchema_PCollection_HAsciiString() {} + Standard_EXPORT static void SAdd(const Handle(PCollection_HAsciiString)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdSchema_PCollection_HAsciiString) +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PCollection_HAsciiString.ixx b/src/FromOCCT/TKStdSchema/StdSchema_PCollection_HAsciiString.ixx new file mode 100644 index 000000000..79e373a2b --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PCollection_HAsciiString.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _StdSchema_DBC_VArrayOfCharacter_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PCollection_HExtendedString.cxx b/src/FromOCCT/TKStdSchema/StdSchema_PCollection_HExtendedString.cxx new file mode 100644 index 000000000..95e2fc896 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PCollection_HExtendedString.cxx @@ -0,0 +1,78 @@ +#ifndef _StdSchema_PCollection_HExtendedString_HeaderFile +#include +#endif +#ifndef _PCollection_HExtendedString_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdSchema_PCollection_HExtendedString,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdSchema_PCollection_HExtendedString,Storage_CallBack) + +Handle(Standard_Persistent) StdSchema_PCollection_HExtendedString::New() const +{ + return new PCollection_HExtendedString(Storage_stCONSTclCOM()); +} + +void StdSchema_PCollection_HExtendedString::SAdd(const Handle(PCollection_HExtendedString)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PCollection_HExtendedString")) { + + } + } +} + +void StdSchema_PCollection_HExtendedString::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PCollection_HExtendedString::SAdd((Handle(PCollection_HExtendedString)&)p,theSchema); +} + +void StdSchema_PCollection_HExtendedString::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PCollection_HExtendedString) &pp = (Handle(PCollection_HExtendedString)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + StdSchema_DBC_VArrayOfExtCharacter::SWrite(pp->_CSFDB_GetPCollection_HExtendedStringData(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void StdSchema_PCollection_HExtendedString::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PCollection_HExtendedString::SWrite(p,f,theSchema); +} + + +void StdSchema_PCollection_HExtendedString::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PCollection_HExtendedString) &pp = (Handle(PCollection_HExtendedString)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + StdSchema_DBC_VArrayOfExtCharacter::SRead((DBC_VArrayOfExtCharacter&)pp->_CSFDB_GetPCollection_HExtendedStringData(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void StdSchema_PCollection_HExtendedString::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdSchema_PCollection_HExtendedString::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PCollection_HExtendedString.hxx b/src/FromOCCT/TKStdSchema/StdSchema_PCollection_HExtendedString.hxx new file mode 100644 index 000000000..5d8a1d63c --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PCollection_HExtendedString.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_PCollection_HExtendedString_HeaderFile +#define _StdSchema_PCollection_HExtendedString_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PCollection_HExtendedString_HeaderFile +#include +#endif + +#ifndef _StdSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdSchema_PCollection_HExtendedString,Storage_CallBack) + +class StdSchema_PCollection_HExtendedString : public Storage_CallBack { +public: + StdSchema_PCollection_HExtendedString() {} + Standard_EXPORT static void SAdd(const Handle(PCollection_HExtendedString)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdSchema_PCollection_HExtendedString) +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PCollection_HExtendedString.ixx b/src/FromOCCT/TKStdSchema/StdSchema_PCollection_HExtendedString.ixx new file mode 100644 index 000000000..e04374c7b --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PCollection_HExtendedString.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _StdSchema_DBC_VArrayOfExtCharacter_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PDF_Attribute.cxx b/src/FromOCCT/TKStdSchema/StdSchema_PDF_Attribute.cxx new file mode 100644 index 000000000..cf2f8aebe --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PDF_Attribute.cxx @@ -0,0 +1,76 @@ +#ifndef _StdSchema_PDF_Attribute_HeaderFile +#include +#endif +#ifndef _PDF_Attribute_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdSchema_PDF_Attribute,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdSchema_PDF_Attribute,Storage_CallBack) + +Handle(Standard_Persistent) StdSchema_PDF_Attribute::New() const +{ + Handle(Standard_Persistent) NullObject; + return NullObject; +} + +void StdSchema_PDF_Attribute::SAdd(const Handle(PDF_Attribute)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDF_Attribute")) { + + } + } +} + +void StdSchema_PDF_Attribute::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PDF_Attribute::SAdd((Handle(PDF_Attribute)&)p,theSchema); +} + +void StdSchema_PDF_Attribute::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDF_Attribute) &pp = (Handle(PDF_Attribute)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + + f.EndWritePersistentObjectData(); + } +} + +void StdSchema_PDF_Attribute::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PDF_Attribute::SWrite(p,f,theSchema); +} + + +void StdSchema_PDF_Attribute::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDF_Attribute) &pp = (Handle(PDF_Attribute)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + f.EndReadPersistentObjectData(); + } +} + +void StdSchema_PDF_Attribute::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdSchema_PDF_Attribute::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PDF_Attribute.hxx b/src/FromOCCT/TKStdSchema/StdSchema_PDF_Attribute.hxx new file mode 100644 index 000000000..ce0c3d149 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PDF_Attribute.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_PDF_Attribute_HeaderFile +#define _StdSchema_PDF_Attribute_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDF_Attribute_HeaderFile +#include +#endif + +#ifndef _StdSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdSchema_PDF_Attribute,Storage_CallBack) + +class StdSchema_PDF_Attribute : public Storage_CallBack { +public: + StdSchema_PDF_Attribute() {} + Standard_EXPORT static void SAdd(const Handle(PDF_Attribute)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdSchema_PDF_Attribute) +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PDF_Attribute.ixx b/src/FromOCCT/TKStdSchema/StdSchema_PDF_Attribute.ixx new file mode 100644 index 000000000..f0bae8c4c --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PDF_Attribute.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PDF_FieldOfHAttributeArray1.cxx b/src/FromOCCT/TKStdSchema/StdSchema_PDF_FieldOfHAttributeArray1.cxx new file mode 100644 index 000000000..c7695c15f --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PDF_FieldOfHAttributeArray1.cxx @@ -0,0 +1,54 @@ +#ifndef _StdSchema_PDF_FieldOfHAttributeArray1_HeaderFile +#include +#endif +#ifndef _PDF_FieldOfHAttributeArray1_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void StdSchema_PDF_FieldOfHAttributeArray1::SAdd(const PDF_FieldOfHAttributeArray1& p, const Handle(Storage_Schema)& theSchema) +{ + Standard_Integer i; + for (i = 0; i < p.Length(); i++) { + theSchema->PersistentToAdd(p.Value(i)); + } + +} + +void StdSchema_PDF_FieldOfHAttributeArray1::SWrite(const PDF_FieldOfHAttributeArray1& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + + f.BeginWriteObjectData(); + f.PutInteger(pp.Length()); + for (Standard_Integer i = 0; i < pp.Length(); i++) { + theSchema->WritePersistentReference(pp.Value(i),f); + + } + f.EndWriteObjectData(); +} + +void StdSchema_PDF_FieldOfHAttributeArray1::SRead(PDF_FieldOfHAttributeArray1& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + Standard_Integer size = 0; + + f.BeginReadObjectData(); + f.GetInteger(size); + pp.Resize(size); + + for (Standard_Integer j = 0; j < size; j++) { + Handle(PDF_Attribute) par; + + theSchema->ReadPersistentReference(par,f); + pp.SetValue(j,par); + + } + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PDF_FieldOfHAttributeArray1.hxx b/src/FromOCCT/TKStdSchema/StdSchema_PDF_FieldOfHAttributeArray1.hxx new file mode 100644 index 000000000..a1c37439e --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PDF_FieldOfHAttributeArray1.hxx @@ -0,0 +1,29 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_PDF_FieldOfHAttributeArray1_HeaderFile +#define _StdSchema_PDF_FieldOfHAttributeArray1_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + +#ifndef _StdSchema_PDF_Attribute_HeaderFile +#include +#endif + + +class PDF_FieldOfHAttributeArray1; + +class StdSchema_PDF_FieldOfHAttributeArray1 { +public: + Standard_EXPORT static void SAdd(const PDF_FieldOfHAttributeArray1&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const PDF_FieldOfHAttributeArray1&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(PDF_FieldOfHAttributeArray1&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PDF_FieldOfHAttributeArray1.ixx b/src/FromOCCT/TKStdSchema/StdSchema_PDF_FieldOfHAttributeArray1.ixx new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PDF_FieldOfHAttributeArray1.ixx @@ -0,0 +1 @@ + diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PDF_HAttributeArray1.cxx b/src/FromOCCT/TKStdSchema/StdSchema_PDF_HAttributeArray1.cxx new file mode 100644 index 000000000..ec38d3328 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PDF_HAttributeArray1.cxx @@ -0,0 +1,89 @@ +#ifndef _StdSchema_PDF_HAttributeArray1_HeaderFile +#include +#endif +#ifndef _PDF_HAttributeArray1_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdSchema_PDF_HAttributeArray1,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdSchema_PDF_HAttributeArray1,Storage_CallBack) + +Handle(Standard_Persistent) StdSchema_PDF_HAttributeArray1::New() const +{ + return new PDF_HAttributeArray1(Storage_stCONSTclCOM()); +} + +void StdSchema_PDF_HAttributeArray1::SAdd(const Handle(PDF_HAttributeArray1)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDF_HAttributeArray1")) { + StdSchema_PDF_FieldOfHAttributeArray1::SAdd(p->_CSFDB_GetPDF_HAttributeArray1Data(),theSchema); + + } + } +} + +void StdSchema_PDF_HAttributeArray1::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PDF_HAttributeArray1::SAdd((Handle(PDF_HAttributeArray1)&)p,theSchema); +} + +void StdSchema_PDF_HAttributeArray1::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDF_HAttributeArray1) &pp = (Handle(PDF_HAttributeArray1)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutInteger(pp->_CSFDB_GetPDF_HAttributeArray1LowerBound()); + f.PutInteger(pp->_CSFDB_GetPDF_HAttributeArray1UpperBound()); + StdSchema_PDF_FieldOfHAttributeArray1::SWrite(pp->_CSFDB_GetPDF_HAttributeArray1Data(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void StdSchema_PDF_HAttributeArray1::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PDF_HAttributeArray1::SWrite(p,f,theSchema); +} + + +void StdSchema_PDF_HAttributeArray1::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDF_HAttributeArray1) &pp = (Handle(PDF_HAttributeArray1)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Integer PDF_HAttributeArray1LowerBound; + f.GetInteger(PDF_HAttributeArray1LowerBound); + pp->_CSFDB_SetPDF_HAttributeArray1LowerBound(PDF_HAttributeArray1LowerBound); + + Standard_Integer PDF_HAttributeArray1UpperBound; + f.GetInteger(PDF_HAttributeArray1UpperBound); + pp->_CSFDB_SetPDF_HAttributeArray1UpperBound(PDF_HAttributeArray1UpperBound); + + StdSchema_PDF_FieldOfHAttributeArray1::SRead((PDF_FieldOfHAttributeArray1&)pp->_CSFDB_GetPDF_HAttributeArray1Data(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void StdSchema_PDF_HAttributeArray1::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdSchema_PDF_HAttributeArray1::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PDF_HAttributeArray1.hxx b/src/FromOCCT/TKStdSchema/StdSchema_PDF_HAttributeArray1.hxx new file mode 100644 index 000000000..c424be37d --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PDF_HAttributeArray1.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_PDF_HAttributeArray1_HeaderFile +#define _StdSchema_PDF_HAttributeArray1_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDF_HAttributeArray1_HeaderFile +#include +#endif + +#ifndef _StdSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdSchema_PDF_HAttributeArray1,Storage_CallBack) + +class StdSchema_PDF_HAttributeArray1 : public Storage_CallBack { +public: + StdSchema_PDF_HAttributeArray1() {} + Standard_EXPORT static void SAdd(const Handle(PDF_HAttributeArray1)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdSchema_PDF_HAttributeArray1) +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PDF_HAttributeArray1.ixx b/src/FromOCCT/TKStdSchema/StdSchema_PDF_HAttributeArray1.ixx new file mode 100644 index 000000000..8a5ca9b17 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PDF_HAttributeArray1.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _StdSchema_PDF_FieldOfHAttributeArray1_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PDataStd_Integer.cxx b/src/FromOCCT/TKStdSchema/StdSchema_PDataStd_Integer.cxx new file mode 100644 index 000000000..bf22013cc --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PDataStd_Integer.cxx @@ -0,0 +1,80 @@ +#ifndef _StdSchema_PDataStd_Integer_HeaderFile +#include +#endif +#ifndef _PDataStd_Integer_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdSchema_PDataStd_Integer,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdSchema_PDataStd_Integer,Storage_CallBack) + +Handle(Standard_Persistent) StdSchema_PDataStd_Integer::New() const +{ + return new PDataStd_Integer(Storage_stCONSTclCOM()); +} + +void StdSchema_PDataStd_Integer::SAdd(const Handle(PDataStd_Integer)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDataStd_Integer")) { + + } + } +} + +void StdSchema_PDataStd_Integer::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PDataStd_Integer::SAdd((Handle(PDataStd_Integer)&)p,theSchema); +} + +void StdSchema_PDataStd_Integer::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_Integer) &pp = (Handle(PDataStd_Integer)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutInteger(pp->_CSFDB_GetPDataStd_IntegermyValue()); + + f.EndWritePersistentObjectData(); + } +} + +void StdSchema_PDataStd_Integer::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PDataStd_Integer::SWrite(p,f,theSchema); +} + + +void StdSchema_PDataStd_Integer::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_Integer) &pp = (Handle(PDataStd_Integer)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Integer PDataStd_IntegermyValue; + f.GetInteger(PDataStd_IntegermyValue); + pp->_CSFDB_SetPDataStd_IntegermyValue(PDataStd_IntegermyValue); + + f.EndReadPersistentObjectData(); + } +} + +void StdSchema_PDataStd_Integer::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdSchema_PDataStd_Integer::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PDataStd_Integer.hxx b/src/FromOCCT/TKStdSchema/StdSchema_PDataStd_Integer.hxx new file mode 100644 index 000000000..9834a80bd --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PDataStd_Integer.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_PDataStd_Integer_HeaderFile +#define _StdSchema_PDataStd_Integer_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDataStd_Integer_HeaderFile +#include +#endif + +#ifndef _StdSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdSchema_PDataStd_Integer,Storage_CallBack) + +class StdSchema_PDataStd_Integer : public Storage_CallBack { +public: + StdSchema_PDataStd_Integer() {} + Standard_EXPORT static void SAdd(const Handle(PDataStd_Integer)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdSchema_PDataStd_Integer) +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PDataStd_Integer.ixx b/src/FromOCCT/TKStdSchema/StdSchema_PDataStd_Integer.ixx new file mode 100644 index 000000000..aac47e873 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PDataStd_Integer.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PDataStd_Real.cxx b/src/FromOCCT/TKStdSchema/StdSchema_PDataStd_Real.cxx new file mode 100644 index 000000000..c86458d6f --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PDataStd_Real.cxx @@ -0,0 +1,85 @@ +#ifndef _StdSchema_PDataStd_Real_HeaderFile +#include +#endif +#ifndef _PDataStd_Real_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdSchema_PDataStd_Real,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdSchema_PDataStd_Real,Storage_CallBack) + +Handle(Standard_Persistent) StdSchema_PDataStd_Real::New() const +{ + return new PDataStd_Real(Storage_stCONSTclCOM()); +} + +void StdSchema_PDataStd_Real::SAdd(const Handle(PDataStd_Real)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDataStd_Real")) { + + } + } +} + +void StdSchema_PDataStd_Real::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PDataStd_Real::SAdd((Handle(PDataStd_Real)&)p,theSchema); +} + +void StdSchema_PDataStd_Real::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_Real) &pp = (Handle(PDataStd_Real)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutReal(pp->_CSFDB_GetPDataStd_RealmyValue()); + f.PutInteger(pp->_CSFDB_GetPDataStd_RealmyDimension()); + + f.EndWritePersistentObjectData(); + } +} + +void StdSchema_PDataStd_Real::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PDataStd_Real::SWrite(p,f,theSchema); +} + + +void StdSchema_PDataStd_Real::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataStd_Real) &pp = (Handle(PDataStd_Real)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Real PDataStd_RealmyValue; + f.GetReal(PDataStd_RealmyValue); + pp->_CSFDB_SetPDataStd_RealmyValue(PDataStd_RealmyValue); + + Standard_Integer PDataStd_RealmyDimension; + f.GetInteger(PDataStd_RealmyDimension); + pp->_CSFDB_SetPDataStd_RealmyDimension(PDataStd_RealmyDimension); + + f.EndReadPersistentObjectData(); + } +} + +void StdSchema_PDataStd_Real::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdSchema_PDataStd_Real::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PDataStd_Real.hxx b/src/FromOCCT/TKStdSchema/StdSchema_PDataStd_Real.hxx new file mode 100644 index 000000000..3b2cb8cb7 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PDataStd_Real.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_PDataStd_Real_HeaderFile +#define _StdSchema_PDataStd_Real_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDataStd_Real_HeaderFile +#include +#endif + +#ifndef _StdSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdSchema_PDataStd_Real,Storage_CallBack) + +class StdSchema_PDataStd_Real : public Storage_CallBack { +public: + StdSchema_PDataStd_Real() {} + Standard_EXPORT static void SAdd(const Handle(PDataStd_Real)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdSchema_PDataStd_Real) +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PDataStd_Real.ixx b/src/FromOCCT/TKStdSchema/StdSchema_PDataStd_Real.ixx new file mode 100644 index 000000000..aac47e873 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PDataStd_Real.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Axis.cxx b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Axis.cxx new file mode 100644 index 000000000..49fde283d --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Axis.cxx @@ -0,0 +1,75 @@ +#ifndef _StdSchema_PDataXtd_Axis_HeaderFile +#include +#endif +#ifndef _PDataXtd_Axis_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdSchema_PDataXtd_Axis,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdSchema_PDataXtd_Axis,Storage_CallBack) + +Handle(Standard_Persistent) StdSchema_PDataXtd_Axis::New() const +{ + return new PDataXtd_Axis(Storage_stCONSTclCOM()); +} + +void StdSchema_PDataXtd_Axis::SAdd(const Handle(PDataXtd_Axis)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDataXtd_Axis")) { + + } + } +} + +void StdSchema_PDataXtd_Axis::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PDataXtd_Axis::SAdd((Handle(PDataXtd_Axis)&)p,theSchema); +} + +void StdSchema_PDataXtd_Axis::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataXtd_Axis) &pp = (Handle(PDataXtd_Axis)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + + f.EndWritePersistentObjectData(); + } +} + +void StdSchema_PDataXtd_Axis::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PDataXtd_Axis::SWrite(p,f,theSchema); +} + + +void StdSchema_PDataXtd_Axis::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataXtd_Axis) &pp = (Handle(PDataXtd_Axis)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + f.EndReadPersistentObjectData(); + } +} + +void StdSchema_PDataXtd_Axis::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdSchema_PDataXtd_Axis::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Axis.hxx b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Axis.hxx new file mode 100644 index 000000000..62db5966b --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Axis.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_PDataXtd_Axis_HeaderFile +#define _StdSchema_PDataXtd_Axis_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDataXtd_Axis_HeaderFile +#include +#endif + +#ifndef _StdSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdSchema_PDataXtd_Axis,Storage_CallBack) + +class StdSchema_PDataXtd_Axis : public Storage_CallBack { +public: + StdSchema_PDataXtd_Axis() {} + Standard_EXPORT static void SAdd(const Handle(PDataXtd_Axis)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdSchema_PDataXtd_Axis) +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Axis.ixx b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Axis.ixx new file mode 100644 index 000000000..aac47e873 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Axis.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Constraint.cxx b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Constraint.cxx new file mode 100644 index 000000000..301618317 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Constraint.cxx @@ -0,0 +1,116 @@ +#ifndef _StdSchema_PDataXtd_Constraint_HeaderFile +#include +#endif +#ifndef _PDataXtd_Constraint_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdSchema_PDataXtd_Constraint,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdSchema_PDataXtd_Constraint,Storage_CallBack) + +Handle(Standard_Persistent) StdSchema_PDataXtd_Constraint::New() const +{ + return new PDataXtd_Constraint(Storage_stCONSTclCOM()); +} + +void StdSchema_PDataXtd_Constraint::SAdd(const Handle(PDataXtd_Constraint)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDataXtd_Constraint")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPDataXtd_ConstraintmyGeometries()); + theSchema->PersistentToAdd(p->_CSFDB_GetPDataXtd_ConstraintmyValue()); + theSchema->PersistentToAdd(p->_CSFDB_GetPDataXtd_ConstraintmyPlane()); + + } + } +} + +void StdSchema_PDataXtd_Constraint::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PDataXtd_Constraint::SAdd((Handle(PDataXtd_Constraint)&)p,theSchema); +} + +void StdSchema_PDataXtd_Constraint::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataXtd_Constraint) &pp = (Handle(PDataXtd_Constraint)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutInteger(pp->_CSFDB_GetPDataXtd_ConstraintmyType()); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDataXtd_ConstraintmyGeometries(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDataXtd_ConstraintmyValue(),f); + f.PutBoolean(pp->_CSFDB_GetPDataXtd_ConstraintmyIsReversed()); + f.PutBoolean(pp->_CSFDB_GetPDataXtd_ConstraintmyIsInverted()); + f.PutBoolean(pp->_CSFDB_GetPDataXtd_ConstraintmyIsVerified()); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDataXtd_ConstraintmyPlane(),f); + + f.EndWritePersistentObjectData(); + } +} + +void StdSchema_PDataXtd_Constraint::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PDataXtd_Constraint::SWrite(p,f,theSchema); +} + + +void StdSchema_PDataXtd_Constraint::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataXtd_Constraint) &pp = (Handle(PDataXtd_Constraint)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Integer PDataXtd_ConstraintmyType; + f.GetInteger(PDataXtd_ConstraintmyType); + pp->_CSFDB_SetPDataXtd_ConstraintmyType(PDataXtd_ConstraintmyType); + + Handle(PDF_HAttributeArray1) PDataXtd_ConstraintmyGeometries; + + theSchema->ReadPersistentReference(PDataXtd_ConstraintmyGeometries,f); + pp->_CSFDB_SetPDataXtd_ConstraintmyGeometries(PDataXtd_ConstraintmyGeometries); + + Handle(PDataStd_Real) PDataXtd_ConstraintmyValue; + + theSchema->ReadPersistentReference(PDataXtd_ConstraintmyValue,f); + pp->_CSFDB_SetPDataXtd_ConstraintmyValue(PDataXtd_ConstraintmyValue); + + Standard_Boolean PDataXtd_ConstraintmyIsReversed; + f.GetBoolean(PDataXtd_ConstraintmyIsReversed); + pp->_CSFDB_SetPDataXtd_ConstraintmyIsReversed(PDataXtd_ConstraintmyIsReversed); + + Standard_Boolean PDataXtd_ConstraintmyIsInverted; + f.GetBoolean(PDataXtd_ConstraintmyIsInverted); + pp->_CSFDB_SetPDataXtd_ConstraintmyIsInverted(PDataXtd_ConstraintmyIsInverted); + + Standard_Boolean PDataXtd_ConstraintmyIsVerified; + f.GetBoolean(PDataXtd_ConstraintmyIsVerified); + pp->_CSFDB_SetPDataXtd_ConstraintmyIsVerified(PDataXtd_ConstraintmyIsVerified); + + Handle(PNaming_NamedShape) PDataXtd_ConstraintmyPlane; + + theSchema->ReadPersistentReference(PDataXtd_ConstraintmyPlane,f); + pp->_CSFDB_SetPDataXtd_ConstraintmyPlane(PDataXtd_ConstraintmyPlane); + + f.EndReadPersistentObjectData(); + } +} + +void StdSchema_PDataXtd_Constraint::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdSchema_PDataXtd_Constraint::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Constraint.hxx b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Constraint.hxx new file mode 100644 index 000000000..1d11a3ebb --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Constraint.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_PDataXtd_Constraint_HeaderFile +#define _StdSchema_PDataXtd_Constraint_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDataXtd_Constraint_HeaderFile +#include +#endif + +#ifndef _StdSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdSchema_PDataXtd_Constraint,Storage_CallBack) + +class StdSchema_PDataXtd_Constraint : public Storage_CallBack { +public: + StdSchema_PDataXtd_Constraint() {} + Standard_EXPORT static void SAdd(const Handle(PDataXtd_Constraint)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdSchema_PDataXtd_Constraint) +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Constraint.ixx b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Constraint.ixx new file mode 100644 index 000000000..6896ad22d --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Constraint.ixx @@ -0,0 +1,11 @@ +#include +#ifndef _StdSchema_PDF_HAttributeArray1_HeaderFile +#include +#endif +#ifndef _StdSchema_PDataStd_Real_HeaderFile +#include +#endif +#ifndef _StdSchema_PNaming_NamedShape_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Geometry.cxx b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Geometry.cxx new file mode 100644 index 000000000..6e943349a --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Geometry.cxx @@ -0,0 +1,80 @@ +#ifndef _StdSchema_PDataXtd_Geometry_HeaderFile +#include +#endif +#ifndef _PDataXtd_Geometry_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdSchema_PDataXtd_Geometry,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdSchema_PDataXtd_Geometry,Storage_CallBack) + +Handle(Standard_Persistent) StdSchema_PDataXtd_Geometry::New() const +{ + return new PDataXtd_Geometry(Storage_stCONSTclCOM()); +} + +void StdSchema_PDataXtd_Geometry::SAdd(const Handle(PDataXtd_Geometry)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDataXtd_Geometry")) { + + } + } +} + +void StdSchema_PDataXtd_Geometry::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PDataXtd_Geometry::SAdd((Handle(PDataXtd_Geometry)&)p,theSchema); +} + +void StdSchema_PDataXtd_Geometry::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataXtd_Geometry) &pp = (Handle(PDataXtd_Geometry)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutInteger(pp->_CSFDB_GetPDataXtd_GeometrymyType()); + + f.EndWritePersistentObjectData(); + } +} + +void StdSchema_PDataXtd_Geometry::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PDataXtd_Geometry::SWrite(p,f,theSchema); +} + + +void StdSchema_PDataXtd_Geometry::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataXtd_Geometry) &pp = (Handle(PDataXtd_Geometry)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Integer PDataXtd_GeometrymyType; + f.GetInteger(PDataXtd_GeometrymyType); + pp->_CSFDB_SetPDataXtd_GeometrymyType(PDataXtd_GeometrymyType); + + f.EndReadPersistentObjectData(); + } +} + +void StdSchema_PDataXtd_Geometry::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdSchema_PDataXtd_Geometry::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Geometry.hxx b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Geometry.hxx new file mode 100644 index 000000000..09cf42e49 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Geometry.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_PDataXtd_Geometry_HeaderFile +#define _StdSchema_PDataXtd_Geometry_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDataXtd_Geometry_HeaderFile +#include +#endif + +#ifndef _StdSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdSchema_PDataXtd_Geometry,Storage_CallBack) + +class StdSchema_PDataXtd_Geometry : public Storage_CallBack { +public: + StdSchema_PDataXtd_Geometry() {} + Standard_EXPORT static void SAdd(const Handle(PDataXtd_Geometry)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdSchema_PDataXtd_Geometry) +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Geometry.ixx b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Geometry.ixx new file mode 100644 index 000000000..aac47e873 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Geometry.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_PatternStd.cxx b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_PatternStd.cxx new file mode 100644 index 000000000..9eb553f8b --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_PatternStd.cxx @@ -0,0 +1,139 @@ +#ifndef _StdSchema_PDataXtd_PatternStd_HeaderFile +#include +#endif +#ifndef _PDataXtd_PatternStd_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdSchema_PDataXtd_PatternStd,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdSchema_PDataXtd_PatternStd,Storage_CallBack) + +Handle(Standard_Persistent) StdSchema_PDataXtd_PatternStd::New() const +{ + return new PDataXtd_PatternStd(Storage_stCONSTclCOM()); +} + +void StdSchema_PDataXtd_PatternStd::SAdd(const Handle(PDataXtd_PatternStd)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDataXtd_PatternStd")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPDataXtd_PatternStdmyAxis1()); + theSchema->PersistentToAdd(p->_CSFDB_GetPDataXtd_PatternStdmyAxis2()); + theSchema->PersistentToAdd(p->_CSFDB_GetPDataXtd_PatternStdmyValue1()); + theSchema->PersistentToAdd(p->_CSFDB_GetPDataXtd_PatternStdmyValue2()); + theSchema->PersistentToAdd(p->_CSFDB_GetPDataXtd_PatternStdmyNb1()); + theSchema->PersistentToAdd(p->_CSFDB_GetPDataXtd_PatternStdmyNb2()); + theSchema->PersistentToAdd(p->_CSFDB_GetPDataXtd_PatternStdmyMirror()); + + } + } +} + +void StdSchema_PDataXtd_PatternStd::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PDataXtd_PatternStd::SAdd((Handle(PDataXtd_PatternStd)&)p,theSchema); +} + +void StdSchema_PDataXtd_PatternStd::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataXtd_PatternStd) &pp = (Handle(PDataXtd_PatternStd)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutInteger(pp->_CSFDB_GetPDataXtd_PatternStdmySignature()); + f.PutBoolean(pp->_CSFDB_GetPDataXtd_PatternStdmyAxis1Reversed()); + f.PutBoolean(pp->_CSFDB_GetPDataXtd_PatternStdmyAxis2Reversed()); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDataXtd_PatternStdmyAxis1(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDataXtd_PatternStdmyAxis2(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDataXtd_PatternStdmyValue1(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDataXtd_PatternStdmyValue2(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDataXtd_PatternStdmyNb1(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDataXtd_PatternStdmyNb2(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPDataXtd_PatternStdmyMirror(),f); + + f.EndWritePersistentObjectData(); + } +} + +void StdSchema_PDataXtd_PatternStd::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PDataXtd_PatternStd::SWrite(p,f,theSchema); +} + + +void StdSchema_PDataXtd_PatternStd::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataXtd_PatternStd) &pp = (Handle(PDataXtd_PatternStd)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Integer PDataXtd_PatternStdmySignature; + f.GetInteger(PDataXtd_PatternStdmySignature); + pp->_CSFDB_SetPDataXtd_PatternStdmySignature(PDataXtd_PatternStdmySignature); + + Standard_Boolean PDataXtd_PatternStdmyAxis1Reversed; + f.GetBoolean(PDataXtd_PatternStdmyAxis1Reversed); + pp->_CSFDB_SetPDataXtd_PatternStdmyAxis1Reversed(PDataXtd_PatternStdmyAxis1Reversed); + + Standard_Boolean PDataXtd_PatternStdmyAxis2Reversed; + f.GetBoolean(PDataXtd_PatternStdmyAxis2Reversed); + pp->_CSFDB_SetPDataXtd_PatternStdmyAxis2Reversed(PDataXtd_PatternStdmyAxis2Reversed); + + Handle(PNaming_NamedShape) PDataXtd_PatternStdmyAxis1; + + theSchema->ReadPersistentReference(PDataXtd_PatternStdmyAxis1,f); + pp->_CSFDB_SetPDataXtd_PatternStdmyAxis1(PDataXtd_PatternStdmyAxis1); + + Handle(PNaming_NamedShape) PDataXtd_PatternStdmyAxis2; + + theSchema->ReadPersistentReference(PDataXtd_PatternStdmyAxis2,f); + pp->_CSFDB_SetPDataXtd_PatternStdmyAxis2(PDataXtd_PatternStdmyAxis2); + + Handle(PDataStd_Real) PDataXtd_PatternStdmyValue1; + + theSchema->ReadPersistentReference(PDataXtd_PatternStdmyValue1,f); + pp->_CSFDB_SetPDataXtd_PatternStdmyValue1(PDataXtd_PatternStdmyValue1); + + Handle(PDataStd_Real) PDataXtd_PatternStdmyValue2; + + theSchema->ReadPersistentReference(PDataXtd_PatternStdmyValue2,f); + pp->_CSFDB_SetPDataXtd_PatternStdmyValue2(PDataXtd_PatternStdmyValue2); + + Handle(PDataStd_Integer) PDataXtd_PatternStdmyNb1; + + theSchema->ReadPersistentReference(PDataXtd_PatternStdmyNb1,f); + pp->_CSFDB_SetPDataXtd_PatternStdmyNb1(PDataXtd_PatternStdmyNb1); + + Handle(PDataStd_Integer) PDataXtd_PatternStdmyNb2; + + theSchema->ReadPersistentReference(PDataXtd_PatternStdmyNb2,f); + pp->_CSFDB_SetPDataXtd_PatternStdmyNb2(PDataXtd_PatternStdmyNb2); + + Handle(PNaming_NamedShape) PDataXtd_PatternStdmyMirror; + + theSchema->ReadPersistentReference(PDataXtd_PatternStdmyMirror,f); + pp->_CSFDB_SetPDataXtd_PatternStdmyMirror(PDataXtd_PatternStdmyMirror); + + f.EndReadPersistentObjectData(); + } +} + +void StdSchema_PDataXtd_PatternStd::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdSchema_PDataXtd_PatternStd::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_PatternStd.hxx b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_PatternStd.hxx new file mode 100644 index 000000000..83194eb3e --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_PatternStd.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_PDataXtd_PatternStd_HeaderFile +#define _StdSchema_PDataXtd_PatternStd_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDataXtd_PatternStd_HeaderFile +#include +#endif + +#ifndef _StdSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdSchema_PDataXtd_PatternStd,Storage_CallBack) + +class StdSchema_PDataXtd_PatternStd : public Storage_CallBack { +public: + StdSchema_PDataXtd_PatternStd() {} + Standard_EXPORT static void SAdd(const Handle(PDataXtd_PatternStd)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdSchema_PDataXtd_PatternStd) +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_PatternStd.ixx b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_PatternStd.ixx new file mode 100644 index 000000000..8b474abaf --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_PatternStd.ixx @@ -0,0 +1,23 @@ +#include +#ifndef _StdSchema_PNaming_NamedShape_HeaderFile +#include +#endif +#ifndef _StdSchema_PNaming_NamedShape_HeaderFile +#include +#endif +#ifndef _StdSchema_PDataStd_Real_HeaderFile +#include +#endif +#ifndef _StdSchema_PDataStd_Real_HeaderFile +#include +#endif +#ifndef _StdSchema_PDataStd_Integer_HeaderFile +#include +#endif +#ifndef _StdSchema_PDataStd_Integer_HeaderFile +#include +#endif +#ifndef _StdSchema_PNaming_NamedShape_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Placement.cxx b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Placement.cxx new file mode 100644 index 000000000..c2cb0ae72 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Placement.cxx @@ -0,0 +1,75 @@ +#ifndef _StdSchema_PDataXtd_Placement_HeaderFile +#include +#endif +#ifndef _PDataXtd_Placement_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdSchema_PDataXtd_Placement,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdSchema_PDataXtd_Placement,Storage_CallBack) + +Handle(Standard_Persistent) StdSchema_PDataXtd_Placement::New() const +{ + return new PDataXtd_Placement(Storage_stCONSTclCOM()); +} + +void StdSchema_PDataXtd_Placement::SAdd(const Handle(PDataXtd_Placement)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDataXtd_Placement")) { + + } + } +} + +void StdSchema_PDataXtd_Placement::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PDataXtd_Placement::SAdd((Handle(PDataXtd_Placement)&)p,theSchema); +} + +void StdSchema_PDataXtd_Placement::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataXtd_Placement) &pp = (Handle(PDataXtd_Placement)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + + f.EndWritePersistentObjectData(); + } +} + +void StdSchema_PDataXtd_Placement::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PDataXtd_Placement::SWrite(p,f,theSchema); +} + + +void StdSchema_PDataXtd_Placement::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataXtd_Placement) &pp = (Handle(PDataXtd_Placement)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + f.EndReadPersistentObjectData(); + } +} + +void StdSchema_PDataXtd_Placement::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdSchema_PDataXtd_Placement::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Placement.hxx b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Placement.hxx new file mode 100644 index 000000000..891fcc104 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Placement.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_PDataXtd_Placement_HeaderFile +#define _StdSchema_PDataXtd_Placement_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDataXtd_Placement_HeaderFile +#include +#endif + +#ifndef _StdSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdSchema_PDataXtd_Placement,Storage_CallBack) + +class StdSchema_PDataXtd_Placement : public Storage_CallBack { +public: + StdSchema_PDataXtd_Placement() {} + Standard_EXPORT static void SAdd(const Handle(PDataXtd_Placement)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdSchema_PDataXtd_Placement) +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Placement.ixx b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Placement.ixx new file mode 100644 index 000000000..aac47e873 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Placement.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Plane.cxx b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Plane.cxx new file mode 100644 index 000000000..b3495144d --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Plane.cxx @@ -0,0 +1,75 @@ +#ifndef _StdSchema_PDataXtd_Plane_HeaderFile +#include +#endif +#ifndef _PDataXtd_Plane_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdSchema_PDataXtd_Plane,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdSchema_PDataXtd_Plane,Storage_CallBack) + +Handle(Standard_Persistent) StdSchema_PDataXtd_Plane::New() const +{ + return new PDataXtd_Plane(Storage_stCONSTclCOM()); +} + +void StdSchema_PDataXtd_Plane::SAdd(const Handle(PDataXtd_Plane)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDataXtd_Plane")) { + + } + } +} + +void StdSchema_PDataXtd_Plane::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PDataXtd_Plane::SAdd((Handle(PDataXtd_Plane)&)p,theSchema); +} + +void StdSchema_PDataXtd_Plane::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataXtd_Plane) &pp = (Handle(PDataXtd_Plane)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + + f.EndWritePersistentObjectData(); + } +} + +void StdSchema_PDataXtd_Plane::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PDataXtd_Plane::SWrite(p,f,theSchema); +} + + +void StdSchema_PDataXtd_Plane::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataXtd_Plane) &pp = (Handle(PDataXtd_Plane)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + f.EndReadPersistentObjectData(); + } +} + +void StdSchema_PDataXtd_Plane::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdSchema_PDataXtd_Plane::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Plane.hxx b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Plane.hxx new file mode 100644 index 000000000..f92c40e54 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Plane.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_PDataXtd_Plane_HeaderFile +#define _StdSchema_PDataXtd_Plane_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDataXtd_Plane_HeaderFile +#include +#endif + +#ifndef _StdSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdSchema_PDataXtd_Plane,Storage_CallBack) + +class StdSchema_PDataXtd_Plane : public Storage_CallBack { +public: + StdSchema_PDataXtd_Plane() {} + Standard_EXPORT static void SAdd(const Handle(PDataXtd_Plane)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdSchema_PDataXtd_Plane) +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Plane.ixx b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Plane.ixx new file mode 100644 index 000000000..aac47e873 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Plane.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Point.cxx b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Point.cxx new file mode 100644 index 000000000..b010dfd38 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Point.cxx @@ -0,0 +1,75 @@ +#ifndef _StdSchema_PDataXtd_Point_HeaderFile +#include +#endif +#ifndef _PDataXtd_Point_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdSchema_PDataXtd_Point,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdSchema_PDataXtd_Point,Storage_CallBack) + +Handle(Standard_Persistent) StdSchema_PDataXtd_Point::New() const +{ + return new PDataXtd_Point(Storage_stCONSTclCOM()); +} + +void StdSchema_PDataXtd_Point::SAdd(const Handle(PDataXtd_Point)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDataXtd_Point")) { + + } + } +} + +void StdSchema_PDataXtd_Point::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PDataXtd_Point::SAdd((Handle(PDataXtd_Point)&)p,theSchema); +} + +void StdSchema_PDataXtd_Point::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataXtd_Point) &pp = (Handle(PDataXtd_Point)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + + f.EndWritePersistentObjectData(); + } +} + +void StdSchema_PDataXtd_Point::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PDataXtd_Point::SWrite(p,f,theSchema); +} + + +void StdSchema_PDataXtd_Point::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataXtd_Point) &pp = (Handle(PDataXtd_Point)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + f.EndReadPersistentObjectData(); + } +} + +void StdSchema_PDataXtd_Point::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdSchema_PDataXtd_Point::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Point.hxx b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Point.hxx new file mode 100644 index 000000000..0c7dc0956 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Point.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_PDataXtd_Point_HeaderFile +#define _StdSchema_PDataXtd_Point_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDataXtd_Point_HeaderFile +#include +#endif + +#ifndef _StdSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdSchema_PDataXtd_Point,Storage_CallBack) + +class StdSchema_PDataXtd_Point : public Storage_CallBack { +public: + StdSchema_PDataXtd_Point() {} + Standard_EXPORT static void SAdd(const Handle(PDataXtd_Point)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdSchema_PDataXtd_Point) +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Point.ixx b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Point.ixx new file mode 100644 index 000000000..aac47e873 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Point.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Position.cxx b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Position.cxx new file mode 100644 index 000000000..3297aa1fb --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Position.cxx @@ -0,0 +1,78 @@ +#ifndef _StdSchema_PDataXtd_Position_HeaderFile +#include +#endif +#ifndef _PDataXtd_Position_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdSchema_PDataXtd_Position,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdSchema_PDataXtd_Position,Storage_CallBack) + +Handle(Standard_Persistent) StdSchema_PDataXtd_Position::New() const +{ + return new PDataXtd_Position(Storage_stCONSTclCOM()); +} + +void StdSchema_PDataXtd_Position::SAdd(const Handle(PDataXtd_Position)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDataXtd_Position")) { + + } + } +} + +void StdSchema_PDataXtd_Position::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PDataXtd_Position::SAdd((Handle(PDataXtd_Position)&)p,theSchema); +} + +void StdSchema_PDataXtd_Position::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataXtd_Position) &pp = (Handle(PDataXtd_Position)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + StdSchema_gp_Pnt::SWrite(pp->_CSFDB_GetPDataXtd_PositionmyPosition(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void StdSchema_PDataXtd_Position::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PDataXtd_Position::SWrite(p,f,theSchema); +} + + +void StdSchema_PDataXtd_Position::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataXtd_Position) &pp = (Handle(PDataXtd_Position)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + StdSchema_gp_Pnt::SRead((gp_Pnt&)pp->_CSFDB_GetPDataXtd_PositionmyPosition(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void StdSchema_PDataXtd_Position::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdSchema_PDataXtd_Position::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Position.hxx b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Position.hxx new file mode 100644 index 000000000..cbd4df501 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Position.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_PDataXtd_Position_HeaderFile +#define _StdSchema_PDataXtd_Position_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDataXtd_Position_HeaderFile +#include +#endif + +#ifndef _StdSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdSchema_PDataXtd_Position,Storage_CallBack) + +class StdSchema_PDataXtd_Position : public Storage_CallBack { +public: + StdSchema_PDataXtd_Position() {} + Standard_EXPORT static void SAdd(const Handle(PDataXtd_Position)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdSchema_PDataXtd_Position) +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Position.ixx b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Position.ixx new file mode 100644 index 000000000..ff2391e76 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Position.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _StdSchema_gp_Pnt_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Shape.cxx b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Shape.cxx new file mode 100644 index 000000000..122092595 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Shape.cxx @@ -0,0 +1,75 @@ +#ifndef _StdSchema_PDataXtd_Shape_HeaderFile +#include +#endif +#ifndef _PDataXtd_Shape_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdSchema_PDataXtd_Shape,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdSchema_PDataXtd_Shape,Storage_CallBack) + +Handle(Standard_Persistent) StdSchema_PDataXtd_Shape::New() const +{ + return new PDataXtd_Shape(Storage_stCONSTclCOM()); +} + +void StdSchema_PDataXtd_Shape::SAdd(const Handle(PDataXtd_Shape)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDataXtd_Shape")) { + + } + } +} + +void StdSchema_PDataXtd_Shape::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PDataXtd_Shape::SAdd((Handle(PDataXtd_Shape)&)p,theSchema); +} + +void StdSchema_PDataXtd_Shape::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataXtd_Shape) &pp = (Handle(PDataXtd_Shape)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + + f.EndWritePersistentObjectData(); + } +} + +void StdSchema_PDataXtd_Shape::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PDataXtd_Shape::SWrite(p,f,theSchema); +} + + +void StdSchema_PDataXtd_Shape::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDataXtd_Shape) &pp = (Handle(PDataXtd_Shape)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + f.EndReadPersistentObjectData(); + } +} + +void StdSchema_PDataXtd_Shape::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdSchema_PDataXtd_Shape::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Shape.hxx b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Shape.hxx new file mode 100644 index 000000000..681176c21 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Shape.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_PDataXtd_Shape_HeaderFile +#define _StdSchema_PDataXtd_Shape_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDataXtd_Shape_HeaderFile +#include +#endif + +#ifndef _StdSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdSchema_PDataXtd_Shape,Storage_CallBack) + +class StdSchema_PDataXtd_Shape : public Storage_CallBack { +public: + StdSchema_PDataXtd_Shape() {} + Standard_EXPORT static void SAdd(const Handle(PDataXtd_Shape)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdSchema_PDataXtd_Shape) +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Shape.ixx b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Shape.ixx new file mode 100644 index 000000000..aac47e873 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PDataXtd_Shape.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PNaming_FieldOfHArray1OfNamedShape.cxx b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_FieldOfHArray1OfNamedShape.cxx new file mode 100644 index 000000000..41bbdefdb --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_FieldOfHArray1OfNamedShape.cxx @@ -0,0 +1,54 @@ +#ifndef _StdSchema_PNaming_FieldOfHArray1OfNamedShape_HeaderFile +#include +#endif +#ifndef _PNaming_FieldOfHArray1OfNamedShape_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void StdSchema_PNaming_FieldOfHArray1OfNamedShape::SAdd(const PNaming_FieldOfHArray1OfNamedShape& p, const Handle(Storage_Schema)& theSchema) +{ + Standard_Integer i; + for (i = 0; i < p.Length(); i++) { + theSchema->PersistentToAdd(p.Value(i)); + } + +} + +void StdSchema_PNaming_FieldOfHArray1OfNamedShape::SWrite(const PNaming_FieldOfHArray1OfNamedShape& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + + f.BeginWriteObjectData(); + f.PutInteger(pp.Length()); + for (Standard_Integer i = 0; i < pp.Length(); i++) { + theSchema->WritePersistentReference(pp.Value(i),f); + + } + f.EndWriteObjectData(); +} + +void StdSchema_PNaming_FieldOfHArray1OfNamedShape::SRead(PNaming_FieldOfHArray1OfNamedShape& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + Standard_Integer size = 0; + + f.BeginReadObjectData(); + f.GetInteger(size); + pp.Resize(size); + + for (Standard_Integer j = 0; j < size; j++) { + Handle(PNaming_NamedShape) par; + + theSchema->ReadPersistentReference(par,f); + pp.SetValue(j,par); + + } + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PNaming_FieldOfHArray1OfNamedShape.hxx b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_FieldOfHArray1OfNamedShape.hxx new file mode 100644 index 000000000..ac8dc3163 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_FieldOfHArray1OfNamedShape.hxx @@ -0,0 +1,29 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_PNaming_FieldOfHArray1OfNamedShape_HeaderFile +#define _StdSchema_PNaming_FieldOfHArray1OfNamedShape_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + +#ifndef _StdSchema_PNaming_NamedShape_HeaderFile +#include +#endif + + +class PNaming_FieldOfHArray1OfNamedShape; + +class StdSchema_PNaming_FieldOfHArray1OfNamedShape { +public: + Standard_EXPORT static void SAdd(const PNaming_FieldOfHArray1OfNamedShape&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const PNaming_FieldOfHArray1OfNamedShape&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(PNaming_FieldOfHArray1OfNamedShape&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PNaming_FieldOfHArray1OfNamedShape.ixx b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_FieldOfHArray1OfNamedShape.ixx new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_FieldOfHArray1OfNamedShape.ixx @@ -0,0 +1 @@ + diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PNaming_HArray1OfNamedShape.cxx b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_HArray1OfNamedShape.cxx new file mode 100644 index 000000000..871d40f91 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_HArray1OfNamedShape.cxx @@ -0,0 +1,89 @@ +#ifndef _StdSchema_PNaming_HArray1OfNamedShape_HeaderFile +#include +#endif +#ifndef _PNaming_HArray1OfNamedShape_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdSchema_PNaming_HArray1OfNamedShape,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdSchema_PNaming_HArray1OfNamedShape,Storage_CallBack) + +Handle(Standard_Persistent) StdSchema_PNaming_HArray1OfNamedShape::New() const +{ + return new PNaming_HArray1OfNamedShape(Storage_stCONSTclCOM()); +} + +void StdSchema_PNaming_HArray1OfNamedShape::SAdd(const Handle(PNaming_HArray1OfNamedShape)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PNaming_HArray1OfNamedShape")) { + StdSchema_PNaming_FieldOfHArray1OfNamedShape::SAdd(p->_CSFDB_GetPNaming_HArray1OfNamedShapeData(),theSchema); + + } + } +} + +void StdSchema_PNaming_HArray1OfNamedShape::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PNaming_HArray1OfNamedShape::SAdd((Handle(PNaming_HArray1OfNamedShape)&)p,theSchema); +} + +void StdSchema_PNaming_HArray1OfNamedShape::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PNaming_HArray1OfNamedShape) &pp = (Handle(PNaming_HArray1OfNamedShape)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutInteger(pp->_CSFDB_GetPNaming_HArray1OfNamedShapeLowerBound()); + f.PutInteger(pp->_CSFDB_GetPNaming_HArray1OfNamedShapeUpperBound()); + StdSchema_PNaming_FieldOfHArray1OfNamedShape::SWrite(pp->_CSFDB_GetPNaming_HArray1OfNamedShapeData(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void StdSchema_PNaming_HArray1OfNamedShape::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PNaming_HArray1OfNamedShape::SWrite(p,f,theSchema); +} + + +void StdSchema_PNaming_HArray1OfNamedShape::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PNaming_HArray1OfNamedShape) &pp = (Handle(PNaming_HArray1OfNamedShape)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Integer PNaming_HArray1OfNamedShapeLowerBound; + f.GetInteger(PNaming_HArray1OfNamedShapeLowerBound); + pp->_CSFDB_SetPNaming_HArray1OfNamedShapeLowerBound(PNaming_HArray1OfNamedShapeLowerBound); + + Standard_Integer PNaming_HArray1OfNamedShapeUpperBound; + f.GetInteger(PNaming_HArray1OfNamedShapeUpperBound); + pp->_CSFDB_SetPNaming_HArray1OfNamedShapeUpperBound(PNaming_HArray1OfNamedShapeUpperBound); + + StdSchema_PNaming_FieldOfHArray1OfNamedShape::SRead((PNaming_FieldOfHArray1OfNamedShape&)pp->_CSFDB_GetPNaming_HArray1OfNamedShapeData(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void StdSchema_PNaming_HArray1OfNamedShape::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdSchema_PNaming_HArray1OfNamedShape::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PNaming_HArray1OfNamedShape.hxx b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_HArray1OfNamedShape.hxx new file mode 100644 index 000000000..b64d5e345 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_HArray1OfNamedShape.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_PNaming_HArray1OfNamedShape_HeaderFile +#define _StdSchema_PNaming_HArray1OfNamedShape_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PNaming_HArray1OfNamedShape_HeaderFile +#include +#endif + +#ifndef _StdSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdSchema_PNaming_HArray1OfNamedShape,Storage_CallBack) + +class StdSchema_PNaming_HArray1OfNamedShape : public Storage_CallBack { +public: + StdSchema_PNaming_HArray1OfNamedShape() {} + Standard_EXPORT static void SAdd(const Handle(PNaming_HArray1OfNamedShape)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdSchema_PNaming_HArray1OfNamedShape) +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PNaming_HArray1OfNamedShape.ixx b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_HArray1OfNamedShape.ixx new file mode 100644 index 000000000..837c861f6 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_HArray1OfNamedShape.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _StdSchema_PNaming_FieldOfHArray1OfNamedShape_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Name.cxx b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Name.cxx new file mode 100644 index 000000000..5100ae402 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Name.cxx @@ -0,0 +1,104 @@ +#ifndef _StdSchema_PNaming_Name_HeaderFile +#include +#endif +#ifndef _PNaming_Name_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdSchema_PNaming_Name,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdSchema_PNaming_Name,Storage_CallBack) + +Handle(Standard_Persistent) StdSchema_PNaming_Name::New() const +{ + return new PNaming_Name(Storage_stCONSTclCOM()); +} + +void StdSchema_PNaming_Name::SAdd(const Handle(PNaming_Name)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PNaming_Name")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPNaming_NamemyArgs()); + theSchema->PersistentToAdd(p->_CSFDB_GetPNaming_NamemyStop()); + + } + } +} + +void StdSchema_PNaming_Name::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PNaming_Name::SAdd((Handle(PNaming_Name)&)p,theSchema); +} + +void StdSchema_PNaming_Name::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PNaming_Name) &pp = (Handle(PNaming_Name)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutInteger(pp->_CSFDB_GetPNaming_NamemyType()); + f.PutInteger(pp->_CSFDB_GetPNaming_NamemyShapeType()); + theSchema->WritePersistentReference(pp->_CSFDB_GetPNaming_NamemyArgs(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPNaming_NamemyStop(),f); + f.PutInteger(pp->_CSFDB_GetPNaming_NamemyIndex()); + + f.EndWritePersistentObjectData(); + } +} + +void StdSchema_PNaming_Name::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PNaming_Name::SWrite(p,f,theSchema); +} + + +void StdSchema_PNaming_Name::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PNaming_Name) &pp = (Handle(PNaming_Name)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Integer PNaming_NamemyType; + f.GetInteger(PNaming_NamemyType); + pp->_CSFDB_SetPNaming_NamemyType(PNaming_NamemyType); + + Standard_Integer PNaming_NamemyShapeType; + f.GetInteger(PNaming_NamemyShapeType); + pp->_CSFDB_SetPNaming_NamemyShapeType(PNaming_NamemyShapeType); + + Handle(PNaming_HArray1OfNamedShape) PNaming_NamemyArgs; + + theSchema->ReadPersistentReference(PNaming_NamemyArgs,f); + pp->_CSFDB_SetPNaming_NamemyArgs(PNaming_NamemyArgs); + + Handle(PNaming_NamedShape) PNaming_NamemyStop; + + theSchema->ReadPersistentReference(PNaming_NamemyStop,f); + pp->_CSFDB_SetPNaming_NamemyStop(PNaming_NamemyStop); + + Standard_Integer PNaming_NamemyIndex; + f.GetInteger(PNaming_NamemyIndex); + pp->_CSFDB_SetPNaming_NamemyIndex(PNaming_NamemyIndex); + + f.EndReadPersistentObjectData(); + } +} + +void StdSchema_PNaming_Name::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdSchema_PNaming_Name::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Name.hxx b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Name.hxx new file mode 100644 index 000000000..d86144c34 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Name.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_PNaming_Name_HeaderFile +#define _StdSchema_PNaming_Name_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PNaming_Name_HeaderFile +#include +#endif + +#ifndef _StdSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdSchema_PNaming_Name,Storage_CallBack) + +class StdSchema_PNaming_Name : public Storage_CallBack { +public: + StdSchema_PNaming_Name() {} + Standard_EXPORT static void SAdd(const Handle(PNaming_Name)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdSchema_PNaming_Name) +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Name.ixx b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Name.ixx new file mode 100644 index 000000000..abbc0eefb --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Name.ixx @@ -0,0 +1,8 @@ +#include +#ifndef _StdSchema_PNaming_HArray1OfNamedShape_HeaderFile +#include +#endif +#ifndef _StdSchema_PNaming_NamedShape_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Name_1.cxx b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Name_1.cxx new file mode 100644 index 000000000..c2695e989 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Name_1.cxx @@ -0,0 +1,111 @@ +#ifndef _StdSchema_PNaming_Name_1_HeaderFile +#include +#endif +#ifndef _PNaming_Name_1_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdSchema_PNaming_Name_1,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdSchema_PNaming_Name_1,Storage_CallBack) + +Handle(Standard_Persistent) StdSchema_PNaming_Name_1::New() const +{ + return new PNaming_Name_1(Storage_stCONSTclCOM()); +} + +void StdSchema_PNaming_Name_1::SAdd(const Handle(PNaming_Name_1)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PNaming_Name_1")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPNaming_Name_1myArgs()); + theSchema->PersistentToAdd(p->_CSFDB_GetPNaming_Name_1myStop()); + theSchema->PersistentToAdd(p->_CSFDB_GetPNaming_Name_1myContextLabel()); + + } + } +} + +void StdSchema_PNaming_Name_1::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PNaming_Name_1::SAdd((Handle(PNaming_Name_1)&)p,theSchema); +} + +void StdSchema_PNaming_Name_1::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PNaming_Name_1) &pp = (Handle(PNaming_Name_1)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutInteger(pp->_CSFDB_GetPNaming_Name_1myType()); + f.PutInteger(pp->_CSFDB_GetPNaming_Name_1myShapeType()); + theSchema->WritePersistentReference(pp->_CSFDB_GetPNaming_Name_1myArgs(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPNaming_Name_1myStop(),f); + f.PutInteger(pp->_CSFDB_GetPNaming_Name_1myIndex()); + theSchema->WritePersistentReference(pp->_CSFDB_GetPNaming_Name_1myContextLabel(),f); + + f.EndWritePersistentObjectData(); + } +} + +void StdSchema_PNaming_Name_1::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PNaming_Name_1::SWrite(p,f,theSchema); +} + + +void StdSchema_PNaming_Name_1::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PNaming_Name_1) &pp = (Handle(PNaming_Name_1)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Integer PNaming_Name_1myType; + f.GetInteger(PNaming_Name_1myType); + pp->_CSFDB_SetPNaming_Name_1myType(PNaming_Name_1myType); + + Standard_Integer PNaming_Name_1myShapeType; + f.GetInteger(PNaming_Name_1myShapeType); + pp->_CSFDB_SetPNaming_Name_1myShapeType(PNaming_Name_1myShapeType); + + Handle(PNaming_HArray1OfNamedShape) PNaming_Name_1myArgs; + + theSchema->ReadPersistentReference(PNaming_Name_1myArgs,f); + pp->_CSFDB_SetPNaming_Name_1myArgs(PNaming_Name_1myArgs); + + Handle(PNaming_NamedShape) PNaming_Name_1myStop; + + theSchema->ReadPersistentReference(PNaming_Name_1myStop,f); + pp->_CSFDB_SetPNaming_Name_1myStop(PNaming_Name_1myStop); + + Standard_Integer PNaming_Name_1myIndex; + f.GetInteger(PNaming_Name_1myIndex); + pp->_CSFDB_SetPNaming_Name_1myIndex(PNaming_Name_1myIndex); + + Handle(PCollection_HAsciiString) PNaming_Name_1myContextLabel; + + theSchema->ReadPersistentReference(PNaming_Name_1myContextLabel,f); + pp->_CSFDB_SetPNaming_Name_1myContextLabel(PNaming_Name_1myContextLabel); + + f.EndReadPersistentObjectData(); + } +} + +void StdSchema_PNaming_Name_1::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdSchema_PNaming_Name_1::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Name_1.hxx b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Name_1.hxx new file mode 100644 index 000000000..1fa4dd919 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Name_1.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_PNaming_Name_1_HeaderFile +#define _StdSchema_PNaming_Name_1_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PNaming_Name_1_HeaderFile +#include +#endif + +#ifndef _StdSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdSchema_PNaming_Name_1,Storage_CallBack) + +class StdSchema_PNaming_Name_1 : public Storage_CallBack { +public: + StdSchema_PNaming_Name_1() {} + Standard_EXPORT static void SAdd(const Handle(PNaming_Name_1)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdSchema_PNaming_Name_1) +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Name_1.ixx b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Name_1.ixx new file mode 100644 index 000000000..b493b0766 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Name_1.ixx @@ -0,0 +1,11 @@ +#include +#ifndef _StdSchema_PNaming_HArray1OfNamedShape_HeaderFile +#include +#endif +#ifndef _StdSchema_PNaming_NamedShape_HeaderFile +#include +#endif +#ifndef _StdSchema_PCollection_HAsciiString_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Name_2.cxx b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Name_2.cxx new file mode 100644 index 000000000..9610e4629 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Name_2.cxx @@ -0,0 +1,116 @@ +#ifndef _StdSchema_PNaming_Name_2_HeaderFile +#include +#endif +#ifndef _PNaming_Name_2_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdSchema_PNaming_Name_2,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdSchema_PNaming_Name_2,Storage_CallBack) + +Handle(Standard_Persistent) StdSchema_PNaming_Name_2::New() const +{ + return new PNaming_Name_2(Storage_stCONSTclCOM()); +} + +void StdSchema_PNaming_Name_2::SAdd(const Handle(PNaming_Name_2)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PNaming_Name_2")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPNaming_Name_2myArgs()); + theSchema->PersistentToAdd(p->_CSFDB_GetPNaming_Name_2myStop()); + theSchema->PersistentToAdd(p->_CSFDB_GetPNaming_Name_2myContextLabel()); + + } + } +} + +void StdSchema_PNaming_Name_2::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PNaming_Name_2::SAdd((Handle(PNaming_Name_2)&)p,theSchema); +} + +void StdSchema_PNaming_Name_2::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PNaming_Name_2) &pp = (Handle(PNaming_Name_2)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutInteger(pp->_CSFDB_GetPNaming_Name_2myType()); + f.PutInteger(pp->_CSFDB_GetPNaming_Name_2myShapeType()); + theSchema->WritePersistentReference(pp->_CSFDB_GetPNaming_Name_2myArgs(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPNaming_Name_2myStop(),f); + f.PutInteger(pp->_CSFDB_GetPNaming_Name_2myIndex()); + theSchema->WritePersistentReference(pp->_CSFDB_GetPNaming_Name_2myContextLabel(),f); + f.PutInteger(pp->_CSFDB_GetPNaming_Name_2myOrientation()); + + f.EndWritePersistentObjectData(); + } +} + +void StdSchema_PNaming_Name_2::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PNaming_Name_2::SWrite(p,f,theSchema); +} + + +void StdSchema_PNaming_Name_2::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PNaming_Name_2) &pp = (Handle(PNaming_Name_2)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Integer PNaming_Name_2myType; + f.GetInteger(PNaming_Name_2myType); + pp->_CSFDB_SetPNaming_Name_2myType(PNaming_Name_2myType); + + Standard_Integer PNaming_Name_2myShapeType; + f.GetInteger(PNaming_Name_2myShapeType); + pp->_CSFDB_SetPNaming_Name_2myShapeType(PNaming_Name_2myShapeType); + + Handle(PNaming_HArray1OfNamedShape) PNaming_Name_2myArgs; + + theSchema->ReadPersistentReference(PNaming_Name_2myArgs,f); + pp->_CSFDB_SetPNaming_Name_2myArgs(PNaming_Name_2myArgs); + + Handle(PNaming_NamedShape) PNaming_Name_2myStop; + + theSchema->ReadPersistentReference(PNaming_Name_2myStop,f); + pp->_CSFDB_SetPNaming_Name_2myStop(PNaming_Name_2myStop); + + Standard_Integer PNaming_Name_2myIndex; + f.GetInteger(PNaming_Name_2myIndex); + pp->_CSFDB_SetPNaming_Name_2myIndex(PNaming_Name_2myIndex); + + Handle(PCollection_HAsciiString) PNaming_Name_2myContextLabel; + + theSchema->ReadPersistentReference(PNaming_Name_2myContextLabel,f); + pp->_CSFDB_SetPNaming_Name_2myContextLabel(PNaming_Name_2myContextLabel); + + Standard_Integer PNaming_Name_2myOrientation; + f.GetInteger(PNaming_Name_2myOrientation); + pp->_CSFDB_SetPNaming_Name_2myOrientation(PNaming_Name_2myOrientation); + + f.EndReadPersistentObjectData(); + } +} + +void StdSchema_PNaming_Name_2::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdSchema_PNaming_Name_2::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Name_2.hxx b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Name_2.hxx new file mode 100644 index 000000000..44909300c --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Name_2.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_PNaming_Name_2_HeaderFile +#define _StdSchema_PNaming_Name_2_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PNaming_Name_2_HeaderFile +#include +#endif + +#ifndef _StdSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdSchema_PNaming_Name_2,Storage_CallBack) + +class StdSchema_PNaming_Name_2 : public Storage_CallBack { +public: + StdSchema_PNaming_Name_2() {} + Standard_EXPORT static void SAdd(const Handle(PNaming_Name_2)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdSchema_PNaming_Name_2) +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Name_2.ixx b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Name_2.ixx new file mode 100644 index 000000000..b493b0766 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Name_2.ixx @@ -0,0 +1,11 @@ +#include +#ifndef _StdSchema_PNaming_HArray1OfNamedShape_HeaderFile +#include +#endif +#ifndef _StdSchema_PNaming_NamedShape_HeaderFile +#include +#endif +#ifndef _StdSchema_PCollection_HAsciiString_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PNaming_NamedShape.cxx b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_NamedShape.cxx new file mode 100644 index 000000000..d510b8539 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_NamedShape.cxx @@ -0,0 +1,99 @@ +#ifndef _StdSchema_PNaming_NamedShape_HeaderFile +#include +#endif +#ifndef _PNaming_NamedShape_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdSchema_PNaming_NamedShape,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdSchema_PNaming_NamedShape,Storage_CallBack) + +Handle(Standard_Persistent) StdSchema_PNaming_NamedShape::New() const +{ + return new PNaming_NamedShape(Storage_stCONSTclCOM()); +} + +void StdSchema_PNaming_NamedShape::SAdd(const Handle(PNaming_NamedShape)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PNaming_NamedShape")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPNaming_NamedShapemyOldShapes()); + theSchema->PersistentToAdd(p->_CSFDB_GetPNaming_NamedShapemyNewShapes()); + + } + } +} + +void StdSchema_PNaming_NamedShape::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PNaming_NamedShape::SAdd((Handle(PNaming_NamedShape)&)p,theSchema); +} + +void StdSchema_PNaming_NamedShape::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PNaming_NamedShape) &pp = (Handle(PNaming_NamedShape)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPNaming_NamedShapemyOldShapes(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPNaming_NamedShapemyNewShapes(),f); + f.PutInteger(pp->_CSFDB_GetPNaming_NamedShapemyShapeStatus()); + f.PutInteger(pp->_CSFDB_GetPNaming_NamedShapemyVersion()); + + f.EndWritePersistentObjectData(); + } +} + +void StdSchema_PNaming_NamedShape::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PNaming_NamedShape::SWrite(p,f,theSchema); +} + + +void StdSchema_PNaming_NamedShape::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PNaming_NamedShape) &pp = (Handle(PNaming_NamedShape)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PTopoDS_HArray1OfShape1) PNaming_NamedShapemyOldShapes; + + theSchema->ReadPersistentReference(PNaming_NamedShapemyOldShapes,f); + pp->_CSFDB_SetPNaming_NamedShapemyOldShapes(PNaming_NamedShapemyOldShapes); + + Handle(PTopoDS_HArray1OfShape1) PNaming_NamedShapemyNewShapes; + + theSchema->ReadPersistentReference(PNaming_NamedShapemyNewShapes,f); + pp->_CSFDB_SetPNaming_NamedShapemyNewShapes(PNaming_NamedShapemyNewShapes); + + Standard_Integer PNaming_NamedShapemyShapeStatus; + f.GetInteger(PNaming_NamedShapemyShapeStatus); + pp->_CSFDB_SetPNaming_NamedShapemyShapeStatus(PNaming_NamedShapemyShapeStatus); + + Standard_Integer PNaming_NamedShapemyVersion; + f.GetInteger(PNaming_NamedShapemyVersion); + pp->_CSFDB_SetPNaming_NamedShapemyVersion(PNaming_NamedShapemyVersion); + + f.EndReadPersistentObjectData(); + } +} + +void StdSchema_PNaming_NamedShape::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdSchema_PNaming_NamedShape::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PNaming_NamedShape.hxx b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_NamedShape.hxx new file mode 100644 index 000000000..67bdddddd --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_NamedShape.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_PNaming_NamedShape_HeaderFile +#define _StdSchema_PNaming_NamedShape_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PNaming_NamedShape_HeaderFile +#include +#endif + +#ifndef _StdSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdSchema_PNaming_NamedShape,Storage_CallBack) + +class StdSchema_PNaming_NamedShape : public Storage_CallBack { +public: + StdSchema_PNaming_NamedShape() {} + Standard_EXPORT static void SAdd(const Handle(PNaming_NamedShape)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdSchema_PNaming_NamedShape) +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PNaming_NamedShape.ixx b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_NamedShape.ixx new file mode 100644 index 000000000..797b2170f --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_NamedShape.ixx @@ -0,0 +1,8 @@ +#include +#ifndef _StdSchema_PTopoDS_HArray1OfShape1_HeaderFile +#include +#endif +#ifndef _StdSchema_PTopoDS_HArray1OfShape1_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Naming.cxx b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Naming.cxx new file mode 100644 index 000000000..a9afecf9e --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Naming.cxx @@ -0,0 +1,82 @@ +#ifndef _StdSchema_PNaming_Naming_HeaderFile +#include +#endif +#ifndef _PNaming_Naming_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdSchema_PNaming_Naming,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdSchema_PNaming_Naming,Storage_CallBack) + +Handle(Standard_Persistent) StdSchema_PNaming_Naming::New() const +{ + return new PNaming_Naming(Storage_stCONSTclCOM()); +} + +void StdSchema_PNaming_Naming::SAdd(const Handle(PNaming_Naming)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PNaming_Naming")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPNaming_NamingmyName()); + + } + } +} + +void StdSchema_PNaming_Naming::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PNaming_Naming::SAdd((Handle(PNaming_Naming)&)p,theSchema); +} + +void StdSchema_PNaming_Naming::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PNaming_Naming) &pp = (Handle(PNaming_Naming)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPNaming_NamingmyName(),f); + + f.EndWritePersistentObjectData(); + } +} + +void StdSchema_PNaming_Naming::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PNaming_Naming::SWrite(p,f,theSchema); +} + + +void StdSchema_PNaming_Naming::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PNaming_Naming) &pp = (Handle(PNaming_Naming)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PNaming_Name) PNaming_NamingmyName; + + theSchema->ReadPersistentReference(PNaming_NamingmyName,f); + pp->_CSFDB_SetPNaming_NamingmyName(PNaming_NamingmyName); + + f.EndReadPersistentObjectData(); + } +} + +void StdSchema_PNaming_Naming::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdSchema_PNaming_Naming::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Naming.hxx b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Naming.hxx new file mode 100644 index 000000000..3901e20e6 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Naming.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_PNaming_Naming_HeaderFile +#define _StdSchema_PNaming_Naming_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PNaming_Naming_HeaderFile +#include +#endif + +#ifndef _StdSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdSchema_PNaming_Naming,Storage_CallBack) + +class StdSchema_PNaming_Naming : public Storage_CallBack { +public: + StdSchema_PNaming_Naming() {} + Standard_EXPORT static void SAdd(const Handle(PNaming_Naming)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdSchema_PNaming_Naming) +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Naming.ixx b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Naming.ixx new file mode 100644 index 000000000..93bfcf86c --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Naming.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _StdSchema_PNaming_Name_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Naming_1.cxx b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Naming_1.cxx new file mode 100644 index 000000000..80d5e2977 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Naming_1.cxx @@ -0,0 +1,82 @@ +#ifndef _StdSchema_PNaming_Naming_1_HeaderFile +#include +#endif +#ifndef _PNaming_Naming_1_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdSchema_PNaming_Naming_1,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdSchema_PNaming_Naming_1,Storage_CallBack) + +Handle(Standard_Persistent) StdSchema_PNaming_Naming_1::New() const +{ + return new PNaming_Naming_1(Storage_stCONSTclCOM()); +} + +void StdSchema_PNaming_Naming_1::SAdd(const Handle(PNaming_Naming_1)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PNaming_Naming_1")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPNaming_Naming_1myName()); + + } + } +} + +void StdSchema_PNaming_Naming_1::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PNaming_Naming_1::SAdd((Handle(PNaming_Naming_1)&)p,theSchema); +} + +void StdSchema_PNaming_Naming_1::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PNaming_Naming_1) &pp = (Handle(PNaming_Naming_1)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPNaming_Naming_1myName(),f); + + f.EndWritePersistentObjectData(); + } +} + +void StdSchema_PNaming_Naming_1::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PNaming_Naming_1::SWrite(p,f,theSchema); +} + + +void StdSchema_PNaming_Naming_1::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PNaming_Naming_1) &pp = (Handle(PNaming_Naming_1)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PNaming_Name_1) PNaming_Naming_1myName; + + theSchema->ReadPersistentReference(PNaming_Naming_1myName,f); + pp->_CSFDB_SetPNaming_Naming_1myName(PNaming_Naming_1myName); + + f.EndReadPersistentObjectData(); + } +} + +void StdSchema_PNaming_Naming_1::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdSchema_PNaming_Naming_1::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Naming_1.hxx b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Naming_1.hxx new file mode 100644 index 000000000..dc741da8a --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Naming_1.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_PNaming_Naming_1_HeaderFile +#define _StdSchema_PNaming_Naming_1_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PNaming_Naming_1_HeaderFile +#include +#endif + +#ifndef _StdSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdSchema_PNaming_Naming_1,Storage_CallBack) + +class StdSchema_PNaming_Naming_1 : public Storage_CallBack { +public: + StdSchema_PNaming_Naming_1() {} + Standard_EXPORT static void SAdd(const Handle(PNaming_Naming_1)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdSchema_PNaming_Naming_1) +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Naming_1.ixx b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Naming_1.ixx new file mode 100644 index 000000000..c899036f8 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Naming_1.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _StdSchema_PNaming_Name_1_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Naming_2.cxx b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Naming_2.cxx new file mode 100644 index 000000000..6058c32e9 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Naming_2.cxx @@ -0,0 +1,82 @@ +#ifndef _StdSchema_PNaming_Naming_2_HeaderFile +#include +#endif +#ifndef _PNaming_Naming_2_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdSchema_PNaming_Naming_2,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdSchema_PNaming_Naming_2,Storage_CallBack) + +Handle(Standard_Persistent) StdSchema_PNaming_Naming_2::New() const +{ + return new PNaming_Naming_2(Storage_stCONSTclCOM()); +} + +void StdSchema_PNaming_Naming_2::SAdd(const Handle(PNaming_Naming_2)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PNaming_Naming_2")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPNaming_Naming_2myName()); + + } + } +} + +void StdSchema_PNaming_Naming_2::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PNaming_Naming_2::SAdd((Handle(PNaming_Naming_2)&)p,theSchema); +} + +void StdSchema_PNaming_Naming_2::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PNaming_Naming_2) &pp = (Handle(PNaming_Naming_2)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPNaming_Naming_2myName(),f); + + f.EndWritePersistentObjectData(); + } +} + +void StdSchema_PNaming_Naming_2::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PNaming_Naming_2::SWrite(p,f,theSchema); +} + + +void StdSchema_PNaming_Naming_2::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PNaming_Naming_2) &pp = (Handle(PNaming_Naming_2)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PNaming_Name_2) PNaming_Naming_2myName; + + theSchema->ReadPersistentReference(PNaming_Naming_2myName,f); + pp->_CSFDB_SetPNaming_Naming_2myName(PNaming_Naming_2myName); + + f.EndReadPersistentObjectData(); + } +} + +void StdSchema_PNaming_Naming_2::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdSchema_PNaming_Naming_2::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Naming_2.hxx b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Naming_2.hxx new file mode 100644 index 000000000..51b55e73d --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Naming_2.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_PNaming_Naming_2_HeaderFile +#define _StdSchema_PNaming_Naming_2_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PNaming_Naming_2_HeaderFile +#include +#endif + +#ifndef _StdSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdSchema_PNaming_Naming_2,Storage_CallBack) + +class StdSchema_PNaming_Naming_2 : public Storage_CallBack { +public: + StdSchema_PNaming_Naming_2() {} + Standard_EXPORT static void SAdd(const Handle(PNaming_Naming_2)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdSchema_PNaming_Naming_2) +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Naming_2.ixx b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Naming_2.ixx new file mode 100644 index 000000000..472f36262 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PNaming_Naming_2.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _StdSchema_PNaming_Name_2_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PPrsStd_AISPresentation.cxx b/src/FromOCCT/TKStdSchema/StdSchema_PPrsStd_AISPresentation.cxx new file mode 100644 index 000000000..26fce6db4 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PPrsStd_AISPresentation.cxx @@ -0,0 +1,107 @@ +#ifndef _StdSchema_PPrsStd_AISPresentation_HeaderFile +#include +#endif +#ifndef _PPrsStd_AISPresentation_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdSchema_PPrsStd_AISPresentation,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdSchema_PPrsStd_AISPresentation,Storage_CallBack) + +Handle(Standard_Persistent) StdSchema_PPrsStd_AISPresentation::New() const +{ + return new PPrsStd_AISPresentation(Storage_stCONSTclCOM()); +} + +void StdSchema_PPrsStd_AISPresentation::SAdd(const Handle(PPrsStd_AISPresentation)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PPrsStd_AISPresentation")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPPrsStd_AISPresentationmyDriverGUID()); + + } + } +} + +void StdSchema_PPrsStd_AISPresentation::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PPrsStd_AISPresentation::SAdd((Handle(PPrsStd_AISPresentation)&)p,theSchema); +} + +void StdSchema_PPrsStd_AISPresentation::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PPrsStd_AISPresentation) &pp = (Handle(PPrsStd_AISPresentation)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutBoolean(pp->_CSFDB_GetPPrsStd_AISPresentationmyIsDisplayed()); + theSchema->WritePersistentReference(pp->_CSFDB_GetPPrsStd_AISPresentationmyDriverGUID(),f); + f.PutReal(pp->_CSFDB_GetPPrsStd_AISPresentationmyTransparency()); + f.PutInteger(pp->_CSFDB_GetPPrsStd_AISPresentationmyColor()); + f.PutInteger(pp->_CSFDB_GetPPrsStd_AISPresentationmyMaterial()); + f.PutReal(pp->_CSFDB_GetPPrsStd_AISPresentationmyWidth()); + + f.EndWritePersistentObjectData(); + } +} + +void StdSchema_PPrsStd_AISPresentation::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PPrsStd_AISPresentation::SWrite(p,f,theSchema); +} + + +void StdSchema_PPrsStd_AISPresentation::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PPrsStd_AISPresentation) &pp = (Handle(PPrsStd_AISPresentation)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Boolean PPrsStd_AISPresentationmyIsDisplayed; + f.GetBoolean(PPrsStd_AISPresentationmyIsDisplayed); + pp->_CSFDB_SetPPrsStd_AISPresentationmyIsDisplayed(PPrsStd_AISPresentationmyIsDisplayed); + + Handle(PCollection_HExtendedString) PPrsStd_AISPresentationmyDriverGUID; + + theSchema->ReadPersistentReference(PPrsStd_AISPresentationmyDriverGUID,f); + pp->_CSFDB_SetPPrsStd_AISPresentationmyDriverGUID(PPrsStd_AISPresentationmyDriverGUID); + + Standard_Real PPrsStd_AISPresentationmyTransparency; + f.GetReal(PPrsStd_AISPresentationmyTransparency); + pp->_CSFDB_SetPPrsStd_AISPresentationmyTransparency(PPrsStd_AISPresentationmyTransparency); + + Standard_Integer PPrsStd_AISPresentationmyColor; + f.GetInteger(PPrsStd_AISPresentationmyColor); + pp->_CSFDB_SetPPrsStd_AISPresentationmyColor(PPrsStd_AISPresentationmyColor); + + Standard_Integer PPrsStd_AISPresentationmyMaterial; + f.GetInteger(PPrsStd_AISPresentationmyMaterial); + pp->_CSFDB_SetPPrsStd_AISPresentationmyMaterial(PPrsStd_AISPresentationmyMaterial); + + Standard_Real PPrsStd_AISPresentationmyWidth; + f.GetReal(PPrsStd_AISPresentationmyWidth); + pp->_CSFDB_SetPPrsStd_AISPresentationmyWidth(PPrsStd_AISPresentationmyWidth); + + f.EndReadPersistentObjectData(); + } +} + +void StdSchema_PPrsStd_AISPresentation::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdSchema_PPrsStd_AISPresentation::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PPrsStd_AISPresentation.hxx b/src/FromOCCT/TKStdSchema/StdSchema_PPrsStd_AISPresentation.hxx new file mode 100644 index 000000000..6c32d704c --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PPrsStd_AISPresentation.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_PPrsStd_AISPresentation_HeaderFile +#define _StdSchema_PPrsStd_AISPresentation_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PPrsStd_AISPresentation_HeaderFile +#include +#endif + +#ifndef _StdSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdSchema_PPrsStd_AISPresentation,Storage_CallBack) + +class StdSchema_PPrsStd_AISPresentation : public Storage_CallBack { +public: + StdSchema_PPrsStd_AISPresentation() {} + Standard_EXPORT static void SAdd(const Handle(PPrsStd_AISPresentation)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdSchema_PPrsStd_AISPresentation) +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PPrsStd_AISPresentation.ixx b/src/FromOCCT/TKStdSchema/StdSchema_PPrsStd_AISPresentation.ixx new file mode 100644 index 000000000..82aea335e --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PPrsStd_AISPresentation.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _StdSchema_PCollection_HExtendedString_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PPrsStd_AISPresentation_1.cxx b/src/FromOCCT/TKStdSchema/StdSchema_PPrsStd_AISPresentation_1.cxx new file mode 100644 index 000000000..e52cd982b --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PPrsStd_AISPresentation_1.cxx @@ -0,0 +1,112 @@ +#ifndef _StdSchema_PPrsStd_AISPresentation_1_HeaderFile +#include +#endif +#ifndef _PPrsStd_AISPresentation_1_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdSchema_PPrsStd_AISPresentation_1,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdSchema_PPrsStd_AISPresentation_1,Storage_CallBack) + +Handle(Standard_Persistent) StdSchema_PPrsStd_AISPresentation_1::New() const +{ + return new PPrsStd_AISPresentation_1(Storage_stCONSTclCOM()); +} + +void StdSchema_PPrsStd_AISPresentation_1::SAdd(const Handle(PPrsStd_AISPresentation_1)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PPrsStd_AISPresentation_1")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPPrsStd_AISPresentation_1myDriverGUID()); + + } + } +} + +void StdSchema_PPrsStd_AISPresentation_1::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PPrsStd_AISPresentation_1::SAdd((Handle(PPrsStd_AISPresentation_1)&)p,theSchema); +} + +void StdSchema_PPrsStd_AISPresentation_1::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PPrsStd_AISPresentation_1) &pp = (Handle(PPrsStd_AISPresentation_1)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutBoolean(pp->_CSFDB_GetPPrsStd_AISPresentation_1myIsDisplayed()); + theSchema->WritePersistentReference(pp->_CSFDB_GetPPrsStd_AISPresentation_1myDriverGUID(),f); + f.PutReal(pp->_CSFDB_GetPPrsStd_AISPresentation_1myTransparency()); + f.PutInteger(pp->_CSFDB_GetPPrsStd_AISPresentation_1myColor()); + f.PutInteger(pp->_CSFDB_GetPPrsStd_AISPresentation_1myMaterial()); + f.PutReal(pp->_CSFDB_GetPPrsStd_AISPresentation_1myWidth()); + f.PutInteger(pp->_CSFDB_GetPPrsStd_AISPresentation_1myMode()); + + f.EndWritePersistentObjectData(); + } +} + +void StdSchema_PPrsStd_AISPresentation_1::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PPrsStd_AISPresentation_1::SWrite(p,f,theSchema); +} + + +void StdSchema_PPrsStd_AISPresentation_1::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PPrsStd_AISPresentation_1) &pp = (Handle(PPrsStd_AISPresentation_1)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Boolean PPrsStd_AISPresentation_1myIsDisplayed; + f.GetBoolean(PPrsStd_AISPresentation_1myIsDisplayed); + pp->_CSFDB_SetPPrsStd_AISPresentation_1myIsDisplayed(PPrsStd_AISPresentation_1myIsDisplayed); + + Handle(PCollection_HExtendedString) PPrsStd_AISPresentation_1myDriverGUID; + + theSchema->ReadPersistentReference(PPrsStd_AISPresentation_1myDriverGUID,f); + pp->_CSFDB_SetPPrsStd_AISPresentation_1myDriverGUID(PPrsStd_AISPresentation_1myDriverGUID); + + Standard_Real PPrsStd_AISPresentation_1myTransparency; + f.GetReal(PPrsStd_AISPresentation_1myTransparency); + pp->_CSFDB_SetPPrsStd_AISPresentation_1myTransparency(PPrsStd_AISPresentation_1myTransparency); + + Standard_Integer PPrsStd_AISPresentation_1myColor; + f.GetInteger(PPrsStd_AISPresentation_1myColor); + pp->_CSFDB_SetPPrsStd_AISPresentation_1myColor(PPrsStd_AISPresentation_1myColor); + + Standard_Integer PPrsStd_AISPresentation_1myMaterial; + f.GetInteger(PPrsStd_AISPresentation_1myMaterial); + pp->_CSFDB_SetPPrsStd_AISPresentation_1myMaterial(PPrsStd_AISPresentation_1myMaterial); + + Standard_Real PPrsStd_AISPresentation_1myWidth; + f.GetReal(PPrsStd_AISPresentation_1myWidth); + pp->_CSFDB_SetPPrsStd_AISPresentation_1myWidth(PPrsStd_AISPresentation_1myWidth); + + Standard_Integer PPrsStd_AISPresentation_1myMode; + f.GetInteger(PPrsStd_AISPresentation_1myMode); + pp->_CSFDB_SetPPrsStd_AISPresentation_1myMode(PPrsStd_AISPresentation_1myMode); + + f.EndReadPersistentObjectData(); + } +} + +void StdSchema_PPrsStd_AISPresentation_1::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdSchema_PPrsStd_AISPresentation_1::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PPrsStd_AISPresentation_1.hxx b/src/FromOCCT/TKStdSchema/StdSchema_PPrsStd_AISPresentation_1.hxx new file mode 100644 index 000000000..230aed77c --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PPrsStd_AISPresentation_1.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_PPrsStd_AISPresentation_1_HeaderFile +#define _StdSchema_PPrsStd_AISPresentation_1_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PPrsStd_AISPresentation_1_HeaderFile +#include +#endif + +#ifndef _StdSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdSchema_PPrsStd_AISPresentation_1,Storage_CallBack) + +class StdSchema_PPrsStd_AISPresentation_1 : public Storage_CallBack { +public: + StdSchema_PPrsStd_AISPresentation_1() {} + Standard_EXPORT static void SAdd(const Handle(PPrsStd_AISPresentation_1)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdSchema_PPrsStd_AISPresentation_1) +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PPrsStd_AISPresentation_1.ixx b/src/FromOCCT/TKStdSchema/StdSchema_PPrsStd_AISPresentation_1.ixx new file mode 100644 index 000000000..82aea335e --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PPrsStd_AISPresentation_1.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _StdSchema_PCollection_HExtendedString_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PTopLoc_Datum3D.cxx b/src/FromOCCT/TKStdSchema/StdSchema_PTopLoc_Datum3D.cxx new file mode 100644 index 000000000..e3684661c --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PTopLoc_Datum3D.cxx @@ -0,0 +1,78 @@ +#ifndef _StdSchema_PTopLoc_Datum3D_HeaderFile +#include +#endif +#ifndef _PTopLoc_Datum3D_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdSchema_PTopLoc_Datum3D,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdSchema_PTopLoc_Datum3D,Storage_CallBack) + +Handle(Standard_Persistent) StdSchema_PTopLoc_Datum3D::New() const +{ + return new PTopLoc_Datum3D(Storage_stCONSTclCOM()); +} + +void StdSchema_PTopLoc_Datum3D::SAdd(const Handle(PTopLoc_Datum3D)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PTopLoc_Datum3D")) { + + } + } +} + +void StdSchema_PTopLoc_Datum3D::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PTopLoc_Datum3D::SAdd((Handle(PTopLoc_Datum3D)&)p,theSchema); +} + +void StdSchema_PTopLoc_Datum3D::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopLoc_Datum3D) &pp = (Handle(PTopLoc_Datum3D)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + StdSchema_gp_Trsf::SWrite(pp->_CSFDB_GetPTopLoc_Datum3DmyTrsf(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void StdSchema_PTopLoc_Datum3D::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PTopLoc_Datum3D::SWrite(p,f,theSchema); +} + + +void StdSchema_PTopLoc_Datum3D::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopLoc_Datum3D) &pp = (Handle(PTopLoc_Datum3D)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + StdSchema_gp_Trsf::SRead((gp_Trsf&)pp->_CSFDB_GetPTopLoc_Datum3DmyTrsf(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void StdSchema_PTopLoc_Datum3D::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdSchema_PTopLoc_Datum3D::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PTopLoc_Datum3D.hxx b/src/FromOCCT/TKStdSchema/StdSchema_PTopLoc_Datum3D.hxx new file mode 100644 index 000000000..ddecf3035 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PTopLoc_Datum3D.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_PTopLoc_Datum3D_HeaderFile +#define _StdSchema_PTopLoc_Datum3D_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PTopLoc_Datum3D_HeaderFile +#include +#endif + +#ifndef _StdSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdSchema_PTopLoc_Datum3D,Storage_CallBack) + +class StdSchema_PTopLoc_Datum3D : public Storage_CallBack { +public: + StdSchema_PTopLoc_Datum3D() {} + Standard_EXPORT static void SAdd(const Handle(PTopLoc_Datum3D)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdSchema_PTopLoc_Datum3D) +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PTopLoc_Datum3D.ixx b/src/FromOCCT/TKStdSchema/StdSchema_PTopLoc_Datum3D.ixx new file mode 100644 index 000000000..87a95456d --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PTopLoc_Datum3D.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _StdSchema_gp_Trsf_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PTopLoc_ItemLocation.cxx b/src/FromOCCT/TKStdSchema/StdSchema_PTopLoc_ItemLocation.cxx new file mode 100644 index 000000000..b6ad08710 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PTopLoc_ItemLocation.cxx @@ -0,0 +1,91 @@ +#ifndef _StdSchema_PTopLoc_ItemLocation_HeaderFile +#include +#endif +#ifndef _PTopLoc_ItemLocation_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdSchema_PTopLoc_ItemLocation,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdSchema_PTopLoc_ItemLocation,Storage_CallBack) + +Handle(Standard_Persistent) StdSchema_PTopLoc_ItemLocation::New() const +{ + return new PTopLoc_ItemLocation(Storage_stCONSTclCOM()); +} + +void StdSchema_PTopLoc_ItemLocation::SAdd(const Handle(PTopLoc_ItemLocation)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PTopLoc_ItemLocation")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPTopLoc_ItemLocationmyDatum()); + StdSchema_PTopLoc_Location::SAdd(p->_CSFDB_GetPTopLoc_ItemLocationmyNext(),theSchema); + + } + } +} + +void StdSchema_PTopLoc_ItemLocation::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PTopLoc_ItemLocation::SAdd((Handle(PTopLoc_ItemLocation)&)p,theSchema); +} + +void StdSchema_PTopLoc_ItemLocation::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopLoc_ItemLocation) &pp = (Handle(PTopLoc_ItemLocation)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPTopLoc_ItemLocationmyDatum(),f); + f.PutInteger(pp->_CSFDB_GetPTopLoc_ItemLocationmyPower()); + StdSchema_PTopLoc_Location::SWrite(pp->_CSFDB_GetPTopLoc_ItemLocationmyNext(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void StdSchema_PTopLoc_ItemLocation::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PTopLoc_ItemLocation::SWrite(p,f,theSchema); +} + + +void StdSchema_PTopLoc_ItemLocation::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopLoc_ItemLocation) &pp = (Handle(PTopLoc_ItemLocation)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PTopLoc_Datum3D) PTopLoc_ItemLocationmyDatum; + + theSchema->ReadPersistentReference(PTopLoc_ItemLocationmyDatum,f); + pp->_CSFDB_SetPTopLoc_ItemLocationmyDatum(PTopLoc_ItemLocationmyDatum); + + Standard_Integer PTopLoc_ItemLocationmyPower; + f.GetInteger(PTopLoc_ItemLocationmyPower); + pp->_CSFDB_SetPTopLoc_ItemLocationmyPower(PTopLoc_ItemLocationmyPower); + + StdSchema_PTopLoc_Location::SRead((PTopLoc_Location&)pp->_CSFDB_GetPTopLoc_ItemLocationmyNext(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void StdSchema_PTopLoc_ItemLocation::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdSchema_PTopLoc_ItemLocation::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PTopLoc_ItemLocation.hxx b/src/FromOCCT/TKStdSchema/StdSchema_PTopLoc_ItemLocation.hxx new file mode 100644 index 000000000..a88b3292f --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PTopLoc_ItemLocation.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_PTopLoc_ItemLocation_HeaderFile +#define _StdSchema_PTopLoc_ItemLocation_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PTopLoc_ItemLocation_HeaderFile +#include +#endif + +#ifndef _StdSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdSchema_PTopLoc_ItemLocation,Storage_CallBack) + +class StdSchema_PTopLoc_ItemLocation : public Storage_CallBack { +public: + StdSchema_PTopLoc_ItemLocation() {} + Standard_EXPORT static void SAdd(const Handle(PTopLoc_ItemLocation)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdSchema_PTopLoc_ItemLocation) +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PTopLoc_ItemLocation.ixx b/src/FromOCCT/TKStdSchema/StdSchema_PTopLoc_ItemLocation.ixx new file mode 100644 index 000000000..aee2f44ff --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PTopLoc_ItemLocation.ixx @@ -0,0 +1,8 @@ +#include +#ifndef _StdSchema_PTopLoc_Datum3D_HeaderFile +#include +#endif +#ifndef _StdSchema_PTopLoc_Location_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PTopLoc_Location.cxx b/src/FromOCCT/TKStdSchema/StdSchema_PTopLoc_Location.cxx new file mode 100644 index 000000000..708dd5ab9 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PTopLoc_Location.cxx @@ -0,0 +1,41 @@ +#ifndef _StdSchema_PTopLoc_Location_HeaderFile +#include +#endif +#ifndef _PTopLoc_Location_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void StdSchema_PTopLoc_Location::SAdd(const PTopLoc_Location& p, const Handle(Storage_Schema)& theSchema) +{ + theSchema->PersistentToAdd(p._CSFDB_GetPTopLoc_LocationmyData()); + +} + +void StdSchema_PTopLoc_Location::SWrite(const PTopLoc_Location& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + theSchema->WritePersistentReference(pp._CSFDB_GetPTopLoc_LocationmyData(),f); + + f.EndWriteObjectData(); +} + +void StdSchema_PTopLoc_Location::SRead(PTopLoc_Location& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + Handle(PTopLoc_ItemLocation) PTopLoc_LocationmyData; + + theSchema->ReadPersistentReference(PTopLoc_LocationmyData,f); + pp._CSFDB_SetPTopLoc_LocationmyData(PTopLoc_LocationmyData); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PTopLoc_Location.hxx b/src/FromOCCT/TKStdSchema/StdSchema_PTopLoc_Location.hxx new file mode 100644 index 000000000..927a79d01 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PTopLoc_Location.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_PTopLoc_Location_HeaderFile +#define _StdSchema_PTopLoc_Location_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class PTopLoc_Location; + +class StdSchema_PTopLoc_Location { +public: + Standard_EXPORT static void SAdd(const PTopLoc_Location&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const PTopLoc_Location&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(PTopLoc_Location&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PTopLoc_Location.ixx b/src/FromOCCT/TKStdSchema/StdSchema_PTopLoc_Location.ixx new file mode 100644 index 000000000..17b842b6d --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PTopLoc_Location.ixx @@ -0,0 +1,4 @@ +#ifndef _StdSchema_PTopLoc_ItemLocation_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PTopoDS_FieldOfHArray1OfShape1.cxx b/src/FromOCCT/TKStdSchema/StdSchema_PTopoDS_FieldOfHArray1OfShape1.cxx new file mode 100644 index 000000000..ac5f8a423 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PTopoDS_FieldOfHArray1OfShape1.cxx @@ -0,0 +1,51 @@ +#ifndef _StdSchema_PTopoDS_FieldOfHArray1OfShape1_HeaderFile +#include +#endif +#ifndef _PTopoDS_FieldOfHArray1OfShape1_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void StdSchema_PTopoDS_FieldOfHArray1OfShape1::SAdd(const PTopoDS_FieldOfHArray1OfShape1& p, const Handle(Storage_Schema)& theSchema) +{ + Standard_Integer i; + for (i = 0; i < p.Length(); i++) { + StdSchema_PTopoDS_Shape1::SAdd(p.Value(i),theSchema); + } + +} + +void StdSchema_PTopoDS_FieldOfHArray1OfShape1::SWrite(const PTopoDS_FieldOfHArray1OfShape1& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + + f.BeginWriteObjectData(); + f.PutInteger(pp.Length()); + for (Standard_Integer i = 0; i < pp.Length(); i++) { + StdSchema_PTopoDS_Shape1::SWrite(pp.Value(i),f,theSchema); + + } + f.EndWriteObjectData(); +} + +void StdSchema_PTopoDS_FieldOfHArray1OfShape1::SRead(PTopoDS_FieldOfHArray1OfShape1& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + Standard_Integer size = 0; + + f.BeginReadObjectData(); + f.GetInteger(size); + pp.Resize(size); + + for (Standard_Integer j = 0; j < size; j++) { + StdSchema_PTopoDS_Shape1::SRead((PTopoDS_Shape1&)pp.Value(j),f,theSchema); + + } + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PTopoDS_FieldOfHArray1OfShape1.hxx b/src/FromOCCT/TKStdSchema/StdSchema_PTopoDS_FieldOfHArray1OfShape1.hxx new file mode 100644 index 000000000..0cfbdcf1e --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PTopoDS_FieldOfHArray1OfShape1.hxx @@ -0,0 +1,29 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_PTopoDS_FieldOfHArray1OfShape1_HeaderFile +#define _StdSchema_PTopoDS_FieldOfHArray1OfShape1_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + +#ifndef _StdSchema_PTopoDS_Shape1_HeaderFile +#include +#endif + + +class PTopoDS_FieldOfHArray1OfShape1; + +class StdSchema_PTopoDS_FieldOfHArray1OfShape1 { +public: + Standard_EXPORT static void SAdd(const PTopoDS_FieldOfHArray1OfShape1&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const PTopoDS_FieldOfHArray1OfShape1&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(PTopoDS_FieldOfHArray1OfShape1&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PTopoDS_FieldOfHArray1OfShape1.ixx b/src/FromOCCT/TKStdSchema/StdSchema_PTopoDS_FieldOfHArray1OfShape1.ixx new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PTopoDS_FieldOfHArray1OfShape1.ixx @@ -0,0 +1 @@ + diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PTopoDS_HArray1OfShape1.cxx b/src/FromOCCT/TKStdSchema/StdSchema_PTopoDS_HArray1OfShape1.cxx new file mode 100644 index 000000000..935a7b378 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PTopoDS_HArray1OfShape1.cxx @@ -0,0 +1,89 @@ +#ifndef _StdSchema_PTopoDS_HArray1OfShape1_HeaderFile +#include +#endif +#ifndef _PTopoDS_HArray1OfShape1_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdSchema_PTopoDS_HArray1OfShape1,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdSchema_PTopoDS_HArray1OfShape1,Storage_CallBack) + +Handle(Standard_Persistent) StdSchema_PTopoDS_HArray1OfShape1::New() const +{ + return new PTopoDS_HArray1OfShape1(Storage_stCONSTclCOM()); +} + +void StdSchema_PTopoDS_HArray1OfShape1::SAdd(const Handle(PTopoDS_HArray1OfShape1)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PTopoDS_HArray1OfShape1")) { + StdSchema_PTopoDS_FieldOfHArray1OfShape1::SAdd(p->_CSFDB_GetPTopoDS_HArray1OfShape1Data(),theSchema); + + } + } +} + +void StdSchema_PTopoDS_HArray1OfShape1::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PTopoDS_HArray1OfShape1::SAdd((Handle(PTopoDS_HArray1OfShape1)&)p,theSchema); +} + +void StdSchema_PTopoDS_HArray1OfShape1::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_HArray1OfShape1) &pp = (Handle(PTopoDS_HArray1OfShape1)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutInteger(pp->_CSFDB_GetPTopoDS_HArray1OfShape1LowerBound()); + f.PutInteger(pp->_CSFDB_GetPTopoDS_HArray1OfShape1UpperBound()); + StdSchema_PTopoDS_FieldOfHArray1OfShape1::SWrite(pp->_CSFDB_GetPTopoDS_HArray1OfShape1Data(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void StdSchema_PTopoDS_HArray1OfShape1::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PTopoDS_HArray1OfShape1::SWrite(p,f,theSchema); +} + + +void StdSchema_PTopoDS_HArray1OfShape1::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_HArray1OfShape1) &pp = (Handle(PTopoDS_HArray1OfShape1)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Integer PTopoDS_HArray1OfShape1LowerBound; + f.GetInteger(PTopoDS_HArray1OfShape1LowerBound); + pp->_CSFDB_SetPTopoDS_HArray1OfShape1LowerBound(PTopoDS_HArray1OfShape1LowerBound); + + Standard_Integer PTopoDS_HArray1OfShape1UpperBound; + f.GetInteger(PTopoDS_HArray1OfShape1UpperBound); + pp->_CSFDB_SetPTopoDS_HArray1OfShape1UpperBound(PTopoDS_HArray1OfShape1UpperBound); + + StdSchema_PTopoDS_FieldOfHArray1OfShape1::SRead((PTopoDS_FieldOfHArray1OfShape1&)pp->_CSFDB_GetPTopoDS_HArray1OfShape1Data(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void StdSchema_PTopoDS_HArray1OfShape1::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdSchema_PTopoDS_HArray1OfShape1::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PTopoDS_HArray1OfShape1.hxx b/src/FromOCCT/TKStdSchema/StdSchema_PTopoDS_HArray1OfShape1.hxx new file mode 100644 index 000000000..3b63639ed --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PTopoDS_HArray1OfShape1.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_PTopoDS_HArray1OfShape1_HeaderFile +#define _StdSchema_PTopoDS_HArray1OfShape1_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PTopoDS_HArray1OfShape1_HeaderFile +#include +#endif + +#ifndef _StdSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdSchema_PTopoDS_HArray1OfShape1,Storage_CallBack) + +class StdSchema_PTopoDS_HArray1OfShape1 : public Storage_CallBack { +public: + StdSchema_PTopoDS_HArray1OfShape1() {} + Standard_EXPORT static void SAdd(const Handle(PTopoDS_HArray1OfShape1)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdSchema_PTopoDS_HArray1OfShape1) +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PTopoDS_HArray1OfShape1.ixx b/src/FromOCCT/TKStdSchema/StdSchema_PTopoDS_HArray1OfShape1.ixx new file mode 100644 index 000000000..fcaae6869 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PTopoDS_HArray1OfShape1.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _StdSchema_PTopoDS_FieldOfHArray1OfShape1_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PTopoDS_Shape1.cxx b/src/FromOCCT/TKStdSchema/StdSchema_PTopoDS_Shape1.cxx new file mode 100644 index 000000000..4de13d374 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PTopoDS_Shape1.cxx @@ -0,0 +1,52 @@ +#ifndef _StdSchema_PTopoDS_Shape1_HeaderFile +#include +#endif +#ifndef _PTopoDS_Shape1_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void StdSchema_PTopoDS_Shape1::SAdd(const PTopoDS_Shape1& p, const Handle(Storage_Schema)& theSchema) +{ + theSchema->PersistentToAdd(p._CSFDB_GetPTopoDS_Shape1myTShape()); + StdSchema_PTopLoc_Location::SAdd(p._CSFDB_GetPTopoDS_Shape1myLocation(),theSchema); + +} + +void StdSchema_PTopoDS_Shape1::SWrite(const PTopoDS_Shape1& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + theSchema->WritePersistentReference(pp._CSFDB_GetPTopoDS_Shape1myTShape(),f); + StdSchema_PTopLoc_Location::SWrite(pp._CSFDB_GetPTopoDS_Shape1myLocation(),f,theSchema); + f.PutInteger(pp._CSFDB_GetPTopoDS_Shape1myOrient()); + + f.EndWriteObjectData(); +} + +void StdSchema_PTopoDS_Shape1::SRead(PTopoDS_Shape1& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + Handle(PTopoDS_TShape1) PTopoDS_Shape1myTShape; + + theSchema->ReadPersistentReference(PTopoDS_Shape1myTShape,f); + pp._CSFDB_SetPTopoDS_Shape1myTShape(PTopoDS_Shape1myTShape); + + StdSchema_PTopLoc_Location::SRead((PTopLoc_Location&)pp._CSFDB_GetPTopoDS_Shape1myLocation(),f,theSchema); + + TopAbs_Orientation PTopoDS_Shape1myOrient; + Standard_Integer i_CSFDB_PTopoDS_Shape1myOrient; + f.GetInteger(i_CSFDB_PTopoDS_Shape1myOrient); + PTopoDS_Shape1myOrient = (TopAbs_Orientation)i_CSFDB_PTopoDS_Shape1myOrient; + pp._CSFDB_SetPTopoDS_Shape1myOrient(PTopoDS_Shape1myOrient); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PTopoDS_Shape1.hxx b/src/FromOCCT/TKStdSchema/StdSchema_PTopoDS_Shape1.hxx new file mode 100644 index 000000000..dc1ebfbd1 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PTopoDS_Shape1.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_PTopoDS_Shape1_HeaderFile +#define _StdSchema_PTopoDS_Shape1_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class PTopoDS_Shape1; + +class StdSchema_PTopoDS_Shape1 { +public: + Standard_EXPORT static void SAdd(const PTopoDS_Shape1&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const PTopoDS_Shape1&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(PTopoDS_Shape1&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PTopoDS_Shape1.ixx b/src/FromOCCT/TKStdSchema/StdSchema_PTopoDS_Shape1.ixx new file mode 100644 index 000000000..2b2d7f64b --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PTopoDS_Shape1.ixx @@ -0,0 +1,7 @@ +#ifndef _StdSchema_PTopoDS_TShape1_HeaderFile +#include +#endif +#ifndef _StdSchema_PTopLoc_Location_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PTopoDS_TShape1.cxx b/src/FromOCCT/TKStdSchema/StdSchema_PTopoDS_TShape1.cxx new file mode 100644 index 000000000..5e278ec15 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PTopoDS_TShape1.cxx @@ -0,0 +1,88 @@ +#ifndef _StdSchema_PTopoDS_TShape1_HeaderFile +#include +#endif +#ifndef _PTopoDS_TShape1_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdSchema_PTopoDS_TShape1,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdSchema_PTopoDS_TShape1,Storage_CallBack) + +Handle(Standard_Persistent) StdSchema_PTopoDS_TShape1::New() const +{ + Handle(Standard_Persistent) NullObject; + return NullObject; +} + +void StdSchema_PTopoDS_TShape1::SAdd(const Handle(PTopoDS_TShape1)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PTopoDS_TShape1")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPTopoDS_TShape1myShapes()); + + } + } +} + +void StdSchema_PTopoDS_TShape1::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PTopoDS_TShape1::SAdd((Handle(PTopoDS_TShape1)&)p,theSchema); +} + +void StdSchema_PTopoDS_TShape1::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_TShape1) &pp = (Handle(PTopoDS_TShape1)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPTopoDS_TShape1myShapes(),f); + f.PutInteger(pp->_CSFDB_GetPTopoDS_TShape1myFlags()); + + f.EndWritePersistentObjectData(); + } +} + +void StdSchema_PTopoDS_TShape1::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_PTopoDS_TShape1::SWrite(p,f,theSchema); +} + + +void StdSchema_PTopoDS_TShape1::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopoDS_TShape1) &pp = (Handle(PTopoDS_TShape1)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PTopoDS_HArray1OfShape1) PTopoDS_TShape1myShapes; + + theSchema->ReadPersistentReference(PTopoDS_TShape1myShapes,f); + pp->_CSFDB_SetPTopoDS_TShape1myShapes(PTopoDS_TShape1myShapes); + + Standard_Integer PTopoDS_TShape1myFlags; + f.GetInteger(PTopoDS_TShape1myFlags); + pp->_CSFDB_SetPTopoDS_TShape1myFlags(PTopoDS_TShape1myFlags); + + f.EndReadPersistentObjectData(); + } +} + +void StdSchema_PTopoDS_TShape1::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdSchema_PTopoDS_TShape1::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PTopoDS_TShape1.hxx b/src/FromOCCT/TKStdSchema/StdSchema_PTopoDS_TShape1.hxx new file mode 100644 index 000000000..4d88a8a2d --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PTopoDS_TShape1.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_PTopoDS_TShape1_HeaderFile +#define _StdSchema_PTopoDS_TShape1_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PTopoDS_TShape1_HeaderFile +#include +#endif + +#ifndef _StdSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdSchema_PTopoDS_TShape1,Storage_CallBack) + +class StdSchema_PTopoDS_TShape1 : public Storage_CallBack { +public: + StdSchema_PTopoDS_TShape1() {} + Standard_EXPORT static void SAdd(const Handle(PTopoDS_TShape1)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdSchema_PTopoDS_TShape1) +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_PTopoDS_TShape1.ixx b/src/FromOCCT/TKStdSchema/StdSchema_PTopoDS_TShape1.ixx new file mode 100644 index 000000000..c41aa1ede --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_PTopoDS_TShape1.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _StdSchema_PTopoDS_HArray1OfShape1_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdSchema/StdSchema_Standard_Persistent.cxx b/src/FromOCCT/TKStdSchema/StdSchema_Standard_Persistent.cxx new file mode 100644 index 000000000..26b333793 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_Standard_Persistent.cxx @@ -0,0 +1,76 @@ +#ifndef _StdSchema_Standard_Persistent_HeaderFile +#include +#endif +#ifndef _Standard_Persistent_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(StdSchema_Standard_Persistent,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(StdSchema_Standard_Persistent,Storage_CallBack) + +Handle(Standard_Persistent) StdSchema_Standard_Persistent::New() const +{ + Handle(Standard_Persistent) NullObject; + return NullObject; +} + +void StdSchema_Standard_Persistent::SAdd(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"Standard_Persistent")) { + + } + } +} + +void StdSchema_Standard_Persistent::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_Standard_Persistent::SAdd((Handle(Standard_Persistent)&)p,theSchema); +} + +void StdSchema_Standard_Persistent::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(Standard_Persistent) &pp = (Handle(Standard_Persistent)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + + f.EndWritePersistentObjectData(); + } +} + +void StdSchema_Standard_Persistent::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + StdSchema_Standard_Persistent::SWrite(p,f,theSchema); +} + + +void StdSchema_Standard_Persistent::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(Standard_Persistent) &pp = (Handle(Standard_Persistent)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + f.EndReadPersistentObjectData(); + } +} + +void StdSchema_Standard_Persistent::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + StdSchema_Standard_Persistent::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_Standard_Persistent.hxx b/src/FromOCCT/TKStdSchema/StdSchema_Standard_Persistent.hxx new file mode 100644 index 000000000..702d4f6c0 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_Standard_Persistent.hxx @@ -0,0 +1,39 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_Standard_Persistent_HeaderFile +#define _StdSchema_Standard_Persistent_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(StdSchema_Standard_Persistent,Storage_CallBack) + +class StdSchema_Standard_Persistent : public Storage_CallBack { +public: + StdSchema_Standard_Persistent() {} + Standard_EXPORT static void SAdd(const Handle(Standard_Persistent)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(StdSchema_Standard_Persistent) +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_Standard_Persistent.ixx b/src/FromOCCT/TKStdSchema/StdSchema_Standard_Persistent.ixx new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_Standard_Persistent.ixx @@ -0,0 +1 @@ + diff --git a/src/FromOCCT/TKStdSchema/StdSchema_gp_Ax1.cxx b/src/FromOCCT/TKStdSchema/StdSchema_gp_Ax1.cxx new file mode 100644 index 000000000..e66d1646a --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_gp_Ax1.cxx @@ -0,0 +1,35 @@ +#ifndef _StdSchema_gp_Ax1_HeaderFile +#include +#endif +#ifndef _gp_Ax1_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void StdSchema_gp_Ax1::SWrite(const gp_Ax1& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + StdSchema_gp_Pnt::SWrite(pp.Location(),f,theSchema); + StdSchema_gp_Dir::SWrite(pp.Direction(),f,theSchema); + + f.EndWriteObjectData(); +} + +void StdSchema_gp_Ax1::SRead(gp_Ax1& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + StdSchema_gp_Pnt::SRead((gp_Pnt&)pp.Location(),f,theSchema); + + StdSchema_gp_Dir::SRead((gp_Dir&)pp.Direction(),f,theSchema); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_gp_Ax1.hxx b/src/FromOCCT/TKStdSchema/StdSchema_gp_Ax1.hxx new file mode 100644 index 000000000..8ec14dfb1 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_gp_Ax1.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_gp_Ax1_HeaderFile +#define _StdSchema_gp_Ax1_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class gp_Ax1; + +class StdSchema_gp_Ax1 { +public: + Standard_EXPORT static void SAdd(const gp_Ax1&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const gp_Ax1&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(gp_Ax1&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_gp_Ax1.ixx b/src/FromOCCT/TKStdSchema/StdSchema_gp_Ax1.ixx new file mode 100644 index 000000000..b9271ac7c --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_gp_Ax1.ixx @@ -0,0 +1,7 @@ +#ifndef _StdSchema_gp_Pnt_HeaderFile +#include +#endif +#ifndef _StdSchema_gp_Dir_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdSchema/StdSchema_gp_Ax2.cxx b/src/FromOCCT/TKStdSchema/StdSchema_gp_Ax2.cxx new file mode 100644 index 000000000..f2780a4df --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_gp_Ax2.cxx @@ -0,0 +1,38 @@ +#ifndef _StdSchema_gp_Ax2_HeaderFile +#include +#endif +#ifndef _gp_Ax2_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void StdSchema_gp_Ax2::SWrite(const gp_Ax2& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + StdSchema_gp_Ax1::SWrite(pp.Axis(),f,theSchema); + StdSchema_gp_Dir::SWrite(pp.YDirection(),f,theSchema); + StdSchema_gp_Dir::SWrite(pp.XDirection(),f,theSchema); + + f.EndWriteObjectData(); +} + +void StdSchema_gp_Ax2::SRead(gp_Ax2& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + StdSchema_gp_Ax1::SRead((gp_Ax1&)pp.Axis(),f,theSchema); + + StdSchema_gp_Dir::SRead((gp_Dir&)pp.YDirection(),f,theSchema); + + StdSchema_gp_Dir::SRead((gp_Dir&)pp.XDirection(),f,theSchema); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_gp_Ax2.hxx b/src/FromOCCT/TKStdSchema/StdSchema_gp_Ax2.hxx new file mode 100644 index 000000000..ab22b8ee5 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_gp_Ax2.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_gp_Ax2_HeaderFile +#define _StdSchema_gp_Ax2_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class gp_Ax2; + +class StdSchema_gp_Ax2 { +public: + Standard_EXPORT static void SAdd(const gp_Ax2&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const gp_Ax2&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(gp_Ax2&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_gp_Ax2.ixx b/src/FromOCCT/TKStdSchema/StdSchema_gp_Ax2.ixx new file mode 100644 index 000000000..a84d4f5f6 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_gp_Ax2.ixx @@ -0,0 +1,10 @@ +#ifndef _StdSchema_gp_Ax1_HeaderFile +#include +#endif +#ifndef _StdSchema_gp_Dir_HeaderFile +#include +#endif +#ifndef _StdSchema_gp_Dir_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdSchema/StdSchema_gp_Ax2d.cxx b/src/FromOCCT/TKStdSchema/StdSchema_gp_Ax2d.cxx new file mode 100644 index 000000000..cfa25d623 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_gp_Ax2d.cxx @@ -0,0 +1,35 @@ +#ifndef _StdSchema_gp_Ax2d_HeaderFile +#include +#endif +#ifndef _gp_Ax2d_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void StdSchema_gp_Ax2d::SWrite(const gp_Ax2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + StdSchema_gp_Pnt2d::SWrite(pp.Location(),f,theSchema); + StdSchema_gp_Dir2d::SWrite(pp.Direction(),f,theSchema); + + f.EndWriteObjectData(); +} + +void StdSchema_gp_Ax2d::SRead(gp_Ax2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + StdSchema_gp_Pnt2d::SRead((gp_Pnt2d&)pp.Location(),f,theSchema); + + StdSchema_gp_Dir2d::SRead((gp_Dir2d&)pp.Direction(),f,theSchema); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_gp_Ax2d.hxx b/src/FromOCCT/TKStdSchema/StdSchema_gp_Ax2d.hxx new file mode 100644 index 000000000..238b2f84f --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_gp_Ax2d.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_gp_Ax2d_HeaderFile +#define _StdSchema_gp_Ax2d_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class gp_Ax2d; + +class StdSchema_gp_Ax2d { +public: + Standard_EXPORT static void SAdd(const gp_Ax2d&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const gp_Ax2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(gp_Ax2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_gp_Ax2d.ixx b/src/FromOCCT/TKStdSchema/StdSchema_gp_Ax2d.ixx new file mode 100644 index 000000000..51091b295 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_gp_Ax2d.ixx @@ -0,0 +1,7 @@ +#ifndef _StdSchema_gp_Pnt2d_HeaderFile +#include +#endif +#ifndef _StdSchema_gp_Dir2d_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdSchema/StdSchema_gp_Ax3.cxx b/src/FromOCCT/TKStdSchema/StdSchema_gp_Ax3.cxx new file mode 100644 index 000000000..036e808ce --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_gp_Ax3.cxx @@ -0,0 +1,38 @@ +#ifndef _StdSchema_gp_Ax3_HeaderFile +#include +#endif +#ifndef _gp_Ax3_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void StdSchema_gp_Ax3::SWrite(const gp_Ax3& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + StdSchema_gp_Ax1::SWrite(pp.Axis(),f,theSchema); + StdSchema_gp_Dir::SWrite(pp.YDirection(),f,theSchema); + StdSchema_gp_Dir::SWrite(pp.XDirection(),f,theSchema); + + f.EndWriteObjectData(); +} + +void StdSchema_gp_Ax3::SRead(gp_Ax3& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + StdSchema_gp_Ax1::SRead((gp_Ax1&)pp.Axis(),f,theSchema); + + StdSchema_gp_Dir::SRead((gp_Dir&)pp.YDirection(),f,theSchema); + + StdSchema_gp_Dir::SRead((gp_Dir&)pp.XDirection(),f,theSchema); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_gp_Ax3.hxx b/src/FromOCCT/TKStdSchema/StdSchema_gp_Ax3.hxx new file mode 100644 index 000000000..013be59b5 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_gp_Ax3.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_gp_Ax3_HeaderFile +#define _StdSchema_gp_Ax3_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class gp_Ax3; + +class StdSchema_gp_Ax3 { +public: + Standard_EXPORT static void SAdd(const gp_Ax3&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const gp_Ax3&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(gp_Ax3&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_gp_Ax3.ixx b/src/FromOCCT/TKStdSchema/StdSchema_gp_Ax3.ixx new file mode 100644 index 000000000..a84d4f5f6 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_gp_Ax3.ixx @@ -0,0 +1,10 @@ +#ifndef _StdSchema_gp_Ax1_HeaderFile +#include +#endif +#ifndef _StdSchema_gp_Dir_HeaderFile +#include +#endif +#ifndef _StdSchema_gp_Dir_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdSchema/StdSchema_gp_Dir.cxx b/src/FromOCCT/TKStdSchema/StdSchema_gp_Dir.cxx new file mode 100644 index 000000000..ff2d9c24b --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_gp_Dir.cxx @@ -0,0 +1,32 @@ +#ifndef _StdSchema_gp_Dir_HeaderFile +#include +#endif +#ifndef _gp_Dir_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void StdSchema_gp_Dir::SWrite(const gp_Dir& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + StdSchema_gp_XYZ::SWrite(pp.XYZ(),f,theSchema); + + f.EndWriteObjectData(); +} + +void StdSchema_gp_Dir::SRead(gp_Dir& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + StdSchema_gp_XYZ::SRead((gp_XYZ&)pp.XYZ(),f,theSchema); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_gp_Dir.hxx b/src/FromOCCT/TKStdSchema/StdSchema_gp_Dir.hxx new file mode 100644 index 000000000..7d195a3f2 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_gp_Dir.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_gp_Dir_HeaderFile +#define _StdSchema_gp_Dir_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class gp_Dir; + +class StdSchema_gp_Dir { +public: + Standard_EXPORT static void SAdd(const gp_Dir&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const gp_Dir&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(gp_Dir&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_gp_Dir.ixx b/src/FromOCCT/TKStdSchema/StdSchema_gp_Dir.ixx new file mode 100644 index 000000000..10c53d251 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_gp_Dir.ixx @@ -0,0 +1,4 @@ +#ifndef _StdSchema_gp_XYZ_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdSchema/StdSchema_gp_Dir2d.cxx b/src/FromOCCT/TKStdSchema/StdSchema_gp_Dir2d.cxx new file mode 100644 index 000000000..8a3619de3 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_gp_Dir2d.cxx @@ -0,0 +1,32 @@ +#ifndef _StdSchema_gp_Dir2d_HeaderFile +#include +#endif +#ifndef _gp_Dir2d_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void StdSchema_gp_Dir2d::SWrite(const gp_Dir2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + StdSchema_gp_XY::SWrite(pp.XY(),f,theSchema); + + f.EndWriteObjectData(); +} + +void StdSchema_gp_Dir2d::SRead(gp_Dir2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + StdSchema_gp_XY::SRead((gp_XY&)pp.XY(),f,theSchema); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_gp_Dir2d.hxx b/src/FromOCCT/TKStdSchema/StdSchema_gp_Dir2d.hxx new file mode 100644 index 000000000..468e00400 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_gp_Dir2d.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_gp_Dir2d_HeaderFile +#define _StdSchema_gp_Dir2d_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class gp_Dir2d; + +class StdSchema_gp_Dir2d { +public: + Standard_EXPORT static void SAdd(const gp_Dir2d&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const gp_Dir2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(gp_Dir2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_gp_Dir2d.ixx b/src/FromOCCT/TKStdSchema/StdSchema_gp_Dir2d.ixx new file mode 100644 index 000000000..3153403c3 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_gp_Dir2d.ixx @@ -0,0 +1,4 @@ +#ifndef _StdSchema_gp_XY_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdSchema/StdSchema_gp_Mat.cxx b/src/FromOCCT/TKStdSchema/StdSchema_gp_Mat.cxx new file mode 100644 index 000000000..424714e2b --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_gp_Mat.cxx @@ -0,0 +1,48 @@ +#ifndef _StdSchema_gp_Mat_HeaderFile +#include +#endif +#ifndef _gp_Mat_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void StdSchema_gp_Mat::SWrite(const gp_Mat& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + Standard_Integer gp_Matmatrix1 = 0,gp_Matmatrix2 = 0; + + for (gp_Matmatrix1 = 1; gp_Matmatrix1 <= 3; gp_Matmatrix1++) + for (gp_Matmatrix2 = 1; gp_Matmatrix2 <= 3; gp_Matmatrix2++) + { + f.PutReal(pp.Value(gp_Matmatrix1,gp_Matmatrix2)); + + } + + f.EndWriteObjectData(); +} + +void StdSchema_gp_Mat::SRead(gp_Mat& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + Standard_Integer gp_Matmatrix1 = 0,gp_Matmatrix2 = 0; + + for (gp_Matmatrix1 = 1; gp_Matmatrix1 <= 3; gp_Matmatrix1++) + for (gp_Matmatrix2 = 1; gp_Matmatrix2 <= 3; gp_Matmatrix2++) + { + Standard_Real gp_Matmatrix; + + f.GetReal(gp_Matmatrix); + pp.ChangeValue(gp_Matmatrix1,gp_Matmatrix2) = gp_Matmatrix; + +} + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_gp_Mat.hxx b/src/FromOCCT/TKStdSchema/StdSchema_gp_Mat.hxx new file mode 100644 index 000000000..579bc80bc --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_gp_Mat.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_gp_Mat_HeaderFile +#define _StdSchema_gp_Mat_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class gp_Mat; + +class StdSchema_gp_Mat { +public: + Standard_EXPORT static void SAdd(const gp_Mat&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const gp_Mat&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(gp_Mat&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_gp_Mat.ixx b/src/FromOCCT/TKStdSchema/StdSchema_gp_Mat.ixx new file mode 100644 index 000000000..e69de29bb diff --git a/src/FromOCCT/TKStdSchema/StdSchema_gp_Mat2d.cxx b/src/FromOCCT/TKStdSchema/StdSchema_gp_Mat2d.cxx new file mode 100644 index 000000000..6602a4125 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_gp_Mat2d.cxx @@ -0,0 +1,48 @@ +#ifndef _StdSchema_gp_Mat2d_HeaderFile +#include +#endif +#ifndef _gp_Mat2d_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void StdSchema_gp_Mat2d::SWrite(const gp_Mat2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + Standard_Integer gp_Mat2dmatrix1 = 0,gp_Mat2dmatrix2 = 0; + + for (gp_Mat2dmatrix1 = 1; gp_Mat2dmatrix1 <= 2; gp_Mat2dmatrix1++) + for (gp_Mat2dmatrix2 = 1; gp_Mat2dmatrix2 <= 2; gp_Mat2dmatrix2++) + { + f.PutReal(pp.Value(gp_Mat2dmatrix1,gp_Mat2dmatrix2)); + + } + + f.EndWriteObjectData(); +} + +void StdSchema_gp_Mat2d::SRead(gp_Mat2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + Standard_Integer gp_Mat2dmatrix1 = 0,gp_Mat2dmatrix2 = 0; + + for (gp_Mat2dmatrix1 = 1; gp_Mat2dmatrix1 <= 2; gp_Mat2dmatrix1++) + for (gp_Mat2dmatrix2 = 1; gp_Mat2dmatrix2 <= 2; gp_Mat2dmatrix2++) + { + Standard_Real gp_Mat2dmatrix; + + f.GetReal(gp_Mat2dmatrix); + pp.ChangeValue(gp_Mat2dmatrix1,gp_Mat2dmatrix2) = gp_Mat2dmatrix; + +} + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_gp_Mat2d.hxx b/src/FromOCCT/TKStdSchema/StdSchema_gp_Mat2d.hxx new file mode 100644 index 000000000..5be9d2cf7 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_gp_Mat2d.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_gp_Mat2d_HeaderFile +#define _StdSchema_gp_Mat2d_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class gp_Mat2d; + +class StdSchema_gp_Mat2d { +public: + Standard_EXPORT static void SAdd(const gp_Mat2d&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const gp_Mat2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(gp_Mat2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_gp_Mat2d.ixx b/src/FromOCCT/TKStdSchema/StdSchema_gp_Mat2d.ixx new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_gp_Mat2d.ixx @@ -0,0 +1 @@ + diff --git a/src/FromOCCT/TKStdSchema/StdSchema_gp_Pnt.cxx b/src/FromOCCT/TKStdSchema/StdSchema_gp_Pnt.cxx new file mode 100644 index 000000000..3bd50d690 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_gp_Pnt.cxx @@ -0,0 +1,32 @@ +#ifndef _StdSchema_gp_Pnt_HeaderFile +#include +#endif +#ifndef _gp_Pnt_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void StdSchema_gp_Pnt::SWrite(const gp_Pnt& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + StdSchema_gp_XYZ::SWrite(pp.XYZ(),f,theSchema); + + f.EndWriteObjectData(); +} + +void StdSchema_gp_Pnt::SRead(gp_Pnt& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + StdSchema_gp_XYZ::SRead((gp_XYZ&)pp.XYZ(),f,theSchema); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_gp_Pnt.hxx b/src/FromOCCT/TKStdSchema/StdSchema_gp_Pnt.hxx new file mode 100644 index 000000000..ec4fcfdf1 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_gp_Pnt.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_gp_Pnt_HeaderFile +#define _StdSchema_gp_Pnt_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class gp_Pnt; + +class StdSchema_gp_Pnt { +public: + Standard_EXPORT static void SAdd(const gp_Pnt&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const gp_Pnt&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(gp_Pnt&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_gp_Pnt.ixx b/src/FromOCCT/TKStdSchema/StdSchema_gp_Pnt.ixx new file mode 100644 index 000000000..10c53d251 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_gp_Pnt.ixx @@ -0,0 +1,4 @@ +#ifndef _StdSchema_gp_XYZ_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdSchema/StdSchema_gp_Pnt2d.cxx b/src/FromOCCT/TKStdSchema/StdSchema_gp_Pnt2d.cxx new file mode 100644 index 000000000..7b95c187f --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_gp_Pnt2d.cxx @@ -0,0 +1,32 @@ +#ifndef _StdSchema_gp_Pnt2d_HeaderFile +#include +#endif +#ifndef _gp_Pnt2d_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void StdSchema_gp_Pnt2d::SWrite(const gp_Pnt2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + StdSchema_gp_XY::SWrite(pp.XY(),f,theSchema); + + f.EndWriteObjectData(); +} + +void StdSchema_gp_Pnt2d::SRead(gp_Pnt2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + StdSchema_gp_XY::SRead((gp_XY&)pp.XY(),f,theSchema); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_gp_Pnt2d.hxx b/src/FromOCCT/TKStdSchema/StdSchema_gp_Pnt2d.hxx new file mode 100644 index 000000000..6677b71b5 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_gp_Pnt2d.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_gp_Pnt2d_HeaderFile +#define _StdSchema_gp_Pnt2d_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class gp_Pnt2d; + +class StdSchema_gp_Pnt2d { +public: + Standard_EXPORT static void SAdd(const gp_Pnt2d&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const gp_Pnt2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(gp_Pnt2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_gp_Pnt2d.ixx b/src/FromOCCT/TKStdSchema/StdSchema_gp_Pnt2d.ixx new file mode 100644 index 000000000..3153403c3 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_gp_Pnt2d.ixx @@ -0,0 +1,4 @@ +#ifndef _StdSchema_gp_XY_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdSchema/StdSchema_gp_Trsf.cxx b/src/FromOCCT/TKStdSchema/StdSchema_gp_Trsf.cxx new file mode 100644 index 000000000..32a681e5a --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_gp_Trsf.cxx @@ -0,0 +1,47 @@ +#ifndef _StdSchema_gp_Trsf_HeaderFile +#include +#endif +#ifndef _gp_Trsf_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void StdSchema_gp_Trsf::SWrite(const gp_Trsf& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + f.PutReal(pp.ScaleFactor()); + f.PutInteger(pp.Form()); + StdSchema_gp_Mat::SWrite(pp.HVectorialPart(),f,theSchema); + StdSchema_gp_XYZ::SWrite(pp.TranslationPart(),f,theSchema); + + f.EndWriteObjectData(); +} + +void StdSchema_gp_Trsf::SRead(gp_Trsf& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + Standard_Real gp_Trsfscale; + f.GetReal(gp_Trsfscale); + pp.SetScaleFactor(gp_Trsfscale); + + gp_TrsfForm gp_Trsfshape; + Standard_Integer i_CSFDB_gp_Trsfshape; + f.GetInteger(i_CSFDB_gp_Trsfshape); + gp_Trsfshape = (gp_TrsfForm)i_CSFDB_gp_Trsfshape; + pp.SetForm(gp_Trsfshape); + + StdSchema_gp_Mat::SRead((gp_Mat&)pp.HVectorialPart(),f,theSchema); + + StdSchema_gp_XYZ::SRead((gp_XYZ&)pp.TranslationPart(),f,theSchema); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_gp_Trsf.hxx b/src/FromOCCT/TKStdSchema/StdSchema_gp_Trsf.hxx new file mode 100644 index 000000000..8efa33473 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_gp_Trsf.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_gp_Trsf_HeaderFile +#define _StdSchema_gp_Trsf_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class gp_Trsf; + +class StdSchema_gp_Trsf { +public: + Standard_EXPORT static void SAdd(const gp_Trsf&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const gp_Trsf&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(gp_Trsf&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_gp_Trsf.ixx b/src/FromOCCT/TKStdSchema/StdSchema_gp_Trsf.ixx new file mode 100644 index 000000000..18d47a4ed --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_gp_Trsf.ixx @@ -0,0 +1,7 @@ +#ifndef _StdSchema_gp_Mat_HeaderFile +#include +#endif +#ifndef _StdSchema_gp_XYZ_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdSchema/StdSchema_gp_Trsf2d.cxx b/src/FromOCCT/TKStdSchema/StdSchema_gp_Trsf2d.cxx new file mode 100644 index 000000000..8d9b704f5 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_gp_Trsf2d.cxx @@ -0,0 +1,47 @@ +#ifndef _StdSchema_gp_Trsf2d_HeaderFile +#include +#endif +#ifndef _gp_Trsf2d_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void StdSchema_gp_Trsf2d::SWrite(const gp_Trsf2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + f.PutReal(pp.ScaleFactor()); + f.PutInteger(pp.Form()); + StdSchema_gp_Mat2d::SWrite(pp.HVectorialPart(),f,theSchema); + StdSchema_gp_XY::SWrite(pp.TranslationPart(),f,theSchema); + + f.EndWriteObjectData(); +} + +void StdSchema_gp_Trsf2d::SRead(gp_Trsf2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + Standard_Real gp_Trsf2dscale; + f.GetReal(gp_Trsf2dscale); + pp.SetScaleFactor(gp_Trsf2dscale); + + gp_TrsfForm gp_Trsf2dshape; + Standard_Integer i_CSFDB_gp_Trsf2dshape; + f.GetInteger(i_CSFDB_gp_Trsf2dshape); + gp_Trsf2dshape = (gp_TrsfForm)i_CSFDB_gp_Trsf2dshape; + //pp._CSFDB_Setgp_Trsf2dshape(gp_Trsf2dshape); + + StdSchema_gp_Mat2d::SRead((gp_Mat2d&)pp.HVectorialPart(),f,theSchema); + + StdSchema_gp_XY::SRead((gp_XY&)pp.TranslationPart(),f,theSchema); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_gp_Trsf2d.hxx b/src/FromOCCT/TKStdSchema/StdSchema_gp_Trsf2d.hxx new file mode 100644 index 000000000..3cd0c085d --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_gp_Trsf2d.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_gp_Trsf2d_HeaderFile +#define _StdSchema_gp_Trsf2d_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class gp_Trsf2d; + +class StdSchema_gp_Trsf2d { +public: + Standard_EXPORT static void SAdd(const gp_Trsf2d&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const gp_Trsf2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(gp_Trsf2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_gp_Trsf2d.ixx b/src/FromOCCT/TKStdSchema/StdSchema_gp_Trsf2d.ixx new file mode 100644 index 000000000..c4665d19a --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_gp_Trsf2d.ixx @@ -0,0 +1,7 @@ +#ifndef _StdSchema_gp_Mat2d_HeaderFile +#include +#endif +#ifndef _StdSchema_gp_XY_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdSchema/StdSchema_gp_Vec.cxx b/src/FromOCCT/TKStdSchema/StdSchema_gp_Vec.cxx new file mode 100644 index 000000000..a653829fd --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_gp_Vec.cxx @@ -0,0 +1,32 @@ +#ifndef _StdSchema_gp_Vec_HeaderFile +#include +#endif +#ifndef _gp_Vec_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void StdSchema_gp_Vec::SWrite(const gp_Vec& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + StdSchema_gp_XYZ::SWrite(pp.XYZ(),f,theSchema); + + f.EndWriteObjectData(); +} + +void StdSchema_gp_Vec::SRead(gp_Vec& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + StdSchema_gp_XYZ::SRead((gp_XYZ&)pp.XYZ(),f,theSchema); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_gp_Vec.hxx b/src/FromOCCT/TKStdSchema/StdSchema_gp_Vec.hxx new file mode 100644 index 000000000..1b8f8dc47 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_gp_Vec.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_gp_Vec_HeaderFile +#define _StdSchema_gp_Vec_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class gp_Vec; + +class StdSchema_gp_Vec { +public: + Standard_EXPORT static void SAdd(const gp_Vec&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const gp_Vec&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(gp_Vec&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_gp_Vec.ixx b/src/FromOCCT/TKStdSchema/StdSchema_gp_Vec.ixx new file mode 100644 index 000000000..10c53d251 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_gp_Vec.ixx @@ -0,0 +1,4 @@ +#ifndef _StdSchema_gp_XYZ_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdSchema/StdSchema_gp_Vec2d.cxx b/src/FromOCCT/TKStdSchema/StdSchema_gp_Vec2d.cxx new file mode 100644 index 000000000..c4af13512 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_gp_Vec2d.cxx @@ -0,0 +1,32 @@ +#ifndef _StdSchema_gp_Vec2d_HeaderFile +#include +#endif +#ifndef _gp_Vec2d_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void StdSchema_gp_Vec2d::SWrite(const gp_Vec2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + StdSchema_gp_XY::SWrite(pp.XY(),f,theSchema); + + f.EndWriteObjectData(); +} + +void StdSchema_gp_Vec2d::SRead(gp_Vec2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + StdSchema_gp_XY::SRead((gp_XY&)pp.XY(),f,theSchema); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_gp_Vec2d.hxx b/src/FromOCCT/TKStdSchema/StdSchema_gp_Vec2d.hxx new file mode 100644 index 000000000..0c3429be9 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_gp_Vec2d.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_gp_Vec2d_HeaderFile +#define _StdSchema_gp_Vec2d_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class gp_Vec2d; + +class StdSchema_gp_Vec2d { +public: + Standard_EXPORT static void SAdd(const gp_Vec2d&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const gp_Vec2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(gp_Vec2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_gp_Vec2d.ixx b/src/FromOCCT/TKStdSchema/StdSchema_gp_Vec2d.ixx new file mode 100644 index 000000000..3153403c3 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_gp_Vec2d.ixx @@ -0,0 +1,4 @@ +#ifndef _StdSchema_gp_XY_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKStdSchema/StdSchema_gp_XY.cxx b/src/FromOCCT/TKStdSchema/StdSchema_gp_XY.cxx new file mode 100644 index 000000000..f7cf6bbdb --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_gp_XY.cxx @@ -0,0 +1,39 @@ +#ifndef _StdSchema_gp_XY_HeaderFile +#include +#endif +#ifndef _gp_XY_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void StdSchema_gp_XY::SWrite(const gp_XY& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + f.PutReal(pp.X()); + f.PutReal(pp.Y()); + + f.EndWriteObjectData(); +} + +void StdSchema_gp_XY::SRead(gp_XY& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + Standard_Real gp_XYx; + f.GetReal(gp_XYx); + pp.SetX(gp_XYx); + + Standard_Real gp_XYy; + f.GetReal(gp_XYy); + pp.SetY(gp_XYy); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_gp_XY.hxx b/src/FromOCCT/TKStdSchema/StdSchema_gp_XY.hxx new file mode 100644 index 000000000..343912fae --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_gp_XY.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_gp_XY_HeaderFile +#define _StdSchema_gp_XY_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class gp_XY; + +class StdSchema_gp_XY { +public: + Standard_EXPORT static void SAdd(const gp_XY&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const gp_XY&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(gp_XY&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_gp_XY.ixx b/src/FromOCCT/TKStdSchema/StdSchema_gp_XY.ixx new file mode 100644 index 000000000..e69de29bb diff --git a/src/FromOCCT/TKStdSchema/StdSchema_gp_XYZ.cxx b/src/FromOCCT/TKStdSchema/StdSchema_gp_XYZ.cxx new file mode 100644 index 000000000..f56a2c879 --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_gp_XYZ.cxx @@ -0,0 +1,44 @@ +#ifndef _StdSchema_gp_XYZ_HeaderFile +#include +#endif +#ifndef _gp_XYZ_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void StdSchema_gp_XYZ::SWrite(const gp_XYZ& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + f.PutReal(pp.X()); + f.PutReal(pp.Y()); + f.PutReal(pp.Z()); + + f.EndWriteObjectData(); +} + +void StdSchema_gp_XYZ::SRead(gp_XYZ& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + Standard_Real gp_XYZx; + f.GetReal(gp_XYZx); + pp.SetX(gp_XYZx); + + Standard_Real gp_XYZy; + f.GetReal(gp_XYZy); + pp.SetY(gp_XYZy); + + Standard_Real gp_XYZz; + f.GetReal(gp_XYZz); + pp.SetZ(gp_XYZz); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKStdSchema/StdSchema_gp_XYZ.hxx b/src/FromOCCT/TKStdSchema/StdSchema_gp_XYZ.hxx new file mode 100644 index 000000000..603aad7eb --- /dev/null +++ b/src/FromOCCT/TKStdSchema/StdSchema_gp_XYZ.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _StdSchema_gp_XYZ_HeaderFile +#define _StdSchema_gp_XYZ_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class gp_XYZ; + +class StdSchema_gp_XYZ { +public: + Standard_EXPORT static void SAdd(const gp_XYZ&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const gp_XYZ&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(gp_XYZ&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKStdSchema/StdSchema_gp_XYZ.ixx b/src/FromOCCT/TKStdSchema/StdSchema_gp_XYZ.ixx new file mode 100644 index 000000000..e69de29bb diff --git a/src/FromOCCT/TKXCAFSchema/CMakeLists.txt b/src/FromOCCT/TKXCAFSchema/CMakeLists.txt new file mode 100755 index 000000000..951a3b59b --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/CMakeLists.txt @@ -0,0 +1,462 @@ +# Copyright (C) 2012-2015 CEA/DEN, EDF R&D, OPEN CASCADE +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# + +# --- options --- + +# additional include directories +INCLUDE_DIRECTORIES( + ${CAS_INCLUDE_DIRS} + ${PROJECT_SOURCE_DIR}/src/FromOCCT/TKPLCAF + ${PROJECT_SOURCE_DIR}/src/FromOCCT/TKShapeSchema + ${PROJECT_SOURCE_DIR}/src/FromOCCT/TKStdLSchema + ${PROJECT_SOURCE_DIR}/src/FromOCCT/TKPShape + ${PROJECT_SOURCE_DIR}/src/FromOCCT/TKPCAF + ${PROJECT_SOURCE_DIR}/src/FromOCCT/TKStdSchema + ${PROJECT_SOURCE_DIR}/src/FromOCCT/PTKernel + ${CMAKE_CURRENT_SOURCE_DIR} +) + +# additional preprocessor / compiler flags +ADD_DEFINITIONS( + ${CAS_DEFINITIONS} + ) + +# libraries to link to +SET(_link_LIBRARIES + ${CAS_TKCDF} ${CAS_TKernel} + ${CAS_TKLCAF} ${CAS_TKMath} ${CAS_TKXCAF} + TKPLCAF + TKShapeSchema + TKStdLSchema + TKPShape + TKPCAF + TKStdSchema + PTKernel + ) + +# --- headers --- + +SET(GEOM_HEADERS + Handle_MXCAFDoc_AreaRetrievalDriver.hxx + Handle_MXCAFDoc_AreaStorageDriver.hxx + Handle_MXCAFDoc_CentroidRetrievalDriver.hxx + Handle_MXCAFDoc_CentroidStorageDriver.hxx + Handle_MXCAFDoc_ColorRetrievalDriver.hxx + Handle_MXCAFDoc_ColorStorageDriver.hxx + Handle_MXCAFDoc_ColorToolRetrievalDriver.hxx + Handle_MXCAFDoc_ColorToolStorageDriver.hxx + Handle_MXCAFDoc_DatumRetrievalDriver.hxx + Handle_MXCAFDoc_DatumStorageDriver.hxx + Handle_MXCAFDoc_DimTolRetrievalDriver.hxx + Handle_MXCAFDoc_DimTolStorageDriver.hxx + Handle_MXCAFDoc_DimTolToolRetrievalDriver.hxx + Handle_MXCAFDoc_DimTolToolStorageDriver.hxx + Handle_MXCAFDoc_DocumentToolRetrievalDriver.hxx + Handle_MXCAFDoc_DocumentToolStorageDriver.hxx + Handle_MXCAFDoc_GraphNodeRetrievalDriver.hxx + Handle_MXCAFDoc_GraphNodeStorageDriver.hxx + Handle_MXCAFDoc_LayerToolRetrievalDriver.hxx + Handle_MXCAFDoc_LayerToolStorageDriver.hxx + Handle_MXCAFDoc_LocationRetrievalDriver.hxx + Handle_MXCAFDoc_LocationStorageDriver.hxx + Handle_MXCAFDoc_MaterialRetrievalDriver.hxx + Handle_MXCAFDoc_MaterialStorageDriver.hxx + Handle_MXCAFDoc_MaterialToolRetrievalDriver.hxx + Handle_MXCAFDoc_MaterialToolStorageDriver.hxx + Handle_MXCAFDoc_ShapeToolRetrievalDriver.hxx + Handle_MXCAFDoc_ShapeToolStorageDriver.hxx + Handle_MXCAFDoc_VolumeRetrievalDriver.hxx + Handle_MXCAFDoc_VolumeStorageDriver.hxx + Handle_PXCAFDoc_Area.hxx + Handle_PXCAFDoc_Centroid.hxx + Handle_PXCAFDoc_Color.hxx + Handle_PXCAFDoc_ColorTool.hxx + Handle_PXCAFDoc_Datum.hxx + Handle_PXCAFDoc_DimTol.hxx + Handle_PXCAFDoc_DimTolTool.hxx + Handle_PXCAFDoc_DocumentTool.hxx + Handle_PXCAFDoc_GraphNode.hxx + Handle_PXCAFDoc_GraphNodeSequence.hxx + Handle_PXCAFDoc_LayerTool.hxx + Handle_PXCAFDoc_Location.hxx + Handle_PXCAFDoc_Material.hxx + Handle_PXCAFDoc_MaterialTool.hxx + Handle_PXCAFDoc_SeqNodeOfGraphNodeSequence.hxx + Handle_PXCAFDoc_ShapeTool.hxx + Handle_PXCAFDoc_Volume.hxx + Handle_XCAFDrivers_DocumentRetrievalDriver.hxx + Handle_XCAFDrivers_DocumentStorageDriver.hxx MXCAFDoc_AreaRetrievalDriver.hxx + MXCAFDoc_AreaRetrievalDriver.ixx + MXCAFDoc_AreaRetrievalDriver.jxx + MXCAFDoc_AreaStorageDriver.hxx + MXCAFDoc_AreaStorageDriver.ixx + MXCAFDoc_AreaStorageDriver.jxx + MXCAFDoc_CentroidRetrievalDriver.hxx + MXCAFDoc_CentroidRetrievalDriver.ixx + MXCAFDoc_CentroidRetrievalDriver.jxx + MXCAFDoc_CentroidStorageDriver.hxx + MXCAFDoc_CentroidStorageDriver.ixx + MXCAFDoc_CentroidStorageDriver.jxx + MXCAFDoc_ColorRetrievalDriver.hxx + MXCAFDoc_ColorRetrievalDriver.ixx + MXCAFDoc_ColorRetrievalDriver.jxx + MXCAFDoc_ColorStorageDriver.hxx + MXCAFDoc_ColorStorageDriver.ixx + MXCAFDoc_ColorStorageDriver.jxx + MXCAFDoc_ColorToolRetrievalDriver.hxx + MXCAFDoc_ColorToolRetrievalDriver.ixx + MXCAFDoc_ColorToolRetrievalDriver.jxx + MXCAFDoc_ColorToolStorageDriver.hxx + MXCAFDoc_ColorToolStorageDriver.ixx + MXCAFDoc_ColorToolStorageDriver.jxx + MXCAFDoc_DatumRetrievalDriver.hxx + MXCAFDoc_DatumRetrievalDriver.ixx + MXCAFDoc_DatumRetrievalDriver.jxx + MXCAFDoc_DatumStorageDriver.hxx + MXCAFDoc_DatumStorageDriver.ixx + MXCAFDoc_DatumStorageDriver.jxx + MXCAFDoc_DimTolRetrievalDriver.hxx + MXCAFDoc_DimTolRetrievalDriver.ixx + MXCAFDoc_DimTolRetrievalDriver.jxx + MXCAFDoc_DimTolStorageDriver.hxx + MXCAFDoc_DimTolStorageDriver.ixx + MXCAFDoc_DimTolStorageDriver.jxx + MXCAFDoc_DimTolToolRetrievalDriver.hxx + MXCAFDoc_DimTolToolRetrievalDriver.ixx + MXCAFDoc_DimTolToolRetrievalDriver.jxx + MXCAFDoc_DimTolToolStorageDriver.hxx + MXCAFDoc_DimTolToolStorageDriver.ixx + MXCAFDoc_DimTolToolStorageDriver.jxx + MXCAFDoc_DocumentToolRetrievalDriver.hxx + MXCAFDoc_DocumentToolRetrievalDriver.ixx + MXCAFDoc_DocumentToolRetrievalDriver.jxx + MXCAFDoc_DocumentToolStorageDriver.hxx + MXCAFDoc_DocumentToolStorageDriver.ixx + MXCAFDoc_DocumentToolStorageDriver.jxx + MXCAFDoc_GraphNodeRetrievalDriver.hxx + MXCAFDoc_GraphNodeRetrievalDriver.ixx + MXCAFDoc_GraphNodeRetrievalDriver.jxx + MXCAFDoc_GraphNodeStorageDriver.hxx + MXCAFDoc_GraphNodeStorageDriver.ixx + MXCAFDoc_GraphNodeStorageDriver.jxx + MXCAFDoc.hxx + MXCAFDoc.ixx + MXCAFDoc.jxx + MXCAFDoc_LayerToolRetrievalDriver.hxx + MXCAFDoc_LayerToolRetrievalDriver.ixx + MXCAFDoc_LayerToolRetrievalDriver.jxx + MXCAFDoc_LayerToolStorageDriver.hxx + MXCAFDoc_LayerToolStorageDriver.ixx + MXCAFDoc_LayerToolStorageDriver.jxx + MXCAFDoc_LocationRetrievalDriver.hxx + MXCAFDoc_LocationRetrievalDriver.ixx + MXCAFDoc_LocationRetrievalDriver.jxx + MXCAFDoc_LocationStorageDriver.hxx + MXCAFDoc_LocationStorageDriver.ixx + MXCAFDoc_LocationStorageDriver.jxx + MXCAFDoc_MaterialRetrievalDriver.hxx + MXCAFDoc_MaterialRetrievalDriver.ixx + MXCAFDoc_MaterialRetrievalDriver.jxx + MXCAFDoc_MaterialStorageDriver.hxx + MXCAFDoc_MaterialStorageDriver.ixx + MXCAFDoc_MaterialStorageDriver.jxx + MXCAFDoc_MaterialToolRetrievalDriver.hxx + MXCAFDoc_MaterialToolRetrievalDriver.ixx + MXCAFDoc_MaterialToolRetrievalDriver.jxx + MXCAFDoc_MaterialToolStorageDriver.hxx + MXCAFDoc_MaterialToolStorageDriver.ixx + MXCAFDoc_MaterialToolStorageDriver.jxx + MXCAFDoc_ShapeToolRetrievalDriver.hxx + MXCAFDoc_ShapeToolRetrievalDriver.ixx + MXCAFDoc_ShapeToolRetrievalDriver.jxx + MXCAFDoc_ShapeToolStorageDriver.hxx + MXCAFDoc_ShapeToolStorageDriver.ixx + MXCAFDoc_ShapeToolStorageDriver.jxx + MXCAFDoc_VolumeRetrievalDriver.hxx + MXCAFDoc_VolumeRetrievalDriver.ixx + MXCAFDoc_VolumeRetrievalDriver.jxx + MXCAFDoc_VolumeStorageDriver.hxx + MXCAFDoc_VolumeStorageDriver.ixx + MXCAFDoc_VolumeStorageDriver.jxx + PXCAFDoc_Area.hxx + PXCAFDoc_Area.ixx + PXCAFDoc_Area.jxx + PXCAFDoc_Centroid.hxx + PXCAFDoc_Centroid.ixx + PXCAFDoc_Centroid.jxx + PXCAFDoc_Color.hxx + PXCAFDoc_Color.ixx + PXCAFDoc_Color.jxx + PXCAFDoc_ColorTool.hxx + PXCAFDoc_ColorTool.ixx + PXCAFDoc_ColorTool.jxx + PXCAFDoc_Datum.hxx + PXCAFDoc_Datum.ixx + PXCAFDoc_Datum.jxx + PXCAFDoc_DimTol.hxx + PXCAFDoc_DimTol.ixx + PXCAFDoc_DimTol.jxx + PXCAFDoc_DimTolTool.hxx + PXCAFDoc_DimTolTool.ixx + PXCAFDoc_DimTolTool.jxx + PXCAFDoc_DocumentTool.hxx + PXCAFDoc_DocumentTool.ixx + PXCAFDoc_DocumentTool.jxx + PXCAFDoc_GraphNode.hxx + PXCAFDoc_GraphNode.ixx + PXCAFDoc_GraphNode.jxx + PXCAFDoc_GraphNodeSequence.hxx + PXCAFDoc_LayerTool.hxx + PXCAFDoc_LayerTool.ixx + PXCAFDoc_LayerTool.jxx + PXCAFDoc_Location.hxx + PXCAFDoc_Location.ixx + PXCAFDoc_Location.jxx + PXCAFDoc_Material.hxx + PXCAFDoc_Material.ixx + PXCAFDoc_Material.jxx + PXCAFDoc_MaterialTool.hxx + PXCAFDoc_MaterialTool.ixx + PXCAFDoc_MaterialTool.jxx + PXCAFDoc_SeqExplorerOfGraphNodeSequence.hxx + PXCAFDoc_SeqNodeOfGraphNodeSequence.hxx + PXCAFDoc_ShapeTool.hxx + PXCAFDoc_ShapeTool.ixx + PXCAFDoc_ShapeTool.jxx + PXCAFDoc_Volume.hxx + PXCAFDoc_Volume.ixx + PXCAFDoc_Volume.jxx + XCAFDrivers_DocumentRetrievalDriver.hxx + XCAFDrivers_DocumentRetrievalDriver.ixx + XCAFDrivers_DocumentRetrievalDriver.jxx + XCAFDrivers_DocumentStorageDriver.hxx + XCAFDrivers_DocumentStorageDriver.ixx + XCAFDrivers_DocumentStorageDriver.jxx + XCAFDrivers.hxx + XCAFDrivers.ixx + XCAFDrivers.jxx + XCAFSchema_DBC_VArrayOfCharacter.hxx + XCAFSchema_DBC_VArrayOfCharacter.ixx + XCAFSchema_DBC_VArrayOfExtCharacter.hxx + XCAFSchema_DBC_VArrayOfExtCharacter.ixx + XCAFSchema_gp_Ax1.hxx + XCAFSchema_gp_Ax1.ixx + XCAFSchema_gp_Ax2d.hxx + XCAFSchema_gp_Ax2d.ixx + XCAFSchema_gp_Ax2.hxx + XCAFSchema_gp_Ax2.ixx + XCAFSchema_gp_Ax3.hxx + XCAFSchema_gp_Ax3.ixx + XCAFSchema_gp_Dir2d.hxx + XCAFSchema_gp_Dir2d.ixx + XCAFSchema_gp_Dir.hxx + XCAFSchema_gp_Dir.ixx + XCAFSchema_gp_Mat2d.hxx + XCAFSchema_gp_Mat2d.ixx + XCAFSchema_gp_Mat.hxx + XCAFSchema_gp_Mat.ixx + XCAFSchema_gp_Pnt2d.hxx + XCAFSchema_gp_Pnt2d.ixx + XCAFSchema_gp_Pnt.hxx + XCAFSchema_gp_Pnt.ixx + XCAFSchema_gp_Trsf2d.hxx + XCAFSchema_gp_Trsf2d.ixx + XCAFSchema_gp_Trsf.hxx + XCAFSchema_gp_Trsf.ixx + XCAFSchema_gp_Vec2d.hxx + XCAFSchema_gp_Vec2d.ixx + XCAFSchema_gp_Vec.hxx + XCAFSchema_gp_Vec.ixx + XCAFSchema_gp_XY.hxx + XCAFSchema_gp_XY.ixx + XCAFSchema_gp_XYZ.hxx + XCAFSchema_gp_XYZ.ixx + XCAFSchema.hxx + XCAFSchema_PCollection_HAsciiString.hxx + XCAFSchema_PCollection_HAsciiString.ixx + XCAFSchema_PCollection_HExtendedString.hxx + XCAFSchema_PCollection_HExtendedString.ixx + XCAFSchema_PColStd_FieldOfHArray1OfReal.hxx + XCAFSchema_PColStd_FieldOfHArray1OfReal.ixx + XCAFSchema_PColStd_HArray1OfReal.hxx + XCAFSchema_PColStd_HArray1OfReal.ixx + XCAFSchema_PDF_Attribute.hxx + XCAFSchema_PDF_Attribute.ixx + XCAFSchema_PMMgt_PManaged.hxx + XCAFSchema_PMMgt_PManaged.ixx + XCAFSchema_PTopLoc_Datum3D.hxx + XCAFSchema_PTopLoc_Datum3D.ixx + XCAFSchema_PTopLoc_ItemLocation.hxx + XCAFSchema_PTopLoc_ItemLocation.ixx + XCAFSchema_PTopLoc_Location.hxx + XCAFSchema_PTopLoc_Location.ixx + XCAFSchema_PXCAFDoc_Area.hxx + XCAFSchema_PXCAFDoc_Area.ixx + XCAFSchema_PXCAFDoc_Centroid.hxx + XCAFSchema_PXCAFDoc_Centroid.ixx + XCAFSchema_PXCAFDoc_Color.hxx + XCAFSchema_PXCAFDoc_Color.ixx + XCAFSchema_PXCAFDoc_ColorTool.hxx + XCAFSchema_PXCAFDoc_ColorTool.ixx + XCAFSchema_PXCAFDoc_Datum.hxx + XCAFSchema_PXCAFDoc_Datum.ixx + XCAFSchema_PXCAFDoc_DimTol.hxx + XCAFSchema_PXCAFDoc_DimTol.ixx + XCAFSchema_PXCAFDoc_DimTolTool.hxx + XCAFSchema_PXCAFDoc_DimTolTool.ixx + XCAFSchema_PXCAFDoc_DocumentTool.hxx + XCAFSchema_PXCAFDoc_DocumentTool.ixx + XCAFSchema_PXCAFDoc_GraphNode.hxx + XCAFSchema_PXCAFDoc_GraphNode.ixx + XCAFSchema_PXCAFDoc_GraphNodeSequence.hxx + XCAFSchema_PXCAFDoc_GraphNodeSequence.ixx + XCAFSchema_PXCAFDoc_LayerTool.hxx + XCAFSchema_PXCAFDoc_LayerTool.ixx + XCAFSchema_PXCAFDoc_Location.hxx + XCAFSchema_PXCAFDoc_Location.ixx + XCAFSchema_PXCAFDoc_Material.hxx + XCAFSchema_PXCAFDoc_Material.ixx + XCAFSchema_PXCAFDoc_MaterialTool.hxx + XCAFSchema_PXCAFDoc_MaterialTool.ixx + XCAFSchema_PXCAFDoc_SeqNodeOfGraphNodeSequence.hxx + XCAFSchema_PXCAFDoc_SeqNodeOfGraphNodeSequence.ixx + XCAFSchema_PXCAFDoc_ShapeTool.hxx + XCAFSchema_PXCAFDoc_ShapeTool.ixx + XCAFSchema_PXCAFDoc_Volume.hxx + XCAFSchema_PXCAFDoc_Volume.ixx + XCAFSchema_Quantity_Color.hxx + XCAFSchema_Quantity_Color.ixx + XCAFSchema_Standard_GUID.hxx + XCAFSchema_Standard_GUID.ixx + XCAFSchema_Standard_Persistent.hxx + XCAFSchema_Standard_Persistent.ixx + ) + +# --- sources --- + +SET(GEOM_SOURCES + MXCAFDoc_AreaRetrievalDriver.cxx + MXCAFDoc_AreaStorageDriver.cxx + MXCAFDoc_CentroidRetrievalDriver.cxx + MXCAFDoc_CentroidStorageDriver.cxx + MXCAFDoc_ColorRetrievalDriver.cxx + MXCAFDoc_ColorStorageDriver.cxx + MXCAFDoc_ColorToolRetrievalDriver.cxx + MXCAFDoc_ColorToolStorageDriver.cxx + MXCAFDoc.cxx + MXCAFDoc_DatumRetrievalDriver.cxx + MXCAFDoc_DatumStorageDriver.cxx + MXCAFDoc_DimTolRetrievalDriver.cxx + MXCAFDoc_DimTolStorageDriver.cxx + MXCAFDoc_DimTolToolRetrievalDriver.cxx + MXCAFDoc_DimTolToolStorageDriver.cxx + MXCAFDoc_DocumentToolRetrievalDriver.cxx + MXCAFDoc_DocumentToolStorageDriver.cxx + MXCAFDoc_GraphNodeRetrievalDriver.cxx + MXCAFDoc_GraphNodeStorageDriver.cxx + MXCAFDoc_LayerToolRetrievalDriver.cxx + MXCAFDoc_LayerToolStorageDriver.cxx + MXCAFDoc_LocationRetrievalDriver.cxx + MXCAFDoc_LocationStorageDriver.cxx + MXCAFDoc_MaterialRetrievalDriver.cxx + MXCAFDoc_MaterialStorageDriver.cxx + MXCAFDoc_MaterialToolRetrievalDriver.cxx + MXCAFDoc_MaterialToolStorageDriver.cxx + MXCAFDoc_ShapeToolRetrievalDriver.cxx + MXCAFDoc_ShapeToolStorageDriver.cxx + MXCAFDoc_VolumeRetrievalDriver.cxx + MXCAFDoc_VolumeStorageDriver.cxx + PXCAFDoc_Area.cxx + PXCAFDoc_Centroid.cxx + PXCAFDoc_Color.cxx + PXCAFDoc_ColorTool.cxx + PXCAFDoc_Datum.cxx + PXCAFDoc_DimTol.cxx + PXCAFDoc_DimTolTool.cxx + PXCAFDoc_DocumentTool.cxx + PXCAFDoc_GraphNode.cxx + PXCAFDoc_GraphNodeSequence_0.cxx + PXCAFDoc_LayerTool.cxx + PXCAFDoc_Location.cxx + PXCAFDoc_Material.cxx + PXCAFDoc_MaterialTool.cxx + PXCAFDoc_SeqExplorerOfGraphNodeSequence_0.cxx + PXCAFDoc_SeqNodeOfGraphNodeSequence_0.cxx + PXCAFDoc_ShapeTool.cxx + PXCAFDoc_Volume.cxx + XCAFDrivers.cxx + XCAFDrivers_DocumentRetrievalDriver.cxx + XCAFDrivers_DocumentStorageDriver.cxx + XCAFSchema.cxx + XCAFSchema_DBC_VArrayOfCharacter.cxx + XCAFSchema_DBC_VArrayOfExtCharacter.cxx + XCAFSchema_gp_Ax1.cxx + XCAFSchema_gp_Ax2.cxx + XCAFSchema_gp_Ax2d.cxx + XCAFSchema_gp_Ax3.cxx + XCAFSchema_gp_Dir2d.cxx + XCAFSchema_gp_Dir.cxx + XCAFSchema_gp_Mat2d.cxx + XCAFSchema_gp_Mat.cxx + XCAFSchema_gp_Pnt2d.cxx + XCAFSchema_gp_Pnt.cxx + XCAFSchema_gp_Trsf2d.cxx + XCAFSchema_gp_Trsf.cxx + XCAFSchema_gp_Vec2d.cxx + XCAFSchema_gp_Vec.cxx + XCAFSchema_gp_XY.cxx + XCAFSchema_gp_XYZ.cxx + XCAFSchema_PCollection_HAsciiString.cxx + XCAFSchema_PCollection_HExtendedString.cxx + XCAFSchema_PColStd_FieldOfHArray1OfReal.cxx + XCAFSchema_PColStd_HArray1OfReal.cxx + XCAFSchema_PDF_Attribute.cxx + XCAFSchema_PMMgt_PManaged.cxx + XCAFSchema_PTopLoc_Datum3D.cxx + XCAFSchema_PTopLoc_ItemLocation.cxx + XCAFSchema_PTopLoc_Location.cxx + XCAFSchema_PXCAFDoc_Area.cxx + XCAFSchema_PXCAFDoc_Centroid.cxx + XCAFSchema_PXCAFDoc_Color.cxx + XCAFSchema_PXCAFDoc_ColorTool.cxx + XCAFSchema_PXCAFDoc_Datum.cxx + XCAFSchema_PXCAFDoc_DimTol.cxx + XCAFSchema_PXCAFDoc_DimTolTool.cxx + XCAFSchema_PXCAFDoc_DocumentTool.cxx + XCAFSchema_PXCAFDoc_GraphNode.cxx + XCAFSchema_PXCAFDoc_GraphNodeSequence.cxx + XCAFSchema_PXCAFDoc_LayerTool.cxx + XCAFSchema_PXCAFDoc_Location.cxx + XCAFSchema_PXCAFDoc_Material.cxx + XCAFSchema_PXCAFDoc_MaterialTool.cxx + XCAFSchema_PXCAFDoc_SeqNodeOfGraphNodeSequence.cxx + XCAFSchema_PXCAFDoc_ShapeTool.cxx + XCAFSchema_PXCAFDoc_Volume.cxx + XCAFSchema_Quantity_Color.cxx + XCAFSchema_Standard_GUID.cxx + XCAFSchema_Standard_Persistent.cxx + ) + +# --- rules --- + +ADD_LIBRARY(TKXCAFSchema ${GEOM_SOURCES}) +TARGET_LINK_LIBRARIES(TKXCAFSchema ${_link_LIBRARIES}) +INSTALL(TARGETS TKXCAFSchema EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) + +INSTALL(FILES ${GEOM_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) diff --git a/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_AreaRetrievalDriver.hxx b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_AreaRetrievalDriver.hxx new file mode 100644 index 000000000..e165edc49 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_AreaRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MXCAFDoc_AreaRetrievalDriver_HeaderFile +#define _Handle_MXCAFDoc_AreaRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MXCAFDoc_AreaRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MXCAFDoc_AreaRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MXCAFDoc_AreaRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_AreaStorageDriver.hxx b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_AreaStorageDriver.hxx new file mode 100644 index 000000000..f81daad88 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_AreaStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MXCAFDoc_AreaStorageDriver_HeaderFile +#define _Handle_MXCAFDoc_AreaStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MXCAFDoc_AreaStorageDriver; + +DEFINE_STANDARD_HANDLE(MXCAFDoc_AreaStorageDriver, MDF_ASDriver) + +#endif // _Handle_MXCAFDoc_AreaStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_CentroidRetrievalDriver.hxx b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_CentroidRetrievalDriver.hxx new file mode 100644 index 000000000..3735994e2 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_CentroidRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MXCAFDoc_CentroidRetrievalDriver_HeaderFile +#define _Handle_MXCAFDoc_CentroidRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MXCAFDoc_CentroidRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MXCAFDoc_CentroidRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MXCAFDoc_CentroidRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_CentroidStorageDriver.hxx b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_CentroidStorageDriver.hxx new file mode 100644 index 000000000..f9dd18ac6 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_CentroidStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MXCAFDoc_CentroidStorageDriver_HeaderFile +#define _Handle_MXCAFDoc_CentroidStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MXCAFDoc_CentroidStorageDriver; + +DEFINE_STANDARD_HANDLE(MXCAFDoc_CentroidStorageDriver, MDF_ASDriver) + +#endif // _Handle_MXCAFDoc_CentroidStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_ColorRetrievalDriver.hxx b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_ColorRetrievalDriver.hxx new file mode 100644 index 000000000..c16c6f89a --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_ColorRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MXCAFDoc_ColorRetrievalDriver_HeaderFile +#define _Handle_MXCAFDoc_ColorRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MXCAFDoc_ColorRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MXCAFDoc_ColorRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MXCAFDoc_ColorRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_ColorStorageDriver.hxx b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_ColorStorageDriver.hxx new file mode 100644 index 000000000..ee4beefc2 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_ColorStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MXCAFDoc_ColorStorageDriver_HeaderFile +#define _Handle_MXCAFDoc_ColorStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MXCAFDoc_ColorStorageDriver; + +DEFINE_STANDARD_HANDLE(MXCAFDoc_ColorStorageDriver, MDF_ASDriver) + +#endif // _Handle_MXCAFDoc_ColorStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_ColorToolRetrievalDriver.hxx b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_ColorToolRetrievalDriver.hxx new file mode 100644 index 000000000..36d9ae378 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_ColorToolRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MXCAFDoc_ColorToolRetrievalDriver_HeaderFile +#define _Handle_MXCAFDoc_ColorToolRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MXCAFDoc_ColorToolRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MXCAFDoc_ColorToolRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MXCAFDoc_ColorToolRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_ColorToolStorageDriver.hxx b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_ColorToolStorageDriver.hxx new file mode 100644 index 000000000..7db611e48 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_ColorToolStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MXCAFDoc_ColorToolStorageDriver_HeaderFile +#define _Handle_MXCAFDoc_ColorToolStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MXCAFDoc_ColorToolStorageDriver; + +DEFINE_STANDARD_HANDLE(MXCAFDoc_ColorToolStorageDriver, MDF_ASDriver) + +#endif // _Handle_MXCAFDoc_ColorToolStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_DatumRetrievalDriver.hxx b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_DatumRetrievalDriver.hxx new file mode 100644 index 000000000..65e84e101 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_DatumRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MXCAFDoc_DatumRetrievalDriver_HeaderFile +#define _Handle_MXCAFDoc_DatumRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MXCAFDoc_DatumRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MXCAFDoc_DatumRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MXCAFDoc_DatumRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_DatumStorageDriver.hxx b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_DatumStorageDriver.hxx new file mode 100644 index 000000000..6967c39b2 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_DatumStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MXCAFDoc_DatumStorageDriver_HeaderFile +#define _Handle_MXCAFDoc_DatumStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MXCAFDoc_DatumStorageDriver; + +DEFINE_STANDARD_HANDLE(MXCAFDoc_DatumStorageDriver, MDF_ASDriver) + +#endif // _Handle_MXCAFDoc_DatumStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_DimTolRetrievalDriver.hxx b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_DimTolRetrievalDriver.hxx new file mode 100644 index 000000000..799cd0fab --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_DimTolRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MXCAFDoc_DimTolRetrievalDriver_HeaderFile +#define _Handle_MXCAFDoc_DimTolRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MXCAFDoc_DimTolRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MXCAFDoc_DimTolRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MXCAFDoc_DimTolRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_DimTolStorageDriver.hxx b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_DimTolStorageDriver.hxx new file mode 100644 index 000000000..d3426cce6 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_DimTolStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MXCAFDoc_DimTolStorageDriver_HeaderFile +#define _Handle_MXCAFDoc_DimTolStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MXCAFDoc_DimTolStorageDriver; + +DEFINE_STANDARD_HANDLE(MXCAFDoc_DimTolStorageDriver, MDF_ASDriver) + +#endif // _Handle_MXCAFDoc_DimTolStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_DimTolToolRetrievalDriver.hxx b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_DimTolToolRetrievalDriver.hxx new file mode 100644 index 000000000..5d92e49eb --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_DimTolToolRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MXCAFDoc_DimTolToolRetrievalDriver_HeaderFile +#define _Handle_MXCAFDoc_DimTolToolRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MXCAFDoc_DimTolToolRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MXCAFDoc_DimTolToolRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MXCAFDoc_DimTolToolRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_DimTolToolStorageDriver.hxx b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_DimTolToolStorageDriver.hxx new file mode 100644 index 000000000..a66ea8934 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_DimTolToolStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MXCAFDoc_DimTolToolStorageDriver_HeaderFile +#define _Handle_MXCAFDoc_DimTolToolStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MXCAFDoc_DimTolToolStorageDriver; + +DEFINE_STANDARD_HANDLE(MXCAFDoc_DimTolToolStorageDriver, MDF_ASDriver) + +#endif // _Handle_MXCAFDoc_DimTolToolStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_DocumentToolRetrievalDriver.hxx b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_DocumentToolRetrievalDriver.hxx new file mode 100644 index 000000000..60beee089 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_DocumentToolRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MXCAFDoc_DocumentToolRetrievalDriver_HeaderFile +#define _Handle_MXCAFDoc_DocumentToolRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MXCAFDoc_DocumentToolRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MXCAFDoc_DocumentToolRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MXCAFDoc_DocumentToolRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_DocumentToolStorageDriver.hxx b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_DocumentToolStorageDriver.hxx new file mode 100644 index 000000000..89155bcd2 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_DocumentToolStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MXCAFDoc_DocumentToolStorageDriver_HeaderFile +#define _Handle_MXCAFDoc_DocumentToolStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MXCAFDoc_DocumentToolStorageDriver; + +DEFINE_STANDARD_HANDLE(MXCAFDoc_DocumentToolStorageDriver, MDF_ASDriver) + +#endif // _Handle_MXCAFDoc_DocumentToolStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_GraphNodeRetrievalDriver.hxx b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_GraphNodeRetrievalDriver.hxx new file mode 100644 index 000000000..ae63e9cb2 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_GraphNodeRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MXCAFDoc_GraphNodeRetrievalDriver_HeaderFile +#define _Handle_MXCAFDoc_GraphNodeRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MXCAFDoc_GraphNodeRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MXCAFDoc_GraphNodeRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MXCAFDoc_GraphNodeRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_GraphNodeStorageDriver.hxx b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_GraphNodeStorageDriver.hxx new file mode 100644 index 000000000..68276376d --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_GraphNodeStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MXCAFDoc_GraphNodeStorageDriver_HeaderFile +#define _Handle_MXCAFDoc_GraphNodeStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MXCAFDoc_GraphNodeStorageDriver; + +DEFINE_STANDARD_HANDLE(MXCAFDoc_GraphNodeStorageDriver, MDF_ASDriver) + +#endif // _Handle_MXCAFDoc_GraphNodeStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_LayerToolRetrievalDriver.hxx b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_LayerToolRetrievalDriver.hxx new file mode 100644 index 000000000..2e89db699 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_LayerToolRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MXCAFDoc_LayerToolRetrievalDriver_HeaderFile +#define _Handle_MXCAFDoc_LayerToolRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MXCAFDoc_LayerToolRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MXCAFDoc_LayerToolRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MXCAFDoc_LayerToolRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_LayerToolStorageDriver.hxx b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_LayerToolStorageDriver.hxx new file mode 100644 index 000000000..2772d3df7 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_LayerToolStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MXCAFDoc_LayerToolStorageDriver_HeaderFile +#define _Handle_MXCAFDoc_LayerToolStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MXCAFDoc_LayerToolStorageDriver; + +DEFINE_STANDARD_HANDLE(MXCAFDoc_LayerToolStorageDriver, MDF_ASDriver) + +#endif // _Handle_MXCAFDoc_LayerToolStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_LocationRetrievalDriver.hxx b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_LocationRetrievalDriver.hxx new file mode 100644 index 000000000..b1b02d43d --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_LocationRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MXCAFDoc_LocationRetrievalDriver_HeaderFile +#define _Handle_MXCAFDoc_LocationRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MXCAFDoc_LocationRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MXCAFDoc_LocationRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MXCAFDoc_LocationRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_LocationStorageDriver.hxx b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_LocationStorageDriver.hxx new file mode 100644 index 000000000..76522fd97 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_LocationStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MXCAFDoc_LocationStorageDriver_HeaderFile +#define _Handle_MXCAFDoc_LocationStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MXCAFDoc_LocationStorageDriver; + +DEFINE_STANDARD_HANDLE(MXCAFDoc_LocationStorageDriver, MDF_ASDriver) + +#endif // _Handle_MXCAFDoc_LocationStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_MaterialRetrievalDriver.hxx b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_MaterialRetrievalDriver.hxx new file mode 100644 index 000000000..c88543c05 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_MaterialRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MXCAFDoc_MaterialRetrievalDriver_HeaderFile +#define _Handle_MXCAFDoc_MaterialRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MXCAFDoc_MaterialRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MXCAFDoc_MaterialRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MXCAFDoc_MaterialRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_MaterialStorageDriver.hxx b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_MaterialStorageDriver.hxx new file mode 100644 index 000000000..3add616fd --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_MaterialStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MXCAFDoc_MaterialStorageDriver_HeaderFile +#define _Handle_MXCAFDoc_MaterialStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MXCAFDoc_MaterialStorageDriver; + +DEFINE_STANDARD_HANDLE(MXCAFDoc_MaterialStorageDriver, MDF_ASDriver) + +#endif // _Handle_MXCAFDoc_MaterialStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_MaterialToolRetrievalDriver.hxx b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_MaterialToolRetrievalDriver.hxx new file mode 100644 index 000000000..26daac4a8 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_MaterialToolRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MXCAFDoc_MaterialToolRetrievalDriver_HeaderFile +#define _Handle_MXCAFDoc_MaterialToolRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MXCAFDoc_MaterialToolRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MXCAFDoc_MaterialToolRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MXCAFDoc_MaterialToolRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_MaterialToolStorageDriver.hxx b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_MaterialToolStorageDriver.hxx new file mode 100644 index 000000000..939eb19b0 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_MaterialToolStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MXCAFDoc_MaterialToolStorageDriver_HeaderFile +#define _Handle_MXCAFDoc_MaterialToolStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MXCAFDoc_MaterialToolStorageDriver; + +DEFINE_STANDARD_HANDLE(MXCAFDoc_MaterialToolStorageDriver, MDF_ASDriver) + +#endif // _Handle_MXCAFDoc_MaterialToolStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_ShapeToolRetrievalDriver.hxx b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_ShapeToolRetrievalDriver.hxx new file mode 100644 index 000000000..c4286adf3 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_ShapeToolRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MXCAFDoc_ShapeToolRetrievalDriver_HeaderFile +#define _Handle_MXCAFDoc_ShapeToolRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MXCAFDoc_ShapeToolRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MXCAFDoc_ShapeToolRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MXCAFDoc_ShapeToolRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_ShapeToolStorageDriver.hxx b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_ShapeToolStorageDriver.hxx new file mode 100644 index 000000000..147103baa --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_ShapeToolStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MXCAFDoc_ShapeToolStorageDriver_HeaderFile +#define _Handle_MXCAFDoc_ShapeToolStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MXCAFDoc_ShapeToolStorageDriver; + +DEFINE_STANDARD_HANDLE(MXCAFDoc_ShapeToolStorageDriver, MDF_ASDriver) + +#endif // _Handle_MXCAFDoc_ShapeToolStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_VolumeRetrievalDriver.hxx b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_VolumeRetrievalDriver.hxx new file mode 100644 index 000000000..05305e263 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_VolumeRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MXCAFDoc_VolumeRetrievalDriver_HeaderFile +#define _Handle_MXCAFDoc_VolumeRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ARDriver); +class MXCAFDoc_VolumeRetrievalDriver; + +DEFINE_STANDARD_HANDLE(MXCAFDoc_VolumeRetrievalDriver, MDF_ARDriver) + +#endif // _Handle_MXCAFDoc_VolumeRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_VolumeStorageDriver.hxx b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_VolumeStorageDriver.hxx new file mode 100644 index 000000000..dea92d6a9 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/Handle_MXCAFDoc_VolumeStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_MXCAFDoc_VolumeStorageDriver_HeaderFile +#define _Handle_MXCAFDoc_VolumeStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDF_ASDriver); +class MXCAFDoc_VolumeStorageDriver; + +DEFINE_STANDARD_HANDLE(MXCAFDoc_VolumeStorageDriver, MDF_ASDriver) + +#endif // _Handle_MXCAFDoc_VolumeStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_Area.hxx b/src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_Area.hxx new file mode 100644 index 000000000..01b531970 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_Area.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PXCAFDoc_Area_HeaderFile +#define _Handle_PXCAFDoc_Area_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PXCAFDoc_Area; + +DEFINE_STANDARD_PHANDLE(PXCAFDoc_Area,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_Centroid.hxx b/src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_Centroid.hxx new file mode 100644 index 000000000..21a72734b --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_Centroid.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PXCAFDoc_Centroid_HeaderFile +#define _Handle_PXCAFDoc_Centroid_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PXCAFDoc_Centroid; + +DEFINE_STANDARD_PHANDLE(PXCAFDoc_Centroid,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_Color.hxx b/src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_Color.hxx new file mode 100644 index 000000000..25a56c43f --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_Color.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PXCAFDoc_Color_HeaderFile +#define _Handle_PXCAFDoc_Color_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PXCAFDoc_Color; + +DEFINE_STANDARD_PHANDLE(PXCAFDoc_Color,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_ColorTool.hxx b/src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_ColorTool.hxx new file mode 100644 index 000000000..b43eb4e0d --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_ColorTool.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PXCAFDoc_ColorTool_HeaderFile +#define _Handle_PXCAFDoc_ColorTool_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PXCAFDoc_ColorTool; + +DEFINE_STANDARD_PHANDLE(PXCAFDoc_ColorTool,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_Datum.hxx b/src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_Datum.hxx new file mode 100644 index 000000000..fbc832b4a --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_Datum.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PXCAFDoc_Datum_HeaderFile +#define _Handle_PXCAFDoc_Datum_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PXCAFDoc_Datum; + +DEFINE_STANDARD_PHANDLE(PXCAFDoc_Datum,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_DimTol.hxx b/src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_DimTol.hxx new file mode 100644 index 000000000..4eadf62a1 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_DimTol.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PXCAFDoc_DimTol_HeaderFile +#define _Handle_PXCAFDoc_DimTol_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PXCAFDoc_DimTol; + +DEFINE_STANDARD_PHANDLE(PXCAFDoc_DimTol,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_DimTolTool.hxx b/src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_DimTolTool.hxx new file mode 100644 index 000000000..173633a3b --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_DimTolTool.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PXCAFDoc_DimTolTool_HeaderFile +#define _Handle_PXCAFDoc_DimTolTool_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PXCAFDoc_DimTolTool; + +DEFINE_STANDARD_PHANDLE(PXCAFDoc_DimTolTool,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_DocumentTool.hxx b/src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_DocumentTool.hxx new file mode 100644 index 000000000..e89f52006 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_DocumentTool.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PXCAFDoc_DocumentTool_HeaderFile +#define _Handle_PXCAFDoc_DocumentTool_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PXCAFDoc_DocumentTool; + +DEFINE_STANDARD_PHANDLE(PXCAFDoc_DocumentTool,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_GraphNode.hxx b/src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_GraphNode.hxx new file mode 100644 index 000000000..4bdfbe3a5 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_GraphNode.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PXCAFDoc_GraphNode_HeaderFile +#define _Handle_PXCAFDoc_GraphNode_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PXCAFDoc_GraphNode; + +DEFINE_STANDARD_PHANDLE(PXCAFDoc_GraphNode,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_GraphNodeSequence.hxx b/src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_GraphNodeSequence.hxx new file mode 100644 index 000000000..f45c239ac --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_GraphNodeSequence.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PXCAFDoc_GraphNodeSequence_HeaderFile +#define _Handle_PXCAFDoc_GraphNodeSequence_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(Standard_Persistent); +class PXCAFDoc_GraphNodeSequence; + +DEFINE_STANDARD_PHANDLE(PXCAFDoc_GraphNodeSequence,Standard_Persistent) + +#endif diff --git a/src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_LayerTool.hxx b/src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_LayerTool.hxx new file mode 100644 index 000000000..63d28cc38 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_LayerTool.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PXCAFDoc_LayerTool_HeaderFile +#define _Handle_PXCAFDoc_LayerTool_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PXCAFDoc_LayerTool; + +DEFINE_STANDARD_PHANDLE(PXCAFDoc_LayerTool,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_Location.hxx b/src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_Location.hxx new file mode 100644 index 000000000..18a96cda7 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_Location.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PXCAFDoc_Location_HeaderFile +#define _Handle_PXCAFDoc_Location_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PXCAFDoc_Location; + +DEFINE_STANDARD_PHANDLE(PXCAFDoc_Location,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_Material.hxx b/src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_Material.hxx new file mode 100644 index 000000000..8a6d03d21 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_Material.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PXCAFDoc_Material_HeaderFile +#define _Handle_PXCAFDoc_Material_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PXCAFDoc_Material; + +DEFINE_STANDARD_PHANDLE(PXCAFDoc_Material,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_MaterialTool.hxx b/src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_MaterialTool.hxx new file mode 100644 index 000000000..489d9aa1b --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_MaterialTool.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PXCAFDoc_MaterialTool_HeaderFile +#define _Handle_PXCAFDoc_MaterialTool_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PXCAFDoc_MaterialTool; + +DEFINE_STANDARD_PHANDLE(PXCAFDoc_MaterialTool,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_SeqNodeOfGraphNodeSequence.hxx b/src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_SeqNodeOfGraphNodeSequence.hxx new file mode 100644 index 000000000..698e65d3b --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_SeqNodeOfGraphNodeSequence.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PXCAFDoc_SeqNodeOfGraphNodeSequence_HeaderFile +#define _Handle_PXCAFDoc_SeqNodeOfGraphNodeSequence_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PMMgt_PManaged); +class PXCAFDoc_SeqNodeOfGraphNodeSequence; + +DEFINE_STANDARD_PHANDLE(PXCAFDoc_SeqNodeOfGraphNodeSequence,PMMgt_PManaged) + +#endif diff --git a/src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_ShapeTool.hxx b/src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_ShapeTool.hxx new file mode 100644 index 000000000..85b141ccb --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_ShapeTool.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PXCAFDoc_ShapeTool_HeaderFile +#define _Handle_PXCAFDoc_ShapeTool_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PXCAFDoc_ShapeTool; + +DEFINE_STANDARD_PHANDLE(PXCAFDoc_ShapeTool,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_Volume.hxx b/src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_Volume.hxx new file mode 100644 index 000000000..e31b87280 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/Handle_PXCAFDoc_Volume.hxx @@ -0,0 +1,21 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_PXCAFDoc_Volume_HeaderFile +#define _Handle_PXCAFDoc_Volume_HeaderFile + +#include +#include +#include +#include + +class Standard_Persistent; +class Handle(Standard_Type); +class Handle(PDF_Attribute); +class PXCAFDoc_Volume; + +DEFINE_STANDARD_PHANDLE(PXCAFDoc_Volume,PDF_Attribute) + +#endif diff --git a/src/FromOCCT/TKXCAFSchema/Handle_XCAFDrivers_DocumentRetrievalDriver.hxx b/src/FromOCCT/TKXCAFSchema/Handle_XCAFDrivers_DocumentRetrievalDriver.hxx new file mode 100644 index 000000000..68756c39f --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/Handle_XCAFDrivers_DocumentRetrievalDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_XCAFDrivers_DocumentRetrievalDriver_HeaderFile +#define _Handle_XCAFDrivers_DocumentRetrievalDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDocStd_DocumentRetrievalDriver); +class XCAFDrivers_DocumentRetrievalDriver; + +DEFINE_STANDARD_HANDLE(XCAFDrivers_DocumentRetrievalDriver, MDocStd_DocumentRetrievalDriver) + +#endif // _Handle_XCAFDrivers_DocumentRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/Handle_XCAFDrivers_DocumentStorageDriver.hxx b/src/FromOCCT/TKXCAFSchema/Handle_XCAFDrivers_DocumentStorageDriver.hxx new file mode 100644 index 000000000..3f0159802 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/Handle_XCAFDrivers_DocumentStorageDriver.hxx @@ -0,0 +1,20 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _Handle_XCAFDrivers_DocumentStorageDriver_HeaderFile +#define _Handle_XCAFDrivers_DocumentStorageDriver_HeaderFile + +#include +#include +#include + +class Standard_Transient; +class Handle(Standard_Type); +class Handle(MDocStd_DocumentStorageDriver); +class XCAFDrivers_DocumentStorageDriver; + +DEFINE_STANDARD_HANDLE(XCAFDrivers_DocumentStorageDriver, MDocStd_DocumentStorageDriver) + +#endif // _Handle_XCAFDrivers_DocumentStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc.cxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc.cxx new file mode 100644 index 000000000..e8b449548 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc.cxx @@ -0,0 +1,101 @@ +// 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 +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + +//======================================================================= +//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/FromOCCT/TKXCAFSchema/MXCAFDoc.hxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc.hxx new file mode 100644 index 000000000..a825126d1 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc.hxx @@ -0,0 +1,118 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MXCAFDoc_HeaderFile +#define _MXCAFDoc_HeaderFile + +#include +#include +#include + +#include +#include +#include +class MDF_ASDriverHSequence; +class CDM_MessageDriver; +class MDF_ARDriverHSequence; +class MXCAFDoc_DocumentToolRetrievalDriver; +class MXCAFDoc_DocumentToolStorageDriver; +class MXCAFDoc_ColorToolRetrievalDriver; +class MXCAFDoc_ColorToolStorageDriver; +class MXCAFDoc_ShapeToolRetrievalDriver; +class MXCAFDoc_ShapeToolStorageDriver; +class MXCAFDoc_LayerToolRetrievalDriver; +class MXCAFDoc_LayerToolStorageDriver; +class MXCAFDoc_LocationStorageDriver; +class MXCAFDoc_LocationRetrievalDriver; +class MXCAFDoc_ColorStorageDriver; +class MXCAFDoc_ColorRetrievalDriver; +class MXCAFDoc_VolumeStorageDriver; +class MXCAFDoc_VolumeRetrievalDriver; +class MXCAFDoc_AreaStorageDriver; +class MXCAFDoc_AreaRetrievalDriver; +class MXCAFDoc_CentroidStorageDriver; +class MXCAFDoc_CentroidRetrievalDriver; +class MXCAFDoc_GraphNodeStorageDriver; +class MXCAFDoc_GraphNodeRetrievalDriver; +class MXCAFDoc_DatumStorageDriver; +class MXCAFDoc_DatumRetrievalDriver; +class MXCAFDoc_DimTolStorageDriver; +class MXCAFDoc_DimTolRetrievalDriver; +class MXCAFDoc_DimTolToolRetrievalDriver; +class MXCAFDoc_DimTolToolStorageDriver; +class MXCAFDoc_MaterialStorageDriver; +class MXCAFDoc_MaterialRetrievalDriver; +class MXCAFDoc_MaterialToolRetrievalDriver; +class MXCAFDoc_MaterialToolStorageDriver; + + + +class MXCAFDoc +{ +public: + + DEFINE_STANDARD_ALLOC + + + //! Adds the attribute storage drivers to . + Standard_EXPORT static void AddStorageDrivers (const Handle(MDF_ASDriverHSequence)& aDriverSeq, const Handle(CDM_MessageDriver)& theMsgDriver) ; + + //! Adds the attribute retrieval drivers to . + Standard_EXPORT static void AddRetrievalDrivers (const Handle(MDF_ARDriverHSequence)& aDriverSeq, const Handle(CDM_MessageDriver)& theMsgDriver) ; + + + + +protected: + + + + + +private: + + + + +friend class MXCAFDoc_DocumentToolRetrievalDriver; +friend class MXCAFDoc_DocumentToolStorageDriver; +friend class MXCAFDoc_ColorToolRetrievalDriver; +friend class MXCAFDoc_ColorToolStorageDriver; +friend class MXCAFDoc_ShapeToolRetrievalDriver; +friend class MXCAFDoc_ShapeToolStorageDriver; +friend class MXCAFDoc_LayerToolRetrievalDriver; +friend class MXCAFDoc_LayerToolStorageDriver; +friend class MXCAFDoc_LocationStorageDriver; +friend class MXCAFDoc_LocationRetrievalDriver; +friend class MXCAFDoc_ColorStorageDriver; +friend class MXCAFDoc_ColorRetrievalDriver; +friend class MXCAFDoc_VolumeStorageDriver; +friend class MXCAFDoc_VolumeRetrievalDriver; +friend class MXCAFDoc_AreaStorageDriver; +friend class MXCAFDoc_AreaRetrievalDriver; +friend class MXCAFDoc_CentroidStorageDriver; +friend class MXCAFDoc_CentroidRetrievalDriver; +friend class MXCAFDoc_GraphNodeStorageDriver; +friend class MXCAFDoc_GraphNodeRetrievalDriver; +friend class MXCAFDoc_DatumStorageDriver; +friend class MXCAFDoc_DatumRetrievalDriver; +friend class MXCAFDoc_DimTolStorageDriver; +friend class MXCAFDoc_DimTolRetrievalDriver; +friend class MXCAFDoc_DimTolToolRetrievalDriver; +friend class MXCAFDoc_DimTolToolStorageDriver; +friend class MXCAFDoc_MaterialStorageDriver; +friend class MXCAFDoc_MaterialRetrievalDriver; +friend class MXCAFDoc_MaterialToolRetrievalDriver; +friend class MXCAFDoc_MaterialToolStorageDriver; + +}; + + + + + + + +#endif // _MXCAFDoc_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc.ixx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc.ixx new file mode 100644 index 000000000..cf189b7a9 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc.ixx @@ -0,0 +1,10 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + + + + diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc.jxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc.jxx new file mode 100644 index 000000000..f8b2aa436 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc.jxx @@ -0,0 +1,4 @@ +#include +#include +#include +#include diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_AreaRetrievalDriver.cxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_AreaRetrievalDriver.cxx new file mode 100644 index 000000000..f38585ef5 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_AreaRetrievalDriver.cxx @@ -0,0 +1,70 @@ +// 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 +#include +#include + +//======================================================================= +//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/FromOCCT/TKXCAFSchema/MXCAFDoc_AreaRetrievalDriver.hxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_AreaRetrievalDriver.hxx new file mode 100644 index 000000000..36133d22d --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_AreaRetrievalDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MXCAFDoc_AreaRetrievalDriver_HeaderFile +#define _MXCAFDoc_AreaRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MXCAFDoc_AreaRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MXCAFDoc_AreaRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: XCAFDoc_Area + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MXCAFDoc_AreaRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MXCAFDoc_AreaRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_AreaRetrievalDriver.ixx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_AreaRetrievalDriver.ixx new file mode 100644 index 000000000..b5623d9c2 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_AreaRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MXCAFDoc_AreaRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MXCAFDoc_AreaRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MXCAFDoc_AreaRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MXCAFDoc_AreaRetrievalDriver) + + + diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_AreaRetrievalDriver.jxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_AreaRetrievalDriver.jxx new file mode 100644 index 000000000..d34d728c1 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_AreaRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_AreaStorageDriver.cxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_AreaStorageDriver.cxx new file mode 100644 index 000000000..2ab21fcc8 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_AreaStorageDriver.cxx @@ -0,0 +1,70 @@ +// 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 +#include +#include + +//======================================================================= +//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/FromOCCT/TKXCAFSchema/MXCAFDoc_AreaStorageDriver.hxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_AreaStorageDriver.hxx new file mode 100644 index 000000000..9d1d0b3e3 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_AreaStorageDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MXCAFDoc_AreaStorageDriver_HeaderFile +#define _MXCAFDoc_AreaStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + + +class MXCAFDoc_AreaStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MXCAFDoc_AreaStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: XCAFDoc_Area. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MXCAFDoc_AreaStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MXCAFDoc_AreaStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_AreaStorageDriver.ixx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_AreaStorageDriver.ixx new file mode 100644 index 000000000..08ea21882 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_AreaStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MXCAFDoc_AreaStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MXCAFDoc_AreaStorageDriver) + + +IMPLEMENT_DOWNCAST(MXCAFDoc_AreaStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MXCAFDoc_AreaStorageDriver) + + + diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_AreaStorageDriver.jxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_AreaStorageDriver.jxx new file mode 100644 index 000000000..e7c1e08fa --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_AreaStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_CentroidRetrievalDriver.cxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_CentroidRetrievalDriver.cxx new file mode 100644 index 000000000..00bd04842 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_CentroidRetrievalDriver.cxx @@ -0,0 +1,75 @@ +// 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 +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKXCAFSchema/MXCAFDoc_CentroidRetrievalDriver.hxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_CentroidRetrievalDriver.hxx new file mode 100644 index 000000000..04cae9f2b --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_CentroidRetrievalDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MXCAFDoc_CentroidRetrievalDriver_HeaderFile +#define _MXCAFDoc_CentroidRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MXCAFDoc_CentroidRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MXCAFDoc_CentroidRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: XCAFDoc_Centroid + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MXCAFDoc_CentroidRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MXCAFDoc_CentroidRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_CentroidRetrievalDriver.ixx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_CentroidRetrievalDriver.ixx new file mode 100644 index 000000000..273812830 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_CentroidRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MXCAFDoc_CentroidRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MXCAFDoc_CentroidRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MXCAFDoc_CentroidRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MXCAFDoc_CentroidRetrievalDriver) + + + diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_CentroidRetrievalDriver.jxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_CentroidRetrievalDriver.jxx new file mode 100644 index 000000000..9bec45f92 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_CentroidRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_CentroidStorageDriver.cxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_CentroidStorageDriver.cxx new file mode 100644 index 000000000..66d6257eb --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_CentroidStorageDriver.cxx @@ -0,0 +1,73 @@ +// 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 +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKXCAFSchema/MXCAFDoc_CentroidStorageDriver.hxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_CentroidStorageDriver.hxx new file mode 100644 index 000000000..05db268fb --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_CentroidStorageDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MXCAFDoc_CentroidStorageDriver_HeaderFile +#define _MXCAFDoc_CentroidStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + + +class MXCAFDoc_CentroidStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MXCAFDoc_CentroidStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: XCAFDoc_Centroid. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MXCAFDoc_CentroidStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MXCAFDoc_CentroidStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_CentroidStorageDriver.ixx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_CentroidStorageDriver.ixx new file mode 100644 index 000000000..81adfed48 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_CentroidStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MXCAFDoc_CentroidStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MXCAFDoc_CentroidStorageDriver) + + +IMPLEMENT_DOWNCAST(MXCAFDoc_CentroidStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MXCAFDoc_CentroidStorageDriver) + + + diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_CentroidStorageDriver.jxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_CentroidStorageDriver.jxx new file mode 100644 index 000000000..e7808af4d --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_CentroidStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorRetrievalDriver.cxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorRetrievalDriver.cxx new file mode 100644 index 000000000..b29409177 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorRetrievalDriver.cxx @@ -0,0 +1,80 @@ +// 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 +#include +#include +#include +#include +#include + + +//======================================================================= +//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/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorRetrievalDriver.hxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorRetrievalDriver.hxx new file mode 100644 index 000000000..40453726c --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorRetrievalDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MXCAFDoc_ColorRetrievalDriver_HeaderFile +#define _MXCAFDoc_ColorRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MXCAFDoc_ColorRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MXCAFDoc_ColorRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: XCAFDoc_Color + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MXCAFDoc_ColorRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MXCAFDoc_ColorRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorRetrievalDriver.ixx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorRetrievalDriver.ixx new file mode 100644 index 000000000..c45cfa662 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MXCAFDoc_ColorRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MXCAFDoc_ColorRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MXCAFDoc_ColorRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MXCAFDoc_ColorRetrievalDriver) + + + diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorRetrievalDriver.jxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorRetrievalDriver.jxx new file mode 100644 index 000000000..7bd705546 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorStorageDriver.cxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorStorageDriver.cxx new file mode 100644 index 000000000..8e5aed0de --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorStorageDriver.cxx @@ -0,0 +1,76 @@ +// 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 +#include +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorStorageDriver.hxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorStorageDriver.hxx new file mode 100644 index 000000000..08d9518fe --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorStorageDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MXCAFDoc_ColorStorageDriver_HeaderFile +#define _MXCAFDoc_ColorStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + + +class MXCAFDoc_ColorStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MXCAFDoc_ColorStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: XCAFDoc_Color. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MXCAFDoc_ColorStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MXCAFDoc_ColorStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorStorageDriver.ixx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorStorageDriver.ixx new file mode 100644 index 000000000..86e3fe821 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MXCAFDoc_ColorStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MXCAFDoc_ColorStorageDriver) + + +IMPLEMENT_DOWNCAST(MXCAFDoc_ColorStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MXCAFDoc_ColorStorageDriver) + + + diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorStorageDriver.jxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorStorageDriver.jxx new file mode 100644 index 000000000..5eabab505 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorToolRetrievalDriver.cxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorToolRetrievalDriver.cxx new file mode 100644 index 000000000..6a64d5878 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorToolRetrievalDriver.cxx @@ -0,0 +1,74 @@ +// 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 +#include +#include +#include +#include +#include + + +//======================================================================= +//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/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorToolRetrievalDriver.hxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorToolRetrievalDriver.hxx new file mode 100644 index 000000000..1e156f378 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorToolRetrievalDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MXCAFDoc_ColorToolRetrievalDriver_HeaderFile +#define _MXCAFDoc_ColorToolRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MXCAFDoc_ColorToolRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MXCAFDoc_ColorToolRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: XCAFDoc_Color + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MXCAFDoc_ColorToolRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MXCAFDoc_ColorToolRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorToolRetrievalDriver.ixx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorToolRetrievalDriver.ixx new file mode 100644 index 000000000..1d83a4bc2 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorToolRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MXCAFDoc_ColorToolRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MXCAFDoc_ColorToolRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MXCAFDoc_ColorToolRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MXCAFDoc_ColorToolRetrievalDriver) + + + diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorToolRetrievalDriver.jxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorToolRetrievalDriver.jxx new file mode 100644 index 000000000..929e6d000 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorToolRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorToolStorageDriver.cxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorToolStorageDriver.cxx new file mode 100644 index 000000000..48bd526d2 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorToolStorageDriver.cxx @@ -0,0 +1,71 @@ +// 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 +#include +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorToolStorageDriver.hxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorToolStorageDriver.hxx new file mode 100644 index 000000000..56252d91e --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorToolStorageDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MXCAFDoc_ColorToolStorageDriver_HeaderFile +#define _MXCAFDoc_ColorToolStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + + +class MXCAFDoc_ColorToolStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MXCAFDoc_ColorToolStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: XCAFDoc_Color. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MXCAFDoc_ColorToolStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MXCAFDoc_ColorToolStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorToolStorageDriver.ixx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorToolStorageDriver.ixx new file mode 100644 index 000000000..d61c8afec --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorToolStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MXCAFDoc_ColorToolStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MXCAFDoc_ColorToolStorageDriver) + + +IMPLEMENT_DOWNCAST(MXCAFDoc_ColorToolStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MXCAFDoc_ColorToolStorageDriver) + + + diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorToolStorageDriver.jxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorToolStorageDriver.jxx new file mode 100644 index 000000000..d03c7ed1f --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ColorToolStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DatumRetrievalDriver.cxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DatumRetrievalDriver.cxx new file mode 100644 index 000000000..82e0bf281 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DatumRetrievalDriver.cxx @@ -0,0 +1,83 @@ +// 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 +#include +#include + +#include +#include + + +//======================================================================= +//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/FromOCCT/TKXCAFSchema/MXCAFDoc_DatumRetrievalDriver.hxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DatumRetrievalDriver.hxx new file mode 100644 index 000000000..8fb6acaa2 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DatumRetrievalDriver.hxx @@ -0,0 +1,71 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MXCAFDoc_DatumRetrievalDriver_HeaderFile +#define _MXCAFDoc_DatumRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MXCAFDoc_DatumRetrievalDriver : public MDF_ARDriver +{ + +public: + + + //! Returns mutable DatumRetrievalDriver from MXCAFDoc; + Standard_EXPORT MXCAFDoc_DatumRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: XCAFDoc_Datum + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MXCAFDoc_DatumRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MXCAFDoc_DatumRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DatumRetrievalDriver.ixx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DatumRetrievalDriver.ixx new file mode 100644 index 000000000..0392cbc63 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DatumRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MXCAFDoc_DatumRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MXCAFDoc_DatumRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MXCAFDoc_DatumRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MXCAFDoc_DatumRetrievalDriver) + + + diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DatumRetrievalDriver.jxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DatumRetrievalDriver.jxx new file mode 100644 index 000000000..35a25f28f --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DatumRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DatumStorageDriver.cxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DatumStorageDriver.cxx new file mode 100644 index 000000000..fb94d82ab --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DatumStorageDriver.cxx @@ -0,0 +1,85 @@ +// 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 +#include +#include + +#include +#include + +//======================================================================= +//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/FromOCCT/TKXCAFSchema/MXCAFDoc_DatumStorageDriver.hxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DatumStorageDriver.hxx new file mode 100644 index 000000000..98ae581dd --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DatumStorageDriver.hxx @@ -0,0 +1,71 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MXCAFDoc_DatumStorageDriver_HeaderFile +#define _MXCAFDoc_DatumStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + + +class MXCAFDoc_DatumStorageDriver : public MDF_ASDriver +{ + +public: + + + //! Returns mutable DatumStorageDriver from MXCAFDoc; + Standard_EXPORT MXCAFDoc_DatumStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: XCAFDoc_Datum. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MXCAFDoc_DatumStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MXCAFDoc_DatumStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DatumStorageDriver.ixx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DatumStorageDriver.ixx new file mode 100644 index 000000000..dc5e027f4 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DatumStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MXCAFDoc_DatumStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MXCAFDoc_DatumStorageDriver) + + +IMPLEMENT_DOWNCAST(MXCAFDoc_DatumStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MXCAFDoc_DatumStorageDriver) + + + diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DatumStorageDriver.jxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DatumStorageDriver.jxx new file mode 100644 index 000000000..94a727607 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DatumStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolRetrievalDriver.cxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolRetrievalDriver.cxx new file mode 100644 index 000000000..69e6acbad --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolRetrievalDriver.cxx @@ -0,0 +1,92 @@ +// 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 +#include +#include + +#include +#include +#include +#include + + +//======================================================================= +//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/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolRetrievalDriver.hxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolRetrievalDriver.hxx new file mode 100644 index 000000000..5cc8695cb --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolRetrievalDriver.hxx @@ -0,0 +1,71 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MXCAFDoc_DimTolRetrievalDriver_HeaderFile +#define _MXCAFDoc_DimTolRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MXCAFDoc_DimTolRetrievalDriver : public MDF_ARDriver +{ + +public: + + + //! Returns mutable DimTolRetrievalDriver from MXCAFDoc; + Standard_EXPORT MXCAFDoc_DimTolRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: XCAFDoc_DimTol + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MXCAFDoc_DimTolRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MXCAFDoc_DimTolRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolRetrievalDriver.ixx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolRetrievalDriver.ixx new file mode 100644 index 000000000..4aceeb6cd --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MXCAFDoc_DimTolRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MXCAFDoc_DimTolRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MXCAFDoc_DimTolRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MXCAFDoc_DimTolRetrievalDriver) + + + diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolRetrievalDriver.jxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolRetrievalDriver.jxx new file mode 100644 index 000000000..2fb30b486 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolStorageDriver.cxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolStorageDriver.cxx new file mode 100644 index 000000000..7a110be91 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolStorageDriver.cxx @@ -0,0 +1,93 @@ +// 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 +#include +#include + +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolStorageDriver.hxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolStorageDriver.hxx new file mode 100644 index 000000000..f8ba9b8a0 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolStorageDriver.hxx @@ -0,0 +1,71 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MXCAFDoc_DimTolStorageDriver_HeaderFile +#define _MXCAFDoc_DimTolStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + + +class MXCAFDoc_DimTolStorageDriver : public MDF_ASDriver +{ + +public: + + + //! Returns mutable DimTolStorageDriver from MXCAFDoc; + Standard_EXPORT MXCAFDoc_DimTolStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: XCAFDoc_DimTol. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MXCAFDoc_DimTolStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MXCAFDoc_DimTolStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolStorageDriver.ixx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolStorageDriver.ixx new file mode 100644 index 000000000..28fdf9492 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MXCAFDoc_DimTolStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MXCAFDoc_DimTolStorageDriver) + + +IMPLEMENT_DOWNCAST(MXCAFDoc_DimTolStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MXCAFDoc_DimTolStorageDriver) + + + diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolStorageDriver.jxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolStorageDriver.jxx new file mode 100644 index 000000000..5023171cb --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolToolRetrievalDriver.cxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolToolRetrievalDriver.cxx new file mode 100644 index 000000000..1bdcf09fe --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolToolRetrievalDriver.cxx @@ -0,0 +1,73 @@ +// 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 +#include +#include +#include + + +//======================================================================= +//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/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolToolRetrievalDriver.hxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolToolRetrievalDriver.hxx new file mode 100644 index 000000000..01edfbec3 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolToolRetrievalDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MXCAFDoc_DimTolToolRetrievalDriver_HeaderFile +#define _MXCAFDoc_DimTolToolRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MXCAFDoc_DimTolToolRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MXCAFDoc_DimTolToolRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: XCAFDoc_DimTolTool + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MXCAFDoc_DimTolToolRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MXCAFDoc_DimTolToolRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolToolRetrievalDriver.ixx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolToolRetrievalDriver.ixx new file mode 100644 index 000000000..fd5c34389 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolToolRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MXCAFDoc_DimTolToolRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MXCAFDoc_DimTolToolRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MXCAFDoc_DimTolToolRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MXCAFDoc_DimTolToolRetrievalDriver) + + + diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolToolRetrievalDriver.jxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolToolRetrievalDriver.jxx new file mode 100644 index 000000000..a9643d4d2 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolToolRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolToolStorageDriver.cxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolToolStorageDriver.cxx new file mode 100644 index 000000000..bb26a7df0 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolToolStorageDriver.cxx @@ -0,0 +1,70 @@ +// 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 +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolToolStorageDriver.hxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolToolStorageDriver.hxx new file mode 100644 index 000000000..7c6f3e58c --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolToolStorageDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MXCAFDoc_DimTolToolStorageDriver_HeaderFile +#define _MXCAFDoc_DimTolToolStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + + +class MXCAFDoc_DimTolToolStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MXCAFDoc_DimTolToolStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: XCAFDoc_DimTolTool + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MXCAFDoc_DimTolToolStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MXCAFDoc_DimTolToolStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolToolStorageDriver.ixx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolToolStorageDriver.ixx new file mode 100644 index 000000000..b0a96e6b0 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolToolStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MXCAFDoc_DimTolToolStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MXCAFDoc_DimTolToolStorageDriver) + + +IMPLEMENT_DOWNCAST(MXCAFDoc_DimTolToolStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MXCAFDoc_DimTolToolStorageDriver) + + + diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolToolStorageDriver.jxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolToolStorageDriver.jxx new file mode 100644 index 000000000..37f51865d --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DimTolToolStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DocumentToolRetrievalDriver.cxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DocumentToolRetrievalDriver.cxx new file mode 100644 index 000000000..7fbbe3d94 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DocumentToolRetrievalDriver.cxx @@ -0,0 +1,85 @@ +// 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 +#include +#include +#include +#include +#include +#include + + +//======================================================================= +//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!!!"< +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MXCAFDoc_DocumentToolRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MXCAFDoc_DocumentToolRetrievalDriver(const Handle(CDM_MessageDriver)& theMessageDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: XCAFDoc_Color + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MXCAFDoc_DocumentToolRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MXCAFDoc_DocumentToolRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DocumentToolRetrievalDriver.ixx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DocumentToolRetrievalDriver.ixx new file mode 100644 index 000000000..00925f78e --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DocumentToolRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MXCAFDoc_DocumentToolRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MXCAFDoc_DocumentToolRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MXCAFDoc_DocumentToolRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MXCAFDoc_DocumentToolRetrievalDriver) + + + diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DocumentToolRetrievalDriver.jxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DocumentToolRetrievalDriver.jxx new file mode 100644 index 000000000..766e0446e --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DocumentToolRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DocumentToolStorageDriver.cxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DocumentToolStorageDriver.cxx new file mode 100644 index 000000000..83d995b13 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DocumentToolStorageDriver.cxx @@ -0,0 +1,71 @@ +// 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 +#include +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKXCAFSchema/MXCAFDoc_DocumentToolStorageDriver.hxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DocumentToolStorageDriver.hxx new file mode 100644 index 000000000..0f8d07700 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DocumentToolStorageDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MXCAFDoc_DocumentToolStorageDriver_HeaderFile +#define _MXCAFDoc_DocumentToolStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + + +class MXCAFDoc_DocumentToolStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MXCAFDoc_DocumentToolStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: XCAFDoc_Color. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MXCAFDoc_DocumentToolStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MXCAFDoc_DocumentToolStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DocumentToolStorageDriver.ixx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DocumentToolStorageDriver.ixx new file mode 100644 index 000000000..fc0c874a0 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DocumentToolStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MXCAFDoc_DocumentToolStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MXCAFDoc_DocumentToolStorageDriver) + + +IMPLEMENT_DOWNCAST(MXCAFDoc_DocumentToolStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MXCAFDoc_DocumentToolStorageDriver) + + + diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DocumentToolStorageDriver.jxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DocumentToolStorageDriver.jxx new file mode 100644 index 000000000..4d3daab76 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_DocumentToolStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_GraphNodeRetrievalDriver.cxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_GraphNodeRetrievalDriver.cxx new file mode 100644 index 000000000..034ad7625 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_GraphNodeRetrievalDriver.cxx @@ -0,0 +1,100 @@ +// 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 +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKXCAFSchema/MXCAFDoc_GraphNodeRetrievalDriver.hxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_GraphNodeRetrievalDriver.hxx new file mode 100644 index 000000000..4e84091f6 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_GraphNodeRetrievalDriver.hxx @@ -0,0 +1,69 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MXCAFDoc_GraphNodeRetrievalDriver_HeaderFile +#define _MXCAFDoc_GraphNodeRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MXCAFDoc_GraphNodeRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MXCAFDoc_GraphNodeRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MXCAFDoc_GraphNodeRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MXCAFDoc_GraphNodeRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_GraphNodeRetrievalDriver.ixx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_GraphNodeRetrievalDriver.ixx new file mode 100644 index 000000000..68efe0161 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_GraphNodeRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MXCAFDoc_GraphNodeRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MXCAFDoc_GraphNodeRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MXCAFDoc_GraphNodeRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MXCAFDoc_GraphNodeRetrievalDriver) + + + diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_GraphNodeRetrievalDriver.jxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_GraphNodeRetrievalDriver.jxx new file mode 100644 index 000000000..8f6a7e6ac --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_GraphNodeRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_GraphNodeStorageDriver.cxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_GraphNodeStorageDriver.cxx new file mode 100644 index 000000000..cd112256f --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_GraphNodeStorageDriver.cxx @@ -0,0 +1,96 @@ +// 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 + +#include +#include +#include + + +//======================================================================= +//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/FromOCCT/TKXCAFSchema/MXCAFDoc_GraphNodeStorageDriver.hxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_GraphNodeStorageDriver.hxx new file mode 100644 index 000000000..802147b70 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_GraphNodeStorageDriver.hxx @@ -0,0 +1,69 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MXCAFDoc_GraphNodeStorageDriver_HeaderFile +#define _MXCAFDoc_GraphNodeStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + + +class MXCAFDoc_GraphNodeStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MXCAFDoc_GraphNodeStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MXCAFDoc_GraphNodeStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MXCAFDoc_GraphNodeStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_GraphNodeStorageDriver.ixx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_GraphNodeStorageDriver.ixx new file mode 100644 index 000000000..2b7352453 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_GraphNodeStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MXCAFDoc_GraphNodeStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MXCAFDoc_GraphNodeStorageDriver) + + +IMPLEMENT_DOWNCAST(MXCAFDoc_GraphNodeStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MXCAFDoc_GraphNodeStorageDriver) + + + diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_GraphNodeStorageDriver.jxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_GraphNodeStorageDriver.jxx new file mode 100644 index 000000000..e735a0982 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_GraphNodeStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_LayerToolRetrievalDriver.cxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_LayerToolRetrievalDriver.cxx new file mode 100644 index 000000000..5175e5403 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_LayerToolRetrievalDriver.cxx @@ -0,0 +1,72 @@ +// 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 +#include +#include +#include + + +//======================================================================= +//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/FromOCCT/TKXCAFSchema/MXCAFDoc_LayerToolRetrievalDriver.hxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_LayerToolRetrievalDriver.hxx new file mode 100644 index 000000000..93aa37aaf --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_LayerToolRetrievalDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MXCAFDoc_LayerToolRetrievalDriver_HeaderFile +#define _MXCAFDoc_LayerToolRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MXCAFDoc_LayerToolRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MXCAFDoc_LayerToolRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: XCAFDoc_Layer + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MXCAFDoc_LayerToolRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MXCAFDoc_LayerToolRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_LayerToolRetrievalDriver.ixx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_LayerToolRetrievalDriver.ixx new file mode 100644 index 000000000..7d550aa3f --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_LayerToolRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MXCAFDoc_LayerToolRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MXCAFDoc_LayerToolRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MXCAFDoc_LayerToolRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MXCAFDoc_LayerToolRetrievalDriver) + + + diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_LayerToolRetrievalDriver.jxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_LayerToolRetrievalDriver.jxx new file mode 100644 index 000000000..29599fcda --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_LayerToolRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_LayerToolStorageDriver.cxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_LayerToolStorageDriver.cxx new file mode 100644 index 000000000..507e19b18 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_LayerToolStorageDriver.cxx @@ -0,0 +1,69 @@ +// 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 +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKXCAFSchema/MXCAFDoc_LayerToolStorageDriver.hxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_LayerToolStorageDriver.hxx new file mode 100644 index 000000000..fd5e3f4be --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_LayerToolStorageDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MXCAFDoc_LayerToolStorageDriver_HeaderFile +#define _MXCAFDoc_LayerToolStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + + +class MXCAFDoc_LayerToolStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MXCAFDoc_LayerToolStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: XCAFDoc_Layer. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MXCAFDoc_LayerToolStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MXCAFDoc_LayerToolStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_LayerToolStorageDriver.ixx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_LayerToolStorageDriver.ixx new file mode 100644 index 000000000..50a00c58d --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_LayerToolStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MXCAFDoc_LayerToolStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MXCAFDoc_LayerToolStorageDriver) + + +IMPLEMENT_DOWNCAST(MXCAFDoc_LayerToolStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MXCAFDoc_LayerToolStorageDriver) + + + diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_LayerToolStorageDriver.jxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_LayerToolStorageDriver.jxx new file mode 100644 index 000000000..1472f01d2 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_LayerToolStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_LocationRetrievalDriver.cxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_LocationRetrievalDriver.cxx new file mode 100644 index 000000000..7ba440ab5 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_LocationRetrievalDriver.cxx @@ -0,0 +1,80 @@ +// 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 +#include +#include +#include +#include +#include + + +//======================================================================= +//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/FromOCCT/TKXCAFSchema/MXCAFDoc_LocationRetrievalDriver.hxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_LocationRetrievalDriver.hxx new file mode 100644 index 000000000..ca42b82b1 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_LocationRetrievalDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MXCAFDoc_LocationRetrievalDriver_HeaderFile +#define _MXCAFDoc_LocationRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MXCAFDoc_LocationRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MXCAFDoc_LocationRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: XCAFDoc_Location + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MXCAFDoc_LocationRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MXCAFDoc_LocationRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_LocationRetrievalDriver.ixx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_LocationRetrievalDriver.ixx new file mode 100644 index 000000000..a9b9ee5fa --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_LocationRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MXCAFDoc_LocationRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MXCAFDoc_LocationRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MXCAFDoc_LocationRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MXCAFDoc_LocationRetrievalDriver) + + + diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_LocationRetrievalDriver.jxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_LocationRetrievalDriver.jxx new file mode 100644 index 000000000..9d8525bbf --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_LocationRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_LocationStorageDriver.cxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_LocationStorageDriver.cxx new file mode 100644 index 000000000..2ec787807 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_LocationStorageDriver.cxx @@ -0,0 +1,76 @@ +// 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 +#include +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKXCAFSchema/MXCAFDoc_LocationStorageDriver.hxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_LocationStorageDriver.hxx new file mode 100644 index 000000000..f76f4e624 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_LocationStorageDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MXCAFDoc_LocationStorageDriver_HeaderFile +#define _MXCAFDoc_LocationStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + + +class MXCAFDoc_LocationStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MXCAFDoc_LocationStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: XCAFDoc_Location. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MXCAFDoc_LocationStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MXCAFDoc_LocationStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_LocationStorageDriver.ixx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_LocationStorageDriver.ixx new file mode 100644 index 000000000..eb7c69cfb --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_LocationStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MXCAFDoc_LocationStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MXCAFDoc_LocationStorageDriver) + + +IMPLEMENT_DOWNCAST(MXCAFDoc_LocationStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MXCAFDoc_LocationStorageDriver) + + + diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_LocationStorageDriver.jxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_LocationStorageDriver.jxx new file mode 100644 index 000000000..752763141 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_LocationStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialRetrievalDriver.cxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialRetrievalDriver.cxx new file mode 100644 index 000000000..7867682cc --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialRetrievalDriver.cxx @@ -0,0 +1,85 @@ +// 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 +#include +#include + +#include +#include + + +//======================================================================= +//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/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialRetrievalDriver.hxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialRetrievalDriver.hxx new file mode 100644 index 000000000..b158edb6f --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialRetrievalDriver.hxx @@ -0,0 +1,71 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MXCAFDoc_MaterialRetrievalDriver_HeaderFile +#define _MXCAFDoc_MaterialRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MXCAFDoc_MaterialRetrievalDriver : public MDF_ARDriver +{ + +public: + + + //! Returns mutable MaterialRetrievalDriver from MXCAFDoc; + Standard_EXPORT MXCAFDoc_MaterialRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: XCAFDoc_Material + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MXCAFDoc_MaterialRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MXCAFDoc_MaterialRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialRetrievalDriver.ixx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialRetrievalDriver.ixx new file mode 100644 index 000000000..11b1be1f2 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MXCAFDoc_MaterialRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MXCAFDoc_MaterialRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MXCAFDoc_MaterialRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MXCAFDoc_MaterialRetrievalDriver) + + + diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialRetrievalDriver.jxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialRetrievalDriver.jxx new file mode 100644 index 000000000..2b4f9aa5f --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialStorageDriver.cxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialStorageDriver.cxx new file mode 100644 index 000000000..fffcd7961 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialStorageDriver.cxx @@ -0,0 +1,90 @@ +// 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 +#include +#include + +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialStorageDriver.hxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialStorageDriver.hxx new file mode 100644 index 000000000..2e4b49216 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialStorageDriver.hxx @@ -0,0 +1,71 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MXCAFDoc_MaterialStorageDriver_HeaderFile +#define _MXCAFDoc_MaterialStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + + +class MXCAFDoc_MaterialStorageDriver : public MDF_ASDriver +{ + +public: + + + //! Returns mutable MaterialStorageDriver from MXCAFDoc; + Standard_EXPORT MXCAFDoc_MaterialStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: XCAFDoc_Material. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MXCAFDoc_MaterialStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MXCAFDoc_MaterialStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialStorageDriver.ixx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialStorageDriver.ixx new file mode 100644 index 000000000..db384a2fc --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MXCAFDoc_MaterialStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MXCAFDoc_MaterialStorageDriver) + + +IMPLEMENT_DOWNCAST(MXCAFDoc_MaterialStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MXCAFDoc_MaterialStorageDriver) + + + diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialStorageDriver.jxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialStorageDriver.jxx new file mode 100644 index 000000000..55e82054d --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialToolRetrievalDriver.cxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialToolRetrievalDriver.cxx new file mode 100644 index 000000000..27bd4435a --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialToolRetrievalDriver.cxx @@ -0,0 +1,73 @@ +// 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 +#include +#include +#include + + +//======================================================================= +//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/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialToolRetrievalDriver.hxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialToolRetrievalDriver.hxx new file mode 100644 index 000000000..a2825beb5 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialToolRetrievalDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MXCAFDoc_MaterialToolRetrievalDriver_HeaderFile +#define _MXCAFDoc_MaterialToolRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MXCAFDoc_MaterialToolRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MXCAFDoc_MaterialToolRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: XCAFDoc_MaterialTool + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MXCAFDoc_MaterialToolRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MXCAFDoc_MaterialToolRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialToolRetrievalDriver.ixx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialToolRetrievalDriver.ixx new file mode 100644 index 000000000..aa22f75a4 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialToolRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MXCAFDoc_MaterialToolRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MXCAFDoc_MaterialToolRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MXCAFDoc_MaterialToolRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MXCAFDoc_MaterialToolRetrievalDriver) + + + diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialToolRetrievalDriver.jxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialToolRetrievalDriver.jxx new file mode 100644 index 000000000..dbb4c6cd1 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialToolRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialToolStorageDriver.cxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialToolStorageDriver.cxx new file mode 100644 index 000000000..cf9a9e813 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialToolStorageDriver.cxx @@ -0,0 +1,70 @@ +// 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 +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialToolStorageDriver.hxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialToolStorageDriver.hxx new file mode 100644 index 000000000..0337a4442 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialToolStorageDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MXCAFDoc_MaterialToolStorageDriver_HeaderFile +#define _MXCAFDoc_MaterialToolStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + + +class MXCAFDoc_MaterialToolStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MXCAFDoc_MaterialToolStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: XCAFDoc_MaterialTool + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MXCAFDoc_MaterialToolStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MXCAFDoc_MaterialToolStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialToolStorageDriver.ixx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialToolStorageDriver.ixx new file mode 100644 index 000000000..23ae6d981 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialToolStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MXCAFDoc_MaterialToolStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MXCAFDoc_MaterialToolStorageDriver) + + +IMPLEMENT_DOWNCAST(MXCAFDoc_MaterialToolStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MXCAFDoc_MaterialToolStorageDriver) + + + diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialToolStorageDriver.jxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialToolStorageDriver.jxx new file mode 100644 index 000000000..4acc15ed7 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_MaterialToolStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ShapeToolRetrievalDriver.cxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ShapeToolRetrievalDriver.cxx new file mode 100644 index 000000000..90cd3b46b --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ShapeToolRetrievalDriver.cxx @@ -0,0 +1,74 @@ +// 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 +#include +#include +#include +#include +#include + + +//======================================================================= +//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/FromOCCT/TKXCAFSchema/MXCAFDoc_ShapeToolRetrievalDriver.hxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ShapeToolRetrievalDriver.hxx new file mode 100644 index 000000000..41aaf4fde --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ShapeToolRetrievalDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MXCAFDoc_ShapeToolRetrievalDriver_HeaderFile +#define _MXCAFDoc_ShapeToolRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MXCAFDoc_ShapeToolRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MXCAFDoc_ShapeToolRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: XCAFDoc_Color + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MXCAFDoc_ShapeToolRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MXCAFDoc_ShapeToolRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ShapeToolRetrievalDriver.ixx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ShapeToolRetrievalDriver.ixx new file mode 100644 index 000000000..ef06f849f --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ShapeToolRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MXCAFDoc_ShapeToolRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MXCAFDoc_ShapeToolRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MXCAFDoc_ShapeToolRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MXCAFDoc_ShapeToolRetrievalDriver) + + + diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ShapeToolRetrievalDriver.jxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ShapeToolRetrievalDriver.jxx new file mode 100644 index 000000000..2dc2a7ff2 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ShapeToolRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ShapeToolStorageDriver.cxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ShapeToolStorageDriver.cxx new file mode 100644 index 000000000..140f46aae --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ShapeToolStorageDriver.cxx @@ -0,0 +1,71 @@ +// 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 +#include +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKXCAFSchema/MXCAFDoc_ShapeToolStorageDriver.hxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ShapeToolStorageDriver.hxx new file mode 100644 index 000000000..c3d3456c2 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ShapeToolStorageDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MXCAFDoc_ShapeToolStorageDriver_HeaderFile +#define _MXCAFDoc_ShapeToolStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + + +class MXCAFDoc_ShapeToolStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MXCAFDoc_ShapeToolStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: XCAFDoc_Color. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MXCAFDoc_ShapeToolStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MXCAFDoc_ShapeToolStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ShapeToolStorageDriver.ixx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ShapeToolStorageDriver.ixx new file mode 100644 index 000000000..4b8598c28 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ShapeToolStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MXCAFDoc_ShapeToolStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MXCAFDoc_ShapeToolStorageDriver) + + +IMPLEMENT_DOWNCAST(MXCAFDoc_ShapeToolStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MXCAFDoc_ShapeToolStorageDriver) + + + diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ShapeToolStorageDriver.jxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ShapeToolStorageDriver.jxx new file mode 100644 index 000000000..ed8b8f217 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_ShapeToolStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_VolumeRetrievalDriver.cxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_VolumeRetrievalDriver.cxx new file mode 100644 index 000000000..fb310f901 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_VolumeRetrievalDriver.cxx @@ -0,0 +1,69 @@ +// 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 +#include +#include + +//======================================================================= +//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/FromOCCT/TKXCAFSchema/MXCAFDoc_VolumeRetrievalDriver.hxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_VolumeRetrievalDriver.hxx new file mode 100644 index 000000000..abcee57c5 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_VolumeRetrievalDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MXCAFDoc_VolumeRetrievalDriver_HeaderFile +#define _MXCAFDoc_VolumeRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class TDF_Attribute; +class PDF_Attribute; +class MDF_RRelocationTable; + + + +class MXCAFDoc_VolumeRetrievalDriver : public MDF_ARDriver +{ + +public: + + + Standard_EXPORT MXCAFDoc_VolumeRetrievalDriver(const Handle(CDM_MessageDriver)& theMsgDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: XCAFDoc_Volume + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, const Handle(MDF_RRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MXCAFDoc_VolumeRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MXCAFDoc_VolumeRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_VolumeRetrievalDriver.ixx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_VolumeRetrievalDriver.ixx new file mode 100644 index 000000000..1466e0ea7 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_VolumeRetrievalDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MXCAFDoc_VolumeRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ARDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MXCAFDoc_VolumeRetrievalDriver) + + +IMPLEMENT_DOWNCAST(MXCAFDoc_VolumeRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MXCAFDoc_VolumeRetrievalDriver) + + + diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_VolumeRetrievalDriver.jxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_VolumeRetrievalDriver.jxx new file mode 100644 index 000000000..4b70c23a7 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_VolumeRetrievalDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_VolumeStorageDriver.cxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_VolumeStorageDriver.cxx new file mode 100644 index 000000000..dcd636f5f --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_VolumeStorageDriver.cxx @@ -0,0 +1,70 @@ +// 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 +#include +#include + +//======================================================================= +//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/FromOCCT/TKXCAFSchema/MXCAFDoc_VolumeStorageDriver.hxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_VolumeStorageDriver.hxx new file mode 100644 index 000000000..7568c7720 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_VolumeStorageDriver.hxx @@ -0,0 +1,70 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _MXCAFDoc_VolumeStorageDriver_HeaderFile +#define _MXCAFDoc_VolumeStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class CDM_MessageDriver; +class Standard_Type; +class PDF_Attribute; +class TDF_Attribute; +class MDF_SRelocationTable; + + + +class MXCAFDoc_VolumeStorageDriver : public MDF_ASDriver +{ + +public: + + + Standard_EXPORT MXCAFDoc_VolumeStorageDriver(const Handle(CDM_MessageDriver)& theMsgDriver); + + //! Returns the version number from which the driver + //! is available: 0. + Standard_EXPORT Standard_Integer VersionNumber() const; + + //! Returns the type: XCAFDoc_Volume. + Standard_EXPORT Handle(Standard_Type) SourceType() const; + + Standard_EXPORT Handle(PDF_Attribute) NewEmpty() const; + + Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, const Handle(MDF_SRelocationTable)& RelocTable) const; + + + + + DEFINE_STANDARD_RTTI(MXCAFDoc_VolumeStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _MXCAFDoc_VolumeStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_VolumeStorageDriver.ixx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_VolumeStorageDriver.ixx new file mode 100644 index 000000000..1410cc009 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_VolumeStorageDriver.ixx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(MXCAFDoc_VolumeStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDF_ASDriver), + STANDARD_TYPE(MMgt_TShared), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(MXCAFDoc_VolumeStorageDriver) + + +IMPLEMENT_DOWNCAST(MXCAFDoc_VolumeStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(MXCAFDoc_VolumeStorageDriver) + + + diff --git a/src/FromOCCT/TKXCAFSchema/MXCAFDoc_VolumeStorageDriver.jxx b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_VolumeStorageDriver.jxx new file mode 100644 index 000000000..103e2dcc8 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/MXCAFDoc_VolumeStorageDriver.jxx @@ -0,0 +1,6 @@ +#include +#include +#include +#include +#include +#include diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Area.cxx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Area.cxx new file mode 100644 index 000000000..e3bbb6b2e --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Area.cxx @@ -0,0 +1,50 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKXCAFSchema/PXCAFDoc_Area.hxx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Area.hxx new file mode 100644 index 000000000..9cb1d1013 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Area.hxx @@ -0,0 +1,62 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PXCAFDoc_Area_HeaderFile +#define _PXCAFDoc_Area_HeaderFile + +#include +#include +#include +#include + +#include +#include + + +class PXCAFDoc_Area : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PXCAFDoc_Area(); + + Standard_EXPORT PXCAFDoc_Area(const Standard_Real Value); + + Standard_EXPORT Standard_Real Get() const; + + Standard_EXPORT void Set (const Standard_Real V) ; + +PXCAFDoc_Area(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + Standard_Real _CSFDB_GetPXCAFDoc_AreamyValue() const { return myValue; } + void _CSFDB_SetPXCAFDoc_AreamyValue(const Standard_Real p) { myValue = p; } + + + + DEFINE_STANDARD_RTTI(PXCAFDoc_Area) + +protected: + + + + +private: + + + Standard_Real myValue; + + +}; + + + + + + + +#endif // _PXCAFDoc_Area_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Area.ixx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Area.ixx new file mode 100644 index 000000000..f63d14b28 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Area.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PXCAFDoc_Area,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PXCAFDoc_Area) + + + diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Area.jxx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Area.jxx new file mode 100644 index 000000000..120547648 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Area.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Centroid.cxx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Centroid.cxx new file mode 100644 index 000000000..4db3a51b5 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Centroid.cxx @@ -0,0 +1,55 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKXCAFSchema/PXCAFDoc_Centroid.hxx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Centroid.hxx new file mode 100644 index 000000000..33a6cf6cd --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Centroid.hxx @@ -0,0 +1,62 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PXCAFDoc_Centroid_HeaderFile +#define _PXCAFDoc_Centroid_HeaderFile + +#include +#include +#include +#include + +#include +#include +class gp_Pnt; + + +class PXCAFDoc_Centroid : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PXCAFDoc_Centroid(); + + Standard_EXPORT PXCAFDoc_Centroid(const gp_Pnt& pnt); + + Standard_EXPORT void Set (const gp_Pnt& pnt) ; + + Standard_EXPORT gp_Pnt Get() const; + +PXCAFDoc_Centroid(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + const gp_Pnt& _CSFDB_GetPXCAFDoc_CentroidmyPCentroid() const { return myPCentroid; } + + + + DEFINE_STANDARD_RTTI(PXCAFDoc_Centroid) + +protected: + + + + +private: + + + gp_Pnt myPCentroid; + + +}; + + + + + + + +#endif // _PXCAFDoc_Centroid_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Centroid.ixx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Centroid.ixx new file mode 100644 index 000000000..b349546a7 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Centroid.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PXCAFDoc_Centroid,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PXCAFDoc_Centroid) + + + diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Centroid.jxx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Centroid.jxx new file mode 100644 index 000000000..eb162d9f4 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Centroid.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Color.cxx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Color.cxx new file mode 100644 index 000000000..ede47cabc --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Color.cxx @@ -0,0 +1,56 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKXCAFSchema/PXCAFDoc_Color.hxx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Color.hxx new file mode 100644 index 000000000..bd81f2c9c --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Color.hxx @@ -0,0 +1,62 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PXCAFDoc_Color_HeaderFile +#define _PXCAFDoc_Color_HeaderFile + +#include +#include +#include +#include + +#include +#include +class Quantity_Color; + + +class PXCAFDoc_Color : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PXCAFDoc_Color(); + + Standard_EXPORT PXCAFDoc_Color(const Quantity_Color& Loc); + + Standard_EXPORT void Set (const Quantity_Color& Loc) ; + + Standard_EXPORT Quantity_Color Get() const; + +PXCAFDoc_Color(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + const Quantity_Color& _CSFDB_GetPXCAFDoc_ColormyColor() const { return myColor; } + + + + DEFINE_STANDARD_RTTI(PXCAFDoc_Color) + +protected: + + + + +private: + + + Quantity_Color myColor; + + +}; + + + + + + + +#endif // _PXCAFDoc_Color_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Color.ixx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Color.ixx new file mode 100644 index 000000000..b716b4dff --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Color.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PXCAFDoc_Color,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PXCAFDoc_Color) + + + diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Color.jxx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Color.jxx new file mode 100644 index 000000000..a16c8189d --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Color.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_ColorTool.cxx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_ColorTool.cxx new file mode 100644 index 000000000..d9a619bc6 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_ColorTool.cxx @@ -0,0 +1,18 @@ +// 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::PXCAFDoc_ColorTool() {} diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_ColorTool.hxx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_ColorTool.hxx new file mode 100644 index 000000000..ea4890237 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_ColorTool.hxx @@ -0,0 +1,52 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PXCAFDoc_ColorTool_HeaderFile +#define _PXCAFDoc_ColorTool_HeaderFile + +#include +#include +#include +#include + +#include + + +class PXCAFDoc_ColorTool : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PXCAFDoc_ColorTool(); + +PXCAFDoc_ColorTool(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + + + + DEFINE_STANDARD_RTTI(PXCAFDoc_ColorTool) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PXCAFDoc_ColorTool_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_ColorTool.ixx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_ColorTool.ixx new file mode 100644 index 000000000..73c5049eb --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_ColorTool.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PXCAFDoc_ColorTool,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PXCAFDoc_ColorTool) + + + diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_ColorTool.jxx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_ColorTool.jxx new file mode 100644 index 000000000..82c59c48a --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_ColorTool.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Datum.cxx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Datum.cxx new file mode 100644 index 000000000..abaf8c453 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Datum.cxx @@ -0,0 +1,82 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKXCAFSchema/PXCAFDoc_Datum.hxx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Datum.hxx new file mode 100644 index 000000000..3a41abd89 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Datum.hxx @@ -0,0 +1,73 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PXCAFDoc_Datum_HeaderFile +#define _PXCAFDoc_Datum_HeaderFile + +#include +#include +#include +#include + +#include +#include +class PCollection_HAsciiString; + + +class PXCAFDoc_Datum : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PXCAFDoc_Datum(); + + Standard_EXPORT PXCAFDoc_Datum(const Handle(PCollection_HAsciiString)& theName, const Handle(PCollection_HAsciiString)& theDescr, const Handle(PCollection_HAsciiString)& theId); + + Standard_EXPORT Handle(PCollection_HAsciiString) GetName() const; + + Standard_EXPORT Handle(PCollection_HAsciiString) GetDescription() const; + + Standard_EXPORT Handle(PCollection_HAsciiString) GetIdentification() const; + + Standard_EXPORT void Set (const Handle(PCollection_HAsciiString)& theName, const Handle(PCollection_HAsciiString)& theDescr, const Handle(PCollection_HAsciiString)& theId) ; + +PXCAFDoc_Datum(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + Handle(PCollection_HAsciiString) _CSFDB_GetPXCAFDoc_DatummyName() const { return myName; } + void _CSFDB_SetPXCAFDoc_DatummyName(const Handle(PCollection_HAsciiString)& p) { myName = p; } + Handle(PCollection_HAsciiString) _CSFDB_GetPXCAFDoc_DatummyDescr() const { return myDescr; } + void _CSFDB_SetPXCAFDoc_DatummyDescr(const Handle(PCollection_HAsciiString)& p) { myDescr = p; } + Handle(PCollection_HAsciiString) _CSFDB_GetPXCAFDoc_DatummyId() const { return myId; } + void _CSFDB_SetPXCAFDoc_DatummyId(const Handle(PCollection_HAsciiString)& p) { myId = p; } + + + + DEFINE_STANDARD_RTTI(PXCAFDoc_Datum) + +protected: + + + + +private: + + + Handle(PCollection_HAsciiString) myName; + Handle(PCollection_HAsciiString) myDescr; + Handle(PCollection_HAsciiString) myId; + + +}; + + + + + + + +#endif // _PXCAFDoc_Datum_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Datum.ixx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Datum.ixx new file mode 100644 index 000000000..2bb26f01a --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Datum.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PXCAFDoc_Datum,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PXCAFDoc_Datum) + + + diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Datum.jxx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Datum.jxx new file mode 100644 index 000000000..49c3bc3d2 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Datum.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_DimTol.cxx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_DimTol.cxx new file mode 100644 index 000000000..41ca54af5 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_DimTol.cxx @@ -0,0 +1,96 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKXCAFSchema/PXCAFDoc_DimTol.hxx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_DimTol.hxx new file mode 100644 index 000000000..8db40b780 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_DimTol.hxx @@ -0,0 +1,81 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PXCAFDoc_DimTol_HeaderFile +#define _PXCAFDoc_DimTol_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +class PColStd_HArray1OfReal; +class PCollection_HAsciiString; + + +class PXCAFDoc_DimTol : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PXCAFDoc_DimTol(); + + Standard_EXPORT PXCAFDoc_DimTol(const Standard_Integer theKind, const Handle(PColStd_HArray1OfReal)& theVal, const Handle(PCollection_HAsciiString)& theName, const Handle(PCollection_HAsciiString)& theDescr); + + Standard_EXPORT Standard_Integer GetKind() const; + + Standard_EXPORT Handle(PColStd_HArray1OfReal) GetVal() const; + + Standard_EXPORT Handle(PCollection_HAsciiString) GetName() const; + + Standard_EXPORT Handle(PCollection_HAsciiString) GetDescription() const; + + Standard_EXPORT void Set (const Standard_Integer theKind, const Handle(PColStd_HArray1OfReal)& theVal, const Handle(PCollection_HAsciiString)& theName, const Handle(PCollection_HAsciiString)& theDescr) ; + +PXCAFDoc_DimTol(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + Standard_Integer _CSFDB_GetPXCAFDoc_DimTolmyKind() const { return myKind; } + void _CSFDB_SetPXCAFDoc_DimTolmyKind(const Standard_Integer p) { myKind = p; } + Handle(PColStd_HArray1OfReal) _CSFDB_GetPXCAFDoc_DimTolmyVal() const { return myVal; } + void _CSFDB_SetPXCAFDoc_DimTolmyVal(const Handle(PColStd_HArray1OfReal)& p) { myVal = p; } + Handle(PCollection_HAsciiString) _CSFDB_GetPXCAFDoc_DimTolmyName() const { return myName; } + void _CSFDB_SetPXCAFDoc_DimTolmyName(const Handle(PCollection_HAsciiString)& p) { myName = p; } + Handle(PCollection_HAsciiString) _CSFDB_GetPXCAFDoc_DimTolmyDescr() const { return myDescr; } + void _CSFDB_SetPXCAFDoc_DimTolmyDescr(const Handle(PCollection_HAsciiString)& p) { myDescr = p; } + + + + DEFINE_STANDARD_RTTI(PXCAFDoc_DimTol) + +protected: + + + + +private: + + + Standard_Integer myKind; + Handle(PColStd_HArray1OfReal) myVal; + Handle(PCollection_HAsciiString) myName; + Handle(PCollection_HAsciiString) myDescr; + + +}; + + + + + + + +#endif // _PXCAFDoc_DimTol_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_DimTol.ixx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_DimTol.ixx new file mode 100644 index 000000000..b688b6939 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_DimTol.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PXCAFDoc_DimTol,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PXCAFDoc_DimTol) + + + diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_DimTol.jxx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_DimTol.jxx new file mode 100644 index 000000000..c2838d948 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_DimTol.jxx @@ -0,0 +1,3 @@ +#include +#include +#include diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_DimTolTool.cxx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_DimTolTool.cxx new file mode 100644 index 000000000..31e0af030 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_DimTolTool.cxx @@ -0,0 +1,25 @@ +// 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 + +//======================================================================= +//function : PXCAFDoc_DimTolTool +//purpose : Constructor +//======================================================================= + +PXCAFDoc_DimTolTool::PXCAFDoc_DimTolTool () +{ +} diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_DimTolTool.hxx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_DimTolTool.hxx new file mode 100644 index 000000000..51623f486 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_DimTolTool.hxx @@ -0,0 +1,52 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PXCAFDoc_DimTolTool_HeaderFile +#define _PXCAFDoc_DimTolTool_HeaderFile + +#include +#include +#include +#include + +#include + + +class PXCAFDoc_DimTolTool : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PXCAFDoc_DimTolTool(); + +PXCAFDoc_DimTolTool(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + + + + DEFINE_STANDARD_RTTI(PXCAFDoc_DimTolTool) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PXCAFDoc_DimTolTool_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_DimTolTool.ixx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_DimTolTool.ixx new file mode 100644 index 000000000..fc1c3105f --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_DimTolTool.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PXCAFDoc_DimTolTool,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PXCAFDoc_DimTolTool) + + + diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_DimTolTool.jxx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_DimTolTool.jxx new file mode 100644 index 000000000..fec9b6ae2 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_DimTolTool.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_DocumentTool.cxx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_DocumentTool.cxx new file mode 100644 index 000000000..ab332694c --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_DocumentTool.cxx @@ -0,0 +1,18 @@ +// 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::PXCAFDoc_DocumentTool() {} diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_DocumentTool.hxx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_DocumentTool.hxx new file mode 100644 index 000000000..d0b286331 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_DocumentTool.hxx @@ -0,0 +1,52 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PXCAFDoc_DocumentTool_HeaderFile +#define _PXCAFDoc_DocumentTool_HeaderFile + +#include +#include +#include +#include + +#include + + +class PXCAFDoc_DocumentTool : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PXCAFDoc_DocumentTool(); + +PXCAFDoc_DocumentTool(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + + + + DEFINE_STANDARD_RTTI(PXCAFDoc_DocumentTool) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PXCAFDoc_DocumentTool_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_DocumentTool.ixx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_DocumentTool.ixx new file mode 100644 index 000000000..594e6bb19 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_DocumentTool.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PXCAFDoc_DocumentTool,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PXCAFDoc_DocumentTool) + + + diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_DocumentTool.jxx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_DocumentTool.jxx new file mode 100644 index 000000000..90fa5ba3c --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_DocumentTool.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_GraphNode.cxx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_GraphNode.cxx new file mode 100644 index 000000000..2dca8519b --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_GraphNode.cxx @@ -0,0 +1,142 @@ +// 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 +#include + +//======================================================================= +//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/FromOCCT/TKXCAFSchema/PXCAFDoc_GraphNode.hxx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_GraphNode.hxx new file mode 100644 index 000000000..a66a60e2d --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_GraphNode.hxx @@ -0,0 +1,86 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PXCAFDoc_GraphNode_HeaderFile +#define _PXCAFDoc_GraphNode_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +class PXCAFDoc_GraphNodeSequence; +class Standard_GUID; + + +class PXCAFDoc_GraphNode : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PXCAFDoc_GraphNode(); + + Standard_EXPORT Standard_Integer SetFather (const Handle(PXCAFDoc_GraphNode)& F) ; + + Standard_EXPORT Standard_Integer SetChild (const Handle(PXCAFDoc_GraphNode)& Ch) ; + + Standard_EXPORT Handle(PXCAFDoc_GraphNode) GetFather (const Standard_Integer Findex) const; + + Standard_EXPORT Handle(PXCAFDoc_GraphNode) GetChild (const Standard_Integer Chindex) const; + + Standard_EXPORT Standard_Integer FatherIndex (const Handle(PXCAFDoc_GraphNode)& F) const; + + Standard_EXPORT Standard_Integer ChildIndex (const Handle(PXCAFDoc_GraphNode)& Ch) const; + + Standard_EXPORT Standard_Integer NbFathers() const; + + Standard_EXPORT Standard_Integer NbChildren() const; + + Standard_EXPORT void SetGraphID (const Standard_GUID& GUID) ; + + Standard_EXPORT Standard_GUID GetGraphID() const; + +PXCAFDoc_GraphNode(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + Handle(PXCAFDoc_GraphNodeSequence) _CSFDB_GetPXCAFDoc_GraphNodemyFathers() const { return myFathers; } + void _CSFDB_SetPXCAFDoc_GraphNodemyFathers(const Handle(PXCAFDoc_GraphNodeSequence)& p) { myFathers = p; } + Handle(PXCAFDoc_GraphNodeSequence) _CSFDB_GetPXCAFDoc_GraphNodemyChildren() const { return myChildren; } + void _CSFDB_SetPXCAFDoc_GraphNodemyChildren(const Handle(PXCAFDoc_GraphNodeSequence)& p) { myChildren = p; } + const Standard_GUID& _CSFDB_GetPXCAFDoc_GraphNodemyGraphID() const { return myGraphID; } + + + + DEFINE_STANDARD_RTTI(PXCAFDoc_GraphNode) + +protected: + + + + +private: + + + Handle(PXCAFDoc_GraphNodeSequence) myFathers; + Handle(PXCAFDoc_GraphNodeSequence) myChildren; + Standard_GUID myGraphID; + + +}; + + + + + + + +#endif // _PXCAFDoc_GraphNode_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_GraphNode.ixx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_GraphNode.ixx new file mode 100644 index 000000000..f6c577217 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_GraphNode.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PXCAFDoc_GraphNode,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PXCAFDoc_GraphNode) + + + diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_GraphNode.jxx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_GraphNode.jxx new file mode 100644 index 000000000..556fec01e --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_GraphNode.jxx @@ -0,0 +1,4 @@ +#include +#include +#include +#include diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_GraphNodeSequence.hxx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_GraphNodeSequence.hxx new file mode 100644 index 000000000..4b7775839 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_GraphNodeSequence.hxx @@ -0,0 +1,129 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PXCAFDoc_GraphNodeSequence_HeaderFile +#define _PXCAFDoc_GraphNodeSequence_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class PXCAFDoc_GraphNode; +class PXCAFDoc_SeqNodeOfGraphNodeSequence; +class Standard_NoSuchObject; +class Standard_OutOfRange; +class PXCAFDoc_SeqExplorerOfGraphNodeSequence; + + +class PXCAFDoc_GraphNodeSequence : public Standard_Persistent +{ + +public: + + + Standard_EXPORT PXCAFDoc_GraphNodeSequence(); + + Standard_EXPORT Standard_Boolean IsEmpty() const; + + Standard_EXPORT Standard_Integer Length() const; + + Standard_EXPORT Handle(PXCAFDoc_GraphNode) First() const; + + Standard_EXPORT Handle(PXCAFDoc_GraphNode) Last() const; + + Standard_EXPORT void Clear() ; + + Standard_EXPORT void Append (const Handle(PXCAFDoc_GraphNode)& T) ; + + Standard_EXPORT void Append (const Handle(PXCAFDoc_GraphNodeSequence)& S) ; + + Standard_EXPORT void Prepend (const Handle(PXCAFDoc_GraphNode)& T) ; + + Standard_EXPORT void Prepend (const Handle(PXCAFDoc_GraphNodeSequence)& S) ; + + Standard_EXPORT void Reverse() ; + + Standard_EXPORT void InsertBefore (const Standard_Integer Index, const Handle(PXCAFDoc_GraphNode)& T) ; + + Standard_EXPORT void InsertBefore (const Standard_Integer Index, const Handle(PXCAFDoc_GraphNodeSequence)& S) ; + + Standard_EXPORT void InsertAfter (const Standard_Integer Index, const Handle(PXCAFDoc_GraphNode)& T) ; + + Standard_EXPORT void InsertAfter (const Standard_Integer Index, const Handle(PXCAFDoc_GraphNodeSequence)& S) ; + + Standard_EXPORT void Exchange (const Standard_Integer I, const Standard_Integer J) ; + + Standard_EXPORT Handle(PXCAFDoc_GraphNodeSequence) SubSequence (const Standard_Integer FromIndex, const Standard_Integer ToIndex) const; + + Standard_EXPORT Handle(PXCAFDoc_GraphNodeSequence) Split (const Standard_Integer Index) ; + + Standard_EXPORT void SetValue (const Standard_Integer Index, const Handle(PXCAFDoc_GraphNode)& T) ; + + Standard_EXPORT Handle(PXCAFDoc_GraphNode) Value (const Standard_Integer Index) const; + + Standard_EXPORT Standard_Boolean Contains (const Handle(PXCAFDoc_GraphNode)& T) const; + + Standard_EXPORT Standard_Integer Location (const Standard_Integer N, const Handle(PXCAFDoc_GraphNode)& T, const Standard_Integer FromIndex, const Standard_Integer ToIndex) const; + + Standard_EXPORT Standard_Integer Location (const Standard_Integer N, const Handle(PXCAFDoc_GraphNode)& T) const; + + Standard_EXPORT void Remove (const Standard_Integer Index) ; + + Standard_EXPORT void Remove (const Standard_Integer FromIndex, const Standard_Integer ToIndex) ; + + Standard_EXPORT void Destroy() ; +~PXCAFDoc_GraphNodeSequence() +{ + Destroy(); +} +PXCAFDoc_GraphNodeSequence(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) +{ + +} + Handle(PXCAFDoc_SeqNodeOfGraphNodeSequence) _CSFDB_GetPXCAFDoc_GraphNodeSequenceFirstItem() const { return FirstItem; } + void _CSFDB_SetPXCAFDoc_GraphNodeSequenceFirstItem(const Handle(PXCAFDoc_SeqNodeOfGraphNodeSequence)& p) { FirstItem = p; } + Handle(PXCAFDoc_SeqNodeOfGraphNodeSequence) _CSFDB_GetPXCAFDoc_GraphNodeSequenceLastItem() const { return LastItem; } + void _CSFDB_SetPXCAFDoc_GraphNodeSequenceLastItem(const Handle(PXCAFDoc_SeqNodeOfGraphNodeSequence)& p) { LastItem = p; } + Standard_Integer _CSFDB_GetPXCAFDoc_GraphNodeSequenceSize() const { return Size; } + void _CSFDB_SetPXCAFDoc_GraphNodeSequenceSize(const Standard_Integer p) { Size = p; } + +friend class PXCAFDoc_SeqExplorerOfGraphNodeSequence; + + + DEFINE_STANDARD_RTTI(PXCAFDoc_GraphNodeSequence) + +protected: + + + + +private: + + + Standard_EXPORT Handle(PXCAFDoc_SeqNodeOfGraphNodeSequence) GetFirst() const; + + Standard_EXPORT Handle(PXCAFDoc_SeqNodeOfGraphNodeSequence) GetLast() const; + + Handle(PXCAFDoc_SeqNodeOfGraphNodeSequence) FirstItem; + Handle(PXCAFDoc_SeqNodeOfGraphNodeSequence) LastItem; + Standard_Integer Size; + + +}; + + + + + + + +#endif // _PXCAFDoc_GraphNodeSequence_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_GraphNodeSequence_0.cxx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_GraphNodeSequence_0.cxx new file mode 100644 index 000000000..8c3f717a2 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_GraphNodeSequence_0.cxx @@ -0,0 +1,34 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include +#include + + + +IMPLEMENT_DOWNCAST(PXCAFDoc_GraphNodeSequence,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PXCAFDoc_GraphNodeSequence) + + +#define Item Handle(PXCAFDoc_GraphNode) +#define Item_hxx +#define PCollection_SeqNode PXCAFDoc_SeqNodeOfGraphNodeSequence +#define PCollection_SeqNode_hxx +#define PCollection_SeqExplorer PXCAFDoc_SeqExplorerOfGraphNodeSequence +#define PCollection_SeqExplorer_hxx +#define Handle_PCollection_SeqNode Handle_PXCAFDoc_SeqNodeOfGraphNodeSequence +#define PCollection_SeqNode_Type_() PXCAFDoc_SeqNodeOfGraphNodeSequence_Type_() +#define PCollection_HSequence PXCAFDoc_GraphNodeSequence +#define PCollection_HSequence_hxx +#define Handle_PCollection_HSequence Handle_PXCAFDoc_GraphNodeSequence +#define PCollection_HSequence_Type_() PXCAFDoc_GraphNodeSequence_Type_() +#include + diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_LayerTool.cxx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_LayerTool.cxx new file mode 100644 index 000000000..6e4c99a61 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_LayerTool.cxx @@ -0,0 +1,19 @@ +// 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::PXCAFDoc_LayerTool() {} + diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_LayerTool.hxx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_LayerTool.hxx new file mode 100644 index 000000000..0716b1f48 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_LayerTool.hxx @@ -0,0 +1,52 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PXCAFDoc_LayerTool_HeaderFile +#define _PXCAFDoc_LayerTool_HeaderFile + +#include +#include +#include +#include + +#include + + +class PXCAFDoc_LayerTool : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PXCAFDoc_LayerTool(); + +PXCAFDoc_LayerTool(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + + + + DEFINE_STANDARD_RTTI(PXCAFDoc_LayerTool) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PXCAFDoc_LayerTool_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_LayerTool.ixx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_LayerTool.ixx new file mode 100644 index 000000000..575d4f6f1 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_LayerTool.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PXCAFDoc_LayerTool,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PXCAFDoc_LayerTool) + + + diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_LayerTool.jxx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_LayerTool.jxx new file mode 100644 index 000000000..c6ea72d68 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_LayerTool.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Location.cxx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Location.cxx new file mode 100644 index 000000000..dbe293acd --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Location.cxx @@ -0,0 +1,56 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKXCAFSchema/PXCAFDoc_Location.hxx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Location.hxx new file mode 100644 index 000000000..72288f04c --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Location.hxx @@ -0,0 +1,62 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PXCAFDoc_Location_HeaderFile +#define _PXCAFDoc_Location_HeaderFile + +#include +#include +#include +#include + +#include +#include +class PTopLoc_Location; + + +class PXCAFDoc_Location : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PXCAFDoc_Location(); + + Standard_EXPORT PXCAFDoc_Location(const PTopLoc_Location& Loc); + + Standard_EXPORT void Set (const PTopLoc_Location& Loc) ; + + Standard_EXPORT PTopLoc_Location Get() const; + +PXCAFDoc_Location(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + const PTopLoc_Location& _CSFDB_GetPXCAFDoc_LocationmyPLocation() const { return myPLocation; } + + + + DEFINE_STANDARD_RTTI(PXCAFDoc_Location) + +protected: + + + + +private: + + + PTopLoc_Location myPLocation; + + +}; + + + + + + + +#endif // _PXCAFDoc_Location_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Location.ixx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Location.ixx new file mode 100644 index 000000000..7941a040d --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Location.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PXCAFDoc_Location,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PXCAFDoc_Location) + + + diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Location.jxx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Location.jxx new file mode 100644 index 000000000..92b0e360a --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Location.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Material.cxx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Material.cxx new file mode 100644 index 000000000..502d101f0 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Material.cxx @@ -0,0 +1,111 @@ +// 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 + +//======================================================================= +//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/FromOCCT/TKXCAFSchema/PXCAFDoc_Material.hxx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Material.hxx new file mode 100644 index 000000000..cd4855910 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Material.hxx @@ -0,0 +1,84 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PXCAFDoc_Material_HeaderFile +#define _PXCAFDoc_Material_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +class PCollection_HAsciiString; + + +class PXCAFDoc_Material : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PXCAFDoc_Material(); + + Standard_EXPORT 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); + + Standard_EXPORT Handle(PCollection_HAsciiString) GetName() const; + + Standard_EXPORT Handle(PCollection_HAsciiString) GetDescription() const; + + Standard_EXPORT Standard_Real GetDensity() const; + + Standard_EXPORT Handle(PCollection_HAsciiString) GetDensName() const; + + Standard_EXPORT Handle(PCollection_HAsciiString) GetDensValType() const; + + Standard_EXPORT void 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) ; + +PXCAFDoc_Material(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + Handle(PCollection_HAsciiString) _CSFDB_GetPXCAFDoc_MaterialmyName() const { return myName; } + void _CSFDB_SetPXCAFDoc_MaterialmyName(const Handle(PCollection_HAsciiString)& p) { myName = p; } + Handle(PCollection_HAsciiString) _CSFDB_GetPXCAFDoc_MaterialmyDescr() const { return myDescr; } + void _CSFDB_SetPXCAFDoc_MaterialmyDescr(const Handle(PCollection_HAsciiString)& p) { myDescr = p; } + Standard_Real _CSFDB_GetPXCAFDoc_MaterialmyDensity() const { return myDensity; } + void _CSFDB_SetPXCAFDoc_MaterialmyDensity(const Standard_Real p) { myDensity = p; } + Handle(PCollection_HAsciiString) _CSFDB_GetPXCAFDoc_MaterialmyDensName() const { return myDensName; } + void _CSFDB_SetPXCAFDoc_MaterialmyDensName(const Handle(PCollection_HAsciiString)& p) { myDensName = p; } + Handle(PCollection_HAsciiString) _CSFDB_GetPXCAFDoc_MaterialmyDensValType() const { return myDensValType; } + void _CSFDB_SetPXCAFDoc_MaterialmyDensValType(const Handle(PCollection_HAsciiString)& p) { myDensValType = p; } + + + + DEFINE_STANDARD_RTTI(PXCAFDoc_Material) + +protected: + + + + +private: + + + Handle(PCollection_HAsciiString) myName; + Handle(PCollection_HAsciiString) myDescr; + Standard_Real myDensity; + Handle(PCollection_HAsciiString) myDensName; + Handle(PCollection_HAsciiString) myDensValType; + + +}; + + + + + + + +#endif // _PXCAFDoc_Material_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Material.ixx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Material.ixx new file mode 100644 index 000000000..901e96883 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Material.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PXCAFDoc_Material,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PXCAFDoc_Material) + + + diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Material.jxx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Material.jxx new file mode 100644 index 000000000..b1a605dfa --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Material.jxx @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_MaterialTool.cxx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_MaterialTool.cxx new file mode 100644 index 000000000..ffe5d33fb --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_MaterialTool.cxx @@ -0,0 +1,25 @@ +// 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 + +//======================================================================= +//function : PXCAFDoc_MaterialTool +//purpose : Constructor +//======================================================================= + +PXCAFDoc_MaterialTool::PXCAFDoc_MaterialTool () +{ +} diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_MaterialTool.hxx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_MaterialTool.hxx new file mode 100644 index 000000000..35bf07ba1 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_MaterialTool.hxx @@ -0,0 +1,52 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PXCAFDoc_MaterialTool_HeaderFile +#define _PXCAFDoc_MaterialTool_HeaderFile + +#include +#include +#include +#include + +#include + + +class PXCAFDoc_MaterialTool : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PXCAFDoc_MaterialTool(); + +PXCAFDoc_MaterialTool(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + + + + DEFINE_STANDARD_RTTI(PXCAFDoc_MaterialTool) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PXCAFDoc_MaterialTool_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_MaterialTool.ixx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_MaterialTool.ixx new file mode 100644 index 000000000..eabb3b923 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_MaterialTool.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PXCAFDoc_MaterialTool,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PXCAFDoc_MaterialTool) + + + diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_MaterialTool.jxx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_MaterialTool.jxx new file mode 100644 index 000000000..cf9af49db --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_MaterialTool.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_SeqExplorerOfGraphNodeSequence.hxx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_SeqExplorerOfGraphNodeSequence.hxx new file mode 100644 index 000000000..efa95126c --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_SeqExplorerOfGraphNodeSequence.hxx @@ -0,0 +1,69 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PXCAFDoc_SeqExplorerOfGraphNodeSequence_HeaderFile +#define _PXCAFDoc_SeqExplorerOfGraphNodeSequence_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +class PXCAFDoc_SeqNodeOfGraphNodeSequence; +class PXCAFDoc_GraphNodeSequence; +class Standard_NoSuchObject; +class Standard_OutOfRange; +class PXCAFDoc_GraphNode; + + + +class PXCAFDoc_SeqExplorerOfGraphNodeSequence +{ +public: + + DEFINE_STANDARD_ALLOC + + + Standard_EXPORT PXCAFDoc_SeqExplorerOfGraphNodeSequence(const Handle(PXCAFDoc_GraphNodeSequence)& S); + + Standard_EXPORT Handle(PXCAFDoc_GraphNode) Value (const Standard_Integer Index) ; + + Standard_EXPORT Standard_Boolean Contains (const Handle(PXCAFDoc_GraphNode)& T) ; + + Standard_EXPORT Standard_Integer Location (const Standard_Integer N, const Handle(PXCAFDoc_GraphNode)& T, const Standard_Integer FromIndex, const Standard_Integer ToIndex) ; + + Standard_EXPORT Standard_Integer Location (const Standard_Integer N, const Handle(PXCAFDoc_GraphNode)& T) ; + + + + +protected: + + + + + +private: + + + + Handle(PXCAFDoc_SeqNodeOfGraphNodeSequence) CurrentItem; + Standard_Integer CurrentIndex; + Handle(PXCAFDoc_GraphNodeSequence) TheSequence; + + +}; + + + + + + + +#endif // _PXCAFDoc_SeqExplorerOfGraphNodeSequence_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_SeqExplorerOfGraphNodeSequence_0.cxx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_SeqExplorerOfGraphNodeSequence_0.cxx new file mode 100644 index 000000000..0a935bb53 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_SeqExplorerOfGraphNodeSequence_0.cxx @@ -0,0 +1,28 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include +#include + + +#define Item Handle(PXCAFDoc_GraphNode) +#define Item_hxx +#define PCollection_SeqNode PXCAFDoc_SeqNodeOfGraphNodeSequence +#define PCollection_SeqNode_hxx +#define PCollection_SeqExplorer PXCAFDoc_SeqExplorerOfGraphNodeSequence +#define PCollection_SeqExplorer_hxx +#define Handle_PCollection_SeqNode Handle_PXCAFDoc_SeqNodeOfGraphNodeSequence +#define PCollection_SeqNode_Type_() PXCAFDoc_SeqNodeOfGraphNodeSequence_Type_() +#define PCollection_HSequence PXCAFDoc_GraphNodeSequence +#define PCollection_HSequence_hxx +#define Handle_PCollection_HSequence Handle_PXCAFDoc_GraphNodeSequence +#define PCollection_HSequence_Type_() PXCAFDoc_GraphNodeSequence_Type_() +#include + diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_SeqNodeOfGraphNodeSequence.hxx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_SeqNodeOfGraphNodeSequence.hxx new file mode 100644 index 000000000..e66474307 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_SeqNodeOfGraphNodeSequence.hxx @@ -0,0 +1,89 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PXCAFDoc_SeqNodeOfGraphNodeSequence_HeaderFile +#define _PXCAFDoc_SeqNodeOfGraphNodeSequence_HeaderFile + +#include +#include +#include +#include + +#include +#include +#include +#include +class PXCAFDoc_GraphNode; +class PXCAFDoc_GraphNodeSequence; +class PXCAFDoc_SeqExplorerOfGraphNodeSequence; + + +class PXCAFDoc_SeqNodeOfGraphNodeSequence : public PMMgt_PManaged +{ + +public: + + + Standard_EXPORT PXCAFDoc_SeqNodeOfGraphNodeSequence(const Handle(PXCAFDoc_SeqNodeOfGraphNodeSequence)& TheLast, const Handle(PXCAFDoc_GraphNode)& TheItem); + + Standard_EXPORT PXCAFDoc_SeqNodeOfGraphNodeSequence(const Handle(PXCAFDoc_GraphNode)& TheItem, const Handle(PXCAFDoc_SeqNodeOfGraphNodeSequence)& TheFirst); + + Standard_EXPORT PXCAFDoc_SeqNodeOfGraphNodeSequence(const Handle(PXCAFDoc_SeqNodeOfGraphNodeSequence)& ThePrevious, const Handle(PXCAFDoc_SeqNodeOfGraphNodeSequence)& TheNext, const Handle(PXCAFDoc_GraphNode)& TheItem); + + Standard_EXPORT Handle(PXCAFDoc_GraphNode) Value() const; + + Standard_EXPORT Handle(PXCAFDoc_SeqNodeOfGraphNodeSequence) Next() const; + + Standard_EXPORT Handle(PXCAFDoc_SeqNodeOfGraphNodeSequence) Previous() const; + + Standard_EXPORT void SetValue (const Handle(PXCAFDoc_GraphNode)& AnItem) ; + + Standard_EXPORT void SetNext (const Handle(PXCAFDoc_SeqNodeOfGraphNodeSequence)& ANode) ; + + Standard_EXPORT void SetPrevious (const Handle(PXCAFDoc_SeqNodeOfGraphNodeSequence)& ANode) ; + +PXCAFDoc_SeqNodeOfGraphNodeSequence( ) +{ + +} +PXCAFDoc_SeqNodeOfGraphNodeSequence(const Storage_stCONSTclCOM& a) : PMMgt_PManaged(a) +{ + +} + Handle(PXCAFDoc_SeqNodeOfGraphNodeSequence) _CSFDB_GetPXCAFDoc_SeqNodeOfGraphNodeSequenceMyPrevious() const { return MyPrevious; } + void _CSFDB_SetPXCAFDoc_SeqNodeOfGraphNodeSequenceMyPrevious(const Handle(PXCAFDoc_SeqNodeOfGraphNodeSequence)& p) { MyPrevious = p; } + Handle(PXCAFDoc_GraphNode) _CSFDB_GetPXCAFDoc_SeqNodeOfGraphNodeSequenceMyItem() const { return MyItem; } + void _CSFDB_SetPXCAFDoc_SeqNodeOfGraphNodeSequenceMyItem(const Handle(PXCAFDoc_GraphNode)& p) { MyItem = p; } + Handle(PXCAFDoc_SeqNodeOfGraphNodeSequence) _CSFDB_GetPXCAFDoc_SeqNodeOfGraphNodeSequenceMyNext() const { return MyNext; } + void _CSFDB_SetPXCAFDoc_SeqNodeOfGraphNodeSequenceMyNext(const Handle(PXCAFDoc_SeqNodeOfGraphNodeSequence)& p) { MyNext = p; } + +friend class PXCAFDoc_GraphNodeSequence; +friend class PXCAFDoc_SeqExplorerOfGraphNodeSequence; + + + DEFINE_STANDARD_RTTI(PXCAFDoc_SeqNodeOfGraphNodeSequence) + +protected: + + + + +private: + + + Handle(PXCAFDoc_SeqNodeOfGraphNodeSequence) MyPrevious; + Handle(PXCAFDoc_GraphNode) MyItem; + Handle(PXCAFDoc_SeqNodeOfGraphNodeSequence) MyNext; + + +}; + + + + + + + +#endif // _PXCAFDoc_SeqNodeOfGraphNodeSequence_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_SeqNodeOfGraphNodeSequence_0.cxx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_SeqNodeOfGraphNodeSequence_0.cxx new file mode 100644 index 000000000..b48a51cb4 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_SeqNodeOfGraphNodeSequence_0.cxx @@ -0,0 +1,33 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include +#include +#include +#include + + + + +IMPLEMENT_DOWNCAST(PXCAFDoc_SeqNodeOfGraphNodeSequence,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PXCAFDoc_SeqNodeOfGraphNodeSequence) + + +#define Item Handle(PXCAFDoc_GraphNode) +#define Item_hxx +#define PCollection_SeqNode PXCAFDoc_SeqNodeOfGraphNodeSequence +#define PCollection_SeqNode_hxx +#define PCollection_SeqExplorer PXCAFDoc_SeqExplorerOfGraphNodeSequence +#define PCollection_SeqExplorer_hxx +#define Handle_PCollection_SeqNode Handle_PXCAFDoc_SeqNodeOfGraphNodeSequence +#define PCollection_SeqNode_Type_() PXCAFDoc_SeqNodeOfGraphNodeSequence_Type_() +#define PCollection_HSequence PXCAFDoc_GraphNodeSequence +#define PCollection_HSequence_hxx +#define Handle_PCollection_HSequence Handle_PXCAFDoc_GraphNodeSequence +#define PCollection_HSequence_Type_() PXCAFDoc_GraphNodeSequence_Type_() +#include + diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_ShapeTool.cxx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_ShapeTool.cxx new file mode 100644 index 000000000..1054edf9b --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_ShapeTool.cxx @@ -0,0 +1,19 @@ +// 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::PXCAFDoc_ShapeTool() {} diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_ShapeTool.hxx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_ShapeTool.hxx new file mode 100644 index 000000000..edfbb478a --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_ShapeTool.hxx @@ -0,0 +1,52 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PXCAFDoc_ShapeTool_HeaderFile +#define _PXCAFDoc_ShapeTool_HeaderFile + +#include +#include +#include +#include + +#include + + +class PXCAFDoc_ShapeTool : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PXCAFDoc_ShapeTool(); + +PXCAFDoc_ShapeTool(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + + + + DEFINE_STANDARD_RTTI(PXCAFDoc_ShapeTool) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _PXCAFDoc_ShapeTool_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_ShapeTool.ixx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_ShapeTool.ixx new file mode 100644 index 000000000..980fe61ce --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_ShapeTool.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PXCAFDoc_ShapeTool,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PXCAFDoc_ShapeTool) + + + diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_ShapeTool.jxx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_ShapeTool.jxx new file mode 100644 index 000000000..a48c08958 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_ShapeTool.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Volume.cxx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Volume.cxx new file mode 100644 index 000000000..58a318d3d --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Volume.cxx @@ -0,0 +1,50 @@ +// 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 + +//======================================================================= +//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; +} diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Volume.hxx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Volume.hxx new file mode 100644 index 000000000..da7a98e54 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Volume.hxx @@ -0,0 +1,62 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _PXCAFDoc_Volume_HeaderFile +#define _PXCAFDoc_Volume_HeaderFile + +#include +#include +#include +#include + +#include +#include + + +class PXCAFDoc_Volume : public PDF_Attribute +{ + +public: + + + Standard_EXPORT PXCAFDoc_Volume(); + + Standard_EXPORT PXCAFDoc_Volume(const Standard_Real Value); + + Standard_EXPORT Standard_Real Get() const; + + Standard_EXPORT void Set (const Standard_Real V) ; + +PXCAFDoc_Volume(const Storage_stCONSTclCOM& a) : PDF_Attribute(a) +{ + +} + Standard_Real _CSFDB_GetPXCAFDoc_VolumemyValue() const { return myValue; } + void _CSFDB_SetPXCAFDoc_VolumemyValue(const Standard_Real p) { myValue = p; } + + + + DEFINE_STANDARD_RTTI(PXCAFDoc_Volume) + +protected: + + + + +private: + + + Standard_Real myValue; + + +}; + + + + + + + +#endif // _PXCAFDoc_Volume_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Volume.ixx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Volume.ixx new file mode 100644 index 000000000..5b2feee54 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Volume.ixx @@ -0,0 +1,12 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +IMPLEMENT_DOWNCAST(PXCAFDoc_Volume,Standard_Persistent) +IMPLEMENT_STANDARD_RTTI(PXCAFDoc_Volume) + + + diff --git a/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Volume.jxx b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Volume.jxx new file mode 100644 index 000000000..8ca9ce932 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/PXCAFDoc_Volume.jxx @@ -0,0 +1 @@ +#include diff --git a/src/FromOCCT/TKXCAFSchema/XCAFDrivers.cxx b/src/FromOCCT/TKXCAFSchema/XCAFDrivers.cxx new file mode 100644 index 000000000..9cf5e7554 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFDrivers.cxx @@ -0,0 +1,84 @@ +// 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 +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include + +#include + +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/FromOCCT/TKXCAFSchema/XCAFDrivers.hxx b/src/FromOCCT/TKXCAFSchema/XCAFDrivers.hxx new file mode 100644 index 000000000..4bba4818d --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFDrivers.hxx @@ -0,0 +1,68 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _XCAFDrivers_HeaderFile +#define _XCAFDrivers_HeaderFile + +#include +#include +#include + +#include +class Standard_Transient; +class Standard_GUID; +class XCAFDrivers_DocumentRetrievalDriver; +class XCAFDrivers_DocumentStorageDriver; + + + +class XCAFDrivers +{ +public: + + DEFINE_STANDARD_ALLOC + + + //! 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 + Standard_EXPORT static Handle(Standard_Transient) Factory (const Standard_GUID& aGUID) ; + + + + +protected: + + + + + +private: + + + + +friend class XCAFDrivers_DocumentRetrievalDriver; +friend class XCAFDrivers_DocumentStorageDriver; + +}; + + + + + + + +#endif // _XCAFDrivers_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/XCAFDrivers.ixx b/src/FromOCCT/TKXCAFSchema/XCAFDrivers.ixx new file mode 100644 index 000000000..107c9f7d4 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFDrivers.ixx @@ -0,0 +1,10 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + + + + diff --git a/src/FromOCCT/TKXCAFSchema/XCAFDrivers.jxx b/src/FromOCCT/TKXCAFSchema/XCAFDrivers.jxx new file mode 100644 index 000000000..5b36f17c8 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFDrivers.jxx @@ -0,0 +1,3 @@ +#include +#include +#include diff --git a/src/FromOCCT/TKXCAFSchema/XCAFDrivers_DocumentRetrievalDriver.cxx b/src/FromOCCT/TKXCAFSchema/XCAFDrivers_DocumentRetrievalDriver.cxx new file mode 100644 index 000000000..294fbaa68 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFDrivers_DocumentRetrievalDriver.cxx @@ -0,0 +1,47 @@ +// 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 +#include +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKXCAFSchema/XCAFDrivers_DocumentRetrievalDriver.hxx b/src/FromOCCT/TKXCAFSchema/XCAFDrivers_DocumentRetrievalDriver.hxx new file mode 100644 index 000000000..e4385c92e --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFDrivers_DocumentRetrievalDriver.hxx @@ -0,0 +1,54 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _XCAFDrivers_DocumentRetrievalDriver_HeaderFile +#define _XCAFDrivers_DocumentRetrievalDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +class MDF_ARDriverTable; +class CDM_MessageDriver; + + +//! retrieval driver of a XS document +class XCAFDrivers_DocumentRetrievalDriver : public MDocStd_DocumentRetrievalDriver +{ + +public: + + + Standard_EXPORT XCAFDrivers_DocumentRetrievalDriver(); + + Standard_EXPORT virtual Handle(MDF_ARDriverTable) AttributeDrivers (const Handle(CDM_MessageDriver)& theMessageDriver) ; + + + + + DEFINE_STANDARD_RTTI(XCAFDrivers_DocumentRetrievalDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _XCAFDrivers_DocumentRetrievalDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/XCAFDrivers_DocumentRetrievalDriver.ixx b/src/FromOCCT/TKXCAFSchema/XCAFDrivers_DocumentRetrievalDriver.ixx new file mode 100644 index 000000000..0dedec024 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFDrivers_DocumentRetrievalDriver.ixx @@ -0,0 +1,29 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(XCAFDrivers_DocumentRetrievalDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDocStd_DocumentRetrievalDriver), + STANDARD_TYPE(PCDM_RetrievalDriver), + STANDARD_TYPE(PCDM_Reader), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(XCAFDrivers_DocumentRetrievalDriver) + + +IMPLEMENT_DOWNCAST(XCAFDrivers_DocumentRetrievalDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(XCAFDrivers_DocumentRetrievalDriver) + + + diff --git a/src/FromOCCT/TKXCAFSchema/XCAFDrivers_DocumentRetrievalDriver.jxx b/src/FromOCCT/TKXCAFSchema/XCAFDrivers_DocumentRetrievalDriver.jxx new file mode 100644 index 000000000..a0975bf71 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFDrivers_DocumentRetrievalDriver.jxx @@ -0,0 +1,3 @@ +#include +#include +#include diff --git a/src/FromOCCT/TKXCAFSchema/XCAFDrivers_DocumentStorageDriver.cxx b/src/FromOCCT/TKXCAFSchema/XCAFDrivers_DocumentStorageDriver.cxx new file mode 100644 index 000000000..67e9288cc --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFDrivers_DocumentStorageDriver.cxx @@ -0,0 +1,50 @@ +// 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 +#include +#include +#include +#include +#include + +//======================================================================= +//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/FromOCCT/TKXCAFSchema/XCAFDrivers_DocumentStorageDriver.hxx b/src/FromOCCT/TKXCAFSchema/XCAFDrivers_DocumentStorageDriver.hxx new file mode 100644 index 000000000..e8293eea9 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFDrivers_DocumentStorageDriver.hxx @@ -0,0 +1,54 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _XCAFDrivers_DocumentStorageDriver_HeaderFile +#define _XCAFDrivers_DocumentStorageDriver_HeaderFile + +#include +#include +#include + +#include +#include +#include +class MDF_ASDriverTable; +class CDM_MessageDriver; + + +//! storage driver of a XS document +class XCAFDrivers_DocumentStorageDriver : public MDocStd_DocumentStorageDriver +{ + +public: + + + Standard_EXPORT XCAFDrivers_DocumentStorageDriver(); + + Standard_EXPORT virtual Handle(MDF_ASDriverTable) AttributeDrivers (const Handle(CDM_MessageDriver)& theMessageDriver) ; + + + + + DEFINE_STANDARD_RTTI(XCAFDrivers_DocumentStorageDriver) + +protected: + + + + +private: + + + + +}; + + + + + + + +#endif // _XCAFDrivers_DocumentStorageDriver_HeaderFile diff --git a/src/FromOCCT/TKXCAFSchema/XCAFDrivers_DocumentStorageDriver.ixx b/src/FromOCCT/TKXCAFSchema/XCAFDrivers_DocumentStorageDriver.ixx new file mode 100644 index 000000000..dccb15ec2 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFDrivers_DocumentStorageDriver.ixx @@ -0,0 +1,29 @@ +// This file is generated by WOK (CPPExt). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#include + +#include + + + + + +IMPLEMENT_STANDARD_TYPE(XCAFDrivers_DocumentStorageDriver) +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + STANDARD_TYPE(MDocStd_DocumentStorageDriver), + STANDARD_TYPE(PCDM_StorageDriver), + STANDARD_TYPE(PCDM_Writer), + STANDARD_TYPE(Standard_Transient), + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() +IMPLEMENT_STANDARD_TYPE_END(XCAFDrivers_DocumentStorageDriver) + + +IMPLEMENT_DOWNCAST(XCAFDrivers_DocumentStorageDriver,Standard_Transient) +IMPLEMENT_STANDARD_RTTI(XCAFDrivers_DocumentStorageDriver) + + + diff --git a/src/FromOCCT/TKXCAFSchema/XCAFDrivers_DocumentStorageDriver.jxx b/src/FromOCCT/TKXCAFSchema/XCAFDrivers_DocumentStorageDriver.jxx new file mode 100644 index 000000000..40fd66bed --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFDrivers_DocumentStorageDriver.jxx @@ -0,0 +1,3 @@ +#include +#include +#include diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema.cxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema.cxx new file mode 100644 index 000000000..f0a0dbc95 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema.cxx @@ -0,0 +1,168 @@ +#ifndef _XCAFSchema_HeaderFile +#include +#endif +#ifndef _Storage_StreamUnknownTypeError_HeaderFile +#include +#endif +#ifndef _TColStd_SequenceOfAsciiString_HeaderFile +#include +#endif +#ifndef _XCAFSchema_PXCAFDoc_Location_HeaderFile +#include +#endif +#ifndef _XCAFSchema_PXCAFDoc_Color_HeaderFile +#include +#endif +#ifndef _XCAFSchema_PXCAFDoc_Volume_HeaderFile +#include +#endif +#ifndef _XCAFSchema_PXCAFDoc_Area_HeaderFile +#include +#endif +#ifndef _XCAFSchema_PXCAFDoc_Centroid_HeaderFile +#include +#endif +#ifndef _XCAFSchema_PXCAFDoc_ColorTool_HeaderFile +#include +#endif +#ifndef _XCAFSchema_PXCAFDoc_ShapeTool_HeaderFile +#include +#endif +#ifndef _XCAFSchema_PXCAFDoc_DocumentTool_HeaderFile +#include +#endif +#ifndef _XCAFSchema_PXCAFDoc_LayerTool_HeaderFile +#include +#endif +#ifndef _XCAFSchema_PXCAFDoc_GraphNode_HeaderFile +#include +#endif +#ifndef _XCAFSchema_PXCAFDoc_GraphNodeSequence_HeaderFile +#include +#endif +#ifndef _XCAFSchema_PXCAFDoc_SeqNodeOfGraphNodeSequence_HeaderFile +#include +#endif +#ifndef _XCAFSchema_PXCAFDoc_Datum_HeaderFile +#include +#endif +#ifndef _XCAFSchema_PXCAFDoc_DimTol_HeaderFile +#include +#endif +#ifndef _XCAFSchema_PXCAFDoc_DimTolTool_HeaderFile +#include +#endif +#ifndef _XCAFSchema_PXCAFDoc_Material_HeaderFile +#include +#endif +#ifndef _XCAFSchema_PXCAFDoc_MaterialTool_HeaderFile +#include +#endif +#ifndef _XCAFSchema_PDF_Attribute_HeaderFile +#include +#endif +#ifndef _XCAFSchema_Standard_Persistent_HeaderFile +#include +#endif +#ifndef _XCAFSchema_PMMgt_PManaged_HeaderFile +#include +#endif +#ifndef _XCAFSchema_PCollection_HAsciiString_HeaderFile +#include +#endif +#ifndef _XCAFSchema_PColStd_HArray1OfReal_HeaderFile +#include +#endif +#ifndef _XCAFSchema_PTopLoc_Datum3D_HeaderFile +#include +#endif +#ifndef _XCAFSchema_PTopLoc_ItemLocation_HeaderFile +#include +#endif +#ifndef _XCAFSchema_PCollection_HExtendedString_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(XCAFSchema,Storage_Schema) +IMPLEMENT_STANDARD_RTTIEXT(XCAFSchema,Storage_Schema) + +Storage_BEGIN_ADD_TYPES(XCAFSchema) +Storage_ADD_TYPES(XCAFSchema,PXCAFDoc_Location,XCAFSchema_PXCAFDoc_Location) +Storage_ADD_TYPES(XCAFSchema,PXCAFDoc_Color,XCAFSchema_PXCAFDoc_Color) +Storage_ADD_TYPES(XCAFSchema,PXCAFDoc_Volume,XCAFSchema_PXCAFDoc_Volume) +Storage_ADD_TYPES(XCAFSchema,PXCAFDoc_Area,XCAFSchema_PXCAFDoc_Area) +Storage_ADD_TYPES(XCAFSchema,PXCAFDoc_Centroid,XCAFSchema_PXCAFDoc_Centroid) +Storage_ADD_TYPES(XCAFSchema,PXCAFDoc_ColorTool,XCAFSchema_PXCAFDoc_ColorTool) +Storage_ADD_TYPES(XCAFSchema,PXCAFDoc_ShapeTool,XCAFSchema_PXCAFDoc_ShapeTool) +Storage_ADD_TYPES(XCAFSchema,PXCAFDoc_DocumentTool,XCAFSchema_PXCAFDoc_DocumentTool) +Storage_ADD_TYPES(XCAFSchema,PXCAFDoc_LayerTool,XCAFSchema_PXCAFDoc_LayerTool) +Storage_ADD_TYPES(XCAFSchema,PXCAFDoc_GraphNode,XCAFSchema_PXCAFDoc_GraphNode) +Storage_ADD_TYPES(XCAFSchema,PXCAFDoc_GraphNodeSequence,XCAFSchema_PXCAFDoc_GraphNodeSequence) +Storage_ADD_TYPES(XCAFSchema,PXCAFDoc_SeqNodeOfGraphNodeSequence,XCAFSchema_PXCAFDoc_SeqNodeOfGraphNodeSequence) +Storage_ADD_TYPES(XCAFSchema,PXCAFDoc_Datum,XCAFSchema_PXCAFDoc_Datum) +Storage_ADD_TYPES(XCAFSchema,PXCAFDoc_DimTol,XCAFSchema_PXCAFDoc_DimTol) +Storage_ADD_TYPES(XCAFSchema,PXCAFDoc_DimTolTool,XCAFSchema_PXCAFDoc_DimTolTool) +Storage_ADD_TYPES(XCAFSchema,PXCAFDoc_Material,XCAFSchema_PXCAFDoc_Material) +Storage_ADD_TYPES(XCAFSchema,PXCAFDoc_MaterialTool,XCAFSchema_PXCAFDoc_MaterialTool) +Storage_ADD_TYPES(XCAFSchema,PDF_Attribute,XCAFSchema_PDF_Attribute) +Storage_ADD_TYPES(XCAFSchema,Standard_Persistent,XCAFSchema_Standard_Persistent) +Storage_ADD_TYPES(XCAFSchema,PMMgt_PManaged,XCAFSchema_PMMgt_PManaged) +Storage_ADD_TYPES(XCAFSchema,PCollection_HAsciiString,XCAFSchema_PCollection_HAsciiString) +Storage_ADD_TYPES(XCAFSchema,PColStd_HArray1OfReal,XCAFSchema_PColStd_HArray1OfReal) +Storage_ADD_TYPES(XCAFSchema,PTopLoc_Datum3D,XCAFSchema_PTopLoc_Datum3D) +Storage_ADD_TYPES(XCAFSchema,PTopLoc_ItemLocation,XCAFSchema_PTopLoc_ItemLocation) +Storage_ADD_TYPES(XCAFSchema,PCollection_HExtendedString,XCAFSchema_PCollection_HExtendedString) +Storage_END_ADD_TYPES(XCAFSchema) + +Storage_BEGIN_READ_SELECTION(XCAFSchema) +Storage_READ_SELECTION(XCAFSchema,PXCAFDoc_Location,XCAFSchema_PXCAFDoc_Location) +Storage_READ_SELECTION(XCAFSchema,PXCAFDoc_Color,XCAFSchema_PXCAFDoc_Color) +Storage_READ_SELECTION(XCAFSchema,PXCAFDoc_Volume,XCAFSchema_PXCAFDoc_Volume) +Storage_READ_SELECTION(XCAFSchema,PXCAFDoc_Area,XCAFSchema_PXCAFDoc_Area) +Storage_READ_SELECTION(XCAFSchema,PXCAFDoc_Centroid,XCAFSchema_PXCAFDoc_Centroid) +Storage_READ_SELECTION(XCAFSchema,PXCAFDoc_ColorTool,XCAFSchema_PXCAFDoc_ColorTool) +Storage_READ_SELECTION(XCAFSchema,PXCAFDoc_ShapeTool,XCAFSchema_PXCAFDoc_ShapeTool) +Storage_READ_SELECTION(XCAFSchema,PXCAFDoc_DocumentTool,XCAFSchema_PXCAFDoc_DocumentTool) +Storage_READ_SELECTION(XCAFSchema,PXCAFDoc_LayerTool,XCAFSchema_PXCAFDoc_LayerTool) +Storage_READ_SELECTION(XCAFSchema,PXCAFDoc_GraphNode,XCAFSchema_PXCAFDoc_GraphNode) +Storage_READ_SELECTION(XCAFSchema,PXCAFDoc_GraphNodeSequence,XCAFSchema_PXCAFDoc_GraphNodeSequence) +Storage_READ_SELECTION(XCAFSchema,PXCAFDoc_SeqNodeOfGraphNodeSequence,XCAFSchema_PXCAFDoc_SeqNodeOfGraphNodeSequence) +Storage_READ_SELECTION(XCAFSchema,PXCAFDoc_Datum,XCAFSchema_PXCAFDoc_Datum) +Storage_READ_SELECTION(XCAFSchema,PXCAFDoc_DimTol,XCAFSchema_PXCAFDoc_DimTol) +Storage_READ_SELECTION(XCAFSchema,PXCAFDoc_DimTolTool,XCAFSchema_PXCAFDoc_DimTolTool) +Storage_READ_SELECTION(XCAFSchema,PXCAFDoc_Material,XCAFSchema_PXCAFDoc_Material) +Storage_READ_SELECTION(XCAFSchema,PXCAFDoc_MaterialTool,XCAFSchema_PXCAFDoc_MaterialTool) +Storage_READ_SELECTION(XCAFSchema,PCollection_HAsciiString,XCAFSchema_PCollection_HAsciiString) +Storage_READ_SELECTION(XCAFSchema,PColStd_HArray1OfReal,XCAFSchema_PColStd_HArray1OfReal) +Storage_READ_SELECTION(XCAFSchema,PTopLoc_Datum3D,XCAFSchema_PTopLoc_Datum3D) +Storage_READ_SELECTION(XCAFSchema,PTopLoc_ItemLocation,XCAFSchema_PTopLoc_ItemLocation) +Storage_READ_SELECTION(XCAFSchema,PCollection_HExtendedString,XCAFSchema_PCollection_HExtendedString) +Storage_END_READ_SELECTION(XCAFSchema) + +Storage_BEGIN_SCHEMA_TYPES(XCAFSchema) +Storage_SCHEMA_TYPES(PXCAFDoc_Location) +Storage_SCHEMA_TYPES(PXCAFDoc_Color) +Storage_SCHEMA_TYPES(PXCAFDoc_Volume) +Storage_SCHEMA_TYPES(PXCAFDoc_Area) +Storage_SCHEMA_TYPES(PXCAFDoc_Centroid) +Storage_SCHEMA_TYPES(PXCAFDoc_ColorTool) +Storage_SCHEMA_TYPES(PXCAFDoc_ShapeTool) +Storage_SCHEMA_TYPES(PXCAFDoc_DocumentTool) +Storage_SCHEMA_TYPES(PXCAFDoc_LayerTool) +Storage_SCHEMA_TYPES(PXCAFDoc_GraphNode) +Storage_SCHEMA_TYPES(PXCAFDoc_GraphNodeSequence) +Storage_SCHEMA_TYPES(PXCAFDoc_SeqNodeOfGraphNodeSequence) +Storage_SCHEMA_TYPES(PXCAFDoc_Datum) +Storage_SCHEMA_TYPES(PXCAFDoc_DimTol) +Storage_SCHEMA_TYPES(PXCAFDoc_DimTolTool) +Storage_SCHEMA_TYPES(PXCAFDoc_Material) +Storage_SCHEMA_TYPES(PXCAFDoc_MaterialTool) +Storage_SCHEMA_TYPES(PDF_Attribute) +Storage_SCHEMA_TYPES(Standard_Persistent) +Storage_SCHEMA_TYPES(PMMgt_PManaged) +Storage_SCHEMA_TYPES(PCollection_HAsciiString) +Storage_SCHEMA_TYPES(PColStd_HArray1OfReal) +Storage_SCHEMA_TYPES(PTopLoc_Datum3D) +Storage_SCHEMA_TYPES(PTopLoc_ItemLocation) +Storage_SCHEMA_TYPES(PCollection_HExtendedString) +Storage_END_SCHEMA_TYPES(XCAFSchema) diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema.hxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema.hxx new file mode 100644 index 000000000..8b641778a --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema.hxx @@ -0,0 +1,98 @@ +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_Macros_HeaderFile +#include +#endif +class Handle(PXCAFDoc_Location); +class Handle(PXCAFDoc_Color); +class Handle(PXCAFDoc_Volume); +class Handle(PXCAFDoc_Area); +class Handle(PXCAFDoc_Centroid); +class Handle(PXCAFDoc_ColorTool); +class Handle(PXCAFDoc_ShapeTool); +class Handle(PXCAFDoc_DocumentTool); +class Handle(PXCAFDoc_LayerTool); +class Handle(PXCAFDoc_GraphNode); +class Handle(PXCAFDoc_GraphNodeSequence); +class Handle(PXCAFDoc_SeqNodeOfGraphNodeSequence); +class Handle(PXCAFDoc_Datum); +class Handle(PXCAFDoc_DimTol); +class Handle(PXCAFDoc_DimTolTool); +class Handle(PXCAFDoc_Material); +class Handle(PXCAFDoc_MaterialTool); +class Handle(PDF_Attribute); +class Handle(Standard_Persistent); +class PTopLoc_Location; +class Quantity_Color; +class gp_Pnt; +class Standard_GUID; +class Handle(PMMgt_PManaged); +class Handle(PCollection_HAsciiString); +class Handle(PColStd_HArray1OfReal); +class Handle(PTopLoc_Datum3D); +class Handle(PTopLoc_ItemLocation); +class gp_Ax1; +class gp_Ax2; +class gp_Trsf; +class gp_Vec; +class gp_XYZ; +class DBC_VArrayOfCharacter; +class Handle(PCollection_HExtendedString); +class PColStd_FieldOfHArray1OfReal; +class gp_Dir; +class gp_Ax3; +class gp_Mat; +class gp_Trsf2d; +class DBC_VArrayOfExtCharacter; +class gp_Ax2d; +class gp_Mat2d; +class gp_Pnt2d; +class gp_Vec2d; +class gp_XY; +class gp_Dir2d; +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _XCAFSchema_HeaderFile +#define _XCAFSchema_HeaderFile + +#ifndef _Standard_Macro_HeaderFile +#include +#endif +#ifndef _Storage_Macros_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + +DEFINE_STANDARD_HANDLE(XCAFSchema,Storage_Schema) + +//! Schema +class XCAFSchema : public Storage_Schema { +public: + + Storage_DECLARE_SCHEMA_METHODS(XCAFSchema) + + DEFINE_STANDARD_RTTI(XCAFSchema) +}; + +#endif diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_DBC_VArrayOfCharacter.cxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_DBC_VArrayOfCharacter.cxx new file mode 100644 index 000000000..7218b9141 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_DBC_VArrayOfCharacter.cxx @@ -0,0 +1,45 @@ +#ifndef _XCAFSchema_DBC_VArrayOfCharacter_HeaderFile +#include +#endif +#ifndef _DBC_VArrayOfCharacter_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void XCAFSchema_DBC_VArrayOfCharacter::SWrite(const DBC_VArrayOfCharacter& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + + f.BeginWriteObjectData(); + f.PutInteger(pp.Length()); + for (Standard_Integer i = 0; i < pp.Length(); i++) { + f.PutCharacter(pp.Value(i)); + + } + f.EndWriteObjectData(); +} + +void XCAFSchema_DBC_VArrayOfCharacter::SRead(DBC_VArrayOfCharacter& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + Standard_Integer size = 0; + + f.BeginReadObjectData(); + f.GetInteger(size); + pp.Resize(size); + + for (Standard_Integer j = 0; j < size; j++) { + Standard_Character par; + + f.GetCharacter(par); + pp.SetValue(j,par); + + } + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_DBC_VArrayOfCharacter.hxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_DBC_VArrayOfCharacter.hxx new file mode 100644 index 000000000..107f908a7 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_DBC_VArrayOfCharacter.hxx @@ -0,0 +1,26 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _XCAFSchema_DBC_VArrayOfCharacter_HeaderFile +#define _XCAFSchema_DBC_VArrayOfCharacter_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + + +class DBC_VArrayOfCharacter; + +class XCAFSchema_DBC_VArrayOfCharacter { +public: + Standard_EXPORT static void SAdd(const DBC_VArrayOfCharacter&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const DBC_VArrayOfCharacter&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(DBC_VArrayOfCharacter&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_DBC_VArrayOfCharacter.ixx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_DBC_VArrayOfCharacter.ixx new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_DBC_VArrayOfCharacter.ixx @@ -0,0 +1 @@ + diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_DBC_VArrayOfExtCharacter.cxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_DBC_VArrayOfExtCharacter.cxx new file mode 100644 index 000000000..3a752140a --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_DBC_VArrayOfExtCharacter.cxx @@ -0,0 +1,45 @@ +#ifndef _XCAFSchema_DBC_VArrayOfExtCharacter_HeaderFile +#include +#endif +#ifndef _DBC_VArrayOfExtCharacter_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void XCAFSchema_DBC_VArrayOfExtCharacter::SWrite(const DBC_VArrayOfExtCharacter& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + + f.BeginWriteObjectData(); + f.PutInteger(pp.Length()); + for (Standard_Integer i = 0; i < pp.Length(); i++) { + f.PutExtCharacter(pp.Value(i)); + + } + f.EndWriteObjectData(); +} + +void XCAFSchema_DBC_VArrayOfExtCharacter::SRead(DBC_VArrayOfExtCharacter& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + Standard_Integer size = 0; + + f.BeginReadObjectData(); + f.GetInteger(size); + pp.Resize(size); + + for (Standard_Integer j = 0; j < size; j++) { + Standard_ExtCharacter par; + + f.GetExtCharacter(par); + pp.SetValue(j,par); + + } + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_DBC_VArrayOfExtCharacter.hxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_DBC_VArrayOfExtCharacter.hxx new file mode 100644 index 000000000..d616a3914 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_DBC_VArrayOfExtCharacter.hxx @@ -0,0 +1,26 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _XCAFSchema_DBC_VArrayOfExtCharacter_HeaderFile +#define _XCAFSchema_DBC_VArrayOfExtCharacter_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + + +class DBC_VArrayOfExtCharacter; + +class XCAFSchema_DBC_VArrayOfExtCharacter { +public: + Standard_EXPORT static void SAdd(const DBC_VArrayOfExtCharacter&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const DBC_VArrayOfExtCharacter&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(DBC_VArrayOfExtCharacter&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_DBC_VArrayOfExtCharacter.ixx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_DBC_VArrayOfExtCharacter.ixx new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_DBC_VArrayOfExtCharacter.ixx @@ -0,0 +1 @@ + diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PColStd_FieldOfHArray1OfReal.cxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PColStd_FieldOfHArray1OfReal.cxx new file mode 100644 index 000000000..8b75338bf --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PColStd_FieldOfHArray1OfReal.cxx @@ -0,0 +1,45 @@ +#ifndef _XCAFSchema_PColStd_FieldOfHArray1OfReal_HeaderFile +#include +#endif +#ifndef _PColStd_FieldOfHArray1OfReal_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void XCAFSchema_PColStd_FieldOfHArray1OfReal::SWrite(const PColStd_FieldOfHArray1OfReal& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + + f.BeginWriteObjectData(); + f.PutInteger(pp.Length()); + for (Standard_Integer i = 0; i < pp.Length(); i++) { + f.PutReal(pp.Value(i)); + + } + f.EndWriteObjectData(); +} + +void XCAFSchema_PColStd_FieldOfHArray1OfReal::SRead(PColStd_FieldOfHArray1OfReal& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)theSchema; // dummy to avoid compiler warning on unused arg + Standard_Integer size = 0; + + f.BeginReadObjectData(); + f.GetInteger(size); + pp.Resize(size); + + for (Standard_Integer j = 0; j < size; j++) { + Standard_Real par; + + f.GetReal(par); + pp.SetValue(j,par); + + } + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PColStd_FieldOfHArray1OfReal.hxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PColStd_FieldOfHArray1OfReal.hxx new file mode 100644 index 000000000..e1ff7da2c --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PColStd_FieldOfHArray1OfReal.hxx @@ -0,0 +1,26 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _XCAFSchema_PColStd_FieldOfHArray1OfReal_HeaderFile +#define _XCAFSchema_PColStd_FieldOfHArray1OfReal_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + + +class PColStd_FieldOfHArray1OfReal; + +class XCAFSchema_PColStd_FieldOfHArray1OfReal { +public: + Standard_EXPORT static void SAdd(const PColStd_FieldOfHArray1OfReal&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const PColStd_FieldOfHArray1OfReal&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(PColStd_FieldOfHArray1OfReal&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PColStd_FieldOfHArray1OfReal.ixx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PColStd_FieldOfHArray1OfReal.ixx new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PColStd_FieldOfHArray1OfReal.ixx @@ -0,0 +1 @@ + diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PColStd_HArray1OfReal.cxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PColStd_HArray1OfReal.cxx new file mode 100644 index 000000000..8d3c58caa --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PColStd_HArray1OfReal.cxx @@ -0,0 +1,88 @@ +#ifndef _XCAFSchema_PColStd_HArray1OfReal_HeaderFile +#include +#endif +#ifndef _PColStd_HArray1OfReal_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(XCAFSchema_PColStd_HArray1OfReal,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(XCAFSchema_PColStd_HArray1OfReal,Storage_CallBack) + +Handle(Standard_Persistent) XCAFSchema_PColStd_HArray1OfReal::New() const +{ + return new PColStd_HArray1OfReal(Storage_stCONSTclCOM()); +} + +void XCAFSchema_PColStd_HArray1OfReal::SAdd(const Handle(PColStd_HArray1OfReal)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PColStd_HArray1OfReal")) { + + } + } +} + +void XCAFSchema_PColStd_HArray1OfReal::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + XCAFSchema_PColStd_HArray1OfReal::SAdd((Handle(PColStd_HArray1OfReal)&)p,theSchema); +} + +void XCAFSchema_PColStd_HArray1OfReal::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColStd_HArray1OfReal) &pp = (Handle(PColStd_HArray1OfReal)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutInteger(pp->_CSFDB_GetPColStd_HArray1OfRealLowerBound()); + f.PutInteger(pp->_CSFDB_GetPColStd_HArray1OfRealUpperBound()); + XCAFSchema_PColStd_FieldOfHArray1OfReal::SWrite(pp->_CSFDB_GetPColStd_HArray1OfRealData(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void XCAFSchema_PColStd_HArray1OfReal::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + XCAFSchema_PColStd_HArray1OfReal::SWrite(p,f,theSchema); +} + + +void XCAFSchema_PColStd_HArray1OfReal::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PColStd_HArray1OfReal) &pp = (Handle(PColStd_HArray1OfReal)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Integer PColStd_HArray1OfRealLowerBound; + f.GetInteger(PColStd_HArray1OfRealLowerBound); + pp->_CSFDB_SetPColStd_HArray1OfRealLowerBound(PColStd_HArray1OfRealLowerBound); + + Standard_Integer PColStd_HArray1OfRealUpperBound; + f.GetInteger(PColStd_HArray1OfRealUpperBound); + pp->_CSFDB_SetPColStd_HArray1OfRealUpperBound(PColStd_HArray1OfRealUpperBound); + + XCAFSchema_PColStd_FieldOfHArray1OfReal::SRead((PColStd_FieldOfHArray1OfReal&)pp->_CSFDB_GetPColStd_HArray1OfRealData(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void XCAFSchema_PColStd_HArray1OfReal::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + XCAFSchema_PColStd_HArray1OfReal::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PColStd_HArray1OfReal.hxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PColStd_HArray1OfReal.hxx new file mode 100644 index 000000000..12537acd4 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PColStd_HArray1OfReal.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _XCAFSchema_PColStd_HArray1OfReal_HeaderFile +#define _XCAFSchema_PColStd_HArray1OfReal_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PColStd_HArray1OfReal_HeaderFile +#include +#endif + +#ifndef _XCAFSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(XCAFSchema_PColStd_HArray1OfReal,Storage_CallBack) + +class XCAFSchema_PColStd_HArray1OfReal : public Storage_CallBack { +public: + XCAFSchema_PColStd_HArray1OfReal() {} + Standard_EXPORT static void SAdd(const Handle(PColStd_HArray1OfReal)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(XCAFSchema_PColStd_HArray1OfReal) +}; +#endif diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PColStd_HArray1OfReal.ixx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PColStd_HArray1OfReal.ixx new file mode 100644 index 000000000..cb66b45ff --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PColStd_HArray1OfReal.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _XCAFSchema_PColStd_FieldOfHArray1OfReal_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PCollection_HAsciiString.cxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PCollection_HAsciiString.cxx new file mode 100644 index 000000000..1e5d3a4b6 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PCollection_HAsciiString.cxx @@ -0,0 +1,78 @@ +#ifndef _XCAFSchema_PCollection_HAsciiString_HeaderFile +#include +#endif +#ifndef _PCollection_HAsciiString_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(XCAFSchema_PCollection_HAsciiString,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(XCAFSchema_PCollection_HAsciiString,Storage_CallBack) + +Handle(Standard_Persistent) XCAFSchema_PCollection_HAsciiString::New() const +{ + return new PCollection_HAsciiString(Storage_stCONSTclCOM()); +} + +void XCAFSchema_PCollection_HAsciiString::SAdd(const Handle(PCollection_HAsciiString)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PCollection_HAsciiString")) { + + } + } +} + +void XCAFSchema_PCollection_HAsciiString::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + XCAFSchema_PCollection_HAsciiString::SAdd((Handle(PCollection_HAsciiString)&)p,theSchema); +} + +void XCAFSchema_PCollection_HAsciiString::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PCollection_HAsciiString) &pp = (Handle(PCollection_HAsciiString)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + XCAFSchema_DBC_VArrayOfCharacter::SWrite(pp->_CSFDB_GetPCollection_HAsciiStringData(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void XCAFSchema_PCollection_HAsciiString::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + XCAFSchema_PCollection_HAsciiString::SWrite(p,f,theSchema); +} + + +void XCAFSchema_PCollection_HAsciiString::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PCollection_HAsciiString) &pp = (Handle(PCollection_HAsciiString)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + XCAFSchema_DBC_VArrayOfCharacter::SRead((DBC_VArrayOfCharacter&)pp->_CSFDB_GetPCollection_HAsciiStringData(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void XCAFSchema_PCollection_HAsciiString::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + XCAFSchema_PCollection_HAsciiString::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PCollection_HAsciiString.hxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PCollection_HAsciiString.hxx new file mode 100644 index 000000000..9c5ca0fc9 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PCollection_HAsciiString.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _XCAFSchema_PCollection_HAsciiString_HeaderFile +#define _XCAFSchema_PCollection_HAsciiString_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PCollection_HAsciiString_HeaderFile +#include +#endif + +#ifndef _XCAFSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(XCAFSchema_PCollection_HAsciiString,Storage_CallBack) + +class XCAFSchema_PCollection_HAsciiString : public Storage_CallBack { +public: + XCAFSchema_PCollection_HAsciiString() {} + Standard_EXPORT static void SAdd(const Handle(PCollection_HAsciiString)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(XCAFSchema_PCollection_HAsciiString) +}; +#endif diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PCollection_HAsciiString.ixx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PCollection_HAsciiString.ixx new file mode 100644 index 000000000..fc2794666 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PCollection_HAsciiString.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _XCAFSchema_DBC_VArrayOfCharacter_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PCollection_HExtendedString.cxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PCollection_HExtendedString.cxx new file mode 100644 index 000000000..ca8308b4a --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PCollection_HExtendedString.cxx @@ -0,0 +1,78 @@ +#ifndef _XCAFSchema_PCollection_HExtendedString_HeaderFile +#include +#endif +#ifndef _PCollection_HExtendedString_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(XCAFSchema_PCollection_HExtendedString,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(XCAFSchema_PCollection_HExtendedString,Storage_CallBack) + +Handle(Standard_Persistent) XCAFSchema_PCollection_HExtendedString::New() const +{ + return new PCollection_HExtendedString(Storage_stCONSTclCOM()); +} + +void XCAFSchema_PCollection_HExtendedString::SAdd(const Handle(PCollection_HExtendedString)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PCollection_HExtendedString")) { + + } + } +} + +void XCAFSchema_PCollection_HExtendedString::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + XCAFSchema_PCollection_HExtendedString::SAdd((Handle(PCollection_HExtendedString)&)p,theSchema); +} + +void XCAFSchema_PCollection_HExtendedString::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PCollection_HExtendedString) &pp = (Handle(PCollection_HExtendedString)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + XCAFSchema_DBC_VArrayOfExtCharacter::SWrite(pp->_CSFDB_GetPCollection_HExtendedStringData(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void XCAFSchema_PCollection_HExtendedString::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + XCAFSchema_PCollection_HExtendedString::SWrite(p,f,theSchema); +} + + +void XCAFSchema_PCollection_HExtendedString::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PCollection_HExtendedString) &pp = (Handle(PCollection_HExtendedString)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + XCAFSchema_DBC_VArrayOfExtCharacter::SRead((DBC_VArrayOfExtCharacter&)pp->_CSFDB_GetPCollection_HExtendedStringData(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void XCAFSchema_PCollection_HExtendedString::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + XCAFSchema_PCollection_HExtendedString::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PCollection_HExtendedString.hxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PCollection_HExtendedString.hxx new file mode 100644 index 000000000..c2516c4c3 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PCollection_HExtendedString.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _XCAFSchema_PCollection_HExtendedString_HeaderFile +#define _XCAFSchema_PCollection_HExtendedString_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PCollection_HExtendedString_HeaderFile +#include +#endif + +#ifndef _XCAFSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(XCAFSchema_PCollection_HExtendedString,Storage_CallBack) + +class XCAFSchema_PCollection_HExtendedString : public Storage_CallBack { +public: + XCAFSchema_PCollection_HExtendedString() {} + Standard_EXPORT static void SAdd(const Handle(PCollection_HExtendedString)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(XCAFSchema_PCollection_HExtendedString) +}; +#endif diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PCollection_HExtendedString.ixx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PCollection_HExtendedString.ixx new file mode 100644 index 000000000..15d4cbaa3 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PCollection_HExtendedString.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _XCAFSchema_DBC_VArrayOfExtCharacter_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PDF_Attribute.cxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PDF_Attribute.cxx new file mode 100644 index 000000000..036adda32 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PDF_Attribute.cxx @@ -0,0 +1,76 @@ +#ifndef _XCAFSchema_PDF_Attribute_HeaderFile +#include +#endif +#ifndef _PDF_Attribute_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(XCAFSchema_PDF_Attribute,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(XCAFSchema_PDF_Attribute,Storage_CallBack) + +Handle(Standard_Persistent) XCAFSchema_PDF_Attribute::New() const +{ + Handle(Standard_Persistent) NullObject; + return NullObject; +} + +void XCAFSchema_PDF_Attribute::SAdd(const Handle(PDF_Attribute)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PDF_Attribute")) { + + } + } +} + +void XCAFSchema_PDF_Attribute::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + XCAFSchema_PDF_Attribute::SAdd((Handle(PDF_Attribute)&)p,theSchema); +} + +void XCAFSchema_PDF_Attribute::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDF_Attribute) &pp = (Handle(PDF_Attribute)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + + f.EndWritePersistentObjectData(); + } +} + +void XCAFSchema_PDF_Attribute::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + XCAFSchema_PDF_Attribute::SWrite(p,f,theSchema); +} + + +void XCAFSchema_PDF_Attribute::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PDF_Attribute) &pp = (Handle(PDF_Attribute)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + f.EndReadPersistentObjectData(); + } +} + +void XCAFSchema_PDF_Attribute::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + XCAFSchema_PDF_Attribute::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PDF_Attribute.hxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PDF_Attribute.hxx new file mode 100644 index 000000000..1c08c1141 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PDF_Attribute.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _XCAFSchema_PDF_Attribute_HeaderFile +#define _XCAFSchema_PDF_Attribute_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PDF_Attribute_HeaderFile +#include +#endif + +#ifndef _XCAFSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(XCAFSchema_PDF_Attribute,Storage_CallBack) + +class XCAFSchema_PDF_Attribute : public Storage_CallBack { +public: + XCAFSchema_PDF_Attribute() {} + Standard_EXPORT static void SAdd(const Handle(PDF_Attribute)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(XCAFSchema_PDF_Attribute) +}; +#endif diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PDF_Attribute.ixx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PDF_Attribute.ixx new file mode 100644 index 000000000..19014a4c9 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PDF_Attribute.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PMMgt_PManaged.cxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PMMgt_PManaged.cxx new file mode 100644 index 000000000..ab5fd847e --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PMMgt_PManaged.cxx @@ -0,0 +1,76 @@ +#ifndef _XCAFSchema_PMMgt_PManaged_HeaderFile +#include +#endif +#ifndef _PMMgt_PManaged_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(XCAFSchema_PMMgt_PManaged,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(XCAFSchema_PMMgt_PManaged,Storage_CallBack) + +Handle(Standard_Persistent) XCAFSchema_PMMgt_PManaged::New() const +{ + Handle(Standard_Persistent) NullObject; + return NullObject; +} + +void XCAFSchema_PMMgt_PManaged::SAdd(const Handle(PMMgt_PManaged)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PMMgt_PManaged")) { + + } + } +} + +void XCAFSchema_PMMgt_PManaged::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + XCAFSchema_PMMgt_PManaged::SAdd((Handle(PMMgt_PManaged)&)p,theSchema); +} + +void XCAFSchema_PMMgt_PManaged::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PMMgt_PManaged) &pp = (Handle(PMMgt_PManaged)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + + f.EndWritePersistentObjectData(); + } +} + +void XCAFSchema_PMMgt_PManaged::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + XCAFSchema_PMMgt_PManaged::SWrite(p,f,theSchema); +} + + +void XCAFSchema_PMMgt_PManaged::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PMMgt_PManaged) &pp = (Handle(PMMgt_PManaged)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + f.EndReadPersistentObjectData(); + } +} + +void XCAFSchema_PMMgt_PManaged::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + XCAFSchema_PMMgt_PManaged::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PMMgt_PManaged.hxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PMMgt_PManaged.hxx new file mode 100644 index 000000000..5d995c0a9 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PMMgt_PManaged.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _XCAFSchema_PMMgt_PManaged_HeaderFile +#define _XCAFSchema_PMMgt_PManaged_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PMMgt_PManaged_HeaderFile +#include +#endif + +#ifndef _XCAFSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(XCAFSchema_PMMgt_PManaged,Storage_CallBack) + +class XCAFSchema_PMMgt_PManaged : public Storage_CallBack { +public: + XCAFSchema_PMMgt_PManaged() {} + Standard_EXPORT static void SAdd(const Handle(PMMgt_PManaged)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(XCAFSchema_PMMgt_PManaged) +}; +#endif diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PMMgt_PManaged.ixx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PMMgt_PManaged.ixx new file mode 100644 index 000000000..19014a4c9 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PMMgt_PManaged.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PTopLoc_Datum3D.cxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PTopLoc_Datum3D.cxx new file mode 100644 index 000000000..1fe7f1a1e --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PTopLoc_Datum3D.cxx @@ -0,0 +1,78 @@ +#ifndef _XCAFSchema_PTopLoc_Datum3D_HeaderFile +#include +#endif +#ifndef _PTopLoc_Datum3D_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(XCAFSchema_PTopLoc_Datum3D,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(XCAFSchema_PTopLoc_Datum3D,Storage_CallBack) + +Handle(Standard_Persistent) XCAFSchema_PTopLoc_Datum3D::New() const +{ + return new PTopLoc_Datum3D(Storage_stCONSTclCOM()); +} + +void XCAFSchema_PTopLoc_Datum3D::SAdd(const Handle(PTopLoc_Datum3D)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PTopLoc_Datum3D")) { + + } + } +} + +void XCAFSchema_PTopLoc_Datum3D::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + XCAFSchema_PTopLoc_Datum3D::SAdd((Handle(PTopLoc_Datum3D)&)p,theSchema); +} + +void XCAFSchema_PTopLoc_Datum3D::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopLoc_Datum3D) &pp = (Handle(PTopLoc_Datum3D)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + XCAFSchema_gp_Trsf::SWrite(pp->_CSFDB_GetPTopLoc_Datum3DmyTrsf(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void XCAFSchema_PTopLoc_Datum3D::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + XCAFSchema_PTopLoc_Datum3D::SWrite(p,f,theSchema); +} + + +void XCAFSchema_PTopLoc_Datum3D::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopLoc_Datum3D) &pp = (Handle(PTopLoc_Datum3D)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + XCAFSchema_gp_Trsf::SRead((gp_Trsf&)pp->_CSFDB_GetPTopLoc_Datum3DmyTrsf(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void XCAFSchema_PTopLoc_Datum3D::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + XCAFSchema_PTopLoc_Datum3D::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PTopLoc_Datum3D.hxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PTopLoc_Datum3D.hxx new file mode 100644 index 000000000..34e58c4d6 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PTopLoc_Datum3D.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _XCAFSchema_PTopLoc_Datum3D_HeaderFile +#define _XCAFSchema_PTopLoc_Datum3D_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PTopLoc_Datum3D_HeaderFile +#include +#endif + +#ifndef _XCAFSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(XCAFSchema_PTopLoc_Datum3D,Storage_CallBack) + +class XCAFSchema_PTopLoc_Datum3D : public Storage_CallBack { +public: + XCAFSchema_PTopLoc_Datum3D() {} + Standard_EXPORT static void SAdd(const Handle(PTopLoc_Datum3D)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(XCAFSchema_PTopLoc_Datum3D) +}; +#endif diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PTopLoc_Datum3D.ixx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PTopLoc_Datum3D.ixx new file mode 100644 index 000000000..dd9cb4520 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PTopLoc_Datum3D.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _XCAFSchema_gp_Trsf_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PTopLoc_ItemLocation.cxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PTopLoc_ItemLocation.cxx new file mode 100644 index 000000000..b04553e0f --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PTopLoc_ItemLocation.cxx @@ -0,0 +1,91 @@ +#ifndef _XCAFSchema_PTopLoc_ItemLocation_HeaderFile +#include +#endif +#ifndef _PTopLoc_ItemLocation_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(XCAFSchema_PTopLoc_ItemLocation,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(XCAFSchema_PTopLoc_ItemLocation,Storage_CallBack) + +Handle(Standard_Persistent) XCAFSchema_PTopLoc_ItemLocation::New() const +{ + return new PTopLoc_ItemLocation(Storage_stCONSTclCOM()); +} + +void XCAFSchema_PTopLoc_ItemLocation::SAdd(const Handle(PTopLoc_ItemLocation)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PTopLoc_ItemLocation")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPTopLoc_ItemLocationmyDatum()); + XCAFSchema_PTopLoc_Location::SAdd(p->_CSFDB_GetPTopLoc_ItemLocationmyNext(),theSchema); + + } + } +} + +void XCAFSchema_PTopLoc_ItemLocation::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + XCAFSchema_PTopLoc_ItemLocation::SAdd((Handle(PTopLoc_ItemLocation)&)p,theSchema); +} + +void XCAFSchema_PTopLoc_ItemLocation::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopLoc_ItemLocation) &pp = (Handle(PTopLoc_ItemLocation)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPTopLoc_ItemLocationmyDatum(),f); + f.PutInteger(pp->_CSFDB_GetPTopLoc_ItemLocationmyPower()); + XCAFSchema_PTopLoc_Location::SWrite(pp->_CSFDB_GetPTopLoc_ItemLocationmyNext(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void XCAFSchema_PTopLoc_ItemLocation::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + XCAFSchema_PTopLoc_ItemLocation::SWrite(p,f,theSchema); +} + + +void XCAFSchema_PTopLoc_ItemLocation::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PTopLoc_ItemLocation) &pp = (Handle(PTopLoc_ItemLocation)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PTopLoc_Datum3D) PTopLoc_ItemLocationmyDatum; + + theSchema->ReadPersistentReference(PTopLoc_ItemLocationmyDatum,f); + pp->_CSFDB_SetPTopLoc_ItemLocationmyDatum(PTopLoc_ItemLocationmyDatum); + + Standard_Integer PTopLoc_ItemLocationmyPower; + f.GetInteger(PTopLoc_ItemLocationmyPower); + pp->_CSFDB_SetPTopLoc_ItemLocationmyPower(PTopLoc_ItemLocationmyPower); + + XCAFSchema_PTopLoc_Location::SRead((PTopLoc_Location&)pp->_CSFDB_GetPTopLoc_ItemLocationmyNext(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void XCAFSchema_PTopLoc_ItemLocation::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + XCAFSchema_PTopLoc_ItemLocation::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PTopLoc_ItemLocation.hxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PTopLoc_ItemLocation.hxx new file mode 100644 index 000000000..e543ab5b5 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PTopLoc_ItemLocation.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _XCAFSchema_PTopLoc_ItemLocation_HeaderFile +#define _XCAFSchema_PTopLoc_ItemLocation_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PTopLoc_ItemLocation_HeaderFile +#include +#endif + +#ifndef _XCAFSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(XCAFSchema_PTopLoc_ItemLocation,Storage_CallBack) + +class XCAFSchema_PTopLoc_ItemLocation : public Storage_CallBack { +public: + XCAFSchema_PTopLoc_ItemLocation() {} + Standard_EXPORT static void SAdd(const Handle(PTopLoc_ItemLocation)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(XCAFSchema_PTopLoc_ItemLocation) +}; +#endif diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PTopLoc_ItemLocation.ixx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PTopLoc_ItemLocation.ixx new file mode 100644 index 000000000..6223f7bac --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PTopLoc_ItemLocation.ixx @@ -0,0 +1,8 @@ +#include +#ifndef _XCAFSchema_PTopLoc_Datum3D_HeaderFile +#include +#endif +#ifndef _XCAFSchema_PTopLoc_Location_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PTopLoc_Location.cxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PTopLoc_Location.cxx new file mode 100644 index 000000000..c4f77a654 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PTopLoc_Location.cxx @@ -0,0 +1,41 @@ +#ifndef _XCAFSchema_PTopLoc_Location_HeaderFile +#include +#endif +#ifndef _PTopLoc_Location_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void XCAFSchema_PTopLoc_Location::SAdd(const PTopLoc_Location& p, const Handle(Storage_Schema)& theSchema) +{ + theSchema->PersistentToAdd(p._CSFDB_GetPTopLoc_LocationmyData()); + +} + +void XCAFSchema_PTopLoc_Location::SWrite(const PTopLoc_Location& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + theSchema->WritePersistentReference(pp._CSFDB_GetPTopLoc_LocationmyData(),f); + + f.EndWriteObjectData(); +} + +void XCAFSchema_PTopLoc_Location::SRead(PTopLoc_Location& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + Handle(PTopLoc_ItemLocation) PTopLoc_LocationmyData; + + theSchema->ReadPersistentReference(PTopLoc_LocationmyData,f); + pp._CSFDB_SetPTopLoc_LocationmyData(PTopLoc_LocationmyData); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PTopLoc_Location.hxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PTopLoc_Location.hxx new file mode 100644 index 000000000..d677f48ac --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PTopLoc_Location.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _XCAFSchema_PTopLoc_Location_HeaderFile +#define _XCAFSchema_PTopLoc_Location_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class PTopLoc_Location; + +class XCAFSchema_PTopLoc_Location { +public: + Standard_EXPORT static void SAdd(const PTopLoc_Location&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const PTopLoc_Location&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(PTopLoc_Location&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PTopLoc_Location.ixx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PTopLoc_Location.ixx new file mode 100644 index 000000000..e9a0d03f1 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PTopLoc_Location.ixx @@ -0,0 +1,4 @@ +#ifndef _XCAFSchema_PTopLoc_ItemLocation_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Area.cxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Area.cxx new file mode 100644 index 000000000..fe4cc501a --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Area.cxx @@ -0,0 +1,80 @@ +#ifndef _XCAFSchema_PXCAFDoc_Area_HeaderFile +#include +#endif +#ifndef _PXCAFDoc_Area_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(XCAFSchema_PXCAFDoc_Area,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(XCAFSchema_PXCAFDoc_Area,Storage_CallBack) + +Handle(Standard_Persistent) XCAFSchema_PXCAFDoc_Area::New() const +{ + return new PXCAFDoc_Area(Storage_stCONSTclCOM()); +} + +void XCAFSchema_PXCAFDoc_Area::SAdd(const Handle(PXCAFDoc_Area)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PXCAFDoc_Area")) { + + } + } +} + +void XCAFSchema_PXCAFDoc_Area::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + XCAFSchema_PXCAFDoc_Area::SAdd((Handle(PXCAFDoc_Area)&)p,theSchema); +} + +void XCAFSchema_PXCAFDoc_Area::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PXCAFDoc_Area) &pp = (Handle(PXCAFDoc_Area)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutReal(pp->_CSFDB_GetPXCAFDoc_AreamyValue()); + + f.EndWritePersistentObjectData(); + } +} + +void XCAFSchema_PXCAFDoc_Area::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + XCAFSchema_PXCAFDoc_Area::SWrite(p,f,theSchema); +} + + +void XCAFSchema_PXCAFDoc_Area::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PXCAFDoc_Area) &pp = (Handle(PXCAFDoc_Area)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Real PXCAFDoc_AreamyValue; + f.GetReal(PXCAFDoc_AreamyValue); + pp->_CSFDB_SetPXCAFDoc_AreamyValue(PXCAFDoc_AreamyValue); + + f.EndReadPersistentObjectData(); + } +} + +void XCAFSchema_PXCAFDoc_Area::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + XCAFSchema_PXCAFDoc_Area::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Area.hxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Area.hxx new file mode 100644 index 000000000..5122e50bc --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Area.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _XCAFSchema_PXCAFDoc_Area_HeaderFile +#define _XCAFSchema_PXCAFDoc_Area_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PXCAFDoc_Area_HeaderFile +#include +#endif + +#ifndef _XCAFSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(XCAFSchema_PXCAFDoc_Area,Storage_CallBack) + +class XCAFSchema_PXCAFDoc_Area : public Storage_CallBack { +public: + XCAFSchema_PXCAFDoc_Area() {} + Standard_EXPORT static void SAdd(const Handle(PXCAFDoc_Area)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(XCAFSchema_PXCAFDoc_Area) +}; +#endif diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Area.ixx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Area.ixx new file mode 100644 index 000000000..233e53cd8 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Area.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Centroid.cxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Centroid.cxx new file mode 100644 index 000000000..b1e979937 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Centroid.cxx @@ -0,0 +1,78 @@ +#ifndef _XCAFSchema_PXCAFDoc_Centroid_HeaderFile +#include +#endif +#ifndef _PXCAFDoc_Centroid_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(XCAFSchema_PXCAFDoc_Centroid,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(XCAFSchema_PXCAFDoc_Centroid,Storage_CallBack) + +Handle(Standard_Persistent) XCAFSchema_PXCAFDoc_Centroid::New() const +{ + return new PXCAFDoc_Centroid(Storage_stCONSTclCOM()); +} + +void XCAFSchema_PXCAFDoc_Centroid::SAdd(const Handle(PXCAFDoc_Centroid)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PXCAFDoc_Centroid")) { + + } + } +} + +void XCAFSchema_PXCAFDoc_Centroid::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + XCAFSchema_PXCAFDoc_Centroid::SAdd((Handle(PXCAFDoc_Centroid)&)p,theSchema); +} + +void XCAFSchema_PXCAFDoc_Centroid::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PXCAFDoc_Centroid) &pp = (Handle(PXCAFDoc_Centroid)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + XCAFSchema_gp_Pnt::SWrite(pp->_CSFDB_GetPXCAFDoc_CentroidmyPCentroid(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void XCAFSchema_PXCAFDoc_Centroid::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + XCAFSchema_PXCAFDoc_Centroid::SWrite(p,f,theSchema); +} + + +void XCAFSchema_PXCAFDoc_Centroid::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PXCAFDoc_Centroid) &pp = (Handle(PXCAFDoc_Centroid)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + XCAFSchema_gp_Pnt::SRead((gp_Pnt&)pp->_CSFDB_GetPXCAFDoc_CentroidmyPCentroid(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void XCAFSchema_PXCAFDoc_Centroid::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + XCAFSchema_PXCAFDoc_Centroid::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Centroid.hxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Centroid.hxx new file mode 100644 index 000000000..a26e88d7d --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Centroid.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _XCAFSchema_PXCAFDoc_Centroid_HeaderFile +#define _XCAFSchema_PXCAFDoc_Centroid_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PXCAFDoc_Centroid_HeaderFile +#include +#endif + +#ifndef _XCAFSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(XCAFSchema_PXCAFDoc_Centroid,Storage_CallBack) + +class XCAFSchema_PXCAFDoc_Centroid : public Storage_CallBack { +public: + XCAFSchema_PXCAFDoc_Centroid() {} + Standard_EXPORT static void SAdd(const Handle(PXCAFDoc_Centroid)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(XCAFSchema_PXCAFDoc_Centroid) +}; +#endif diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Centroid.ixx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Centroid.ixx new file mode 100644 index 000000000..619c500ee --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Centroid.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _XCAFSchema_gp_Pnt_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Color.cxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Color.cxx new file mode 100644 index 000000000..97f362c1f --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Color.cxx @@ -0,0 +1,78 @@ +#ifndef _XCAFSchema_PXCAFDoc_Color_HeaderFile +#include +#endif +#ifndef _PXCAFDoc_Color_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(XCAFSchema_PXCAFDoc_Color,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(XCAFSchema_PXCAFDoc_Color,Storage_CallBack) + +Handle(Standard_Persistent) XCAFSchema_PXCAFDoc_Color::New() const +{ + return new PXCAFDoc_Color(Storage_stCONSTclCOM()); +} + +void XCAFSchema_PXCAFDoc_Color::SAdd(const Handle(PXCAFDoc_Color)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PXCAFDoc_Color")) { + + } + } +} + +void XCAFSchema_PXCAFDoc_Color::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + XCAFSchema_PXCAFDoc_Color::SAdd((Handle(PXCAFDoc_Color)&)p,theSchema); +} + +void XCAFSchema_PXCAFDoc_Color::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PXCAFDoc_Color) &pp = (Handle(PXCAFDoc_Color)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + XCAFSchema_Quantity_Color::SWrite(pp->_CSFDB_GetPXCAFDoc_ColormyColor(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void XCAFSchema_PXCAFDoc_Color::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + XCAFSchema_PXCAFDoc_Color::SWrite(p,f,theSchema); +} + + +void XCAFSchema_PXCAFDoc_Color::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PXCAFDoc_Color) &pp = (Handle(PXCAFDoc_Color)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + XCAFSchema_Quantity_Color::SRead((Quantity_Color&)pp->_CSFDB_GetPXCAFDoc_ColormyColor(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void XCAFSchema_PXCAFDoc_Color::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + XCAFSchema_PXCAFDoc_Color::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Color.hxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Color.hxx new file mode 100644 index 000000000..2d7a634a8 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Color.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _XCAFSchema_PXCAFDoc_Color_HeaderFile +#define _XCAFSchema_PXCAFDoc_Color_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PXCAFDoc_Color_HeaderFile +#include +#endif + +#ifndef _XCAFSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(XCAFSchema_PXCAFDoc_Color,Storage_CallBack) + +class XCAFSchema_PXCAFDoc_Color : public Storage_CallBack { +public: + XCAFSchema_PXCAFDoc_Color() {} + Standard_EXPORT static void SAdd(const Handle(PXCAFDoc_Color)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(XCAFSchema_PXCAFDoc_Color) +}; +#endif diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Color.ixx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Color.ixx new file mode 100644 index 000000000..c75458459 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Color.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _XCAFSchema_Quantity_Color_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_ColorTool.cxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_ColorTool.cxx new file mode 100644 index 000000000..e613d83a6 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_ColorTool.cxx @@ -0,0 +1,75 @@ +#ifndef _XCAFSchema_PXCAFDoc_ColorTool_HeaderFile +#include +#endif +#ifndef _PXCAFDoc_ColorTool_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(XCAFSchema_PXCAFDoc_ColorTool,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(XCAFSchema_PXCAFDoc_ColorTool,Storage_CallBack) + +Handle(Standard_Persistent) XCAFSchema_PXCAFDoc_ColorTool::New() const +{ + return new PXCAFDoc_ColorTool(Storage_stCONSTclCOM()); +} + +void XCAFSchema_PXCAFDoc_ColorTool::SAdd(const Handle(PXCAFDoc_ColorTool)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PXCAFDoc_ColorTool")) { + + } + } +} + +void XCAFSchema_PXCAFDoc_ColorTool::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + XCAFSchema_PXCAFDoc_ColorTool::SAdd((Handle(PXCAFDoc_ColorTool)&)p,theSchema); +} + +void XCAFSchema_PXCAFDoc_ColorTool::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PXCAFDoc_ColorTool) &pp = (Handle(PXCAFDoc_ColorTool)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + + f.EndWritePersistentObjectData(); + } +} + +void XCAFSchema_PXCAFDoc_ColorTool::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + XCAFSchema_PXCAFDoc_ColorTool::SWrite(p,f,theSchema); +} + + +void XCAFSchema_PXCAFDoc_ColorTool::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PXCAFDoc_ColorTool) &pp = (Handle(PXCAFDoc_ColorTool)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + f.EndReadPersistentObjectData(); + } +} + +void XCAFSchema_PXCAFDoc_ColorTool::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + XCAFSchema_PXCAFDoc_ColorTool::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_ColorTool.hxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_ColorTool.hxx new file mode 100644 index 000000000..46a37e1ac --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_ColorTool.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _XCAFSchema_PXCAFDoc_ColorTool_HeaderFile +#define _XCAFSchema_PXCAFDoc_ColorTool_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PXCAFDoc_ColorTool_HeaderFile +#include +#endif + +#ifndef _XCAFSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(XCAFSchema_PXCAFDoc_ColorTool,Storage_CallBack) + +class XCAFSchema_PXCAFDoc_ColorTool : public Storage_CallBack { +public: + XCAFSchema_PXCAFDoc_ColorTool() {} + Standard_EXPORT static void SAdd(const Handle(PXCAFDoc_ColorTool)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(XCAFSchema_PXCAFDoc_ColorTool) +}; +#endif diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_ColorTool.ixx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_ColorTool.ixx new file mode 100644 index 000000000..233e53cd8 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_ColorTool.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Datum.cxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Datum.cxx new file mode 100644 index 000000000..e3f0229be --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Datum.cxx @@ -0,0 +1,96 @@ +#ifndef _XCAFSchema_PXCAFDoc_Datum_HeaderFile +#include +#endif +#ifndef _PXCAFDoc_Datum_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(XCAFSchema_PXCAFDoc_Datum,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(XCAFSchema_PXCAFDoc_Datum,Storage_CallBack) + +Handle(Standard_Persistent) XCAFSchema_PXCAFDoc_Datum::New() const +{ + return new PXCAFDoc_Datum(Storage_stCONSTclCOM()); +} + +void XCAFSchema_PXCAFDoc_Datum::SAdd(const Handle(PXCAFDoc_Datum)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PXCAFDoc_Datum")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPXCAFDoc_DatummyName()); + theSchema->PersistentToAdd(p->_CSFDB_GetPXCAFDoc_DatummyDescr()); + theSchema->PersistentToAdd(p->_CSFDB_GetPXCAFDoc_DatummyId()); + + } + } +} + +void XCAFSchema_PXCAFDoc_Datum::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + XCAFSchema_PXCAFDoc_Datum::SAdd((Handle(PXCAFDoc_Datum)&)p,theSchema); +} + +void XCAFSchema_PXCAFDoc_Datum::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PXCAFDoc_Datum) &pp = (Handle(PXCAFDoc_Datum)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPXCAFDoc_DatummyName(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPXCAFDoc_DatummyDescr(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPXCAFDoc_DatummyId(),f); + + f.EndWritePersistentObjectData(); + } +} + +void XCAFSchema_PXCAFDoc_Datum::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + XCAFSchema_PXCAFDoc_Datum::SWrite(p,f,theSchema); +} + + +void XCAFSchema_PXCAFDoc_Datum::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PXCAFDoc_Datum) &pp = (Handle(PXCAFDoc_Datum)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PCollection_HAsciiString) PXCAFDoc_DatummyName; + + theSchema->ReadPersistentReference(PXCAFDoc_DatummyName,f); + pp->_CSFDB_SetPXCAFDoc_DatummyName(PXCAFDoc_DatummyName); + + Handle(PCollection_HAsciiString) PXCAFDoc_DatummyDescr; + + theSchema->ReadPersistentReference(PXCAFDoc_DatummyDescr,f); + pp->_CSFDB_SetPXCAFDoc_DatummyDescr(PXCAFDoc_DatummyDescr); + + Handle(PCollection_HAsciiString) PXCAFDoc_DatummyId; + + theSchema->ReadPersistentReference(PXCAFDoc_DatummyId,f); + pp->_CSFDB_SetPXCAFDoc_DatummyId(PXCAFDoc_DatummyId); + + f.EndReadPersistentObjectData(); + } +} + +void XCAFSchema_PXCAFDoc_Datum::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + XCAFSchema_PXCAFDoc_Datum::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Datum.hxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Datum.hxx new file mode 100644 index 000000000..4e8441ef5 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Datum.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _XCAFSchema_PXCAFDoc_Datum_HeaderFile +#define _XCAFSchema_PXCAFDoc_Datum_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PXCAFDoc_Datum_HeaderFile +#include +#endif + +#ifndef _XCAFSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(XCAFSchema_PXCAFDoc_Datum,Storage_CallBack) + +class XCAFSchema_PXCAFDoc_Datum : public Storage_CallBack { +public: + XCAFSchema_PXCAFDoc_Datum() {} + Standard_EXPORT static void SAdd(const Handle(PXCAFDoc_Datum)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(XCAFSchema_PXCAFDoc_Datum) +}; +#endif diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Datum.ixx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Datum.ixx new file mode 100644 index 000000000..ee1d54021 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Datum.ixx @@ -0,0 +1,11 @@ +#include +#ifndef _XCAFSchema_PCollection_HAsciiString_HeaderFile +#include +#endif +#ifndef _XCAFSchema_PCollection_HAsciiString_HeaderFile +#include +#endif +#ifndef _XCAFSchema_PCollection_HAsciiString_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_DimTol.cxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_DimTol.cxx new file mode 100644 index 000000000..a46e9ff70 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_DimTol.cxx @@ -0,0 +1,101 @@ +#ifndef _XCAFSchema_PXCAFDoc_DimTol_HeaderFile +#include +#endif +#ifndef _PXCAFDoc_DimTol_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(XCAFSchema_PXCAFDoc_DimTol,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(XCAFSchema_PXCAFDoc_DimTol,Storage_CallBack) + +Handle(Standard_Persistent) XCAFSchema_PXCAFDoc_DimTol::New() const +{ + return new PXCAFDoc_DimTol(Storage_stCONSTclCOM()); +} + +void XCAFSchema_PXCAFDoc_DimTol::SAdd(const Handle(PXCAFDoc_DimTol)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PXCAFDoc_DimTol")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPXCAFDoc_DimTolmyVal()); + theSchema->PersistentToAdd(p->_CSFDB_GetPXCAFDoc_DimTolmyName()); + theSchema->PersistentToAdd(p->_CSFDB_GetPXCAFDoc_DimTolmyDescr()); + + } + } +} + +void XCAFSchema_PXCAFDoc_DimTol::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + XCAFSchema_PXCAFDoc_DimTol::SAdd((Handle(PXCAFDoc_DimTol)&)p,theSchema); +} + +void XCAFSchema_PXCAFDoc_DimTol::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PXCAFDoc_DimTol) &pp = (Handle(PXCAFDoc_DimTol)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutInteger(pp->_CSFDB_GetPXCAFDoc_DimTolmyKind()); + theSchema->WritePersistentReference(pp->_CSFDB_GetPXCAFDoc_DimTolmyVal(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPXCAFDoc_DimTolmyName(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPXCAFDoc_DimTolmyDescr(),f); + + f.EndWritePersistentObjectData(); + } +} + +void XCAFSchema_PXCAFDoc_DimTol::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + XCAFSchema_PXCAFDoc_DimTol::SWrite(p,f,theSchema); +} + + +void XCAFSchema_PXCAFDoc_DimTol::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PXCAFDoc_DimTol) &pp = (Handle(PXCAFDoc_DimTol)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Integer PXCAFDoc_DimTolmyKind; + f.GetInteger(PXCAFDoc_DimTolmyKind); + pp->_CSFDB_SetPXCAFDoc_DimTolmyKind(PXCAFDoc_DimTolmyKind); + + Handle(PColStd_HArray1OfReal) PXCAFDoc_DimTolmyVal; + + theSchema->ReadPersistentReference(PXCAFDoc_DimTolmyVal,f); + pp->_CSFDB_SetPXCAFDoc_DimTolmyVal(PXCAFDoc_DimTolmyVal); + + Handle(PCollection_HAsciiString) PXCAFDoc_DimTolmyName; + + theSchema->ReadPersistentReference(PXCAFDoc_DimTolmyName,f); + pp->_CSFDB_SetPXCAFDoc_DimTolmyName(PXCAFDoc_DimTolmyName); + + Handle(PCollection_HAsciiString) PXCAFDoc_DimTolmyDescr; + + theSchema->ReadPersistentReference(PXCAFDoc_DimTolmyDescr,f); + pp->_CSFDB_SetPXCAFDoc_DimTolmyDescr(PXCAFDoc_DimTolmyDescr); + + f.EndReadPersistentObjectData(); + } +} + +void XCAFSchema_PXCAFDoc_DimTol::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + XCAFSchema_PXCAFDoc_DimTol::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_DimTol.hxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_DimTol.hxx new file mode 100644 index 000000000..8b9ed9b2a --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_DimTol.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _XCAFSchema_PXCAFDoc_DimTol_HeaderFile +#define _XCAFSchema_PXCAFDoc_DimTol_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PXCAFDoc_DimTol_HeaderFile +#include +#endif + +#ifndef _XCAFSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(XCAFSchema_PXCAFDoc_DimTol,Storage_CallBack) + +class XCAFSchema_PXCAFDoc_DimTol : public Storage_CallBack { +public: + XCAFSchema_PXCAFDoc_DimTol() {} + Standard_EXPORT static void SAdd(const Handle(PXCAFDoc_DimTol)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(XCAFSchema_PXCAFDoc_DimTol) +}; +#endif diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_DimTol.ixx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_DimTol.ixx new file mode 100644 index 000000000..7c165c2a3 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_DimTol.ixx @@ -0,0 +1,11 @@ +#include +#ifndef _XCAFSchema_PColStd_HArray1OfReal_HeaderFile +#include +#endif +#ifndef _XCAFSchema_PCollection_HAsciiString_HeaderFile +#include +#endif +#ifndef _XCAFSchema_PCollection_HAsciiString_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_DimTolTool.cxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_DimTolTool.cxx new file mode 100644 index 000000000..5e528f6fc --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_DimTolTool.cxx @@ -0,0 +1,75 @@ +#ifndef _XCAFSchema_PXCAFDoc_DimTolTool_HeaderFile +#include +#endif +#ifndef _PXCAFDoc_DimTolTool_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(XCAFSchema_PXCAFDoc_DimTolTool,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(XCAFSchema_PXCAFDoc_DimTolTool,Storage_CallBack) + +Handle(Standard_Persistent) XCAFSchema_PXCAFDoc_DimTolTool::New() const +{ + return new PXCAFDoc_DimTolTool(Storage_stCONSTclCOM()); +} + +void XCAFSchema_PXCAFDoc_DimTolTool::SAdd(const Handle(PXCAFDoc_DimTolTool)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PXCAFDoc_DimTolTool")) { + + } + } +} + +void XCAFSchema_PXCAFDoc_DimTolTool::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + XCAFSchema_PXCAFDoc_DimTolTool::SAdd((Handle(PXCAFDoc_DimTolTool)&)p,theSchema); +} + +void XCAFSchema_PXCAFDoc_DimTolTool::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PXCAFDoc_DimTolTool) &pp = (Handle(PXCAFDoc_DimTolTool)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + + f.EndWritePersistentObjectData(); + } +} + +void XCAFSchema_PXCAFDoc_DimTolTool::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + XCAFSchema_PXCAFDoc_DimTolTool::SWrite(p,f,theSchema); +} + + +void XCAFSchema_PXCAFDoc_DimTolTool::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PXCAFDoc_DimTolTool) &pp = (Handle(PXCAFDoc_DimTolTool)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + f.EndReadPersistentObjectData(); + } +} + +void XCAFSchema_PXCAFDoc_DimTolTool::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + XCAFSchema_PXCAFDoc_DimTolTool::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_DimTolTool.hxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_DimTolTool.hxx new file mode 100644 index 000000000..da10ebaaa --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_DimTolTool.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _XCAFSchema_PXCAFDoc_DimTolTool_HeaderFile +#define _XCAFSchema_PXCAFDoc_DimTolTool_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PXCAFDoc_DimTolTool_HeaderFile +#include +#endif + +#ifndef _XCAFSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(XCAFSchema_PXCAFDoc_DimTolTool,Storage_CallBack) + +class XCAFSchema_PXCAFDoc_DimTolTool : public Storage_CallBack { +public: + XCAFSchema_PXCAFDoc_DimTolTool() {} + Standard_EXPORT static void SAdd(const Handle(PXCAFDoc_DimTolTool)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(XCAFSchema_PXCAFDoc_DimTolTool) +}; +#endif diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_DimTolTool.ixx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_DimTolTool.ixx new file mode 100644 index 000000000..233e53cd8 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_DimTolTool.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_DocumentTool.cxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_DocumentTool.cxx new file mode 100644 index 000000000..e9a583f72 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_DocumentTool.cxx @@ -0,0 +1,75 @@ +#ifndef _XCAFSchema_PXCAFDoc_DocumentTool_HeaderFile +#include +#endif +#ifndef _PXCAFDoc_DocumentTool_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(XCAFSchema_PXCAFDoc_DocumentTool,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(XCAFSchema_PXCAFDoc_DocumentTool,Storage_CallBack) + +Handle(Standard_Persistent) XCAFSchema_PXCAFDoc_DocumentTool::New() const +{ + return new PXCAFDoc_DocumentTool(Storage_stCONSTclCOM()); +} + +void XCAFSchema_PXCAFDoc_DocumentTool::SAdd(const Handle(PXCAFDoc_DocumentTool)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PXCAFDoc_DocumentTool")) { + + } + } +} + +void XCAFSchema_PXCAFDoc_DocumentTool::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + XCAFSchema_PXCAFDoc_DocumentTool::SAdd((Handle(PXCAFDoc_DocumentTool)&)p,theSchema); +} + +void XCAFSchema_PXCAFDoc_DocumentTool::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PXCAFDoc_DocumentTool) &pp = (Handle(PXCAFDoc_DocumentTool)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + + f.EndWritePersistentObjectData(); + } +} + +void XCAFSchema_PXCAFDoc_DocumentTool::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + XCAFSchema_PXCAFDoc_DocumentTool::SWrite(p,f,theSchema); +} + + +void XCAFSchema_PXCAFDoc_DocumentTool::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PXCAFDoc_DocumentTool) &pp = (Handle(PXCAFDoc_DocumentTool)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + f.EndReadPersistentObjectData(); + } +} + +void XCAFSchema_PXCAFDoc_DocumentTool::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + XCAFSchema_PXCAFDoc_DocumentTool::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_DocumentTool.hxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_DocumentTool.hxx new file mode 100644 index 000000000..b943a77bf --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_DocumentTool.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _XCAFSchema_PXCAFDoc_DocumentTool_HeaderFile +#define _XCAFSchema_PXCAFDoc_DocumentTool_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PXCAFDoc_DocumentTool_HeaderFile +#include +#endif + +#ifndef _XCAFSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(XCAFSchema_PXCAFDoc_DocumentTool,Storage_CallBack) + +class XCAFSchema_PXCAFDoc_DocumentTool : public Storage_CallBack { +public: + XCAFSchema_PXCAFDoc_DocumentTool() {} + Standard_EXPORT static void SAdd(const Handle(PXCAFDoc_DocumentTool)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(XCAFSchema_PXCAFDoc_DocumentTool) +}; +#endif diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_DocumentTool.ixx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_DocumentTool.ixx new file mode 100644 index 000000000..233e53cd8 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_DocumentTool.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_GraphNode.cxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_GraphNode.cxx new file mode 100644 index 000000000..244136c87 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_GraphNode.cxx @@ -0,0 +1,92 @@ +#ifndef _XCAFSchema_PXCAFDoc_GraphNode_HeaderFile +#include +#endif +#ifndef _PXCAFDoc_GraphNode_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(XCAFSchema_PXCAFDoc_GraphNode,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(XCAFSchema_PXCAFDoc_GraphNode,Storage_CallBack) + +Handle(Standard_Persistent) XCAFSchema_PXCAFDoc_GraphNode::New() const +{ + return new PXCAFDoc_GraphNode(Storage_stCONSTclCOM()); +} + +void XCAFSchema_PXCAFDoc_GraphNode::SAdd(const Handle(PXCAFDoc_GraphNode)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PXCAFDoc_GraphNode")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPXCAFDoc_GraphNodemyFathers()); + theSchema->PersistentToAdd(p->_CSFDB_GetPXCAFDoc_GraphNodemyChildren()); + + } + } +} + +void XCAFSchema_PXCAFDoc_GraphNode::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + XCAFSchema_PXCAFDoc_GraphNode::SAdd((Handle(PXCAFDoc_GraphNode)&)p,theSchema); +} + +void XCAFSchema_PXCAFDoc_GraphNode::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PXCAFDoc_GraphNode) &pp = (Handle(PXCAFDoc_GraphNode)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPXCAFDoc_GraphNodemyFathers(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPXCAFDoc_GraphNodemyChildren(),f); + XCAFSchema_Standard_GUID::SWrite(pp->_CSFDB_GetPXCAFDoc_GraphNodemyGraphID(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void XCAFSchema_PXCAFDoc_GraphNode::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + XCAFSchema_PXCAFDoc_GraphNode::SWrite(p,f,theSchema); +} + + +void XCAFSchema_PXCAFDoc_GraphNode::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PXCAFDoc_GraphNode) &pp = (Handle(PXCAFDoc_GraphNode)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PXCAFDoc_GraphNodeSequence) PXCAFDoc_GraphNodemyFathers; + + theSchema->ReadPersistentReference(PXCAFDoc_GraphNodemyFathers,f); + pp->_CSFDB_SetPXCAFDoc_GraphNodemyFathers(PXCAFDoc_GraphNodemyFathers); + + Handle(PXCAFDoc_GraphNodeSequence) PXCAFDoc_GraphNodemyChildren; + + theSchema->ReadPersistentReference(PXCAFDoc_GraphNodemyChildren,f); + pp->_CSFDB_SetPXCAFDoc_GraphNodemyChildren(PXCAFDoc_GraphNodemyChildren); + + XCAFSchema_Standard_GUID::SRead((Standard_GUID&)pp->_CSFDB_GetPXCAFDoc_GraphNodemyGraphID(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void XCAFSchema_PXCAFDoc_GraphNode::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + XCAFSchema_PXCAFDoc_GraphNode::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_GraphNode.hxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_GraphNode.hxx new file mode 100644 index 000000000..8534e969d --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_GraphNode.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _XCAFSchema_PXCAFDoc_GraphNode_HeaderFile +#define _XCAFSchema_PXCAFDoc_GraphNode_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PXCAFDoc_GraphNode_HeaderFile +#include +#endif + +#ifndef _XCAFSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(XCAFSchema_PXCAFDoc_GraphNode,Storage_CallBack) + +class XCAFSchema_PXCAFDoc_GraphNode : public Storage_CallBack { +public: + XCAFSchema_PXCAFDoc_GraphNode() {} + Standard_EXPORT static void SAdd(const Handle(PXCAFDoc_GraphNode)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(XCAFSchema_PXCAFDoc_GraphNode) +}; +#endif diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_GraphNode.ixx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_GraphNode.ixx new file mode 100644 index 000000000..1e30d6e23 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_GraphNode.ixx @@ -0,0 +1,11 @@ +#include +#ifndef _XCAFSchema_PXCAFDoc_GraphNodeSequence_HeaderFile +#include +#endif +#ifndef _XCAFSchema_PXCAFDoc_GraphNodeSequence_HeaderFile +#include +#endif +#ifndef _XCAFSchema_Standard_GUID_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_GraphNodeSequence.cxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_GraphNodeSequence.cxx new file mode 100644 index 000000000..6ab963652 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_GraphNodeSequence.cxx @@ -0,0 +1,94 @@ +#ifndef _XCAFSchema_PXCAFDoc_GraphNodeSequence_HeaderFile +#include +#endif +#ifndef _PXCAFDoc_GraphNodeSequence_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(XCAFSchema_PXCAFDoc_GraphNodeSequence,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(XCAFSchema_PXCAFDoc_GraphNodeSequence,Storage_CallBack) + +Handle(Standard_Persistent) XCAFSchema_PXCAFDoc_GraphNodeSequence::New() const +{ + return new PXCAFDoc_GraphNodeSequence(Storage_stCONSTclCOM()); +} + +void XCAFSchema_PXCAFDoc_GraphNodeSequence::SAdd(const Handle(PXCAFDoc_GraphNodeSequence)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PXCAFDoc_GraphNodeSequence")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPXCAFDoc_GraphNodeSequenceFirstItem()); + theSchema->PersistentToAdd(p->_CSFDB_GetPXCAFDoc_GraphNodeSequenceLastItem()); + + } + } +} + +void XCAFSchema_PXCAFDoc_GraphNodeSequence::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + XCAFSchema_PXCAFDoc_GraphNodeSequence::SAdd((Handle(PXCAFDoc_GraphNodeSequence)&)p,theSchema); +} + +void XCAFSchema_PXCAFDoc_GraphNodeSequence::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PXCAFDoc_GraphNodeSequence) &pp = (Handle(PXCAFDoc_GraphNodeSequence)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPXCAFDoc_GraphNodeSequenceFirstItem(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPXCAFDoc_GraphNodeSequenceLastItem(),f); + f.PutInteger(pp->_CSFDB_GetPXCAFDoc_GraphNodeSequenceSize()); + + f.EndWritePersistentObjectData(); + } +} + +void XCAFSchema_PXCAFDoc_GraphNodeSequence::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + XCAFSchema_PXCAFDoc_GraphNodeSequence::SWrite(p,f,theSchema); +} + + +void XCAFSchema_PXCAFDoc_GraphNodeSequence::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PXCAFDoc_GraphNodeSequence) &pp = (Handle(PXCAFDoc_GraphNodeSequence)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PXCAFDoc_SeqNodeOfGraphNodeSequence) PXCAFDoc_GraphNodeSequenceFirstItem; + + theSchema->ReadPersistentReference(PXCAFDoc_GraphNodeSequenceFirstItem,f); + pp->_CSFDB_SetPXCAFDoc_GraphNodeSequenceFirstItem(PXCAFDoc_GraphNodeSequenceFirstItem); + + Handle(PXCAFDoc_SeqNodeOfGraphNodeSequence) PXCAFDoc_GraphNodeSequenceLastItem; + + theSchema->ReadPersistentReference(PXCAFDoc_GraphNodeSequenceLastItem,f); + pp->_CSFDB_SetPXCAFDoc_GraphNodeSequenceLastItem(PXCAFDoc_GraphNodeSequenceLastItem); + + Standard_Integer PXCAFDoc_GraphNodeSequenceSize; + f.GetInteger(PXCAFDoc_GraphNodeSequenceSize); + pp->_CSFDB_SetPXCAFDoc_GraphNodeSequenceSize(PXCAFDoc_GraphNodeSequenceSize); + + f.EndReadPersistentObjectData(); + } +} + +void XCAFSchema_PXCAFDoc_GraphNodeSequence::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + XCAFSchema_PXCAFDoc_GraphNodeSequence::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_GraphNodeSequence.hxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_GraphNodeSequence.hxx new file mode 100644 index 000000000..85d96f348 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_GraphNodeSequence.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _XCAFSchema_PXCAFDoc_GraphNodeSequence_HeaderFile +#define _XCAFSchema_PXCAFDoc_GraphNodeSequence_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PXCAFDoc_GraphNodeSequence_HeaderFile +#include +#endif + +#ifndef _XCAFSchema_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(XCAFSchema_PXCAFDoc_GraphNodeSequence,Storage_CallBack) + +class XCAFSchema_PXCAFDoc_GraphNodeSequence : public Storage_CallBack { +public: + XCAFSchema_PXCAFDoc_GraphNodeSequence() {} + Standard_EXPORT static void SAdd(const Handle(PXCAFDoc_GraphNodeSequence)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(XCAFSchema_PXCAFDoc_GraphNodeSequence) +}; +#endif diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_GraphNodeSequence.ixx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_GraphNodeSequence.ixx new file mode 100644 index 000000000..d9ab16078 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_GraphNodeSequence.ixx @@ -0,0 +1,8 @@ +#include +#ifndef _XCAFSchema_PXCAFDoc_SeqNodeOfGraphNodeSequence_HeaderFile +#include +#endif +#ifndef _XCAFSchema_PXCAFDoc_SeqNodeOfGraphNodeSequence_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_LayerTool.cxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_LayerTool.cxx new file mode 100644 index 000000000..1baed9be1 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_LayerTool.cxx @@ -0,0 +1,75 @@ +#ifndef _XCAFSchema_PXCAFDoc_LayerTool_HeaderFile +#include +#endif +#ifndef _PXCAFDoc_LayerTool_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(XCAFSchema_PXCAFDoc_LayerTool,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(XCAFSchema_PXCAFDoc_LayerTool,Storage_CallBack) + +Handle(Standard_Persistent) XCAFSchema_PXCAFDoc_LayerTool::New() const +{ + return new PXCAFDoc_LayerTool(Storage_stCONSTclCOM()); +} + +void XCAFSchema_PXCAFDoc_LayerTool::SAdd(const Handle(PXCAFDoc_LayerTool)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PXCAFDoc_LayerTool")) { + + } + } +} + +void XCAFSchema_PXCAFDoc_LayerTool::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + XCAFSchema_PXCAFDoc_LayerTool::SAdd((Handle(PXCAFDoc_LayerTool)&)p,theSchema); +} + +void XCAFSchema_PXCAFDoc_LayerTool::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PXCAFDoc_LayerTool) &pp = (Handle(PXCAFDoc_LayerTool)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + + f.EndWritePersistentObjectData(); + } +} + +void XCAFSchema_PXCAFDoc_LayerTool::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + XCAFSchema_PXCAFDoc_LayerTool::SWrite(p,f,theSchema); +} + + +void XCAFSchema_PXCAFDoc_LayerTool::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PXCAFDoc_LayerTool) &pp = (Handle(PXCAFDoc_LayerTool)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + f.EndReadPersistentObjectData(); + } +} + +void XCAFSchema_PXCAFDoc_LayerTool::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + XCAFSchema_PXCAFDoc_LayerTool::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_LayerTool.hxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_LayerTool.hxx new file mode 100644 index 000000000..4cbaea81b --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_LayerTool.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _XCAFSchema_PXCAFDoc_LayerTool_HeaderFile +#define _XCAFSchema_PXCAFDoc_LayerTool_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PXCAFDoc_LayerTool_HeaderFile +#include +#endif + +#ifndef _XCAFSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(XCAFSchema_PXCAFDoc_LayerTool,Storage_CallBack) + +class XCAFSchema_PXCAFDoc_LayerTool : public Storage_CallBack { +public: + XCAFSchema_PXCAFDoc_LayerTool() {} + Standard_EXPORT static void SAdd(const Handle(PXCAFDoc_LayerTool)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(XCAFSchema_PXCAFDoc_LayerTool) +}; +#endif diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_LayerTool.ixx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_LayerTool.ixx new file mode 100644 index 000000000..233e53cd8 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_LayerTool.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Location.cxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Location.cxx new file mode 100644 index 000000000..1d2ef782b --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Location.cxx @@ -0,0 +1,79 @@ +#ifndef _XCAFSchema_PXCAFDoc_Location_HeaderFile +#include +#endif +#ifndef _PXCAFDoc_Location_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(XCAFSchema_PXCAFDoc_Location,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(XCAFSchema_PXCAFDoc_Location,Storage_CallBack) + +Handle(Standard_Persistent) XCAFSchema_PXCAFDoc_Location::New() const +{ + return new PXCAFDoc_Location(Storage_stCONSTclCOM()); +} + +void XCAFSchema_PXCAFDoc_Location::SAdd(const Handle(PXCAFDoc_Location)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PXCAFDoc_Location")) { + XCAFSchema_PTopLoc_Location::SAdd(p->_CSFDB_GetPXCAFDoc_LocationmyPLocation(),theSchema); + + } + } +} + +void XCAFSchema_PXCAFDoc_Location::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + XCAFSchema_PXCAFDoc_Location::SAdd((Handle(PXCAFDoc_Location)&)p,theSchema); +} + +void XCAFSchema_PXCAFDoc_Location::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PXCAFDoc_Location) &pp = (Handle(PXCAFDoc_Location)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + XCAFSchema_PTopLoc_Location::SWrite(pp->_CSFDB_GetPXCAFDoc_LocationmyPLocation(),f,theSchema); + + f.EndWritePersistentObjectData(); + } +} + +void XCAFSchema_PXCAFDoc_Location::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + XCAFSchema_PXCAFDoc_Location::SWrite(p,f,theSchema); +} + + +void XCAFSchema_PXCAFDoc_Location::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PXCAFDoc_Location) &pp = (Handle(PXCAFDoc_Location)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + XCAFSchema_PTopLoc_Location::SRead((PTopLoc_Location&)pp->_CSFDB_GetPXCAFDoc_LocationmyPLocation(),f,theSchema); + + f.EndReadPersistentObjectData(); + } +} + +void XCAFSchema_PXCAFDoc_Location::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + XCAFSchema_PXCAFDoc_Location::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Location.hxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Location.hxx new file mode 100644 index 000000000..e169fe371 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Location.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _XCAFSchema_PXCAFDoc_Location_HeaderFile +#define _XCAFSchema_PXCAFDoc_Location_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PXCAFDoc_Location_HeaderFile +#include +#endif + +#ifndef _XCAFSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(XCAFSchema_PXCAFDoc_Location,Storage_CallBack) + +class XCAFSchema_PXCAFDoc_Location : public Storage_CallBack { +public: + XCAFSchema_PXCAFDoc_Location() {} + Standard_EXPORT static void SAdd(const Handle(PXCAFDoc_Location)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(XCAFSchema_PXCAFDoc_Location) +}; +#endif diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Location.ixx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Location.ixx new file mode 100644 index 000000000..574696d2f --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Location.ixx @@ -0,0 +1,5 @@ +#include +#ifndef _XCAFSchema_PTopLoc_Location_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Material.cxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Material.cxx new file mode 100644 index 000000000..57097ed13 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Material.cxx @@ -0,0 +1,108 @@ +#ifndef _XCAFSchema_PXCAFDoc_Material_HeaderFile +#include +#endif +#ifndef _PXCAFDoc_Material_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(XCAFSchema_PXCAFDoc_Material,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(XCAFSchema_PXCAFDoc_Material,Storage_CallBack) + +Handle(Standard_Persistent) XCAFSchema_PXCAFDoc_Material::New() const +{ + return new PXCAFDoc_Material(Storage_stCONSTclCOM()); +} + +void XCAFSchema_PXCAFDoc_Material::SAdd(const Handle(PXCAFDoc_Material)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PXCAFDoc_Material")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPXCAFDoc_MaterialmyName()); + theSchema->PersistentToAdd(p->_CSFDB_GetPXCAFDoc_MaterialmyDescr()); + theSchema->PersistentToAdd(p->_CSFDB_GetPXCAFDoc_MaterialmyDensName()); + theSchema->PersistentToAdd(p->_CSFDB_GetPXCAFDoc_MaterialmyDensValType()); + + } + } +} + +void XCAFSchema_PXCAFDoc_Material::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + XCAFSchema_PXCAFDoc_Material::SAdd((Handle(PXCAFDoc_Material)&)p,theSchema); +} + +void XCAFSchema_PXCAFDoc_Material::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PXCAFDoc_Material) &pp = (Handle(PXCAFDoc_Material)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPXCAFDoc_MaterialmyName(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPXCAFDoc_MaterialmyDescr(),f); + f.PutReal(pp->_CSFDB_GetPXCAFDoc_MaterialmyDensity()); + theSchema->WritePersistentReference(pp->_CSFDB_GetPXCAFDoc_MaterialmyDensName(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPXCAFDoc_MaterialmyDensValType(),f); + + f.EndWritePersistentObjectData(); + } +} + +void XCAFSchema_PXCAFDoc_Material::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + XCAFSchema_PXCAFDoc_Material::SWrite(p,f,theSchema); +} + + +void XCAFSchema_PXCAFDoc_Material::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PXCAFDoc_Material) &pp = (Handle(PXCAFDoc_Material)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PCollection_HAsciiString) PXCAFDoc_MaterialmyName; + + theSchema->ReadPersistentReference(PXCAFDoc_MaterialmyName,f); + pp->_CSFDB_SetPXCAFDoc_MaterialmyName(PXCAFDoc_MaterialmyName); + + Handle(PCollection_HAsciiString) PXCAFDoc_MaterialmyDescr; + + theSchema->ReadPersistentReference(PXCAFDoc_MaterialmyDescr,f); + pp->_CSFDB_SetPXCAFDoc_MaterialmyDescr(PXCAFDoc_MaterialmyDescr); + + Standard_Real PXCAFDoc_MaterialmyDensity; + f.GetReal(PXCAFDoc_MaterialmyDensity); + pp->_CSFDB_SetPXCAFDoc_MaterialmyDensity(PXCAFDoc_MaterialmyDensity); + + Handle(PCollection_HAsciiString) PXCAFDoc_MaterialmyDensName; + + theSchema->ReadPersistentReference(PXCAFDoc_MaterialmyDensName,f); + pp->_CSFDB_SetPXCAFDoc_MaterialmyDensName(PXCAFDoc_MaterialmyDensName); + + Handle(PCollection_HAsciiString) PXCAFDoc_MaterialmyDensValType; + + theSchema->ReadPersistentReference(PXCAFDoc_MaterialmyDensValType,f); + pp->_CSFDB_SetPXCAFDoc_MaterialmyDensValType(PXCAFDoc_MaterialmyDensValType); + + f.EndReadPersistentObjectData(); + } +} + +void XCAFSchema_PXCAFDoc_Material::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + XCAFSchema_PXCAFDoc_Material::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Material.hxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Material.hxx new file mode 100644 index 000000000..d05153f45 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Material.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _XCAFSchema_PXCAFDoc_Material_HeaderFile +#define _XCAFSchema_PXCAFDoc_Material_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PXCAFDoc_Material_HeaderFile +#include +#endif + +#ifndef _XCAFSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(XCAFSchema_PXCAFDoc_Material,Storage_CallBack) + +class XCAFSchema_PXCAFDoc_Material : public Storage_CallBack { +public: + XCAFSchema_PXCAFDoc_Material() {} + Standard_EXPORT static void SAdd(const Handle(PXCAFDoc_Material)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(XCAFSchema_PXCAFDoc_Material) +}; +#endif diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Material.ixx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Material.ixx new file mode 100644 index 000000000..431424a68 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Material.ixx @@ -0,0 +1,14 @@ +#include +#ifndef _XCAFSchema_PCollection_HAsciiString_HeaderFile +#include +#endif +#ifndef _XCAFSchema_PCollection_HAsciiString_HeaderFile +#include +#endif +#ifndef _XCAFSchema_PCollection_HAsciiString_HeaderFile +#include +#endif +#ifndef _XCAFSchema_PCollection_HAsciiString_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_MaterialTool.cxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_MaterialTool.cxx new file mode 100644 index 000000000..2032ca523 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_MaterialTool.cxx @@ -0,0 +1,75 @@ +#ifndef _XCAFSchema_PXCAFDoc_MaterialTool_HeaderFile +#include +#endif +#ifndef _PXCAFDoc_MaterialTool_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(XCAFSchema_PXCAFDoc_MaterialTool,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(XCAFSchema_PXCAFDoc_MaterialTool,Storage_CallBack) + +Handle(Standard_Persistent) XCAFSchema_PXCAFDoc_MaterialTool::New() const +{ + return new PXCAFDoc_MaterialTool(Storage_stCONSTclCOM()); +} + +void XCAFSchema_PXCAFDoc_MaterialTool::SAdd(const Handle(PXCAFDoc_MaterialTool)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PXCAFDoc_MaterialTool")) { + + } + } +} + +void XCAFSchema_PXCAFDoc_MaterialTool::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + XCAFSchema_PXCAFDoc_MaterialTool::SAdd((Handle(PXCAFDoc_MaterialTool)&)p,theSchema); +} + +void XCAFSchema_PXCAFDoc_MaterialTool::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PXCAFDoc_MaterialTool) &pp = (Handle(PXCAFDoc_MaterialTool)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + + f.EndWritePersistentObjectData(); + } +} + +void XCAFSchema_PXCAFDoc_MaterialTool::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + XCAFSchema_PXCAFDoc_MaterialTool::SWrite(p,f,theSchema); +} + + +void XCAFSchema_PXCAFDoc_MaterialTool::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PXCAFDoc_MaterialTool) &pp = (Handle(PXCAFDoc_MaterialTool)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + f.EndReadPersistentObjectData(); + } +} + +void XCAFSchema_PXCAFDoc_MaterialTool::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + XCAFSchema_PXCAFDoc_MaterialTool::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_MaterialTool.hxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_MaterialTool.hxx new file mode 100644 index 000000000..c43c460ae --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_MaterialTool.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _XCAFSchema_PXCAFDoc_MaterialTool_HeaderFile +#define _XCAFSchema_PXCAFDoc_MaterialTool_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PXCAFDoc_MaterialTool_HeaderFile +#include +#endif + +#ifndef _XCAFSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(XCAFSchema_PXCAFDoc_MaterialTool,Storage_CallBack) + +class XCAFSchema_PXCAFDoc_MaterialTool : public Storage_CallBack { +public: + XCAFSchema_PXCAFDoc_MaterialTool() {} + Standard_EXPORT static void SAdd(const Handle(PXCAFDoc_MaterialTool)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(XCAFSchema_PXCAFDoc_MaterialTool) +}; +#endif diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_MaterialTool.ixx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_MaterialTool.ixx new file mode 100644 index 000000000..233e53cd8 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_MaterialTool.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_SeqNodeOfGraphNodeSequence.cxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_SeqNodeOfGraphNodeSequence.cxx new file mode 100644 index 000000000..59335775a --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_SeqNodeOfGraphNodeSequence.cxx @@ -0,0 +1,96 @@ +#ifndef _XCAFSchema_PXCAFDoc_SeqNodeOfGraphNodeSequence_HeaderFile +#include +#endif +#ifndef _PXCAFDoc_SeqNodeOfGraphNodeSequence_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(XCAFSchema_PXCAFDoc_SeqNodeOfGraphNodeSequence,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(XCAFSchema_PXCAFDoc_SeqNodeOfGraphNodeSequence,Storage_CallBack) + +Handle(Standard_Persistent) XCAFSchema_PXCAFDoc_SeqNodeOfGraphNodeSequence::New() const +{ + return new PXCAFDoc_SeqNodeOfGraphNodeSequence(Storage_stCONSTclCOM()); +} + +void XCAFSchema_PXCAFDoc_SeqNodeOfGraphNodeSequence::SAdd(const Handle(PXCAFDoc_SeqNodeOfGraphNodeSequence)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PXCAFDoc_SeqNodeOfGraphNodeSequence")) { + theSchema->PersistentToAdd(p->_CSFDB_GetPXCAFDoc_SeqNodeOfGraphNodeSequenceMyPrevious()); + theSchema->PersistentToAdd(p->_CSFDB_GetPXCAFDoc_SeqNodeOfGraphNodeSequenceMyItem()); + theSchema->PersistentToAdd(p->_CSFDB_GetPXCAFDoc_SeqNodeOfGraphNodeSequenceMyNext()); + + } + } +} + +void XCAFSchema_PXCAFDoc_SeqNodeOfGraphNodeSequence::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + XCAFSchema_PXCAFDoc_SeqNodeOfGraphNodeSequence::SAdd((Handle(PXCAFDoc_SeqNodeOfGraphNodeSequence)&)p,theSchema); +} + +void XCAFSchema_PXCAFDoc_SeqNodeOfGraphNodeSequence::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PXCAFDoc_SeqNodeOfGraphNodeSequence) &pp = (Handle(PXCAFDoc_SeqNodeOfGraphNodeSequence)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + theSchema->WritePersistentReference(pp->_CSFDB_GetPXCAFDoc_SeqNodeOfGraphNodeSequenceMyPrevious(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPXCAFDoc_SeqNodeOfGraphNodeSequenceMyItem(),f); + theSchema->WritePersistentReference(pp->_CSFDB_GetPXCAFDoc_SeqNodeOfGraphNodeSequenceMyNext(),f); + + f.EndWritePersistentObjectData(); + } +} + +void XCAFSchema_PXCAFDoc_SeqNodeOfGraphNodeSequence::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + XCAFSchema_PXCAFDoc_SeqNodeOfGraphNodeSequence::SWrite(p,f,theSchema); +} + + +void XCAFSchema_PXCAFDoc_SeqNodeOfGraphNodeSequence::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PXCAFDoc_SeqNodeOfGraphNodeSequence) &pp = (Handle(PXCAFDoc_SeqNodeOfGraphNodeSequence)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Handle(PXCAFDoc_SeqNodeOfGraphNodeSequence) PXCAFDoc_SeqNodeOfGraphNodeSequenceMyPrevious; + + theSchema->ReadPersistentReference(PXCAFDoc_SeqNodeOfGraphNodeSequenceMyPrevious,f); + pp->_CSFDB_SetPXCAFDoc_SeqNodeOfGraphNodeSequenceMyPrevious(PXCAFDoc_SeqNodeOfGraphNodeSequenceMyPrevious); + + Handle(PXCAFDoc_GraphNode) PXCAFDoc_SeqNodeOfGraphNodeSequenceMyItem; + + theSchema->ReadPersistentReference(PXCAFDoc_SeqNodeOfGraphNodeSequenceMyItem,f); + pp->_CSFDB_SetPXCAFDoc_SeqNodeOfGraphNodeSequenceMyItem(PXCAFDoc_SeqNodeOfGraphNodeSequenceMyItem); + + Handle(PXCAFDoc_SeqNodeOfGraphNodeSequence) PXCAFDoc_SeqNodeOfGraphNodeSequenceMyNext; + + theSchema->ReadPersistentReference(PXCAFDoc_SeqNodeOfGraphNodeSequenceMyNext,f); + pp->_CSFDB_SetPXCAFDoc_SeqNodeOfGraphNodeSequenceMyNext(PXCAFDoc_SeqNodeOfGraphNodeSequenceMyNext); + + f.EndReadPersistentObjectData(); + } +} + +void XCAFSchema_PXCAFDoc_SeqNodeOfGraphNodeSequence::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + XCAFSchema_PXCAFDoc_SeqNodeOfGraphNodeSequence::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_SeqNodeOfGraphNodeSequence.hxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_SeqNodeOfGraphNodeSequence.hxx new file mode 100644 index 000000000..f5a840986 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_SeqNodeOfGraphNodeSequence.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _XCAFSchema_PXCAFDoc_SeqNodeOfGraphNodeSequence_HeaderFile +#define _XCAFSchema_PXCAFDoc_SeqNodeOfGraphNodeSequence_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PXCAFDoc_SeqNodeOfGraphNodeSequence_HeaderFile +#include +#endif + +#ifndef _XCAFSchema_PMMgt_PManaged_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(XCAFSchema_PXCAFDoc_SeqNodeOfGraphNodeSequence,Storage_CallBack) + +class XCAFSchema_PXCAFDoc_SeqNodeOfGraphNodeSequence : public Storage_CallBack { +public: + XCAFSchema_PXCAFDoc_SeqNodeOfGraphNodeSequence() {} + Standard_EXPORT static void SAdd(const Handle(PXCAFDoc_SeqNodeOfGraphNodeSequence)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(XCAFSchema_PXCAFDoc_SeqNodeOfGraphNodeSequence) +}; +#endif diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_SeqNodeOfGraphNodeSequence.ixx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_SeqNodeOfGraphNodeSequence.ixx new file mode 100644 index 000000000..0335f1fc6 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_SeqNodeOfGraphNodeSequence.ixx @@ -0,0 +1,11 @@ +#include +#ifndef _XCAFSchema_PXCAFDoc_SeqNodeOfGraphNodeSequence_HeaderFile +#include +#endif +#ifndef _XCAFSchema_PXCAFDoc_GraphNode_HeaderFile +#include +#endif +#ifndef _XCAFSchema_PXCAFDoc_SeqNodeOfGraphNodeSequence_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_ShapeTool.cxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_ShapeTool.cxx new file mode 100644 index 000000000..1249a3687 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_ShapeTool.cxx @@ -0,0 +1,75 @@ +#ifndef _XCAFSchema_PXCAFDoc_ShapeTool_HeaderFile +#include +#endif +#ifndef _PXCAFDoc_ShapeTool_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(XCAFSchema_PXCAFDoc_ShapeTool,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(XCAFSchema_PXCAFDoc_ShapeTool,Storage_CallBack) + +Handle(Standard_Persistent) XCAFSchema_PXCAFDoc_ShapeTool::New() const +{ + return new PXCAFDoc_ShapeTool(Storage_stCONSTclCOM()); +} + +void XCAFSchema_PXCAFDoc_ShapeTool::SAdd(const Handle(PXCAFDoc_ShapeTool)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PXCAFDoc_ShapeTool")) { + + } + } +} + +void XCAFSchema_PXCAFDoc_ShapeTool::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + XCAFSchema_PXCAFDoc_ShapeTool::SAdd((Handle(PXCAFDoc_ShapeTool)&)p,theSchema); +} + +void XCAFSchema_PXCAFDoc_ShapeTool::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PXCAFDoc_ShapeTool) &pp = (Handle(PXCAFDoc_ShapeTool)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + + f.EndWritePersistentObjectData(); + } +} + +void XCAFSchema_PXCAFDoc_ShapeTool::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + XCAFSchema_PXCAFDoc_ShapeTool::SWrite(p,f,theSchema); +} + + +void XCAFSchema_PXCAFDoc_ShapeTool::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PXCAFDoc_ShapeTool) &pp = (Handle(PXCAFDoc_ShapeTool)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + f.EndReadPersistentObjectData(); + } +} + +void XCAFSchema_PXCAFDoc_ShapeTool::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + XCAFSchema_PXCAFDoc_ShapeTool::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_ShapeTool.hxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_ShapeTool.hxx new file mode 100644 index 000000000..016e337c9 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_ShapeTool.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _XCAFSchema_PXCAFDoc_ShapeTool_HeaderFile +#define _XCAFSchema_PXCAFDoc_ShapeTool_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PXCAFDoc_ShapeTool_HeaderFile +#include +#endif + +#ifndef _XCAFSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(XCAFSchema_PXCAFDoc_ShapeTool,Storage_CallBack) + +class XCAFSchema_PXCAFDoc_ShapeTool : public Storage_CallBack { +public: + XCAFSchema_PXCAFDoc_ShapeTool() {} + Standard_EXPORT static void SAdd(const Handle(PXCAFDoc_ShapeTool)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(XCAFSchema_PXCAFDoc_ShapeTool) +}; +#endif diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_ShapeTool.ixx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_ShapeTool.ixx new file mode 100644 index 000000000..233e53cd8 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_ShapeTool.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Volume.cxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Volume.cxx new file mode 100644 index 000000000..81c75ce4e --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Volume.cxx @@ -0,0 +1,80 @@ +#ifndef _XCAFSchema_PXCAFDoc_Volume_HeaderFile +#include +#endif +#ifndef _PXCAFDoc_Volume_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(XCAFSchema_PXCAFDoc_Volume,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(XCAFSchema_PXCAFDoc_Volume,Storage_CallBack) + +Handle(Standard_Persistent) XCAFSchema_PXCAFDoc_Volume::New() const +{ + return new PXCAFDoc_Volume(Storage_stCONSTclCOM()); +} + +void XCAFSchema_PXCAFDoc_Volume::SAdd(const Handle(PXCAFDoc_Volume)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"PXCAFDoc_Volume")) { + + } + } +} + +void XCAFSchema_PXCAFDoc_Volume::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + XCAFSchema_PXCAFDoc_Volume::SAdd((Handle(PXCAFDoc_Volume)&)p,theSchema); +} + +void XCAFSchema_PXCAFDoc_Volume::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PXCAFDoc_Volume) &pp = (Handle(PXCAFDoc_Volume)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + f.PutReal(pp->_CSFDB_GetPXCAFDoc_VolumemyValue()); + + f.EndWritePersistentObjectData(); + } +} + +void XCAFSchema_PXCAFDoc_Volume::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + XCAFSchema_PXCAFDoc_Volume::SWrite(p,f,theSchema); +} + + +void XCAFSchema_PXCAFDoc_Volume::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(PXCAFDoc_Volume) &pp = (Handle(PXCAFDoc_Volume)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + Standard_Real PXCAFDoc_VolumemyValue; + f.GetReal(PXCAFDoc_VolumemyValue); + pp->_CSFDB_SetPXCAFDoc_VolumemyValue(PXCAFDoc_VolumemyValue); + + f.EndReadPersistentObjectData(); + } +} + +void XCAFSchema_PXCAFDoc_Volume::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + XCAFSchema_PXCAFDoc_Volume::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Volume.hxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Volume.hxx new file mode 100644 index 000000000..5241da349 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Volume.hxx @@ -0,0 +1,43 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _XCAFSchema_PXCAFDoc_Volume_HeaderFile +#define _XCAFSchema_PXCAFDoc_Volume_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_PXCAFDoc_Volume_HeaderFile +#include +#endif + +#ifndef _XCAFSchema_PDF_Attribute_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(XCAFSchema_PXCAFDoc_Volume,Storage_CallBack) + +class XCAFSchema_PXCAFDoc_Volume : public Storage_CallBack { +public: + XCAFSchema_PXCAFDoc_Volume() {} + Standard_EXPORT static void SAdd(const Handle(PXCAFDoc_Volume)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(XCAFSchema_PXCAFDoc_Volume) +}; +#endif diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Volume.ixx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Volume.ixx new file mode 100644 index 000000000..233e53cd8 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_PXCAFDoc_Volume.ixx @@ -0,0 +1,2 @@ +#include + diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_Quantity_Color.cxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_Quantity_Color.cxx new file mode 100644 index 000000000..d3c911ca2 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_Quantity_Color.cxx @@ -0,0 +1,43 @@ +#ifndef _XCAFSchema_Quantity_Color_HeaderFile +#include +#endif +#ifndef _Quantity_Color_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void XCAFSchema_Quantity_Color::SWrite(const Quantity_Color& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + f.PutShortReal(pp.Red()); + f.PutShortReal(pp.Green()); + f.PutShortReal(pp.Blue()); + + f.EndWriteObjectData(); +} + +void XCAFSchema_Quantity_Color::SRead(Quantity_Color& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + Standard_ShortReal Quantity_ColorMyRed; + f.GetShortReal(Quantity_ColorMyRed); + + Standard_ShortReal Quantity_ColorMyGreen; + f.GetShortReal(Quantity_ColorMyGreen); + + Standard_ShortReal Quantity_ColorMyBlue; + f.GetShortReal(Quantity_ColorMyBlue); + + pp.SetValues(Quantity_ColorMyRed, Quantity_ColorMyGreen, Quantity_ColorMyBlue, Quantity_TOC_RGB); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_Quantity_Color.hxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_Quantity_Color.hxx new file mode 100644 index 000000000..e3310502f --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_Quantity_Color.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _XCAFSchema_Quantity_Color_HeaderFile +#define _XCAFSchema_Quantity_Color_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class Quantity_Color; + +class XCAFSchema_Quantity_Color { +public: + Standard_EXPORT static void SAdd(const Quantity_Color&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const Quantity_Color&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(Quantity_Color&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_Quantity_Color.ixx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_Quantity_Color.ixx new file mode 100644 index 000000000..e69de29bb diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_Standard_GUID.cxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_Standard_GUID.cxx new file mode 100644 index 000000000..75f2d4085 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_Standard_GUID.cxx @@ -0,0 +1,80 @@ +#ifndef _XCAFSchema_Standard_GUID_HeaderFile +#include +#endif +#ifndef _Standard_GUID_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void XCAFSchema_Standard_GUID::SWrite(const Standard_GUID& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); +// f.PutInteger(pp._CSFDB_GetStandard_GUIDmy32b()); +// f.PutExtCharacter(pp._CSFDB_GetStandard_GUIDmy16b1()); +// f.PutExtCharacter(pp._CSFDB_GetStandard_GUIDmy16b2()); +// f.PutExtCharacter(pp._CSFDB_GetStandard_GUIDmy16b3()); +// f.PutCharacter(pp._CSFDB_GetStandard_GUIDmy8b1()); +// f.PutCharacter(pp._CSFDB_GetStandard_GUIDmy8b2()); +// f.PutCharacter(pp._CSFDB_GetStandard_GUIDmy8b3()); +// f.PutCharacter(pp._CSFDB_GetStandard_GUIDmy8b4()); +// f.PutCharacter(pp._CSFDB_GetStandard_GUIDmy8b5()); +// f.PutCharacter(pp._CSFDB_GetStandard_GUIDmy8b6()); + + f.EndWriteObjectData(); +} + +void XCAFSchema_Standard_GUID::SRead(Standard_GUID& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + Standard_Integer Standard_GUIDmy32b; + f.GetInteger(Standard_GUIDmy32b); + + Standard_ExtCharacter Standard_GUIDmy16b1; + f.GetExtCharacter(Standard_GUIDmy16b1); + + Standard_ExtCharacter Standard_GUIDmy16b2; + f.GetExtCharacter(Standard_GUIDmy16b2); + + Standard_ExtCharacter Standard_GUIDmy16b3; + f.GetExtCharacter(Standard_GUIDmy16b3); + + Standard_Character Standard_GUIDmy8b1; + f.GetCharacter(Standard_GUIDmy8b1); + + Standard_Character Standard_GUIDmy8b2; + f.GetCharacter(Standard_GUIDmy8b2); + + Standard_Character Standard_GUIDmy8b3; + f.GetCharacter(Standard_GUIDmy8b3); + + Standard_Character Standard_GUIDmy8b4; + f.GetCharacter(Standard_GUIDmy8b4); + + Standard_Character Standard_GUIDmy8b5; + f.GetCharacter(Standard_GUIDmy8b5); + + Standard_Character Standard_GUIDmy8b6; + f.GetCharacter(Standard_GUIDmy8b6); + + pp = Standard_GUID(Standard_GUIDmy32b, + Standard_GUIDmy16b1, + Standard_GUIDmy16b2, + Standard_GUIDmy16b3, + Standard_GUIDmy8b1, + Standard_GUIDmy8b2, + Standard_GUIDmy8b3, + Standard_GUIDmy8b4, + Standard_GUIDmy8b5, + Standard_GUIDmy8b6); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_Standard_GUID.hxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_Standard_GUID.hxx new file mode 100644 index 000000000..141adce0e --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_Standard_GUID.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _XCAFSchema_Standard_GUID_HeaderFile +#define _XCAFSchema_Standard_GUID_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class Standard_GUID; + +class XCAFSchema_Standard_GUID { +public: + Standard_EXPORT static void SAdd(const Standard_GUID&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const Standard_GUID&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(Standard_GUID&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_Standard_GUID.ixx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_Standard_GUID.ixx new file mode 100644 index 000000000..e69de29bb diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_Standard_Persistent.cxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_Standard_Persistent.cxx new file mode 100644 index 000000000..18ae53607 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_Standard_Persistent.cxx @@ -0,0 +1,76 @@ +#ifndef _XCAFSchema_Standard_Persistent_HeaderFile +#include +#endif +#ifndef _Standard_Persistent_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +IMPLEMENT_STANDARD_HANDLE(XCAFSchema_Standard_Persistent,Storage_CallBack) +IMPLEMENT_STANDARD_RTTIEXT(XCAFSchema_Standard_Persistent,Storage_CallBack) + +Handle(Standard_Persistent) XCAFSchema_Standard_Persistent::New() const +{ + Handle(Standard_Persistent) NullObject; + return NullObject; +} + +void XCAFSchema_Standard_Persistent::SAdd(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + if (theSchema->AddPersistent(p,"Standard_Persistent")) { + + } + } +} + +void XCAFSchema_Standard_Persistent::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const +{ + XCAFSchema_Standard_Persistent::SAdd((Handle(Standard_Persistent)&)p,theSchema); +} + +void XCAFSchema_Standard_Persistent::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(Standard_Persistent) &pp = (Handle(Standard_Persistent)&)p; + theSchema->WritePersistentObjectHeader(p,f); + + (void)pp; // dummy to avoid compiler warning on unused arg + + f.BeginWritePersistentObjectData(); + + f.EndWritePersistentObjectData(); + } +} + +void XCAFSchema_Standard_Persistent::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const +{ + XCAFSchema_Standard_Persistent::SWrite(p,f,theSchema); +} + + +void XCAFSchema_Standard_Persistent::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + if (!p.IsNull()) { + Handle(Standard_Persistent) &pp = (Handle(Standard_Persistent)&)p; + + (void)pp; // dummy to avoid compiler warning on unused arg + + theSchema->ReadPersistentObjectHeader(f); + f.BeginReadPersistentObjectData(); + + f.EndReadPersistentObjectData(); + } +} + +void XCAFSchema_Standard_Persistent::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const + +{ + XCAFSchema_Standard_Persistent::SRead(p,f,theSchema); +} diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_Standard_Persistent.hxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_Standard_Persistent.hxx new file mode 100644 index 000000000..ef96506ba --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_Standard_Persistent.hxx @@ -0,0 +1,39 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _XCAFSchema_Standard_Persistent_HeaderFile +#define _XCAFSchema_Standard_Persistent_HeaderFile + +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_CallBack_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif +#ifndef _Handle_Standard_Persistent_HeaderFile +#include +#endif + + +DEFINE_STANDARD_HANDLE(XCAFSchema_Standard_Persistent,Storage_CallBack) + +class XCAFSchema_Standard_Persistent : public Storage_CallBack { +public: + XCAFSchema_Standard_Persistent() {} + Standard_EXPORT static void SAdd(const Handle(Standard_Persistent)& ,const Handle(Storage_Schema)&); + Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&); + + Standard_EXPORT Handle_Standard_Persistent New() const; + Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const; + + DEFINE_STANDARD_RTTI(XCAFSchema_Standard_Persistent) +}; +#endif diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_Standard_Persistent.ixx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_Standard_Persistent.ixx new file mode 100644 index 000000000..e69de29bb diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Ax1.cxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Ax1.cxx new file mode 100644 index 000000000..fc023dba8 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Ax1.cxx @@ -0,0 +1,35 @@ +#ifndef _XCAFSchema_gp_Ax1_HeaderFile +#include +#endif +#ifndef _gp_Ax1_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void XCAFSchema_gp_Ax1::SWrite(const gp_Ax1& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + XCAFSchema_gp_Pnt::SWrite(pp.Location(),f,theSchema); + XCAFSchema_gp_Dir::SWrite(pp.Direction(),f,theSchema); + + f.EndWriteObjectData(); +} + +void XCAFSchema_gp_Ax1::SRead(gp_Ax1& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + XCAFSchema_gp_Pnt::SRead((gp_Pnt&)pp.Location(),f,theSchema); + + XCAFSchema_gp_Dir::SRead((gp_Dir&)pp.Direction(),f,theSchema); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Ax1.hxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Ax1.hxx new file mode 100644 index 000000000..a2cc8a7f6 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Ax1.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _XCAFSchema_gp_Ax1_HeaderFile +#define _XCAFSchema_gp_Ax1_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class gp_Ax1; + +class XCAFSchema_gp_Ax1 { +public: + Standard_EXPORT static void SAdd(const gp_Ax1&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const gp_Ax1&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(gp_Ax1&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Ax1.ixx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Ax1.ixx new file mode 100644 index 000000000..e5253ca62 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Ax1.ixx @@ -0,0 +1,7 @@ +#ifndef _XCAFSchema_gp_Pnt_HeaderFile +#include +#endif +#ifndef _XCAFSchema_gp_Dir_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Ax2.cxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Ax2.cxx new file mode 100644 index 000000000..046d5cc0f --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Ax2.cxx @@ -0,0 +1,38 @@ +#ifndef _XCAFSchema_gp_Ax2_HeaderFile +#include +#endif +#ifndef _gp_Ax2_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void XCAFSchema_gp_Ax2::SWrite(const gp_Ax2& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + XCAFSchema_gp_Ax1::SWrite(pp.Axis(),f,theSchema); + XCAFSchema_gp_Dir::SWrite(pp.YDirection(),f,theSchema); + XCAFSchema_gp_Dir::SWrite(pp.XDirection(),f,theSchema); + + f.EndWriteObjectData(); +} + +void XCAFSchema_gp_Ax2::SRead(gp_Ax2& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + XCAFSchema_gp_Ax1::SRead((gp_Ax1&)pp.Axis(),f,theSchema); + + XCAFSchema_gp_Dir::SRead((gp_Dir&)pp.YDirection(),f,theSchema); + + XCAFSchema_gp_Dir::SRead((gp_Dir&)pp.XDirection(),f,theSchema); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Ax2.hxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Ax2.hxx new file mode 100644 index 000000000..bef6773df --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Ax2.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _XCAFSchema_gp_Ax2_HeaderFile +#define _XCAFSchema_gp_Ax2_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class gp_Ax2; + +class XCAFSchema_gp_Ax2 { +public: + Standard_EXPORT static void SAdd(const gp_Ax2&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const gp_Ax2&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(gp_Ax2&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Ax2.ixx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Ax2.ixx new file mode 100644 index 000000000..28d293327 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Ax2.ixx @@ -0,0 +1,10 @@ +#ifndef _XCAFSchema_gp_Ax1_HeaderFile +#include +#endif +#ifndef _XCAFSchema_gp_Dir_HeaderFile +#include +#endif +#ifndef _XCAFSchema_gp_Dir_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Ax2d.cxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Ax2d.cxx new file mode 100644 index 000000000..30117e324 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Ax2d.cxx @@ -0,0 +1,35 @@ +#ifndef _XCAFSchema_gp_Ax2d_HeaderFile +#include +#endif +#ifndef _gp_Ax2d_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void XCAFSchema_gp_Ax2d::SWrite(const gp_Ax2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + XCAFSchema_gp_Pnt2d::SWrite(pp.Location(),f,theSchema); + XCAFSchema_gp_Dir2d::SWrite(pp.Direction(),f,theSchema); + + f.EndWriteObjectData(); +} + +void XCAFSchema_gp_Ax2d::SRead(gp_Ax2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + XCAFSchema_gp_Pnt2d::SRead((gp_Pnt2d&)pp.Location(),f,theSchema); + + XCAFSchema_gp_Dir2d::SRead((gp_Dir2d&)pp.Direction(),f,theSchema); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Ax2d.hxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Ax2d.hxx new file mode 100644 index 000000000..6d1f893f9 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Ax2d.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _XCAFSchema_gp_Ax2d_HeaderFile +#define _XCAFSchema_gp_Ax2d_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class gp_Ax2d; + +class XCAFSchema_gp_Ax2d { +public: + Standard_EXPORT static void SAdd(const gp_Ax2d&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const gp_Ax2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(gp_Ax2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Ax2d.ixx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Ax2d.ixx new file mode 100644 index 000000000..84158c09d --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Ax2d.ixx @@ -0,0 +1,7 @@ +#ifndef _XCAFSchema_gp_Pnt2d_HeaderFile +#include +#endif +#ifndef _XCAFSchema_gp_Dir2d_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Ax3.cxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Ax3.cxx new file mode 100644 index 000000000..e687362a8 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Ax3.cxx @@ -0,0 +1,38 @@ +#ifndef _XCAFSchema_gp_Ax3_HeaderFile +#include +#endif +#ifndef _gp_Ax3_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void XCAFSchema_gp_Ax3::SWrite(const gp_Ax3& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + XCAFSchema_gp_Ax1::SWrite(pp.Axis(),f,theSchema); + XCAFSchema_gp_Dir::SWrite(pp.YDirection(),f,theSchema); + XCAFSchema_gp_Dir::SWrite(pp.XDirection(),f,theSchema); + + f.EndWriteObjectData(); +} + +void XCAFSchema_gp_Ax3::SRead(gp_Ax3& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + XCAFSchema_gp_Ax1::SRead((gp_Ax1&)pp.Axis(),f,theSchema); + + XCAFSchema_gp_Dir::SRead((gp_Dir&)pp.YDirection(),f,theSchema); + + XCAFSchema_gp_Dir::SRead((gp_Dir&)pp.XDirection(),f,theSchema); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Ax3.hxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Ax3.hxx new file mode 100644 index 000000000..0cbfb96c0 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Ax3.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _XCAFSchema_gp_Ax3_HeaderFile +#define _XCAFSchema_gp_Ax3_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class gp_Ax3; + +class XCAFSchema_gp_Ax3 { +public: + Standard_EXPORT static void SAdd(const gp_Ax3&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const gp_Ax3&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(gp_Ax3&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Ax3.ixx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Ax3.ixx new file mode 100644 index 000000000..28d293327 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Ax3.ixx @@ -0,0 +1,10 @@ +#ifndef _XCAFSchema_gp_Ax1_HeaderFile +#include +#endif +#ifndef _XCAFSchema_gp_Dir_HeaderFile +#include +#endif +#ifndef _XCAFSchema_gp_Dir_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Dir.cxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Dir.cxx new file mode 100644 index 000000000..8c26962bf --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Dir.cxx @@ -0,0 +1,32 @@ +#ifndef _XCAFSchema_gp_Dir_HeaderFile +#include +#endif +#ifndef _gp_Dir_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void XCAFSchema_gp_Dir::SWrite(const gp_Dir& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + XCAFSchema_gp_XYZ::SWrite(pp.XYZ(),f,theSchema); + + f.EndWriteObjectData(); +} + +void XCAFSchema_gp_Dir::SRead(gp_Dir& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + XCAFSchema_gp_XYZ::SRead((gp_XYZ&)pp.XYZ(),f,theSchema); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Dir.hxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Dir.hxx new file mode 100644 index 000000000..2b9d2e003 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Dir.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _XCAFSchema_gp_Dir_HeaderFile +#define _XCAFSchema_gp_Dir_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class gp_Dir; + +class XCAFSchema_gp_Dir { +public: + Standard_EXPORT static void SAdd(const gp_Dir&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const gp_Dir&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(gp_Dir&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Dir.ixx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Dir.ixx new file mode 100644 index 000000000..626cb4673 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Dir.ixx @@ -0,0 +1,4 @@ +#ifndef _XCAFSchema_gp_XYZ_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Dir2d.cxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Dir2d.cxx new file mode 100644 index 000000000..6f3319b3c --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Dir2d.cxx @@ -0,0 +1,32 @@ +#ifndef _XCAFSchema_gp_Dir2d_HeaderFile +#include +#endif +#ifndef _gp_Dir2d_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void XCAFSchema_gp_Dir2d::SWrite(const gp_Dir2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + XCAFSchema_gp_XY::SWrite(pp.XY(),f,theSchema); + + f.EndWriteObjectData(); +} + +void XCAFSchema_gp_Dir2d::SRead(gp_Dir2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + XCAFSchema_gp_XY::SRead((gp_XY&)pp.XY(),f,theSchema); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Dir2d.hxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Dir2d.hxx new file mode 100644 index 000000000..32a43624c --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Dir2d.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _XCAFSchema_gp_Dir2d_HeaderFile +#define _XCAFSchema_gp_Dir2d_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class gp_Dir2d; + +class XCAFSchema_gp_Dir2d { +public: + Standard_EXPORT static void SAdd(const gp_Dir2d&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const gp_Dir2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(gp_Dir2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Dir2d.ixx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Dir2d.ixx new file mode 100644 index 000000000..13651f4c8 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Dir2d.ixx @@ -0,0 +1,4 @@ +#ifndef _XCAFSchema_gp_XY_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Mat.cxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Mat.cxx new file mode 100644 index 000000000..4a2a3aa96 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Mat.cxx @@ -0,0 +1,48 @@ +#ifndef _XCAFSchema_gp_Mat_HeaderFile +#include +#endif +#ifndef _gp_Mat_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void XCAFSchema_gp_Mat::SWrite(const gp_Mat& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + Standard_Integer gp_Matmatrix1 = 0,gp_Matmatrix2 = 0; + + for (gp_Matmatrix1 = 1; gp_Matmatrix1 <= 3; gp_Matmatrix1++) + for (gp_Matmatrix2 = 1; gp_Matmatrix2 <= 3; gp_Matmatrix2++) + { + f.PutReal(pp.Value(gp_Matmatrix1,gp_Matmatrix2)); + + } + + f.EndWriteObjectData(); +} + +void XCAFSchema_gp_Mat::SRead(gp_Mat& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + Standard_Integer gp_Matmatrix1 = 0,gp_Matmatrix2 = 0; + + for (gp_Matmatrix1 = 1; gp_Matmatrix1 <= 3; gp_Matmatrix1++) + for (gp_Matmatrix2 = 1; gp_Matmatrix2 <= 3; gp_Matmatrix2++) + { + Standard_Real gp_Matmatrix; + + f.GetReal(gp_Matmatrix); + pp.ChangeValue(gp_Matmatrix1,gp_Matmatrix2) = gp_Matmatrix; + +} + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Mat.hxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Mat.hxx new file mode 100644 index 000000000..3c9ab5dbb --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Mat.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _XCAFSchema_gp_Mat_HeaderFile +#define _XCAFSchema_gp_Mat_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class gp_Mat; + +class XCAFSchema_gp_Mat { +public: + Standard_EXPORT static void SAdd(const gp_Mat&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const gp_Mat&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(gp_Mat&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Mat.ixx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Mat.ixx new file mode 100644 index 000000000..e69de29bb diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Mat2d.cxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Mat2d.cxx new file mode 100644 index 000000000..0ca1be6b4 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Mat2d.cxx @@ -0,0 +1,48 @@ +#ifndef _XCAFSchema_gp_Mat2d_HeaderFile +#include +#endif +#ifndef _gp_Mat2d_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void XCAFSchema_gp_Mat2d::SWrite(const gp_Mat2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + Standard_Integer gp_Mat2dmatrix1 = 0,gp_Mat2dmatrix2 = 0; + + for (gp_Mat2dmatrix1 = 1; gp_Mat2dmatrix1 <= 2; gp_Mat2dmatrix1++) + for (gp_Mat2dmatrix2 = 1; gp_Mat2dmatrix2 <= 2; gp_Mat2dmatrix2++) + { + f.PutReal(pp.Value(gp_Mat2dmatrix1,gp_Mat2dmatrix2)); + + } + + f.EndWriteObjectData(); +} + +void XCAFSchema_gp_Mat2d::SRead(gp_Mat2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + Standard_Integer gp_Mat2dmatrix1 = 0,gp_Mat2dmatrix2 = 0; + + for (gp_Mat2dmatrix1 = 1; gp_Mat2dmatrix1 <= 2; gp_Mat2dmatrix1++) + for (gp_Mat2dmatrix2 = 1; gp_Mat2dmatrix2 <= 2; gp_Mat2dmatrix2++) + { + Standard_Real gp_Mat2dmatrix; + + f.GetReal(gp_Mat2dmatrix); + pp.ChangeValue(gp_Mat2dmatrix1,gp_Mat2dmatrix2) = gp_Mat2dmatrix; + +} + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Mat2d.hxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Mat2d.hxx new file mode 100644 index 000000000..30411031f --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Mat2d.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _XCAFSchema_gp_Mat2d_HeaderFile +#define _XCAFSchema_gp_Mat2d_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class gp_Mat2d; + +class XCAFSchema_gp_Mat2d { +public: + Standard_EXPORT static void SAdd(const gp_Mat2d&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const gp_Mat2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(gp_Mat2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Mat2d.ixx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Mat2d.ixx new file mode 100644 index 000000000..e69de29bb diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Pnt.cxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Pnt.cxx new file mode 100644 index 000000000..63ff578f5 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Pnt.cxx @@ -0,0 +1,32 @@ +#ifndef _XCAFSchema_gp_Pnt_HeaderFile +#include +#endif +#ifndef _gp_Pnt_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void XCAFSchema_gp_Pnt::SWrite(const gp_Pnt& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + XCAFSchema_gp_XYZ::SWrite(pp.XYZ(),f,theSchema); + + f.EndWriteObjectData(); +} + +void XCAFSchema_gp_Pnt::SRead(gp_Pnt& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + XCAFSchema_gp_XYZ::SRead((gp_XYZ&)pp.XYZ(),f,theSchema); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Pnt.hxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Pnt.hxx new file mode 100644 index 000000000..568eda9e2 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Pnt.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _XCAFSchema_gp_Pnt_HeaderFile +#define _XCAFSchema_gp_Pnt_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class gp_Pnt; + +class XCAFSchema_gp_Pnt { +public: + Standard_EXPORT static void SAdd(const gp_Pnt&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const gp_Pnt&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(gp_Pnt&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Pnt.ixx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Pnt.ixx new file mode 100644 index 000000000..626cb4673 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Pnt.ixx @@ -0,0 +1,4 @@ +#ifndef _XCAFSchema_gp_XYZ_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Pnt2d.cxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Pnt2d.cxx new file mode 100644 index 000000000..36fc06c24 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Pnt2d.cxx @@ -0,0 +1,32 @@ +#ifndef _XCAFSchema_gp_Pnt2d_HeaderFile +#include +#endif +#ifndef _gp_Pnt2d_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void XCAFSchema_gp_Pnt2d::SWrite(const gp_Pnt2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + XCAFSchema_gp_XY::SWrite(pp.XY(),f,theSchema); + + f.EndWriteObjectData(); +} + +void XCAFSchema_gp_Pnt2d::SRead(gp_Pnt2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + XCAFSchema_gp_XY::SRead((gp_XY&)pp.XY(),f,theSchema); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Pnt2d.hxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Pnt2d.hxx new file mode 100644 index 000000000..e11fd1963 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Pnt2d.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _XCAFSchema_gp_Pnt2d_HeaderFile +#define _XCAFSchema_gp_Pnt2d_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class gp_Pnt2d; + +class XCAFSchema_gp_Pnt2d { +public: + Standard_EXPORT static void SAdd(const gp_Pnt2d&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const gp_Pnt2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(gp_Pnt2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Pnt2d.ixx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Pnt2d.ixx new file mode 100644 index 000000000..13651f4c8 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Pnt2d.ixx @@ -0,0 +1,4 @@ +#ifndef _XCAFSchema_gp_XY_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Trsf.cxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Trsf.cxx new file mode 100644 index 000000000..d23b6ffb2 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Trsf.cxx @@ -0,0 +1,47 @@ +#ifndef _XCAFSchema_gp_Trsf_HeaderFile +#include +#endif +#ifndef _gp_Trsf_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void XCAFSchema_gp_Trsf::SWrite(const gp_Trsf& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + f.PutReal(pp.ScaleFactor()); + f.PutInteger(pp.Form()); + XCAFSchema_gp_Mat::SWrite(pp.HVectorialPart(),f,theSchema); + XCAFSchema_gp_XYZ::SWrite(pp.TranslationPart(),f,theSchema); + + f.EndWriteObjectData(); +} + +void XCAFSchema_gp_Trsf::SRead(gp_Trsf& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + Standard_Real gp_Trsfscale; + f.GetReal(gp_Trsfscale); + pp.SetScaleFactor(gp_Trsfscale); + + gp_TrsfForm gp_Trsfshape; + Standard_Integer i_CSFDB_gp_Trsfshape; + f.GetInteger(i_CSFDB_gp_Trsfshape); + gp_Trsfshape = (gp_TrsfForm)i_CSFDB_gp_Trsfshape; + pp.SetForm(gp_Trsfshape); + + XCAFSchema_gp_Mat::SRead((gp_Mat&)pp.HVectorialPart(),f,theSchema); + + XCAFSchema_gp_XYZ::SRead((gp_XYZ&)pp.TranslationPart(),f,theSchema); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Trsf.hxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Trsf.hxx new file mode 100644 index 000000000..077f63bc0 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Trsf.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _XCAFSchema_gp_Trsf_HeaderFile +#define _XCAFSchema_gp_Trsf_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class gp_Trsf; + +class XCAFSchema_gp_Trsf { +public: + Standard_EXPORT static void SAdd(const gp_Trsf&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const gp_Trsf&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(gp_Trsf&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Trsf.ixx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Trsf.ixx new file mode 100644 index 000000000..15aba5884 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Trsf.ixx @@ -0,0 +1,7 @@ +#ifndef _XCAFSchema_gp_Mat_HeaderFile +#include +#endif +#ifndef _XCAFSchema_gp_XYZ_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Trsf2d.cxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Trsf2d.cxx new file mode 100644 index 000000000..71422ded3 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Trsf2d.cxx @@ -0,0 +1,47 @@ +#ifndef _XCAFSchema_gp_Trsf2d_HeaderFile +#include +#endif +#ifndef _gp_Trsf2d_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void XCAFSchema_gp_Trsf2d::SWrite(const gp_Trsf2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + f.PutReal(pp.ScaleFactor()); + f.PutInteger(pp.Form()); + XCAFSchema_gp_Mat2d::SWrite(pp.HVectorialPart(),f,theSchema); + XCAFSchema_gp_XY::SWrite(pp.TranslationPart(),f,theSchema); + + f.EndWriteObjectData(); +} + +void XCAFSchema_gp_Trsf2d::SRead(gp_Trsf2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + Standard_Real gp_Trsf2dscale; + f.GetReal(gp_Trsf2dscale); + pp.SetScaleFactor(gp_Trsf2dscale); + + gp_TrsfForm gp_Trsf2dshape; + Standard_Integer i_CSFDB_gp_Trsf2dshape; + f.GetInteger(i_CSFDB_gp_Trsf2dshape); + gp_Trsf2dshape = (gp_TrsfForm)i_CSFDB_gp_Trsf2dshape; + //pp._CSFDB_Setgp_Trsf2dshape(gp_Trsf2dshape); + + XCAFSchema_gp_Mat2d::SRead((gp_Mat2d&)pp.HVectorialPart(),f,theSchema); + + XCAFSchema_gp_XY::SRead((gp_XY&)pp.TranslationPart(),f,theSchema); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Trsf2d.hxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Trsf2d.hxx new file mode 100644 index 000000000..36ab604b8 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Trsf2d.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _XCAFSchema_gp_Trsf2d_HeaderFile +#define _XCAFSchema_gp_Trsf2d_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class gp_Trsf2d; + +class XCAFSchema_gp_Trsf2d { +public: + Standard_EXPORT static void SAdd(const gp_Trsf2d&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const gp_Trsf2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(gp_Trsf2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Trsf2d.ixx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Trsf2d.ixx new file mode 100644 index 000000000..00728e6b0 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Trsf2d.ixx @@ -0,0 +1,7 @@ +#ifndef _XCAFSchema_gp_Mat2d_HeaderFile +#include +#endif +#ifndef _XCAFSchema_gp_XY_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Vec.cxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Vec.cxx new file mode 100644 index 000000000..f503a35d1 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Vec.cxx @@ -0,0 +1,32 @@ +#ifndef _XCAFSchema_gp_Vec_HeaderFile +#include +#endif +#ifndef _gp_Vec_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void XCAFSchema_gp_Vec::SWrite(const gp_Vec& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + XCAFSchema_gp_XYZ::SWrite(pp.XYZ(),f,theSchema); + + f.EndWriteObjectData(); +} + +void XCAFSchema_gp_Vec::SRead(gp_Vec& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + XCAFSchema_gp_XYZ::SRead((gp_XYZ&)pp.XYZ(),f,theSchema); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Vec.hxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Vec.hxx new file mode 100644 index 000000000..d42be7d89 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Vec.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _XCAFSchema_gp_Vec_HeaderFile +#define _XCAFSchema_gp_Vec_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class gp_Vec; + +class XCAFSchema_gp_Vec { +public: + Standard_EXPORT static void SAdd(const gp_Vec&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const gp_Vec&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(gp_Vec&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Vec.ixx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Vec.ixx new file mode 100644 index 000000000..626cb4673 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Vec.ixx @@ -0,0 +1,4 @@ +#ifndef _XCAFSchema_gp_XYZ_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Vec2d.cxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Vec2d.cxx new file mode 100644 index 000000000..9f8f76a31 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Vec2d.cxx @@ -0,0 +1,32 @@ +#ifndef _XCAFSchema_gp_Vec2d_HeaderFile +#include +#endif +#ifndef _gp_Vec2d_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void XCAFSchema_gp_Vec2d::SWrite(const gp_Vec2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + XCAFSchema_gp_XY::SWrite(pp.XY(),f,theSchema); + + f.EndWriteObjectData(); +} + +void XCAFSchema_gp_Vec2d::SRead(gp_Vec2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + XCAFSchema_gp_XY::SRead((gp_XY&)pp.XY(),f,theSchema); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Vec2d.hxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Vec2d.hxx new file mode 100644 index 000000000..b8b9fc5b4 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Vec2d.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _XCAFSchema_gp_Vec2d_HeaderFile +#define _XCAFSchema_gp_Vec2d_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class gp_Vec2d; + +class XCAFSchema_gp_Vec2d { +public: + Standard_EXPORT static void SAdd(const gp_Vec2d&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const gp_Vec2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(gp_Vec2d&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Vec2d.ixx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Vec2d.ixx new file mode 100644 index 000000000..13651f4c8 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_Vec2d.ixx @@ -0,0 +1,4 @@ +#ifndef _XCAFSchema_gp_XY_HeaderFile +#include +#endif + diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_XY.cxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_XY.cxx new file mode 100644 index 000000000..0f8461771 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_XY.cxx @@ -0,0 +1,39 @@ +#ifndef _XCAFSchema_gp_XY_HeaderFile +#include +#endif +#ifndef _gp_XY_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void XCAFSchema_gp_XY::SWrite(const gp_XY& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + f.PutReal(pp.X()); + f.PutReal(pp.Y()); + + f.EndWriteObjectData(); +} + +void XCAFSchema_gp_XY::SRead(gp_XY& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + Standard_Real gp_XYx; + f.GetReal(gp_XYx); + pp.SetX(gp_XYx); + + Standard_Real gp_XYy; + f.GetReal(gp_XYy); + pp.SetY(gp_XYy); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_XY.hxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_XY.hxx new file mode 100644 index 000000000..0291c9566 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_XY.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _XCAFSchema_gp_XY_HeaderFile +#define _XCAFSchema_gp_XY_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class gp_XY; + +class XCAFSchema_gp_XY { +public: + Standard_EXPORT static void SAdd(const gp_XY&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const gp_XY&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(gp_XY&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_XY.ixx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_XY.ixx new file mode 100644 index 000000000..e69de29bb diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_XYZ.cxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_XYZ.cxx new file mode 100644 index 000000000..5286a2fb5 --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_XYZ.cxx @@ -0,0 +1,44 @@ +#ifndef _XCAFSchema_gp_XYZ_HeaderFile +#include +#endif +#ifndef _gp_XYZ_HeaderFile +#include +#endif +#include +#ifndef _Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_stCONSTclCOM_HeaderFile +#include +#endif + +void XCAFSchema_gp_XYZ::SWrite(const gp_XYZ& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginWriteObjectData(); + f.PutReal(pp.X()); + f.PutReal(pp.Y()); + f.PutReal(pp.Z()); + + f.EndWriteObjectData(); +} + +void XCAFSchema_gp_XYZ::SRead(gp_XYZ& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) +{ + (void)pp; (void)theSchema; // dummy to avoid compiler warning on unused arg + f.BeginReadObjectData(); + + Standard_Real gp_XYZx; + f.GetReal(gp_XYZx); + pp.SetX(gp_XYZx); + + Standard_Real gp_XYZy; + f.GetReal(gp_XYZy); + pp.SetY(gp_XYZy); + + Standard_Real gp_XYZz; + f.GetReal(gp_XYZz); + pp.SetZ(gp_XYZz); + + f.EndReadObjectData(); +} diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_XYZ.hxx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_XYZ.hxx new file mode 100644 index 000000000..247e2951e --- /dev/null +++ b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_XYZ.hxx @@ -0,0 +1,25 @@ +// This file is generated by WOK (CSFDBSchema). +// Please do not edit this file; modify original file instead. +// The copyright and license terms as defined for the original file apply to +// this header file considered to be the "object code" form of the original source. + +#ifndef _XCAFSchema_gp_XYZ_HeaderFile +#define _XCAFSchema_gp_XYZ_HeaderFile + +#ifndef _Handle_Storage_Schema_HeaderFile +#include +#endif +#ifndef _Storage_BaseDriver_HeaderFile +#include +#endif + + +class gp_XYZ; + +class XCAFSchema_gp_XYZ { +public: + Standard_EXPORT static void SAdd(const gp_XYZ&,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SWrite(const gp_XYZ&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); + Standard_EXPORT static void SRead(gp_XYZ&,Storage_BaseDriver& aDriver,const Handle(Storage_Schema)& aSchema); +}; +#endif diff --git a/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_XYZ.ixx b/src/FromOCCT/TKXCAFSchema/XCAFSchema_gp_XYZ.ixx new file mode 100644 index 000000000..e69de29bb diff --git a/src/GEOM/GEOM_Engine.cxx b/src/GEOM/GEOM_Engine.cxx old mode 100644 new mode 100755 index 0859c2850..8136ee7d9 --- a/src/GEOM/GEOM_Engine.cxx +++ b/src/GEOM/GEOM_Engine.cxx @@ -552,6 +552,13 @@ bool GEOM_Engine::Load(int theDocID, const char* theFileName) return false; } +#if OCC_VERSION_LARGE > 0x06090000 + // Replace old document format by the new one. + if (aDoc->StorageFormat().IsEqual("SALOME_GEOM")) { + aDoc->ChangeStorageFormat("BinOcaf"); + } +#endif + aDoc->SetUndoLimit(_UndoLimit); if(_mapIDDocument.IsBound(theDocID)) _mapIDDocument.UnBind(theDocID); -- 2.39.2