mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-07-10 12:28:17 +08: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:
@@ -29,7 +29,7 @@ is
|
||||
|
||||
-- -- File data storing and access (specific) -- --
|
||||
|
||||
Create (reader : mutable StepReaderData; protocol : Protocol from StepData)
|
||||
Create (reader : StepReaderData; protocol : Protocol from StepData)
|
||||
returns StepReaderTool;
|
||||
---Purpose : creates StepReaderTool to work with a StepReaderData according
|
||||
-- to a Step Protocol. Defines the ReaderLib at this time
|
||||
@@ -44,7 +44,7 @@ is
|
||||
-- <optimize> given False allows to test some internal algorithms
|
||||
-- which are normally avoided (see also StepReaderData)
|
||||
|
||||
Prepare (me : in out; reco : mutable FileRecognizer;
|
||||
Prepare (me : in out; reco : FileRecognizer;
|
||||
optimize : Boolean = Standard_True);
|
||||
---Purpose : Bounds empty entities to records, works with a specific
|
||||
-- FileRecognizer, stored and later used in Recognize
|
||||
@@ -52,7 +52,7 @@ is
|
||||
-- <optimize : same as above
|
||||
|
||||
Recognize (me : in out; num : Integer;
|
||||
ach : in out Check; ent : out mutable Transient)
|
||||
ach : in out Check; ent : out Transient)
|
||||
returns Boolean;
|
||||
---Purpose : recognizes records, by asking either ReaderLib (default) or
|
||||
-- FileRecognizer (if defined) to do so. <ach> is to call
|
||||
@@ -61,7 +61,7 @@ is
|
||||
-- -- managing Header -- --
|
||||
-- Header is defined as a list of StepEntities (without ident)
|
||||
|
||||
PrepareHeader (me : in out; reco : mutable FileRecognizer);
|
||||
PrepareHeader (me : in out; reco : FileRecognizer);
|
||||
---Purpose : bounds empty entities and sub-lists to header records
|
||||
-- works like Prepare + SetEntityNumbers, but for header
|
||||
-- (N.B.: in Header, no Ident and no reference)
|
||||
@@ -70,19 +70,19 @@ is
|
||||
|
||||
-- -- loading entities into the model -- --
|
||||
|
||||
BeginRead (me : in out; amodel : mutable InterfaceModel);
|
||||
BeginRead (me : in out; amodel : InterfaceModel);
|
||||
---Purpose : fills model's header; that is, gives to it Header entities
|
||||
-- and commands their loading. Also fills StepModel's Global
|
||||
-- Check from StepReaderData's GlobalCheck
|
||||
|
||||
AnalyseRecord (me : in out;
|
||||
num : Integer; anent : mutable Transient; acheck : in out Check)
|
||||
num : Integer; anent : Transient; acheck : in out Check)
|
||||
returns Boolean;
|
||||
---Purpose : fills an entity, given record no; works by using a ReaderLib
|
||||
-- to load each entity, which must be a Transient
|
||||
-- Actually, returned value is True if no fail, False else
|
||||
|
||||
EndRead (me : in out; amodel : mutable InterfaceModel) is redefined;
|
||||
EndRead (me : in out; amodel : InterfaceModel) is redefined;
|
||||
---Purpose : Ends file reading after reading all the entities
|
||||
-- Here, it binds in the model, Idents to Entities (for checks)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user