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

@@ -42,7 +42,7 @@ is
-- ===================
Create
returns mutable AsciiString from TDataStd;
returns AsciiString from TDataStd;
-- Constructor
Set (me : mutable; S : AsciiString from TCollection);
@@ -68,11 +68,11 @@ is
-- Restores the backuped content from <with> into this one.
NewEmpty (me)
returns mutable Attribute from TDF;
returns Attribute from TDF;
-- Returns an new empty AsciiString attribute.
Paste (me; into : mutable Attribute from TDF;
RT : mutable RelocationTable from TDF);
Paste (me; into : Attribute from TDF;
RT : RelocationTable from TDF);
-- This method is used when copying an attribute from a source structure
-- into a target structure.

View File

@@ -88,7 +88,7 @@ is
---Category: Methodes of TDF_Attribute
-- =========================
Create
returns mutable BooleanArray from TDataStd;
returns BooleanArray from TDataStd;
ID (me)
---C++: return const &
@@ -98,10 +98,10 @@ is
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);
Dump (me;
OS : in out OStream from Standard)

View File

@@ -44,7 +44,7 @@ is
-- ===================
Create
returns mutable BooleanList from TDataStd;
returns BooleanList from TDataStd;
IsEmpty (me)
returns Boolean from Standard;
@@ -83,10 +83,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);
Dump(me; anOS : in out OStream from Standard)
returns OStream from Standard

View File

@@ -110,7 +110,7 @@ is
---Category: Methodes of TDF_Attribute
-- =========================
Create
returns mutable ByteArray from TDataStd;
returns ByteArray from TDataStd;
ID (me)
---C++: return const &
@@ -120,10 +120,10 @@ is
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);
Dump (me;
OS : in out OStream from Standard)

View File

@@ -54,7 +54,7 @@ is
-- ============
Create
returns mutable Comment from TDataStd;
returns Comment from TDataStd;
Set (me : mutable; S : ExtendedString from TCollection);
@@ -75,10 +75,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);
Dump(me; anOS : in out OStream from Standard)
returns OStream from Standard

View File

@@ -54,7 +54,7 @@ is
-- =============
Create
returns mutable Current from TDataStd;
returns Current from TDataStd;
SetLabel (me : mutable; current : Label from TDF);
@@ -71,10 +71,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);
Dump(me; anOS : in out OStream from Standard)
returns OStream from Standard

View File

@@ -27,7 +27,7 @@ uses
is
Create (Arr : ByteArray from TDataStd)
returns mutable DeltaOnModificationOfByteArray from TDataStd;
returns DeltaOnModificationOfByteArray from TDataStd;
---Purpose: Initializes a TDF_DeltaOnModification.
Apply (me : mutable)

View File

@@ -26,7 +26,7 @@ uses
is
Create (Arr : ExtStringArray from TDataStd)
returns mutable DeltaOnModificationOfExtStringArray from TDataStd;
returns DeltaOnModificationOfExtStringArray from TDataStd;
---Purpose: Initializes a TDF_DeltaOnModification.
Apply (me : mutable)

View File

@@ -25,7 +25,7 @@ uses
is
Create (Arr : IntegerArray from TDataStd)
returns mutable DeltaOnModificationOfIntArray from TDataStd;
returns DeltaOnModificationOfIntArray from TDataStd;
---Purpose: Initializes a TDF_DeltaOnModification.
Apply (me : mutable)

View File

@@ -27,7 +27,7 @@ uses
is
Create (Arr : IntPackedMap from TDataStd)
returns mutable DeltaOnModificationOfIntPackedMap from TDataStd;
returns DeltaOnModificationOfIntPackedMap from TDataStd;
---Purpose: Initializes a TDF_DeltaOnModification.
Apply (me : mutable)

View File

@@ -28,7 +28,7 @@ uses
is
Create (Arr : RealArray from TDataStd)
returns mutable DeltaOnModificationOfRealArray from TDataStd;
returns DeltaOnModificationOfRealArray from TDataStd;
---Purpose: Initializes a TDF_DeltaOnModification.
Apply (me : mutable)

View File

@@ -66,7 +66,7 @@ is
-- ===============
Create
returns mutable Directory from TDataStd;
returns Directory from TDataStd;
---Category: methodes de TDF_Attribute
-- =========================
@@ -78,10 +78,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;

View File

@@ -54,7 +54,7 @@ is
-- ============
Create
returns mutable Expression from TDataStd;
returns Expression from TDataStd;
Name (me)
---Purpose: build and return the expression name
@@ -80,10 +80,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);
Dump(me; anOS : in out OStream from Standard)
returns OStream from Standard

View File

@@ -99,7 +99,7 @@ is
---Category: methodes of TDF_Attribute
-- =========================
Create returns mutable ExtStringArray from TDataStd;
Create returns ExtStringArray from TDataStd;
ID (me)
---C++: return const &
@@ -108,10 +108,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);
Dump(me; anOS : in out OStream from Standard)
returns OStream from Standard

