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:
@@ -47,7 +47,7 @@ raises RangeError from Standard,
|
||||
is
|
||||
|
||||
Create (Low, Up: Integer from Standard)
|
||||
returns mutable HArray1 from TCollection
|
||||
returns HArray1 from TCollection
|
||||
---Purpose: Creates an array of lower bound <Low> and upper
|
||||
-- bound <Up>. Range error is raised when <Up> is less than <Low>.
|
||||
raises
|
||||
@@ -56,7 +56,7 @@ is
|
||||
---C++: inline
|
||||
|
||||
Create (Low, Up: Integer from Standard; V : ItemHArray1)
|
||||
returns mutable HArray1 from TCollection
|
||||
returns HArray1 from TCollection
|
||||
---Purpose: Creates an array of lower bound <Low> and upper
|
||||
-- bound <Up>. Range error is raised when <Up> is less than <Low>.
|
||||
raises
|
||||
|
@@ -46,7 +46,7 @@ raises
|
||||
is
|
||||
|
||||
Create (R1, R2, C1, C2: Integer from Standard)
|
||||
returns mutable HArray2 from TCollection
|
||||
returns HArray2 from TCollection
|
||||
---Purpose: Creates an array of lower bound <R1><C1> and upper
|
||||
-- bound <R2><C2>. Range from Standard error is
|
||||
-- raised when <R2> is less than <R1> or <C2> is less than <C1>.
|
||||
@@ -57,7 +57,7 @@ is
|
||||
|
||||
|
||||
Create (R1, R2, C1, C2: Integer from Standard; V : ItemHArray2)
|
||||
returns mutable HArray2 from TCollection
|
||||
returns HArray2 from TCollection
|
||||
---Purpose: Creates an array of lower bound <R1><C1> and upper
|
||||
-- bound <R2><C2>. Range from Standard error is
|
||||
-- raised when <R2> is less than <R1> or <C2> is less than <C1>.
|
||||
|
@@ -36,44 +36,44 @@ raises
|
||||
NegativeValue
|
||||
is
|
||||
|
||||
Create returns mutable HAsciiString from TCollection;
|
||||
Create returns HAsciiString from TCollection;
|
||||
---Purpose: Initializes a HAsciiString to an empty AsciiString.
|
||||
|
||||
Create ( message : CString )
|
||||
returns mutable HAsciiString from TCollection
|
||||
returns HAsciiString from TCollection
|
||||
---Purpose: Initializes a HAsciiString with a CString.
|
||||
raises NullObject;
|
||||
|
||||
Create ( aChar : Character)
|
||||
returns mutable HAsciiString from TCollection;
|
||||
returns HAsciiString from TCollection;
|
||||
---Purpose: Initializes a HAsciiString with a single character.
|
||||
|
||||
Create ( length : Integer; filler : Character)
|
||||
returns mutable HAsciiString from TCollection;
|
||||
returns HAsciiString from TCollection;
|
||||
---Purpose: Initializes a HAsciiString with <length> space allocated.
|
||||
-- and filled with <filler>.This is useful for buffers.
|
||||
|
||||
Create ( value : Integer )
|
||||
returns mutable HAsciiString from TCollection
|
||||
returns HAsciiString from TCollection
|
||||
---Purpose: Initializes a HAsciiString with an integer value
|
||||
raises NullObject;
|
||||
|
||||
Create ( value : Real )
|
||||
returns mutable HAsciiString from TCollection
|
||||
returns HAsciiString from TCollection
|
||||
---Purpose: Initializes a HAsciiString with a real value
|
||||
raises NullObject;
|
||||
|
||||
Create ( aString : AsciiString from TCollection)
|
||||
returns mutable HAsciiString from TCollection;
|
||||
returns HAsciiString from TCollection;
|
||||
---Purpose: Initializes a HAsciiString with a HAsciiString.
|
||||
|
||||
Create ( aString : HAsciiString from TCollection)
|
||||
returns mutable HAsciiString from TCollection;
|
||||
returns HAsciiString from TCollection;
|
||||
---Purpose: Initializes a HAsciiString with a HAsciiString.
|
||||
|
||||
Create ( aString : HExtendedString from TCollection;
|
||||
replaceNonAscii: Character from Standard)
|
||||
returns mutable HAsciiString from TCollection
|
||||
returns HAsciiString from TCollection
|
||||
raises OutOfRange from Standard;
|
||||
---Purpose: Initializes a HAsciiString with a HAsciiString.
|
||||
-- If replaceNonAscii is non-null charecter, it will be used
|
||||
@@ -104,7 +104,7 @@ is
|
||||
-- me = "Hello "
|
||||
|
||||
Cat (me ; other : CString)
|
||||
returns mutable HAsciiString from TCollection;
|
||||
returns HAsciiString from TCollection;
|
||||
---Level: Public
|
||||
---Purpose: Creates a new string by concatenation of this
|
||||
-- ASCII string and the other ASCII string.
|
||||
@@ -120,7 +120,7 @@ is
|
||||
-- This rule is applicable to AssignCat (operator +=) too.
|
||||
|
||||
Cat (me ; other : HAsciiString from TCollection)
|
||||
returns mutable HAsciiString from TCollection;
|
||||
returns HAsciiString from TCollection;
|
||||
---Level: Public
|
||||
---Purpose: Creates a new string by concatenation of this
|
||||
-- ASCII string and the other ASCII string.
|
||||
@@ -488,7 +488,7 @@ is
|
||||
raises OutOfRange from Standard;
|
||||
|
||||
Split(me : mutable; where : Integer)
|
||||
returns mutable HAsciiString from TCollection
|
||||
returns HAsciiString from TCollection
|
||||
---Level: Public
|
||||
---Purpose: Splits a HAsciiString into two sub-strings.
|
||||
-- Example:
|
||||
@@ -510,7 +510,7 @@ is
|
||||
-- me = "abcdefg"
|
||||
-- returns
|
||||
-- "cdef"
|
||||
returns mutable HAsciiString from TCollection
|
||||
returns HAsciiString from TCollection
|
||||
raises OutOfRange from Standard;
|
||||
|
||||
ToCString(me) returns CString;
|
||||
@@ -521,7 +521,7 @@ is
|
||||
---C++: inline
|
||||
|
||||
Token (me ; separators : CString=" \t" ; whichone : Integer=1)
|
||||
returns mutable HAsciiString from TCollection
|
||||
returns HAsciiString from TCollection
|
||||
---Level: Public
|
||||
---Purpose: Extracts <whichone> token from <me>.
|
||||
-- By default, the <separators> is set to space and tabulation.
|
||||
|
@@ -39,45 +39,45 @@ raises
|
||||
NegativeValue from Standard
|
||||
is
|
||||
|
||||
Create returns mutable HExtendedString from TCollection;
|
||||
Create returns HExtendedString from TCollection;
|
||||
---Purpose: Initializes a HExtendedString to an empty ExtendedString.
|
||||
|
||||
Create ( message : CString )
|
||||
returns mutable HExtendedString from TCollection
|
||||
returns HExtendedString from TCollection
|
||||
---Purpose: Initializes a HExtendedString with a CString.
|
||||
raises NullObject from Standard;
|
||||
|
||||
Create ( message : ExtString )
|
||||
returns mutable HExtendedString from TCollection
|
||||
returns HExtendedString from TCollection
|
||||
---Purpose: Initializes a HExtendedString with an ExtString.
|
||||
raises NullObject from Standard;
|
||||
|
||||
Create ( aChar : ExtCharacter)
|
||||
returns mutable HExtendedString from TCollection;
|
||||
returns HExtendedString from TCollection;
|
||||
---Purpose: Initializes a HExtendedString with a single character.
|
||||
|
||||
Create ( length : Integer; filler : ExtCharacter)
|
||||
returns mutable HExtendedString from TCollection;
|
||||
returns HExtendedString from TCollection;
|
||||
---Purpose: Initializes a HExtendedString with <length> space allocated.
|
||||
-- and filled with <filler>.This is usefull for buffers.
|
||||
|
||||
Create ( aString : ExtendedString from TCollection)
|
||||
returns mutable HExtendedString from TCollection;
|
||||
returns HExtendedString from TCollection;
|
||||
---Purpose: Initializes a HExtendedString with a HExtendedString.
|
||||
|
||||
Create ( aString : HAsciiString from TCollection)
|
||||
returns mutable HExtendedString from TCollection;
|
||||
returns HExtendedString from TCollection;
|
||||
---Purpose: Initializes a HExtendedString with an HAsciiString.
|
||||
|
||||
Create ( aString : HExtendedString from TCollection)
|
||||
returns mutable HExtendedString from TCollection;
|
||||
returns HExtendedString from TCollection;
|
||||
---Purpose: Initializes a HExtendedString with a HExtendedString.
|
||||
|
||||
AssignCat (me : mutable ; other : HExtendedString from TCollection);
|
||||
---Purpose: Appends <other> to me.
|
||||
|
||||
Cat (me ; other : HExtendedString from TCollection)
|
||||
returns mutable HExtendedString from TCollection;
|
||||
returns HExtendedString from TCollection;
|
||||
---Level: Public
|
||||
---Purpose: Returns a string appending <other> to me.
|
||||
|
||||
@@ -151,7 +151,7 @@ is
|
||||
raises OutOfRange from Standard;
|
||||
|
||||
Split(me : mutable; where : Integer)
|
||||
returns mutable HExtendedString from TCollection
|
||||
returns HExtendedString from TCollection
|
||||
---Purpose: Splits a ExtendedString into two sub-strings.
|
||||
-- Example:
|
||||
-- aString contains "abcdefg"
|
||||
@@ -176,7 +176,7 @@ is
|
||||
---C++: return const
|
||||
|
||||
Token (me ; separators : ExtString; whichone : Integer=1)
|
||||
returns mutable HExtendedString from TCollection
|
||||
returns HExtendedString from TCollection
|
||||
---Level: Public
|
||||
---Purpose: Extracts <whichone> token from <me>.
|
||||
-- By default, the <separators> is set to space and tabulation.
|
||||
|
@@ -45,7 +45,7 @@ raises
|
||||
OutOfRange from Standard
|
||||
|
||||
is
|
||||
Create returns mutable HSequence from TCollection;
|
||||
Create returns HSequence from TCollection;
|
||||
---Purpose: Constructs an empty sequence.
|
||||
-- Use:
|
||||
-- - the function Append or Prepend to add an item or
|
||||
@@ -185,7 +185,7 @@ is
|
||||
|
||||
|
||||
Split(me : mutable; anIndex : Integer)
|
||||
returns mutable HSequence
|
||||
returns HSequence
|
||||
raises OutOfRange from Standard
|
||||
---Purpose: Keeps in <me> the items 1 to <anIndex>-1 and
|
||||
-- returns the items <anIndex> to the end.
|
||||
@@ -271,7 +271,7 @@ is
|
||||
---C++: return &
|
||||
---C++: inline
|
||||
|
||||
ShallowCopy(me) returns mutable like me;
|
||||
ShallowCopy(me) returns like me;
|
||||
---Purpose: function call
|
||||
---C++: function call
|
||||
|
||||
|
Reference in New Issue
Block a user