mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0024830: Remove redundant keyword 'mutable' in CDL declarations
Redundant keyword 'mutable' removed in CDL files. In IGESConvGeom_GeomBuilder, unused methods MakeXY() and MakeXYZ() removed. Method StepAP214_AutoDesignGroupAssignment::Init() replicating same method of the base class is removed as it causes CDL extraction error after above (seemingly irrelevant) changes.
This commit is contained in:
@@ -48,25 +48,25 @@ uses
|
||||
|
||||
is
|
||||
|
||||
Create returns mutable ActorRead from STEPControl;
|
||||
Create returns ActorRead from STEPControl;
|
||||
|
||||
Recognize (me : mutable; start : Transient) returns Boolean is redefined;
|
||||
|
||||
Transfer (me : mutable; start : Transient;
|
||||
TP : mutable TransientProcess from Transfer)
|
||||
returns mutable Binder from Transfer is redefined;
|
||||
TP : TransientProcess from Transfer)
|
||||
returns Binder from Transfer is redefined;
|
||||
-- calls TransferShape
|
||||
|
||||
TransferShape (me : mutable;
|
||||
start : Transient;
|
||||
TP : mutable TransientProcess from Transfer;
|
||||
TP : TransientProcess from Transfer;
|
||||
isManifold : Boolean = Standard_True)
|
||||
returns mutable Binder from Transfer;
|
||||
returns Binder from Transfer;
|
||||
|
||||
---Private: unit and uncertainty context management
|
||||
|
||||
PrepareUnits (me : mutable; rep: Representation from StepRepr;
|
||||
TP: mutable TransientProcess from Transfer);
|
||||
TP: TransientProcess from Transfer);
|
||||
---Purpose: set units and tolerances context by given ShapeRepresentation
|
||||
|
||||
ResetUnits (me: mutable);
|
||||
@@ -75,7 +75,7 @@ is
|
||||
|
||||
ComputeTransformation (me: mutable; Origin, Target: Axis2Placement3d from StepGeom;
|
||||
OrigContext, TargContext: Representation from StepRepr;
|
||||
TP: mutable TransientProcess from Transfer;
|
||||
TP: TransientProcess from Transfer;
|
||||
Trsf: out Trsf from gp)
|
||||
returns Boolean;
|
||||
---Purpose: Computes transformation defined by two axis placements (in MAPPED_ITEM
|
||||
@@ -84,53 +84,53 @@ is
|
||||
-- Returns True if transformation is computed and is not an identity.
|
||||
|
||||
ComputeSRRWT (me: mutable; SRR: RepresentationRelationship from StepRepr;
|
||||
TP: mutable TransientProcess from Transfer;
|
||||
TP: TransientProcess from Transfer;
|
||||
Trsf: out Trsf from gp)
|
||||
returns Boolean;
|
||||
---Purpose: Computes transformation defined by given
|
||||
-- REPRESENTATION_RELATIONSHIP_WITH_TRANSFORMATION
|
||||
|
||||
TransferEntity(me: mutable; PD : ProductDefinition from StepBasic;
|
||||
TP : mutable TransientProcess from Transfer) returns mutable ShapeBinder from TransferBRep is protected;
|
||||
TP : TransientProcess from Transfer) returns ShapeBinder from TransferBRep is protected;
|
||||
---Purpose:Transfers product definition entity
|
||||
|
||||
|
||||
TransferEntity(me: mutable; NAUO : NextAssemblyUsageOccurrence from StepRepr;
|
||||
TP : mutable TransientProcess from Transfer) returns mutable ShapeBinder from TransferBRep is protected;
|
||||
TP : TransientProcess from Transfer) returns ShapeBinder from TransferBRep is protected;
|
||||
---Purpose:Transfers next assembly usage occurence entity
|
||||
|
||||
TransferEntity(me: mutable; sr : ShapeRepresentation from StepShape;
|
||||
TP : mutable TransientProcess from Transfer;
|
||||
isBound : out Boolean ) returns mutable ShapeBinder from TransferBRep is protected;
|
||||
TP : TransientProcess from Transfer;
|
||||
isBound : out Boolean ) returns ShapeBinder from TransferBRep is protected;
|
||||
---Purpose:Transfers shape representation entity
|
||||
|
||||
|
||||
TransferEntity(me: mutable; CDSR : ContextDependentShapeRepresentation from StepShape;
|
||||
TP : mutable TransientProcess from Transfer) returns mutable ShapeBinder from TransferBRep is protected;
|
||||
TP : TransientProcess from Transfer) returns ShapeBinder from TransferBRep is protected;
|
||||
---Purpose:Transfers context dependent shape representation entity
|
||||
|
||||
TransferEntity(me: mutable; und : ShapeRepresentationRelationship from StepRepr;
|
||||
TP : mutable TransientProcess from Transfer;
|
||||
nbrep : Integer =0) returns mutable ShapeBinder from TransferBRep is protected;
|
||||
TP : TransientProcess from Transfer;
|
||||
nbrep : Integer =0) returns ShapeBinder from TransferBRep is protected;
|
||||
---Purpose:Transfers shape representation relationship entity
|
||||
|
||||
|
||||
TransferEntity(me : mutable;
|
||||
git : GeometricRepresentationItem from StepGeom;
|
||||
TP : mutable TransientProcess from Transfer;
|
||||
isManifold : Boolean) returns mutable ShapeBinder from TransferBRep is protected;
|
||||
TP : TransientProcess from Transfer;
|
||||
isManifold : Boolean) returns ShapeBinder from TransferBRep is protected;
|
||||
---Purpose:Transfers geometric representation item entity such as ManifoldSolidBRep ,...etc
|
||||
|
||||
TransferEntity(me: mutable; mapit : MappedItem from StepRepr;
|
||||
TP : mutable TransientProcess from Transfer) returns mutable ShapeBinder from TransferBRep is protected;
|
||||
TP : TransientProcess from Transfer) returns ShapeBinder from TransferBRep is protected;
|
||||
---Purpose:Transfers mapped item
|
||||
|
||||
TransferEntity(me: mutable; fs : FaceSurface from StepShape;
|
||||
TP : mutable TransientProcess from Transfer) returns mutable ShapeBinder from TransferBRep is protected;
|
||||
TP : TransientProcess from Transfer) returns ShapeBinder from TransferBRep is protected;
|
||||
---Purpose:Transfers FaceSurface entity
|
||||
|
||||
OldWay(me: mutable; start : Transient;
|
||||
TP : mutable TransientProcess from Transfer) returns mutable ShapeBinder from TransferBRep is protected;
|
||||
TP : TransientProcess from Transfer) returns ShapeBinder from TransferBRep is protected;
|
||||
---Purpose:Tranlates file by old way when CDSR are roots . Acts only if "read.step.product_mode" is equal Off.
|
||||
|
||||
closeIDEASShell(me : mutable;
|
||||
|
@@ -35,34 +35,34 @@ uses FinderProcess, TransientProcess, Binder, Finder, StepModel from StepData,
|
||||
|
||||
is
|
||||
|
||||
Create returns mutable ActorWrite from STEPControl;
|
||||
Create returns ActorWrite from STEPControl;
|
||||
|
||||
Recognize (me : mutable; start : Finder) returns Boolean is redefined;
|
||||
|
||||
Transfer (me : mutable; start : Finder; FP : mutable FinderProcess)
|
||||
returns mutable Binder is redefined;
|
||||
Transfer (me : mutable; start : Finder; FP : FinderProcess)
|
||||
returns Binder is redefined;
|
||||
-- enchains : TransferShape , MakeProductData , and manages mode
|
||||
-- "simple" or in Assembly
|
||||
|
||||
TransferSubShape (me : mutable; start : Finder;
|
||||
SDR : ShapeDefinitionRepresentation from StepShape;
|
||||
AX1 : out Axis2Placement3d from StepGeom;
|
||||
FP : mutable FinderProcess;
|
||||
FP : FinderProcess;
|
||||
shapeGroup : HSequenceOfShape from TopTools = NULL;
|
||||
isManifold : Boolean = Standard_True)
|
||||
returns mutable Binder;
|
||||
returns Binder;
|
||||
|
||||
TransferShape (me : mutable; start : Finder;
|
||||
SDR : ShapeDefinitionRepresentation from StepShape;
|
||||
FP : mutable FinderProcess;
|
||||
FP : FinderProcess;
|
||||
shapeGroup : HSequenceOfShape from TopTools = NULL;
|
||||
isManifold : Boolean = Standard_True)
|
||||
returns mutable Binder;
|
||||
returns Binder;
|
||||
|
||||
TransferCompound (me : mutable; start : Finder;
|
||||
SDR : ShapeDefinitionRepresentation from StepShape;
|
||||
FP : mutable FinderProcess)
|
||||
returns mutable Binder;
|
||||
FP : FinderProcess)
|
||||
returns Binder;
|
||||
|
||||
-- InitProductData (me: mutable) returns Part from STEPConstruct;
|
||||
|
||||
@@ -71,7 +71,7 @@ is
|
||||
-- SDRTool : Part from STEPConstruct;
|
||||
-- model : StepModel from StepData;
|
||||
-- addPRPC : Boolean)
|
||||
-- returns mutable Binder;
|
||||
-- returns Binder;
|
||||
|
||||
|
||||
SetMode (me : mutable; M : StepModelType from STEPControl);
|
||||
@@ -97,7 +97,7 @@ is
|
||||
|
||||
getNMSSRForGroup (me;
|
||||
shapeGroup : HSequenceOfShape from TopTools;
|
||||
FP : mutable FinderProcess;
|
||||
FP : FinderProcess;
|
||||
isNMSSRCreated : in out Boolean)
|
||||
returns NonManifoldSurfaceShapeRepresentation from StepShape
|
||||
is private;
|
||||
|
@@ -33,16 +33,16 @@ uses
|
||||
|
||||
is
|
||||
|
||||
Create returns mutable Controller from STEPControl;
|
||||
Create returns Controller from STEPControl;
|
||||
---Purpose : Initializes the use of STEP Norm (the first time) and
|
||||
-- returns a Controller
|
||||
|
||||
NewModel (me) returns mutable InterfaceModel from Interface;
|
||||
NewModel (me) returns InterfaceModel from Interface;
|
||||
---Purpose : Creates a new empty Model ready to receive data of the Norm.
|
||||
-- It is taken from STEP Template Model
|
||||
|
||||
ActorRead (me; model : InterfaceModel)
|
||||
returns mutable ActorOfTransientProcess from Transfer;
|
||||
returns ActorOfTransientProcess from Transfer;
|
||||
---Purpose : Returns a new Actor for Read attached to the pair (norm,appli)
|
||||
-- It is a PmsToTopoDSAct_Actor
|
||||
|
||||
@@ -50,8 +50,8 @@ is
|
||||
Customise (me: mutable; WS : in out WorkSession from XSControl) is redefined;
|
||||
|
||||
TransferWriteShape (me; shape : Shape from TopoDS;
|
||||
FP : mutable FinderProcess from Transfer;
|
||||
model : mutable InterfaceModel from Interface;
|
||||
FP : FinderProcess from Transfer;
|
||||
model : InterfaceModel from Interface;
|
||||
modetrans : Integer = 0) returns ReturnStatus
|
||||
is redefined;
|
||||
---Purpose : Takes one Shape and transfers it to the InterfaceModel
|
||||
|
@@ -68,7 +68,7 @@ is
|
||||
Create returns Reader;
|
||||
---Purpose : Creates a reader object with an empty STEP model.
|
||||
|
||||
Create (WS : mutable WorkSession from XSControl;
|
||||
Create (WS : WorkSession from XSControl;
|
||||
scratch : Boolean = Standard_True) returns Reader;
|
||||
---Purpose : Creates a Reader for STEP from an already existing Session
|
||||
-- Clears the session if it was not yet set for STEP
|
||||
|
@@ -35,7 +35,7 @@ is
|
||||
Create returns Writer;
|
||||
---Purpose : Creates a Writer from scratch
|
||||
|
||||
Create (WS : mutable WorkSession from XSControl;
|
||||
Create (WS : WorkSession from XSControl;
|
||||
scratch : Boolean = Standard_True) returns Writer;
|
||||
---Purpose : Creates a Writer from an already existing Session
|
||||
-- If <scratch> is True (D), clears already recorded data
|
||||
@@ -48,7 +48,7 @@ is
|
||||
UnsetTolerance (me : in out);
|
||||
---Purpose : Unsets the tolerance formerly forced by SetTolerance
|
||||
|
||||
SetWS (me : in out; WS : mutable WorkSession from XSControl;
|
||||
SetWS (me : in out; WS : WorkSession from XSControl;
|
||||
scratch : Boolean = Standard_True);
|
||||
---Purpose : Sets a specific session to <me>
|
||||
|
||||
|
Reference in New Issue
Block a user