1
0
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:
abv
2014-04-15 08:50:00 +04:00
committed by apn
parent 99c68ea35f
commit 6e33d3ced2
2421 changed files with 6557 additions and 6604 deletions

View File

@@ -132,7 +132,7 @@ raises DomainError from Standard
is
Initialize
returns mutable Attribute from TDF;
returns Attribute from TDF;
---Purpose: Initializes fields.
---Category: Information access.
@@ -347,7 +347,7 @@ is
--
---C++: inline
BackupCopy(me) returns mutable Attribute from TDF
BackupCopy(me) returns Attribute from TDF
is virtual;
---Purpose: Copies the attribute contents into a new other
-- attribute. It is used by Backup().
@@ -403,14 +403,14 @@ is
-- ==============================================================
NewEmpty(me)
returns mutable Attribute from TDF
returns Attribute from TDF
is deferred;
---Purpose: Returns an new empty attribute from the good end
-- type. It is used by the copy algorithm.
Paste(me;
intoAttribute : mutable Attribute from TDF;
aRelocationTable : mutable RelocationTable from TDF)
intoAttribute : Attribute from TDF;
aRelocationTable : RelocationTable from TDF)
is deferred;
---Purpose: This method is different from the "Copy" one,
-- because it is used when copying an attribute from

View File

@@ -48,12 +48,12 @@ uses
is
Closure(myclass;
aDataSet : mutable DataSet from TDF);
aDataSet : DataSet from TDF);
---Purpose: Builds the transitive closure of label and
-- attribute sets into <aDataSet>.
Closure(myclass;
aDataSet : mutable DataSet from TDF;
aDataSet : DataSet from TDF;
aFilter : IDFilter from TDF;
aMode : ClosureMode from TDF);
---Purpose: Builds the transitive closure of label and

View File

@@ -62,7 +62,7 @@ is
aSourceDataSet : DataSet from TDF;
aTargetDataSet : DataSet from TDF;
aFilter : IDFilter from TDF;
aRelocationTable : mutable RelocationTable from TDF);
aRelocationTable : RelocationTable from TDF);
---Purpose: Compares <aSourceDataSet> with <aTargetDataSet>,
-- updating <aRelocationTable> with labels and
-- attributes found in both sets.
@@ -71,7 +71,7 @@ is
aRefDataSet : DataSet from TDF;
aRelocationTable : RelocationTable from TDF;
aFilter : IDFilter from TDF;
aDiffDataSet : mutable DataSet from TDF;
aDiffDataSet : DataSet from TDF;
anOption : Integer from Standard = 2)
returns Boolean from Standard;
---Purpose: Finds from <aRefDataSet> all the keys not bound
@@ -89,7 +89,7 @@ is
aRefDataSet : DataSet from TDF;
aRelocationTable : RelocationTable from TDF;
aFilter : IDFilter from TDF;
aDiffDataSet : mutable DataSet from TDF;
aDiffDataSet : DataSet from TDF;
anOption : Integer from Standard = 2)
returns Boolean from Standard;
---Purpose: Substracts from <aRefDataSet> all the items bound
@@ -127,7 +127,7 @@ is
aSourceDataSet : DataSet from TDF;
aTargetDataSet : DataSet from TDF;
aFilter : IDFilter from TDF;
aRelocationTable : mutable RelocationTable from TDF)
aRelocationTable : RelocationTable from TDF)
is private;
---Purpose: Internal comparison method used by Compare(...).
@@ -136,7 +136,7 @@ is
aRefDataSet : DataSet from TDF;
aRelocationTable : RelocationTable from TDF;
aFilter : IDFilter from TDF;
aDiffDataSet : mutable DataSet from TDF;
aDiffDataSet : DataSet from TDF;
anOption : Integer from Standard;
theSource : Boolean from Standard)
returns Boolean from Standard

View File

@@ -79,14 +79,14 @@ is
Copy(myclass;
aSourceDataSet : DataSet from TDF;
aRelocationTable : mutable RelocationTable from TDF);
aRelocationTable : RelocationTable from TDF);
---Purpose: Copy <aSourceDataSet> with using and updating
-- <aRelocationTable>. This method ignores target
-- attributes privilege over source ones.
Copy(myclass;
aSourceDataSet : DataSet from TDF;
aRelocationTable : mutable RelocationTable from TDF;
aRelocationTable : RelocationTable from TDF;
aPrivilegeFilter : IDFilter from TDF);
---Purpose: Copy <aSourceDataSet> using and updating
-- <aRelocationTable>. Use <aPrivilegeFilter> to give
@@ -99,7 +99,7 @@ is
Copy(myclass;
aSourceDataSet : DataSet from TDF;
aRelocationTable : mutable RelocationTable from TDF;
aRelocationTable : RelocationTable from TDF;
aPrivilegeFilter : IDFilter from TDF;
aRefFilter : IDFilter from TDF;
setSelfContained : Boolean from Standard);

