0030277: Coding Rules - avoid extremely long class names in STEP packages
authormkrylova <mkrylova@opencascade.com>
Wed, 8 Jul 2020 09:46:33 +0000 (12:46 +0300)
committerbugmaster <bugmaster@opencascade.com>
Sat, 11 Jul 2020 08:26:30 +0000 (11:26 +0300)
Has changed the names of classes that are too long
and fixed names in files where these classes are used

21 files changed:
src/RWStepAP214/RWStepAP214_GeneralModule.cxx
src/RWStepAP214/RWStepAP214_ReadWriteModule.cxx
src/RWStepVisual/FILES
src/RWStepVisual/RWStepVisual_RWAnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem.cxx [deleted file]
src/RWStepVisual/RWStepVisual_RWAnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem.hxx [deleted file]
src/RWStepVisual/RWStepVisual_RWAnnotationCurveOccurrenceAndGeomReprItem.cxx [new file with mode: 0644]
src/RWStepVisual/RWStepVisual_RWAnnotationCurveOccurrenceAndGeomReprItem.hxx [new file with mode: 0644]
src/RWStepVisual/RWStepVisual_RWCharacterizedObjAndRepresentationAndDraughtingModel.cxx [new file with mode: 0644]
src/RWStepVisual/RWStepVisual_RWCharacterizedObjAndRepresentationAndDraughtingModel.hxx [new file with mode: 0644]
src/RWStepVisual/RWStepVisual_RWCharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation.cxx [deleted file]
src/RWStepVisual/RWStepVisual_RWCharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation.hxx [deleted file]
src/StepAP214/StepAP214_Protocol.cxx
src/StepVisual/FILES
src/StepVisual/StepVisual_AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem.cxx [deleted file]
src/StepVisual/StepVisual_AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem.hxx [deleted file]
src/StepVisual/StepVisual_AnnotationCurveOccurrenceAndGeomReprItem.cxx [new file with mode: 0644]
src/StepVisual/StepVisual_AnnotationCurveOccurrenceAndGeomReprItem.hxx [new file with mode: 0644]
src/StepVisual/StepVisual_CharacterizedObjAndRepresentationAndDraughtingModel.cxx [new file with mode: 0644]
src/StepVisual/StepVisual_CharacterizedObjAndRepresentationAndDraughtingModel.hxx [new file with mode: 0644]
src/StepVisual/StepVisual_CharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation.cxx [deleted file]
src/StepVisual/StepVisual_CharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation.hxx [deleted file]

index 70db37a..55ea79f 100644 (file)
@@ -1351,8 +1351,8 @@ IMPLEMENT_STANDARD_RTTIEXT(RWStepAP214_GeneralModule,StepData_GeneralModule)
 #include <RWStepVisual_RWCoordinatesList.hxx>
 #include <StepRepr_CharacterizedRepresentation.hxx>
 #include <RWStepRepr_RWCharacterizedRepresentation.hxx>
-#include <StepVisual_CharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation.hxx>
-#include <RWStepVisual_RWCharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation.hxx>
+#include <StepVisual_CharacterizedObjAndRepresentationAndDraughtingModel.hxx>
+#include <RWStepVisual_RWCharacterizedObjAndRepresentationAndDraughtingModel.hxx>
 #include <StepVisual_AnnotationFillArea.hxx>
 #include <StepVisual_AnnotationFillAreaOccurrence.hxx>
 #include <RWStepVisual_RWAnnotationFillArea.hxx>
@@ -1363,8 +1363,8 @@ IMPLEMENT_STANDARD_RTTIEXT(RWStepAP214_GeneralModule,StepData_GeneralModule)
 #include <RWStepVisual_RWCameraModelD3MultiClipping.hxx>
 #include <RWStepVisual_RWCameraModelD3MultiClippingIntersection.hxx>
 #include <RWStepVisual_RWCameraModelD3MultiClippingUnion.hxx>
-#include <StepVisual_AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem.hxx>
-#include <RWStepVisual_RWAnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem.hxx>
+#include <StepVisual_AnnotationCurveOccurrenceAndGeomReprItem.hxx>
+#include <RWStepVisual_RWAnnotationCurveOccurrenceAndGeomReprItem.hxx>
 
 static Standard_Integer catsh,catdr,catstr,catdsc,cataux;
 
