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:
@@ -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
|
||||
|
@@ -22,7 +22,7 @@ uses Integer
|
||||
|
||||
is
|
||||
|
||||
Create (val : Integer = 0) returns mutable IntVal;
|
||||
Create (val : Integer = 0) returns IntVal;
|
||||
|
||||
Value (me) returns Integer;
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -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;
|
||||
|
||||
|
@@ -23,7 +23,7 @@ uses CString, Transient, AsciiString
|
||||
|
||||
is
|
||||
|
||||
Create returns mutable SignShape;
|
||||
Create returns SignShape;
|
||||
|
||||
Name (me) returns CString;
|
||||
---Purpose : Returns "SHAPE"
|
||||
|
@@ -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.
|
||||
|
@@ -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.
|
||||
|
Reference in New Issue
Block a user