View File

@@ -45,7 +45,7 @@ is
-- =====================
Create
returns mutable ExtStringList from TDataStd;
returns ExtStringList from TDataStd;
IsEmpty (me)
returns Boolean from Standard;
@@ -101,10 +101,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);
Dump(me; anOS : in out OStream from Standard)
returns OStream from Standard

View File

@@ -23,10 +23,10 @@ uses
is
Create( NbBuckets: Integer from Standard = 1 )
returns mutable HDataMapOfStringByte from TDataStd;
returns HDataMapOfStringByte from TDataStd;
Create( theOther: DataMapOfStringByte from TDataStd)
returns mutable HDataMapOfStringByte from TDataStd;
returns HDataMapOfStringByte from TDataStd;
Map( me ) returns DataMapOfStringByte from TDataStd
---C++: return const &

View File

@@ -23,10 +23,10 @@ uses
is
Create( NbBuckets: Integer from Standard = 1 )
returns mutable HDataMapOfStringHArray1OfInteger from TDataStd;
returns HDataMapOfStringHArray1OfInteger from TDataStd;
Create( theOther: DataMapOfStringHArray1OfInteger from TDataStd)
returns mutable HDataMapOfStringHArray1OfInteger from TDataStd;
returns HDataMapOfStringHArray1OfInteger from TDataStd;
Map( me ) returns DataMapOfStringHArray1OfInteger from TDataStd
---C++: return const &

View File

@@ -23,10 +23,10 @@ uses
is
Create( NbBuckets: Integer from Standard = 1 )
returns mutable HDataMapOfStringHArray1OfReal from TDataStd;
returns HDataMapOfStringHArray1OfReal from TDataStd;
Create( theOther: DataMapOfStringHArray1OfReal from TDataStd)
returns mutable HDataMapOfStringHArray1OfReal from TDataStd;
returns HDataMapOfStringHArray1OfReal from TDataStd;
Map( me ) returns DataMapOfStringHArray1OfReal from TDataStd
---C++: return const &

View File

@@ -23,10 +23,10 @@ uses
is
Create( NbBuckets: Integer from Standard = 1 )
returns mutable HDataMapOfStringInteger from TDataStd;
returns HDataMapOfStringInteger from TDataStd;
Create( theOther: DataMapOfStringInteger from TColStd)
returns mutable HDataMapOfStringInteger from TDataStd;
returns HDataMapOfStringInteger from TDataStd;
Map( me ) returns DataMapOfStringInteger from TColStd
---C++: return const &

View File

@@ -23,10 +23,10 @@ uses
is
Create( NbBuckets: Integer from Standard = 1 )
returns mutable HDataMapOfStringReal from TDataStd;
returns HDataMapOfStringReal from TDataStd;
Create( theOther: DataMapOfStringReal from TDataStd)
returns mutable HDataMapOfStringReal from TDataStd;
returns HDataMapOfStringReal from TDataStd;
Map( me ) returns DataMapOfStringReal from TDataStd
---C++: return const &

View File

@@ -23,10 +23,10 @@ uses
is
Create( NbBuckets: Integer from Standard = 1 )
returns mutable HDataMapOfStringString from TDataStd;
returns HDataMapOfStringString from TDataStd;
Create( theOther: DataMapOfStringString from TDataStd)
returns mutable HDataMapOfStringString from TDataStd;
returns HDataMapOfStringString from TDataStd;
Map( me ) returns DataMapOfStringString from TDataStd
---C++: return const &

View File

@@ -49,7 +49,7 @@ is
-- ===================
Create
returns mutable IntPackedMap from TDataStd;
returns IntPackedMap from TDataStd;
-- Constructor
ChangeMap (me : mutable; theMap : HPackedMapOfInteger from TColStd)
@@ -116,11 +116,11 @@ is
-- Restores the backuped content from <with> into this one.
NewEmpty (me)
returns mutable Attribute from TDF;
returns Attribute from TDF;
-- Returns an new empty AsciiString attribute.
Paste (me; into : mutable Attribute from TDF;
RT : mutable RelocationTable from TDF);
Paste (me; into : Attribute from TDF;
RT : RelocationTable from TDF);
-- This method is used when copying an attribute from a source structure
-- into a target structure.

View File

@@ -60,10 +60,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);
Dump(me; anOS : in out OStream from Standard)
returns OStream from Standard
@@ -72,7 +72,7 @@ is
Create
returns mutable Integer from TDataStd;
returns Integer from TDataStd;
fields

View File