@@ -5132,8 +5132,8 @@ void RWStepAP214_GeneralModule::FillSharedCase(const Standard_Integer CN,
   break;
   case 715:
   {
-    DeclareAndCast(StepVisual_CharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation, anent, ent);
-    RWStepVisual_RWCharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation tool;
+    DeclareAndCast(StepVisual_CharacterizedObjAndRepresentationAndDraughtingModel, anent, ent);
+    RWStepVisual_RWCharacterizedObjAndRepresentationAndDraughtingModel tool;
     tool.Share(anent, iter);
   }
   break;
@@ -5160,8 +5160,8 @@ void RWStepAP214_GeneralModule::FillSharedCase(const Standard_Integer CN,
   break;
   case 719:
   {
-    DeclareAndCast(StepVisual_AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem, anent, ent);
-    RWStepVisual_RWAnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem tool;
+    DeclareAndCast(StepVisual_AnnotationCurveOccurrenceAndGeomReprItem, anent, ent);
+    RWStepVisual_RWAnnotationCurveOccurrenceAndGeomReprItem tool;
     tool.Share(anent, iter);
   }
   break;
@@ -7191,7 +7191,7 @@ Standard_Boolean RWStepAP214_GeneralModule::NewVoid
    ent = new StepRepr_CharacterizedRepresentation;
    break;
    case 715:
-   ent = new StepVisual_CharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation;
+   ent = new StepVisual_CharacterizedObjAndRepresentationAndDraughtingModel;
    break;
    case 716:
      ent = new StepVisual_CameraModelD3MultiClipping;
@@ -7203,7 +7203,7 @@ Standard_Boolean RWStepAP214_GeneralModule::NewVoid
      ent = new StepVisual_CameraModelD3MultiClippingUnion;
    break;
    case 719:
-     ent = new StepVisual_AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem;
+     ent = new StepVisual_AnnotationCurveOccurrenceAndGeomReprItem;
    break;
    case 720:
      ent = new StepVisual_SurfaceStyleTransparent;
index 5e4749a..2e7bcb3 100644 (file)
@@ -1394,8 +1394,8 @@ IMPLEMENT_STANDARD_RTTIEXT(RWStepAP214_ReadWriteModule,StepData_ReadWriteModule)
 #include <RWStepRepr_RWCharacterizedRepresentation.hxx>
 #include <RWStepRepr_RWConstructiveGeometryRepresentation.hxx>
 #include <RWStepRepr_RWConstructiveGeometryRepresentationRelationship.hxx>
-#include <StepVisual_CharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation.hxx>
-#include <RWStepVisual_RWCharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation.hxx>
+#include <StepVisual_CharacterizedObjAndRepresentationAndDraughtingModel.hxx>
+#include <RWStepVisual_RWCharacterizedObjAndRepresentationAndDraughtingModel.hxx>
 #include <StepVisual_AnnotationFillArea.hxx>
 #include <StepVisual_AnnotationFillAreaOccurrence.hxx>
 #include <RWStepVisual_RWAnnotationFillArea.hxx>
@@ -1406,8 +1406,8 @@ IMPLEMENT_STANDARD_RTTIEXT(RWStepAP214_ReadWriteModule,StepData_ReadWriteModule)
 #include <RWStepVisual_RWCameraModelD3MultiClipping.hxx>
 #include <RWStepVisual_RWCameraModelD3MultiClippingIntersection.hxx>
 #include <RWStepVisual_RWCameraModelD3MultiClippingUnion.hxx>
-#include <StepVisual_AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem.hxx>
-#include <RWStepVisual_RWAnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem.hxx>
+#include <StepVisual_AnnotationCurveOccurrenceAndGeomReprItem.hxx>
+#include <RWStepVisual_RWAnnotationCurveOccurrenceAndGeomReprItem.hxx>
 
 #include <RWStepVisual_RWSurfaceStyleTransparent.hxx>
 #include <RWStepVisual_RWSurfaceStyleReflectanceAmbient.hxx>
@@ -9447,8 +9447,8 @@ void RWStepAP214_ReadWriteModule::ReadStep(const Standard_Integer CN,
     break;
      case 715:
     {
-      DeclareAndCast(StepVisual_CharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation, anent, ent);
-      RWStepVisual_RWCharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation tool;
+      DeclareAndCast(StepVisual_CharacterizedObjAndRepresentationAndDraughtingModel, anent, ent);
+      RWStepVisual_RWCharacterizedObjAndRepresentationAndDraughtingModel tool;
       tool.ReadStep(data, num, ach, anent);
     }
     break;
@@ -9475,8 +9475,8 @@ void RWStepAP214_ReadWriteModule::ReadStep(const Standard_Integer CN,
    break;
      case 719:
    {
-     DeclareAndCast(StepVisual_AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem, anent, ent);
-     RWStepVisual_RWAnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem tool;
+     DeclareAndCast(StepVisual_AnnotationCurveOccurrenceAndGeomReprItem, anent, ent);
+     RWStepVisual_RWAnnotationCurveOccurrenceAndGeomReprItem tool;
      tool.ReadStep(data, num, ach, anent);
    }
    break;
@@ -14331,8 +14331,8 @@ void RWStepAP214_ReadWriteModule::WriteStep(const Standard_Integer CN,
     break;
       case 715:
     {
-      DeclareAndCast(StepVisual_CharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation, anent, ent);
-      RWStepVisual_RWCharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation tool;
+      DeclareAndCast(StepVisual_CharacterizedObjAndRepresentationAndDraughtingModel, anent, ent);
+      RWStepVisual_RWCharacterizedObjAndRepresentationAndDraughtingModel tool;
       tool.WriteStep(SW, anent);
     }
     break;
@@ -14359,8 +14359,8 @@ void RWStepAP214_ReadWriteModule::WriteStep(const Standard_Integer CN,
     break;
       case 719:
     {
-      DeclareAndCast(StepVisual_AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem, anent, ent);
-      RWStepVisual_RWAnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem tool;
+      DeclareAndCast(StepVisual_AnnotationCurveOccurrenceAndGeomReprItem, anent, ent);
+      RWStepVisual_RWAnnotationCurveOccurrenceAndGeomReprItem tool;
       tool.WriteStep(SW, anent);
     }
       break;
index 33aa198..739e8d7 100644 (file)
@@ -1,7 +1,7 @@
 RWStepVisual_RWAnnotationCurveOccurrence.cxx
 RWStepVisual_RWAnnotationCurveOccurrence.hxx
-RWStepVisual_RWAnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem.cxx
-RWStepVisual_RWAnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem.hxx
+RWStepVisual_RWAnnotationCurveOccurrenceAndGeomReprItem.cxx
+RWStepVisual_RWAnnotationCurveOccurrenceAndGeomReprItem.hxx
 RWStepVisual_RWAnnotationFillArea.cxx
 RWStepVisual_RWAnnotationFillArea.hxx
 RWStepVisual_RWAnnotationFillAreaOccurrence.cxx
@@ -30,8 +30,8 @@ RWStepVisual_RWCameraModelD3MultiClippingUnion.cxx
 RWStepVisual_RWCameraModelD3MultiClippingUnion.hxx
 RWStepVisual_RWCameraUsage.cxx
 RWStepVisual_RWCameraUsage.hxx
-RWStepVisual_RWCharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation.cxx
-RWStepVisual_RWCharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation.hxx
+RWStepVisual_RWCharacterizedObjAndRepresentationAndDraughtingModel.cxx
+RWStepVisual_RWCharacterizedObjAndRepresentationAndDraughtingModel.hxx
 RWStepVisual_RWColour.cxx
 RWStepVisual_RWColour.hxx
 RWStepVisual_RWColourRgb.cxx
diff --git a/src/RWStepVisual/RWStepVisual_RWAnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem.cxx b/src/RWStepVisual/RWStepVisual_RWAnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem.cxx
deleted file mode 100644 (file)
index 0ca80c1..0000000
+++ /dev/null
@@ -1,114 +0,0 @@
-// Created on: 2017-02-06
-// Created by: Irina KRYLOVA
-// Copyright (c) 2017 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <Interface_Check.hxx>
-#include <Interface_EntityIterator.hxx>
-#include <RWStepVisual_RWAnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem.hxx>
-#include <StepData_StepReaderData.hxx>
-#include <StepData_StepWriter.hxx>
-#include <StepRepr_RepresentationItem.hxx>
-#include <StepVisual_HArray1OfPresentationStyleAssignment.hxx>
-#include <StepVisual_PresentationStyleAssignment.hxx>
-#include <StepVisual_AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem.hxx>
-
-//=======================================================================
-//function : RWStepVisual_RWAnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem
-//purpose  : 
-//=======================================================================
-RWStepVisual_RWAnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem::
-  RWStepVisual_RWAnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem () {}
-
-//=======================================================================
-//function : ReadStep
-//purpose  : 
-//=======================================================================
-void RWStepVisual_RWAnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem::ReadStep
-(const Handle(StepData_StepReaderData)& data,
-const Standard_Integer num0,
-Handle(Interface_Check)& ach,
-const Handle(StepVisual_AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem)& ent) const
-{
-  Standard_Integer num = 0;
-  data->NamedForComplex("REPRESENTATION_ITEM", "RPRITM", num0, num, ach);
-  // Inherited field : name 
-  Handle(TCollection_HAsciiString) aName;
-  data->ReadString(num, 1, "name", ach, aName);
-
-  data->NamedForComplex("STYLED_ITEM", "STYITM", num0, num, ach);
-  // Inherited field : styles
-  Handle(StepVisual_HArray1OfPresentationStyleAssignment) aStyles;
-  Handle(StepVisual_PresentationStyleAssignment) anEnt;
-  Standard_Integer nsub;
-  if (data->ReadSubList(num, 1, "styles", ach, nsub)) {
-    Standard_Integer nb = data->NbParams(nsub);
-    aStyles = new StepVisual_HArray1OfPresentationStyleAssignment(1, nb);
-    for (Standard_Integer i = 1; i <= nb; i++) {
-      if (data->ReadEntity(nsub, i, "presentation_style_assignment", ach,
-        STANDARD_TYPE(StepVisual_PresentationStyleAssignment), anEnt))
-        aStyles->SetValue(i, anEnt);
-    }
-  }
-
-  // Inherited field : item
-  Handle(Standard_Transient) aItem;
-  data->ReadEntity(num, 2, "item", ach, STANDARD_TYPE(Standard_Transient), aItem);
-
-  // Initialization of the read entity
-  ent->Init(aName, aStyles, aItem);
-}
-
-//=======================================================================
-//function : WriteStep
-//purpose  : 
-//=======================================================================
-void RWStepVisual_RWAnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem::WriteStep
-(StepData_StepWriter& SW,
-const Handle(StepVisual_AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem)& ent) const
-{
-  SW.StartEntity("ANNOTATION_CURVE_OCCURRENCE");
-  SW.StartEntity("ANNOTATION_OCCURRENCE");
-  SW.StartEntity("GEOMETRIC_REPRESENTATION_ITEM");
-  SW.StartEntity("REPRESENTATION_ITEM");
-  //Inherited field : name
-  SW.Send(ent->Name());
-
-  SW.StartEntity("STYLED_ITEM");
-  // Inherited field : styles
-  SW.OpenSub();
-  for (Standard_Integer i = 1; i <= ent->NbStyles(); i++) {
-    SW.Send(ent->StylesValue(i));
-  }
-  SW.CloseSub();
-
-  // Inherited field : item
-  SW.Send(ent->Item());
-}
-
-//=======================================================================
-//function : Share
-//purpose  : 
-//=======================================================================
-void RWStepVisual_RWAnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem::Share(
-  const Handle(StepVisual_AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem)& ent,
-  Interface_EntityIterator& iter) const
-{
-
-  Standard_Integer nbElem = ent->NbStyles();
-  for (Standard_Integer i = 1; i <= nbElem; i++) {
-    iter.GetOneItem(ent->StylesValue(i));
-  }
-
-  iter.GetOneItem(ent->Item());
-}
diff --git a/src/RWStepVisual/RWStepVisual_RWAnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem.hxx b/src/RWStepVisual/RWStepVisual_RWAnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem.hxx
deleted file mode 100644 (file)
index 8e54b28..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-// Created on: 2017-02-06
-// Created by: Irina KRYLOVA
-// Copyright (c) 2017 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of 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 _RWStepVisual_RWAnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem_HeaderFile
-#define _RWStepVisual_RWAnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem_HeaderFile
-
-#include <Standard.hxx>
-#include <Standard_DefineAlloc.hxx>
-#include <Standard_Handle.hxx>
-
-#include <Standard_Integer.hxx>
-class StepData_StepReaderData;
-class Interface_Check;
-class StepVisual_AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem;
-class StepData_StepWriter;
-class Interface_EntityIterator;
-
-//! Read & Write Module for AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem
-class RWStepVisual_RWAnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem 
-{
-public:
-
-  DEFINE_STANDARD_ALLOC
-  
-  Standard_EXPORT RWStepVisual_RWAnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem();
-  
-  Standard_EXPORT void ReadStep (const Handle(StepData_StepReaderData)& data, const Standard_Integer num, Handle(Interface_Check)& ach, const Handle(StepVisual_AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem)& ent) const;
-  
-  Standard_EXPORT void WriteStep (StepData_StepWriter& SW, const Handle(StepVisual_AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem)& ent) const;
-  
-  Standard_EXPORT void Share (const Handle(StepVisual_AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem)& ent, Interface_EntityIterator& iter) const;
-};
-#endif // _RWStepVisual_RWAnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem_HeaderFile
diff --git a/src/RWStepVisual/RWStepVisual_RWAnnotationCurveOccurrenceAndGeomReprItem.cxx b/src/RWStepVisual/RWStepVisual_RWAnnotationCurveOccurrenceAndGeomReprItem.cxx
new file mode 100644 (file)
index 0000000..2ad4042
--- /dev/null
@@ -0,0 +1,114 @@
+// Created on: 2017-02-06
+// Created by: Irina KRYLOVA
+// Copyright (c) 2017 OPEN CASCADE SAS
+//
+// This file is part of Open CASCADE Technology software library.
+//
+// This library is free software; you can redistribute it and/or modify it under
+// the terms of the GNU Lesser General Public License version 2.1 as published
+// by the Free Software Foundation, with special exception defined in the file
+// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
+// distribution for complete text of the license and disclaimer of any warranty.
+//
+// Alternatively, this file may be used under the terms of Open CASCADE
+// commercial license or contractual agreement.
+
+#include <Interface_Check.hxx>
+#include <Interface_EntityIterator.hxx>
+#include <RWStepVisual_RWAnnotationCurveOccurrenceAndGeomReprItem.hxx>
+#include <StepData_StepReaderData.hxx>
+#include <StepData_StepWriter.hxx>
+#include <StepRepr_RepresentationItem.hxx>
+#include <StepVisual_HArray1OfPresentationStyleAssignment.hxx>
+#include <StepVisual_PresentationStyleAssignment.hxx>
+#include <StepVisual_AnnotationCurveOccurrenceAndGeomReprItem.hxx>
+
+//=======================================================================
+//function : RWStepVisual_RWAnnotationCurveOccurrenceAndGeomReprItem
+//purpose  : 
+//=======================================================================
+RWStepVisual_RWAnnotationCurveOccurrenceAndGeomReprItem::
+  RWStepVisual_RWAnnotationCurveOccurrenceAndGeomReprItem() {}
+
+//=======================================================================
+//function : ReadStep
+//purpose  : 
+//=======================================================================
+void RWStepVisual_RWAnnotationCurveOccurrenceAndGeomReprItem::ReadStep
+(const Handle(StepData_StepReaderData)& data,
+const Standard_Integer num0,
+Handle(Interface_Check)& ach,
+const Handle(StepVisual_AnnotationCurveOccurrenceAndGeomReprItem)& ent) const
+{
+  Standard_Integer num = 0;
+  data->NamedForComplex("REPRESENTATION_ITEM", "RPRITM", num0, num, ach);
+  // Inherited field : name 
+  Handle(TCollection_HAsciiString) aName;
+  data->ReadString(num, 1, "name", ach, aName);
+
+  data->NamedForComplex("STYLED_ITEM", "STYITM", num0, num, ach);
+  // Inherited field : styles
+  Handle(StepVisual_HArray1OfPresentationStyleAssignment) aStyles;
+  Handle(StepVisual_PresentationStyleAssignment) anEnt;
+  Standard_Integer nsub;
+  if (data->ReadSubList(num, 1, "styles", ach, nsub)) {
+    Standard_Integer nb = data->NbParams(nsub);
+    aStyles = new StepVisual_HArray1OfPresentationStyleAssignment(1, nb);
+    for (Standard_Integer i = 1; i <= nb; i++) {
+      if (data->ReadEntity(nsub, i, "presentation_style_assignment", ach,
+        STANDARD_TYPE(StepVisual_PresentationStyleAssignment), anEnt))
+        aStyles->SetValue(i, anEnt);
+    }
+  }
+
+  // Inherited field : item
+  Handle(Standard_Transient) aItem;
+  data->ReadEntity(num, 2, "item", ach, STANDARD_TYPE(Standard_Transient), aItem);
+
+  // Initialization of the read entity
+  ent->Init(aName, aStyles, aItem);
+}
+
+//=======================================================================
+//function : WriteStep
+//purpose  : 
+//=======================================================================
+void RWStepVisual_RWAnnotationCurveOccurrenceAndGeomReprItem::WriteStep
+(StepData_StepWriter& SW,
+const Handle(StepVisual_AnnotationCurveOccurrenceAndGeomReprItem)& ent) const
+{
+  SW.StartEntity("ANNOTATION_CURVE_OCCURRENCE");
+  SW.StartEntity("ANNOTATION_OCCURRENCE");
+  SW.StartEntity("GEOMETRIC_REPRESENTATION_ITEM");
+  SW.StartEntity("REPRESENTATION_ITEM");
+  //Inherited field : name
+  SW.Send(ent->Name());
+
+  SW.StartEntity("STYLED_ITEM");
+  // Inherited field : styles
+  SW.OpenSub();
+  for (Standard_Integer i = 1; i <= ent->NbStyles(); i++) {
+    SW.Send(ent->StylesValue(i));
+  }
+  SW.CloseSub();
+
+  // Inherited field : item
+  SW.Send(ent->Item());
+}
+
+//=======================================================================
+//function : Share
+//purpose  : 
+//=======================================================================
+void RWStepVisual_RWAnnotationCurveOccurrenceAndGeomReprItem::Share(
+  const Handle(StepVisual_AnnotationCurveOccurrenceAndGeomReprItem)& ent,
+  Interface_EntityIterator& iter) const
+{
+
+  Standard_Integer nbElem = ent->NbStyles();
+  for (Standard_Integer i = 1; i <= nbElem; i++) {
+    iter.GetOneItem(ent->StylesValue(i));
+  }
+
+  iter.GetOneItem(ent->Item());
+}
diff --git a/src/RWStepVisual/RWStepVisual_RWAnnotationCurveOccurrenceAndGeomReprItem.hxx b/src/RWStepVisual/RWStepVisual_RWAnnotationCurveOccurrenceAndGeomReprItem.hxx
new file mode 100644 (file)
index 0000000..581d89e
--- /dev/null
@@ -0,0 +1,45 @@
+// Created on: 2017-02-06
+// Created by: Irina KRYLOVA
+// Copyright (c) 2017 OPEN CASCADE SAS
+//
+// This file is part of Open CASCADE Technology software library.
+//
+// This library is free software; you can redistribute it and/or modify it under
+// the terms of the GNU Lesser General Public License version 2.1 as published
+// by the Free Software Foundation, with special exception defined in the file
+// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
+// distribution for complete text of 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 _RWStepVisual_RWAnnotationCurveOccurrenceAndGeomReprItem_HeaderFile
+#define _RWStepVisual_RWAnnotationCurveOccurrenceAndGeomReprItem_HeaderFile
+
+#include <Standard.hxx>
+#include <Standard_DefineAlloc.hxx>
+#include <Standard_Handle.hxx>
+
+#include <Standard_Integer.hxx>
+class StepData_StepReaderData;
+class Interface_Check;
+class StepVisual_AnnotationCurveOccurrenceAndGeomReprItem;
+class StepData_StepWriter;
+class Interface_EntityIterator;
+
+//! Read & Write Module for StepVisual_AnnotationCurveOccurrenceAndGeomReprItem
+class RWStepVisual_RWAnnotationCurveOccurrenceAndGeomReprItem
+{
+public:
+
+  DEFINE_STANDARD_ALLOC
+  
+  Standard_EXPORT RWStepVisual_RWAnnotationCurveOccurrenceAndGeomReprItem();
+  
+  Standard_EXPORT void ReadStep (const Handle(StepData_StepReaderData)& data, const Standard_Integer num, Handle(Interface_Check)& ach, const Handle(StepVisual_AnnotationCurveOccurrenceAndGeomReprItem)& ent) const;
+  
+  Standard_EXPORT void WriteStep (StepData_StepWriter& SW, const Handle(StepVisual_AnnotationCurveOccurrenceAndGeomReprItem)& ent) const;
+  
+  Standard_EXPORT void Share (const Handle(StepVisual_AnnotationCurveOccurrenceAndGeomReprItem)& ent, Interface_EntityIterator& iter) const;
+};
+#endif // _RWStepVisual_RWAnnotationCurveOccurrenceAndGeomReprItem_HeaderFile
diff --git a/src/RWStepVisual/RWStepVisual_RWCharacterizedObjAndRepresentationAndDraughtingModel.cxx b/src/RWStepVisual/RWStepVisual_RWCharacterizedObjAndRepresentationAndDraughtingModel.cxx
new file mode 100644 (file)
index 0000000..c0b9964
--- /dev/null
@@ -0,0 +1,115 @@
+// Created on: 2016-08-25
+// Created by: Irina KRYLOVA
+// Copyright (c) 2016 OPEN CASCADE SAS
+//
+// This file is part of Open CASCADE Technology software library.
+//
+// This library is free software; you can redistribute it and/or modify it under
+// the terms of the GNU Lesser General Public License version 2.1 as published
+// by the Free Software Foundation, with special exception defined in the file
+// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
+// distribution for complete text of the license and disclaimer of any warranty.
+//
+// Alternatively, this file may be used under the terms of Open CASCADE
+// commercial license or contractual agreement.
+
+
+#include <Interface_Check.hxx>
+#include <Interface_EntityIterator.hxx>
+#include <RWStepVisual_RWCharacterizedObjAndRepresentationAndDraughtingModel.hxx>
+#include <StepData_StepReaderData.hxx>
+#include <StepData_StepWriter.hxx>
+#include <StepRepr_RepresentationContext.hxx>
+#include <StepVisual_CharacterizedObjAndRepresentationAndDraughtingModel.hxx>
+
+//=======================================================================
+//function : RWStepVisual_RWCharacterizedObjAndRepresentationAndDraughtingModel
+//purpose  : 
+//=======================================================================
+RWStepVisual_RWCharacterizedObjAndRepresentationAndDraughtingModel::
+RWStepVisual_RWCharacterizedObjAndRepresentationAndDraughtingModel()
+{
+}
+
+
+//=======================================================================
+//function : ReadStep
+//purpose  : 
+//=======================================================================
+
+void RWStepVisual_RWCharacterizedObjAndRepresentationAndDraughtingModel::ReadStep
+  (const Handle(StepData_StepReaderData)& data,
+   const Standard_Integer num0, Handle(Interface_Check)& ach,
+   const Handle(StepVisual_CharacterizedObjAndRepresentationAndDraughtingModel)& ent) const
+{
+  Standard_Integer num = 0;
+  data->NamedForComplex("REPRESENTATION","RPRSNT", num0, num, ach);
+  if (!data->CheckNbParams(num, 3, ach, "shape_aspect")) return;
+
+  // name
+  Handle(TCollection_HAsciiString) aName;
+  data->ReadString(num, 1, "name", ach, aName);
+
+  // items
+  Handle(StepRepr_HArray1OfRepresentationItem) anItems;
+  Handle(StepRepr_RepresentationItem) anItem;
+  Standard_Integer nsub;
+  if (data->ReadSubList(num, 2, "items", ach, nsub)) {
+    Standard_Integer nb = data->NbParams(nsub);
+    anItems = new StepRepr_HArray1OfRepresentationItem(1, nb);
+    for (Standard_Integer i = 1; i <= nb; i++) {
+      if (data->ReadEntity(nsub, i, "representation_item", ach,
+        STANDARD_TYPE(StepRepr_RepresentationItem), anItem))
+        anItems->SetValue(i, anItem);
+    }
+  }
+
+  // context_of_items
+  Handle(StepRepr_RepresentationContext) aContextOfItems;
+  data->ReadEntity(num, 3, "context_of_items", ach, STANDARD_TYPE(StepRepr_RepresentationContext), aContextOfItems);
+
+  // Initialize the entity
+  ent->Init(aName, anItems, aContextOfItems);
+}
+
+
+//=======================================================================
+//function : WriteStep
+//purpose  : 
+//=======================================================================
+
+void RWStepVisual_RWCharacterizedObjAndRepresentationAndDraughtingModel::WriteStep
+  (StepData_StepWriter& SW,
+  const Handle(StepVisual_CharacterizedObjAndRepresentationAndDraughtingModel)& ent) const
+{
+  SW.StartEntity("CHARACTERIZED_OBJECT");
+  SW.SendDerived();
+  SW.SendDerived();
+  SW.StartEntity("CHARACTERIZED_REPRESENTATION");
+  SW.StartEntity("DRAUGHTING_MODEL");
+  SW.StartEntity("REPRESENTATION");
+  SW.Send(ent->Name());
+  SW.OpenSub();
+  for (Standard_Integer i = 1; i <= ent->NbItems(); i++) {
+    SW.Send(ent->ItemsValue(i));
+  }
+  SW.CloseSub();
+  SW.Send(ent->ContextOfItems());
+}
+
+
+//=======================================================================
+//function : Share
+//purpose  : 
+//=======================================================================
+
+void RWStepVisual_RWCharacterizedObjAndRepresentationAndDraughtingModel::Share
+(const Handle(StepVisual_CharacterizedObjAndRepresentationAndDraughtingModel)& ent,
+   Interface_EntityIterator& iter) const
+{
+  Standard_Integer nbElem = ent->NbItems();
+  for (Standard_Integer i = 1; i <= nbElem; i++) {
+    iter.GetOneItem(ent->ItemsValue(i));
+  }
+  iter.GetOneItem(ent->ContextOfItems());
+}
diff --git a/src/RWStepVisual/RWStepVisual_RWCharacterizedObjAndRepresentationAndDraughtingModel.hxx b/src/RWStepVisual/RWStepVisual_RWCharacterizedObjAndRepresentationAndDraughtingModel.hxx
new file mode 100644 (file)
index 0000000..8b654d8
--- /dev/null
@@ -0,0 +1,51 @@
+// Created on: 2016-08-25
+// Created by: Irina KRYLOVA
+// Copyright (c) 2016 OPEN CASCADE SAS
+//
+// This file is part of Open CASCADE Technology software library.
+//
+// This library is free software; you can redistribute it and/or modify it under
+// the terms of the GNU Lesser General Public License version 2.1 as published
+// by the Free Software Foundation, with special exception defined in the file
+// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
+// distribution for complete text of 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 _RWStepVisual_RWCharacterizedObjAndRepresentationAndDraughtingModel_HeaderFile
+#define _RWStepVisual_RWCharacterizedObjAndRepresentationAndDraughtingModel_HeaderFile
+
+#include <Standard.hxx>
+#include <Standard_DefineAlloc.hxx>
+#include <Standard_Handle.hxx>
+
+#include <Standard_Integer.hxx>
+class StepData_StepReaderData;
+class Interface_Check;
+class StepVisual_CharacterizedObjAndRepresentationAndDraughtingModel;
+class StepData_StepWriter;
+class Interface_EntityIterator;
+
+
+//! Read & Write Module for complex STEP entity Characterized_Object & Characterized_Representation & Draughting_Model & Representation
+class RWStepVisual_RWCharacterizedObjAndRepresentationAndDraughtingModel
+{
+public:
+
+  DEFINE_STANDARD_ALLOC
+
+  
+    Standard_EXPORT RWStepVisual_RWCharacterizedObjAndRepresentationAndDraughtingModel();
+  
+  Standard_EXPORT void ReadStep(const Handle(StepData_StepReaderData)& data,
+                                const Standard_Integer num, Handle(Interface_Check)& ach,
+                                const Handle(StepVisual_CharacterizedObjAndRepresentationAndDraughtingModel)& ent) const;
+  
+  Standard_EXPORT void WriteStep(StepData_StepWriter& SW,
+                                 const Handle(StepVisual_CharacterizedObjAndRepresentationAndDraughtingModel)& ent) const;
+  
+  Standard_EXPORT void Share(const Handle(StepVisual_CharacterizedObjAndRepresentationAndDraughtingModel)& ent,
+                             Interface_EntityIterator& iter) const;
+};
+#endif // _RWStepVisual_RWCharacterizedObjAndRepresentationAndDraughtingModel_HeaderFile
diff --git a/src/RWStepVisual/RWStepVisual_RWCharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation.cxx b/src/RWStepVisual/RWStepVisual_RWCharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation.cxx
deleted file mode 100644 (file)
index 7973568..0000000
+++ /dev/null
@@ -1,115 +0,0 @@
-// Created on: 2016-08-25
-// Created by: Irina KRYLOVA
-// Copyright (c) 2016 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-
-#include <Interface_Check.hxx>
-#include <Interface_EntityIterator.hxx>
-#include <RWStepVisual_RWCharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation.hxx>
-#include <StepData_StepReaderData.hxx>
-#include <StepData_StepWriter.hxx>
-#include <StepRepr_RepresentationContext.hxx>
-#include <StepVisual_CharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation.hxx>
-
-//=======================================================================
-//function : RWStepVisual_RWChObjAndChReprAndDModelAndRepr
-//purpose  : 
-//=======================================================================
-RWStepVisual_RWCharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation::
-  RWStepVisual_RWCharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation()
-{
-}
-
-
-//=======================================================================
-//function : ReadStep
-//purpose  : 
-//=======================================================================
-
-void RWStepVisual_RWCharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation::ReadStep
-  (const Handle(StepData_StepReaderData)& data,
-   const Standard_Integer num0, Handle(Interface_Check)& ach,
-   const Handle(StepVisual_CharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation)& ent) const
-{
-  Standard_Integer num = 0;
-  data->NamedForComplex("REPRESENTATION","RPRSNT", num0, num, ach);
-  if (!data->CheckNbParams(num, 3, ach, "shape_aspect")) return;
-
-  // name
-  Handle(TCollection_HAsciiString) aName;
-  data->ReadString(num, 1, "name", ach, aName);
-
-  // items
-  Handle(StepRepr_HArray1OfRepresentationItem) anItems;
-  Handle(StepRepr_RepresentationItem) anItem;
-  Standard_Integer nsub;
-  if (data->ReadSubList(num, 2, "items", ach, nsub)) {
-    Standard_Integer nb = data->NbParams(nsub);
-    anItems = new StepRepr_HArray1OfRepresentationItem(1, nb);
-    for (Standard_Integer i = 1; i <= nb; i++) {
-      if (data->ReadEntity(nsub, i, "representation_item", ach,
-        STANDARD_TYPE(StepRepr_RepresentationItem), anItem))
-        anItems->SetValue(i, anItem);
-    }
-  }
-
-  // context_of_items
-  Handle(StepRepr_RepresentationContext) aContextOfItems;
-  data->ReadEntity(num, 3, "context_of_items", ach, STANDARD_TYPE(StepRepr_RepresentationContext), aContextOfItems);
-
-  // Initialize the entity
-  ent->Init(aName, anItems, aContextOfItems);
-}
-
-
-//=======================================================================
-//function : WriteStep
-//purpose  : 
-//=======================================================================
-
-void RWStepVisual_RWCharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation::WriteStep
-  (StepData_StepWriter& SW,
-  const Handle(StepVisual_CharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation)& ent) const
-{
-  SW.StartEntity("CHARACTERIZED_OBJECT");
-  SW.SendDerived();
-  SW.SendDerived();
-  SW.StartEntity("CHARACTERIZED_REPRESENTATION");
-  SW.StartEntity("DRAUGHTING_MODEL");
-  SW.StartEntity("REPRESENTATION");
-  SW.Send(ent->Name());
-  SW.OpenSub();
-  for (Standard_Integer i = 1; i <= ent->NbItems(); i++) {
-    SW.Send(ent->ItemsValue(i));
-  }
-  SW.CloseSub();
-  SW.Send(ent->ContextOfItems());
-}
-
-
-//=======================================================================
-//function : Share
-//purpose  : 
-//=======================================================================
-
-void RWStepVisual_RWCharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation::Share
-(const Handle(StepVisual_CharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation)& ent,
-   Interface_EntityIterator& iter) const
-{
-  Standard_Integer nbElem = ent->NbItems();
-  for (Standard_Integer i = 1; i <= nbElem; i++) {
-    iter.GetOneItem(ent->ItemsValue(i));
-  }
-  iter.GetOneItem(ent->ContextOfItems());
-}
diff --git a/src/RWStepVisual/RWStepVisual_RWCharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation.hxx b/src/RWStepVisual/RWStepVisual_RWCharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation.hxx
deleted file mode 100644 (file)
index 65264c9..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-// Created on: 2016-08-25
-// Created by: Irina KRYLOVA
-// Copyright (c) 2016 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of 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 _RWStepVisual_RWCharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation_HeaderFile
-#define _RWStepVisual_RWCharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation_HeaderFile
-
-#include <Standard.hxx>
-#include <Standard_DefineAlloc.hxx>
-#include <Standard_Handle.hxx>
-
-#include <Standard_Integer.hxx>
-class StepData_StepReaderData;
-class Interface_Check;
-class StepVisual_CharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation;
-class StepData_StepWriter;
-class Interface_EntityIterator;
-
-
-//! Read & Write Module for complex STEP entity Characterized_Object & Characterized_Representation & Draughting_Model & Representation
-class RWStepVisual_RWCharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation
-{
-public:
-
-  DEFINE_STANDARD_ALLOC
-
-  
-    Standard_EXPORT RWStepVisual_RWCharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation();
-  
-  Standard_EXPORT void ReadStep(const Handle(StepData_StepReaderData)& data,
-                                const Standard_Integer num, Handle(Interface_Check)& ach,
-                                const Handle(StepVisual_CharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation)& ent) const;
-  
-  Standard_EXPORT void WriteStep(StepData_StepWriter& SW,
-                                 const Handle(StepVisual_CharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation)& ent) const;
-  
-  Standard_EXPORT void Share(const Handle(StepVisual_CharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation)& ent,
-                             Interface_EntityIterator& iter) const;
-};
-#endif // _RRWStepVisual_RWCharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation_HeaderFile
index e638995..00da590 100644 (file)
@@ -742,13 +742,13 @@ static Standard_CString schemaAP242DIS = "AP242_MANAGED_MODEL_BASED_3D_ENGINEERI
 #include <StepRepr_CharacterizedRepresentation.hxx>
 #include <StepRepr_ConstructiveGeometryRepresentation.hxx>
 #include <StepRepr_ConstructiveGeometryRepresentationRelationship.hxx>
-#include <StepVisual_CharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation.hxx>
+#include <StepVisual_CharacterizedObjAndRepresentationAndDraughtingModel.hxx>
 #include <StepVisual_AnnotationFillArea.hxx>
 #include <StepVisual_AnnotationFillAreaOccurrence.hxx>
 #include <StepVisual_CameraModelD3MultiClipping.hxx>
 #include <StepVisual_CameraModelD3MultiClippingIntersection.hxx>
 #include <StepVisual_CameraModelD3MultiClippingUnion.hxx>
-#include <StepVisual_AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem.hxx>
+#include <StepVisual_AnnotationCurveOccurrenceAndGeomReprItem.hxx>
 
 #include <StepVisual_SurfaceStyleTransparent.hxx>
 #include <StepVisual_SurfaceStyleReflectanceAmbient.hxx>
@@ -1459,11 +1459,11 @@ StepAP214_Protocol::StepAP214_Protocol ()
   types.Bind (STANDARD_TYPE(StepRepr_ConstructiveGeometryRepresentation), 712);
   types.Bind (STANDARD_TYPE(StepRepr_ConstructiveGeometryRepresentationRelationship), 713);
   types.Bind (STANDARD_TYPE(StepRepr_CharacterizedRepresentation), 714);
-  types.Bind (STANDARD_TYPE(StepVisual_CharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation), 715);
+  types.Bind (STANDARD_TYPE(StepVisual_CharacterizedObjAndRepresentationAndDraughtingModel), 715);
   types.Bind (STANDARD_TYPE(StepVisual_CameraModelD3MultiClipping), 716);
   types.Bind (STANDARD_TYPE(StepVisual_CameraModelD3MultiClippingIntersection), 717);
   types.Bind (STANDARD_TYPE(StepVisual_CameraModelD3MultiClippingUnion), 718);
-  types.Bind (STANDARD_TYPE(StepVisual_AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem), 719);
+  types.Bind (STANDARD_TYPE(StepVisual_AnnotationCurveOccurrenceAndGeomReprItem), 719);
   types.Bind (STANDARD_TYPE(StepVisual_SurfaceStyleTransparent), 720);
   types.Bind (STANDARD_TYPE(StepVisual_SurfaceStyleReflectanceAmbient), 721);
   types.Bind (STANDARD_TYPE(StepVisual_SurfaceStyleRendering), 722);
index b6e6a0c..b869955 100644 (file)
@@ -1,7 +1,7 @@
 StepVisual_AnnotationCurveOccurrence.cxx
 StepVisual_AnnotationCurveOccurrence.hxx
-StepVisual_AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem.cxx
-StepVisual_AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem.hxx
+StepVisual_AnnotationCurveOccurrenceAndGeomReprItem.cxx
+StepVisual_AnnotationCurveOccurrenceAndGeomReprItem.hxx
 StepVisual_AnnotationFillArea.cxx
 StepVisual_AnnotationFillArea.hxx
 StepVisual_AnnotationFillAreaOccurrence.cxx
@@ -65,8 +65,8 @@ StepVisual_CameraModelD3MultiClippingUnionSelect.hxx
 StepVisual_CameraUsage.cxx
 StepVisual_CameraUsage.hxx
 StepVisual_CentralOrParallel.hxx
-StepVisual_CharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation.cxx
-StepVisual_CharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation.hxx
+StepVisual_CharacterizedObjAndRepresentationAndDraughtingModel.cxx
+StepVisual_CharacterizedObjAndRepresentationAndDraughtingModel.hxx
 StepVisual_Colour.cxx
 StepVisual_Colour.hxx
 StepVisual_ColourRgb.cxx
diff --git a/src/StepVisual/StepVisual_AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem.cxx b/src/StepVisual/StepVisual_AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem.cxx
deleted file mode 100644 (file)
index 5c79b74..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-// Created on: 2017-02-06
-// Created by: Irina KRYLOVA
-// Copyright (c) 2017 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <StepVisual_AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem.hxx>
-
-IMPLEMENT_STANDARD_RTTIEXT(StepVisual_AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem, StepVisual_AnnotationCurveOccurrence)
-
-//=======================================================================
-//function : StepVisual_AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem
-//purpose  : 
-//=======================================================================
-StepVisual_AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem::StepVisual_AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem()    {  }
diff --git a/src/StepVisual/StepVisual_AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem.hxx b/src/StepVisual/StepVisual_AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem.hxx
deleted file mode 100644 (file)
index 1a09ab1..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-// Created on: 2017-02-06
-// Created by: Irina KRYLOVA
-// Copyright (c) 2017 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of 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 _StepVisual_AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem_HeaderFile
-#define _StepVisual_AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem_HeaderFile
-
-#include <Standard.hxx>
-#include <Standard_Type.hxx>
-
-#include <StepVisual_AnnotationCurveOccurrence.hxx>
-
-class StepVisual_AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem;
-DEFINE_STANDARD_HANDLE(StepVisual_AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem, StepVisual_AnnotationCurveOccurrence)
-//! Added for Dimensional Tolerances
-//! Complex STEP entity AnnotationCurveOccurrence & AnnotationOccurrence & GeometricRepresentationItem & RepresentationItem & StyledItem
-class StepVisual_AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem : public StepVisual_AnnotationCurveOccurrence
-{
-
-public:
-  
-  Standard_EXPORT StepVisual_AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem();
-
-  DEFINE_STANDARD_RTTIEXT(StepVisual_AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem, StepVisual_AnnotationCurveOccurrence)
-
-};
-#endif // _StepVisual_AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem_HeaderFile
diff --git a/src/StepVisual/StepVisual_AnnotationCurveOccurrenceAndGeomReprItem.cxx b/src/StepVisual/StepVisual_AnnotationCurveOccurrenceAndGeomReprItem.cxx
new file mode 100644 (file)
index 0000000..7a0be61
--- /dev/null
@@ -0,0 +1,24 @@
+// Created on: 2017-02-06
+// Created by: Irina KRYLOVA
+// Copyright (c) 2017 OPEN CASCADE SAS
+//
+// This file is part of Open CASCADE Technology software library.
+//
+// This library is free software; you can redistribute it and/or modify it under
+// the terms of the GNU Lesser General Public License version 2.1 as published
+// by the Free Software Foundation, with special exception defined in the file
+// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
+// distribution for complete text of the license and disclaimer of any warranty.
+//
+// Alternatively, this file may be used under the terms of Open CASCADE
+// commercial license or contractual agreement.
+
+#include <StepVisual_AnnotationCurveOccurrenceAndGeomReprItem.hxx>
+
+IMPLEMENT_STANDARD_RTTIEXT(StepVisual_AnnotationCurveOccurrenceAndGeomReprItem, StepVisual_AnnotationCurveOccurrence)
+
+//=======================================================================
+//function : StepVisual_AnnotationCurveOccurrenceAndGeomReprItem
+//purpose  : 
+//=======================================================================
+StepVisual_AnnotationCurveOccurrenceAndGeomReprItem::StepVisual_AnnotationCurveOccurrenceAndGeomReprItem()    {  }
diff --git a/src/StepVisual/StepVisual_AnnotationCurveOccurrenceAndGeomReprItem.hxx b/src/StepVisual/StepVisual_AnnotationCurveOccurrenceAndGeomReprItem.hxx
new file mode 100644 (file)
index 0000000..1bcd06e
--- /dev/null
@@ -0,0 +1,38 @@
+// Created on: 2017-02-06
+// Created by: Irina KRYLOVA
+// Copyright (c) 2017 OPEN CASCADE SAS
+//
+// This file is part of Open CASCADE Technology software library.
+//
+// This library is free software; you can redistribute it and/or modify it under
+// the terms of the GNU Lesser General Public License version 2.1 as published
+// by the Free Software Foundation, with special exception defined in the file
+// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
+// distribution for complete text of 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 _StepVisual_AnnotationCurveOccurrenceAndGeomReprItem_HeaderFile
+#define _StepVisual_AnnotationCurveOccurrenceAndGeomReprItem_HeaderFile
+
+#include <Standard.hxx>
+#include <Standard_Type.hxx>
+
+#include <StepVisual_AnnotationCurveOccurrence.hxx>
+
+class StepVisual_AnnotationCurveOccurrenceAndGeomReprItem;
+DEFINE_STANDARD_HANDLE(StepVisual_AnnotationCurveOccurrenceAndGeomReprItem, StepVisual_AnnotationCurveOccurrence)
+//! Added for Dimensional Tolerances
+//! Complex STEP entity AnnotationCurveOccurrence & AnnotationOccurrence & GeometricRepresentationItem & RepresentationItem & StyledItem
+class StepVisual_AnnotationCurveOccurrenceAndGeomReprItem : public StepVisual_AnnotationCurveOccurrence
+{
+
+public:
+  
+  Standard_EXPORT StepVisual_AnnotationCurveOccurrenceAndGeomReprItem();
+
+  DEFINE_STANDARD_RTTIEXT(StepVisual_AnnotationCurveOccurrenceAndGeomReprItem, StepVisual_AnnotationCurveOccurrence)
+
+};
+#endif // _StepVisual_AnnotationCurveOccurrenceAndGeomReprItem_HeaderFile
diff --git a/src/StepVisual/StepVisual_CharacterizedObjAndRepresentationAndDraughtingModel.cxx b/src/StepVisual/StepVisual_CharacterizedObjAndRepresentationAndDraughtingModel.cxx
new file mode 100644 (file)
index 0000000..27da8cf
--- /dev/null
@@ -0,0 +1,24 @@
+// Created on: 2016-08-25
+// Created by: Irina KRYLOVA
+// Copyright (c) 2016 OPEN CASCADE SAS
+//
+// This file is part of Open CASCADE Technology software library.
+//
+// This library is free software; you can redistribute it and/or modify it under
+// the terms of the GNU Lesser General Public License version 2.1 as published
+// by the Free Software Foundation, with special exception defined in the file
+// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
+// distribution for complete text of the license and disclaimer of any warranty.
+//
+// Alternatively, this file may be used under the terms of Open CASCADE
+// commercial license or contractual agreement.
+
+#include <StepVisual_CharacterizedObjAndRepresentationAndDraughtingModel.hxx>
+
+IMPLEMENT_STANDARD_RTTIEXT(StepVisual_CharacterizedObjAndRepresentationAndDraughtingModel, StepVisual_DraughtingModel)
+
+//=======================================================================
+//function : StepVisual_CharacterizedObjAndRepresentationAndDraughtingModel
+//purpose  : 
+//=======================================================================
+StepVisual_CharacterizedObjAndRepresentationAndDraughtingModel::StepVisual_CharacterizedObjAndRepresentationAndDraughtingModel()    {  }
diff --git a/src/StepVisual/StepVisual_CharacterizedObjAndRepresentationAndDraughtingModel.hxx b/src/StepVisual/StepVisual_CharacterizedObjAndRepresentationAndDraughtingModel.hxx
new file mode 100644 (file)
index 0000000..8ad010a
--- /dev/null
@@ -0,0 +1,38 @@
+// Created on: 2016-08-25
+// Created by: Irina KRYLOVA
+// Copyright (c) 2016 OPEN CASCADE SAS
+//
+// This file is part of Open CASCADE Technology software library.
+//
+// This library is free software; you can redistribute it and/or modify it under
+// the terms of the GNU Lesser General Public License version 2.1 as published
+// by the Free Software Foundation, with special exception defined in the file
+// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
+// distribution for complete text of 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 _StepVisual_StepVisual_CharacterizedObjAndRepresentationAndDraughtingModel_HeaderFile
+#define _StepVisual_StepVisual_CharacterizedObjAndRepresentationAndDraughtingModel_HeaderFile
+
+#include <Standard.hxx>
+#include <Standard_Type.hxx>
+
+#include <StepVisual_DraughtingModel.hxx>
+
+class StepVisual_CharacterizedObjAndRepresentationAndDraughtingModel;
+DEFINE_STANDARD_HANDLE(StepVisual_CharacterizedObjAndRepresentationAndDraughtingModel, StepVisual_DraughtingModel)
+//! Added for Dimensional Tolerances
+//! Complex STEP entity Characterized_Object & Characterized_Representation & Draughting_Model & Representation
+class StepVisual_CharacterizedObjAndRepresentationAndDraughtingModel : public StepVisual_DraughtingModel
+{
+
+public:
+  
+  Standard_EXPORT StepVisual_CharacterizedObjAndRepresentationAndDraughtingModel();
+
+  DEFINE_STANDARD_RTTIEXT(StepVisual_CharacterizedObjAndRepresentationAndDraughtingModel, StepVisual_DraughtingModel)
+
+};
+#endif // _StepVisual_CharacterizedObjAndRepresentationAndDraughtingModel_HeaderFile
diff --git a/src/StepVisual/StepVisual_CharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation.cxx b/src/StepVisual/StepVisual_CharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation.cxx
deleted file mode 100644 (file)
index 210f7bf..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-// Created on: 2016-08-25
-// Created by: Irina KRYLOVA
-// Copyright (c) 2016 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <StepVisual_CharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation.hxx>
-
-IMPLEMENT_STANDARD_RTTIEXT(StepVisual_CharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation, StepVisual_DraughtingModel)
-
-//=======================================================================
-//function : StepVisual_CharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation
-//purpose  : 
-//=======================================================================
-StepVisual_CharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation::StepVisual_CharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation()    {  }
diff --git a/src/StepVisual/StepVisual_CharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation.hxx b/src/StepVisual/StepVisual_CharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation.hxx
deleted file mode 100644 (file)
index 4a49329..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-// Created on: 2016-08-25
-// Created by: Irina KRYLOVA
-// Copyright (c) 2016 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of 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 _StepVisual_CharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation_HeaderFile
-#define _StepVisual_CharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation_HeaderFile
-
-#include <Standard.hxx>
-#include <Standard_Type.hxx>
-
-#include <StepVisual_DraughtingModel.hxx>
-
-class StepVisual_CharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation;
-DEFINE_STANDARD_HANDLE(StepVisual_CharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation, StepVisual_DraughtingModel)
-//! Added for Dimensional Tolerances
-//! Complex STEP entity Characterized_Object & Characterized_Representation & Draughting_Model & Representation
-class StepVisual_CharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation : public StepVisual_DraughtingModel
-{
-
-public:
-  
-  Standard_EXPORT StepVisual_CharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation();
-
-  DEFINE_STANDARD_RTTIEXT(StepVisual_CharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation, StepVisual_DraughtingModel)
-
-};
-#endif // _StepVisual_CharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation_HeaderFile