View File

@@ -50,7 +50,7 @@ raises
is
Create returns mutable Data from TDF;
Create returns Data from TDF;
---Purpose: A new and empty Data structure.
-- -----------------------------------------------------------------------

View File

@@ -40,7 +40,7 @@ uses
is
Create
returns mutable DataSet from TDF;
returns DataSet from TDF;
---Purpose: Creates an empty DataSet object.
Clear(me : mutable);

View File

@@ -37,7 +37,7 @@ uses
is
Create(anAtt : Attribute from TDF)
returns mutable DeltaOnAddition from TDF;
returns DeltaOnAddition from TDF;
---Purpose: Creates a TDF_DeltaOnAddition.
Apply (me : mutable)

View File

@@ -35,7 +35,7 @@ uses
is
Create(anAtt : Attribute from TDF)
returns mutable DeltaOnForget from TDF;
returns DeltaOnForget from TDF;
---Purpose: Creates a TDF_DeltaOnForget.
Apply (me : mutable)

View File

@@ -38,7 +38,7 @@ uses
is
Initialize(anAttribute: Attribute from TDF)
returns mutable DeltaOnModification from TDF;
returns DeltaOnModification from TDF;
---Purpose: Initializes a TDF_DeltaOnModification.
Apply (me : mutable)

View File

@@ -35,7 +35,7 @@ uses
is
Create(anAtt : Attribute from TDF)
returns mutable DeltaOnResume from TDF;
returns DeltaOnResume from TDF;
---Purpose: Creates a TDF_DeltaOnResume.
Apply (me : mutable)

View File

@@ -50,10 +50,10 @@ is
Restore (me: mutable; With : Attribute from TDF);
NewEmpty (me)
returns mutable Attribute from TDF;
returns Attribute from TDF;
Paste (me; Into : mutable Attribute from TDF;
RT : mutable RelocationTable from TDF);
Paste (me; Into : Attribute from TDF;
RT : RelocationTable from TDF);
References (me; DS : DataSet from TDF) is redefined;
@@ -64,7 +64,7 @@ is
---C++: return &
Create
returns mutable Reference from TDF;
returns Reference from TDF;
fields

View File

@@ -54,7 +54,7 @@ is
Create(selfRelocate : Boolean from Standard = Standard_False)
-- Create(selfRelocate : Boolean from Standard = Standard_False;afterRelocate :Boolean from Standard = Standard_False)
returns mutable RelocationTable from TDF;
returns RelocationTable from TDF;
---Purpose: Creates an relocation table. <selfRelocate> says
-- if a value without explicit relocation is its own
-- relocation.
@@ -120,7 +120,7 @@ is
HasRelocation(me;
aSourceAttribute : Attribute from TDF;
aTargetAttribute : in out mutable Attribute from TDF)
aTargetAttribute : in out Attribute from TDF)
returns Boolean from Standard;
---Purpose: Finds the relocation value of <aSourceAttribute>
-- and returns it into <aTargetAttribute>.
@@ -141,7 +141,7 @@ is
HasTransientRelocation
(me;
aSourceTransient : Transient from Standard;
aTargetTransient : in out mutable Transient from Standard)
aTargetTransient : in out Transient from Standard)
returns Boolean from Standard;
---Purpose: Finds the relocation value of <aSourceTransient>
-- and returns it into <aTargetTransient>.

View File

@@ -49,7 +49,7 @@ is
-- =================
Create
returns mutable TagSource from TDF;
returns TagSource from TDF;
NewTag (me : mutable)
returns Integer from Standard;
@@ -72,11 +72,11 @@ is
NewEmpty (me)
returns mutable Attribute from TDF;
returns Attribute from TDF;
Paste (me; Into : mutable Attribute from TDF;
RT : mutable RelocationTable from TDF);
Paste (me; Into : Attribute from TDF;
RT : RelocationTable from TDF);
fields