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

@@ -44,7 +44,7 @@ is
-- Returns True when done, False if this attribute did not exist
GetAttribute (me; name : CString; type : Type from Standard;
val : out mutable Transient) returns Boolean;
val : out Transient) returns Boolean;
---Purpose : Returns an attribute from its name, filtered by a type
-- If no attribute has this name, or if it is not kind of this
-- type, <val> is Null and returned value is False

View File

@@ -22,7 +22,7 @@ uses Integer
is
Create (val : Integer = 0) returns mutable IntVal;
Create (val : Integer = 0) returns IntVal;
Value (me) returns Integer;

View File

@@ -42,16 +42,16 @@ uses CString, Transient, Type from Standard,
is
Create (atype : Type; aname : CString) returns mutable Option;
Create (atype : Type; aname : CString) returns Option;
---Purpose : Creates an Option from scratch, with a Type and a Name
Create (aval : TypedValue; aname : CString = "") returns mutable Option;
Create (aval : TypedValue; aname : CString = "") returns Option;
---Purpose : Creates an Option for a TypedValue (for basic, non-cdl-typed,
-- value : integer, real, string ...)
-- If <name> is not given, the name of the TypedValue is taken
-- Remark that Type is then enforced to TCollection_HAsciiString
Create (other : Option; aname : CString = "") returns mutable Option;
Create (other : Option; aname : CString = "") returns Option;
---Purpose : Creates an Option from another one, the name can be redefined
-- The Type remains the same. The list of Items, too, it can also
-- be later duplicated by call to Duplicate

View File

@@ -22,7 +22,7 @@ uses Real
is
Create (val : Real = 0.0) returns mutable RealVal;
Create (val : Real = 0.0) returns RealVal;
Value (me) returns Real;

View File

@@ -23,7 +23,7 @@ uses CString, Transient, AsciiString
is
Create returns mutable SignShape;
Create returns SignShape;
Name (me) returns CString;
---Purpose : Returns "SHAPE"

View File

@@ -32,7 +32,7 @@ uses CString,
is
Create (akey : any Transient from Standard) returns mutable TransientElem;
Create (akey : any Transient from Standard) returns TransientElem;
---Purpose : Creates a TransientElem with a Value. This Value can then not be
-- changed. It is used by the Hasher to compute the HashCode,
-- which will then be stored for an immediate reading.

View File

@@ -43,7 +43,7 @@ is
Create (name : CString;
type : ValueType from MoniTool = MoniTool_ValueText;
init : CString = "") returns mutable TypedValue;
init : CString = "") returns TypedValue;
---Purpose : Creates a TypedValue, with a name
--
-- type gives the type of the parameter, default is free text
@@ -54,7 +54,7 @@ is
-- init gives an initial value. If it is not given, the
-- TypedValue begins as "not set", its value is empty
Create (other : TypedValue) returns mutable TypedValue;
Create (other : TypedValue) returns TypedValue;
---Purpose : Creates a TypedValue from another one, by duplication
Internals (me; interp : out ValueInterpret; satisf : out ValueSatisfies;
@@ -215,7 +215,7 @@ is
CStringValue (me) returns CString;
---Purpose : Returns the value, as a cstring. Empty if not set.
HStringValue (me) returns mutable HAsciiString;
HStringValue (me) returns HAsciiString;
---Purpose : Returns the value, as a Handle (can then be shared)
-- Null if not defined
@@ -246,7 +246,7 @@ is
-- does not satisfy the specification
-- Can be redefined to be managed (in a subclass)
SetHStringValue (me : mutable; hval : mutable HAsciiString)
SetHStringValue (me : mutable; hval : HAsciiString)
---Purpose : Forces a new Handle for the Value
-- It can be empty, else (if Type is not free Text), it must
-- satisfy the specification.