1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0030277: Coding Rules - avoid extremely long class names in STEP packages

Has changed the names of classes that are too long
and fixed names in files where these classes are used
This commit is contained in:
mkrylova
2020-07-08 12:46:33 +03:00
committed by bugmaster
parent 3e85dfc5e5
commit 210914d562
14 changed files with 129 additions and 129 deletions

View 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

View File

@@ -15,30 +15,30 @@
#include <Interface_Check.hxx>
#include <Interface_EntityIterator.hxx>
#include <RWStepVisual_RWAnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem.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_AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem.hxx>
#include <StepVisual_AnnotationCurveOccurrenceAndGeomReprItem.hxx>
//=======================================================================
//function : RWStepVisual_RWAnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem
//function : RWStepVisual_RWAnnotationCurveOccurrenceAndGeomReprItem
//purpose :
//=======================================================================
RWStepVisual_RWAnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem::
RWStepVisual_RWAnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem () {}
RWStepVisual_RWAnnotationCurveOccurrenceAndGeomReprItem::
RWStepVisual_RWAnnotationCurveOccurrenceAndGeomReprItem() {}
//=======================================================================
//function : ReadStep
//purpose :
//=======================================================================
void RWStepVisual_RWAnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem::ReadStep
void RWStepVisual_RWAnnotationCurveOccurrenceAndGeomReprItem::ReadStep
(const Handle(StepData_StepReaderData)& data,
const Standard_Integer num0,
Handle(Interface_Check)& ach,
const Handle(StepVisual_AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem)& ent) const
const Handle(StepVisual_AnnotationCurveOccurrenceAndGeomReprItem)& ent) const
{
Standard_Integer num = 0;
data->NamedForComplex("REPRESENTATION_ITEM", "RPRITM", num0, num, ach);
@@ -73,9 +73,9 @@ const Handle(StepVisual_AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomR
//function : WriteStep
//purpose :
//=======================================================================
void RWStepVisual_RWAnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem::WriteStep
void RWStepVisual_RWAnnotationCurveOccurrenceAndGeomReprItem::WriteStep
(StepData_StepWriter& SW,
const Handle(StepVisual_AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem)& ent) const
const Handle(StepVisual_AnnotationCurveOccurrenceAndGeomReprItem)& ent) const
{
SW.StartEntity("ANNOTATION_CURVE_OCCURRENCE");
SW.StartEntity("ANNOTATION_OCCURRENCE");
@@ -100,8 +100,8 @@ const Handle(StepVisual_AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomR
//function : Share
//purpose :
//=======================================================================
void RWStepVisual_RWAnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem::Share(
const Handle(StepVisual_AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem)& ent,
void RWStepVisual_RWAnnotationCurveOccurrenceAndGeomReprItem::Share(
const Handle(StepVisual_AnnotationCurveOccurrenceAndGeomReprItem)& ent,
Interface_EntityIterator& iter) const
{

View File

@@ -13,8 +13,8 @@
// 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
#ifndef _RWStepVisual_RWAnnotationCurveOccurrenceAndGeomReprItem_HeaderFile
#define _RWStepVisual_RWAnnotationCurveOccurrenceAndGeomReprItem_HeaderFile
#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
@@ -23,23 +23,23 @@
#include <Standard_Integer.hxx>
class StepData_StepReaderData;
class Interface_Check;
class StepVisual_AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem;
class StepVisual_AnnotationCurveOccurrenceAndGeomReprItem;
class StepData_StepWriter;
class Interface_EntityIterator;
//! Read & Write Module for AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem
class RWStepVisual_RWAnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem
//! Read & Write Module for StepVisual_AnnotationCurveOccurrenceAndGeomReprItem
class RWStepVisual_RWAnnotationCurveOccurrenceAndGeomReprItem
{
public:
DEFINE_STANDARD_ALLOC
Standard_EXPORT RWStepVisual_RWAnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem();
Standard_EXPORT RWStepVisual_RWAnnotationCurveOccurrenceAndGeomReprItem();
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 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_AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem)& ent) const;
Standard_EXPORT void WriteStep (StepData_StepWriter& SW, const Handle(StepVisual_AnnotationCurveOccurrenceAndGeomReprItem)& ent) const;
Standard_EXPORT void Share (const Handle(StepVisual_AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem)& ent, Interface_EntityIterator& iter) const;
Standard_EXPORT void Share (const Handle(StepVisual_AnnotationCurveOccurrenceAndGeomReprItem)& ent, Interface_EntityIterator& iter) const;
};
#endif // _RWStepVisual_RWAnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem_HeaderFile
#endif // _RWStepVisual_RWAnnotationCurveOccurrenceAndGeomReprItem_HeaderFile

View File

@@ -16,18 +16,18 @@
#include <Interface_Check.hxx>
#include <Interface_EntityIterator.hxx>
#include <RWStepVisual_RWCharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation.hxx>
#include <RWStepVisual_RWCharacterizedObjAndRepresentationAndDraughtingModel.hxx>
#include <StepData_StepReaderData.hxx>
#include <StepData_StepWriter.hxx>
#include <StepRepr_RepresentationContext.hxx>
#include <StepVisual_CharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation.hxx>
#include <StepVisual_CharacterizedObjAndRepresentationAndDraughtingModel.hxx>
//=======================================================================
//function : RWStepVisual_RWChObjAndChReprAndDModelAndRepr
//function : RWStepVisual_RWCharacterizedObjAndRepresentationAndDraughtingModel
//purpose :
//=======================================================================
RWStepVisual_RWCharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation::
RWStepVisual_RWCharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation()
RWStepVisual_RWCharacterizedObjAndRepresentationAndDraughtingModel::
RWStepVisual_RWCharacterizedObjAndRepresentationAndDraughtingModel()
{
}
@@ -37,10 +37,10 @@ RWStepVisual_RWCharacterizedObjectAndCharacterizedRepresentationAndDraughtingMod
//purpose :
//=======================================================================
void RWStepVisual_RWCharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation::ReadStep
void RWStepVisual_RWCharacterizedObjAndRepresentationAndDraughtingModel::ReadStep
(const Handle(StepData_StepReaderData)& data,
const Standard_Integer num0, Handle(Interface_Check)& ach,
const Handle(StepVisual_CharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation)& ent) const
const Handle(StepVisual_CharacterizedObjAndRepresentationAndDraughtingModel)& ent) const
{
Standard_Integer num = 0;
data->NamedForComplex("REPRESENTATION","RPRSNT", num0, num, ach);
@@ -78,9 +78,9 @@ void RWStepVisual_RWCharacterizedObjectAndCharacterizedRepresentationAndDraughti
//purpose :
//=======================================================================
void RWStepVisual_RWCharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation::WriteStep
void RWStepVisual_RWCharacterizedObjAndRepresentationAndDraughtingModel::WriteStep
(StepData_StepWriter& SW,
const Handle(StepVisual_CharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation)& ent) const
const Handle(StepVisual_CharacterizedObjAndRepresentationAndDraughtingModel)& ent) const
{
SW.StartEntity("CHARACTERIZED_OBJECT");
SW.SendDerived();
@@ -103,8 +103,8 @@ void RWStepVisual_RWCharacterizedObjectAndCharacterizedRepresentationAndDraughti
//purpose :
//=======================================================================
void RWStepVisual_RWCharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation::Share
(const Handle(StepVisual_CharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation)& ent,
void RWStepVisual_RWCharacterizedObjAndRepresentationAndDraughtingModel::Share
(const Handle(StepVisual_CharacterizedObjAndRepresentationAndDraughtingModel)& ent,
Interface_EntityIterator& iter) const
{
Standard_Integer nbElem = ent->NbItems();

View File

@@ -13,8 +13,8 @@
// 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
#ifndef _RWStepVisual_RWCharacterizedObjAndRepresentationAndDraughtingModel_HeaderFile
#define _RWStepVisual_RWCharacterizedObjAndRepresentationAndDraughtingModel_HeaderFile
#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
@@ -23,29 +23,29 @@
#include <Standard_Integer.hxx>
class StepData_StepReaderData;
class Interface_Check;
class StepVisual_CharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation;
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_RWCharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation
class RWStepVisual_RWCharacterizedObjAndRepresentationAndDraughtingModel
{
public:
DEFINE_STANDARD_ALLOC
Standard_EXPORT RWStepVisual_RWCharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation();
Standard_EXPORT RWStepVisual_RWCharacterizedObjAndRepresentationAndDraughtingModel();
Standard_EXPORT void ReadStep(const Handle(StepData_StepReaderData)& data,
const Standard_Integer num, Handle(Interface_Check)& ach,
const Handle(StepVisual_CharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation)& ent) const;
const Handle(StepVisual_CharacterizedObjAndRepresentationAndDraughtingModel)& ent) const;
Standard_EXPORT void WriteStep(StepData_StepWriter& SW,
const Handle(StepVisual_CharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation)& ent) const;
const Handle(StepVisual_CharacterizedObjAndRepresentationAndDraughtingModel)& ent) const;
Standard_EXPORT void Share(const Handle(StepVisual_CharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation)& ent,
Standard_EXPORT void Share(const Handle(StepVisual_CharacterizedObjAndRepresentationAndDraughtingModel)& ent,
Interface_EntityIterator& iter) const;
};
#endif // _RRWStepVisual_RWCharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation_HeaderFile
#endif // _RWStepVisual_RWCharacterizedObjAndRepresentationAndDraughtingModel_HeaderFile