@@ -100,7 +100,7 @@ is
---Category: methodes of TDF_Attribute
-- =========================
Create returns mutable IntegerArray from TDataStd;
Create returns IntegerArray from TDataStd;
ID (me)
---C++: return const &
@@ -109,10 +109,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);
---Purpose: Note. Uses inside ChangeArray() method
Dump(me; anOS : in out OStream from Standard)

View File

@@ -44,7 +44,7 @@ is
-- ===================
Create
returns mutable IntegerList from TDataStd;
returns IntegerList from TDataStd;
IsEmpty (me)
returns Boolean from Standard;
@@ -97,10 +97,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);
Dump(me; anOS : in out OStream from Standard)
returns OStream from Standard

View File

@@ -119,7 +119,7 @@ is
-- ============
Create
returns mutable Name from TDataStd;
returns Name from TDataStd;
--Father (me; father : in out Name from TDataStd)
@@ -160,10 +160,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);
Dump(me; anOS : in out OStream from Standard)
returns OStream from Standard

View File

@@ -58,7 +58,7 @@ is
-- =================
Create
returns mutable NamedData from TDataStd;
returns NamedData from TDataStd;
---Category: Integers
@@ -297,10 +297,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);
Dump(me; anOS : in out OStream from Standard)
returns OStream from Standard

View File

@@ -50,7 +50,7 @@ is
-- ===============
Create
returns mutable NoteBook from TDataStd;
returns NoteBook from TDataStd;
Append (me : mutable; value : Real from Standard;
@@ -78,10 +78,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);
Dump(me; anOS : in out OStream from Standard)
returns OStream from Standard

View File

@@ -45,7 +45,7 @@ is
-- ============
Create
returns mutable Real from TDataStd;
returns Real from TDataStd;
SetDimension (me : mutable; DIM : RealEnum from TDataStd);
@@ -75,10 +75,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);
Dump(me; anOS : in out OStream from Standard)

View File

@@ -98,7 +98,7 @@ is
---Category: methodes of TDF_Attribute
-- =========================
Create
returns mutable RealArray from TDataStd;
returns RealArray from TDataStd;
ID (me)
---C++: return const &
@@ -107,10 +107,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);
---Purpose: Note. Uses inside ChangeArray() method
Dump(me; anOS : in out OStream from Standard)

View File

@@ -44,7 +44,7 @@ is
-- ===================
Create
returns mutable RealList from TDataStd;
returns RealList from TDataStd;
IsEmpty (me)
returns Boolean from Standard;
@@ -98,10 +98,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);
Dump(me; anOS : in out OStream from Standard)
returns OStream from Standard

View File

@@ -91,7 +91,7 @@ is
-- =========================
Create
returns mutable ReferenceArray from TDataStd;
returns ReferenceArray from TDataStd;
ID (me)
---C++: return const &
@@ -100,10 +100,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;

View File

@@ -45,7 +45,7 @@ is
-- =====================
Create
returns mutable ReferenceList from TDataStd;
returns ReferenceList from TDataStd;
IsEmpty (me)
returns Boolean from Standard;
@@ -101,10 +101,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;

View File

@@ -54,7 +54,7 @@ is
-- ============
Create
returns mutable Relation from TDataStd;
returns Relation from TDataStd;
Name (me)
---Purpose: build and return the relation name
@@ -80,10 +80,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);
Dump(me; anOS : in out OStream from Standard)
returns OStream from Standard

View File

@@ -47,7 +47,7 @@ is
-- ============
Create
returns mutable Tick from TDataStd;
returns Tick from TDataStd;
---Category: Inherited methods
@@ -60,10 +60,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);
Dump (me; anOS : in out OStream from Standard)
returns OStream from Standard

View File

@@ -69,7 +69,7 @@ is
---Purpose: Instance methods:
-- ================
Create returns mutable TreeNode from TDataStd;
Create returns TreeNode from TDataStd;
Append (me : mutable; Child : TreeNode from TDataStd)
@@ -245,12 +245,12 @@ is
Restore (me: mutable; with : Attribute from TDF)
is virtual;
Paste (me; into : mutable Attribute from TDF;
RT : mutable RelocationTable from TDF)
Paste (me; into : Attribute from TDF;
RT : RelocationTable from TDF)
is virtual;
NewEmpty(me)
returns mutable Attribute from TDF
returns Attribute from TDF
is redefined;
References(me;

View File

@@ -39,7 +39,7 @@ is
-- ============
Create
returns mutable UAttribute from TDataStd;
returns UAttribute from TDataStd;
SetID (me: mutable; LocalID : GUID from Standard);
@@ -53,10 +53,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;

View File

@@ -60,7 +60,7 @@ is
-- ============
Create
returns mutable Variable from TDataStd;
returns Variable from TDataStd;
Name (me : mutable; string : ExtendedString from TCollection);
---Purpose: set or change the name of the variable, in myUnknown
@@ -141,10 +141,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)
---Purpose: to export reference to the associated Name attribute.