mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
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.
57 lines
2.0 KiB
Plaintext
57 lines
2.0 KiB
Plaintext
-- Created on: 2010-02-25
|
|
-- Created by: Sergey ZARITCHNY <sergey.zaritchny@opencascade.com>
|
|
-- Copyright (c) 2010-2014 OPEN CASCADE SAS
|
|
--
|
|
-- This file is part of Open CASCADE Technology software library.
|
|
--
|
|
-- This library is free software; you can redistribute it and/or modify it under
|
|
-- the terms of the GNU Lesser General Public License version 2.1 as published
|
|
-- by the Free Software Foundation, with special exception defined in the file
|
|
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
|
-- distribution for complete text of the license and disclaimer of any warranty.
|
|
--
|
|
-- Alternatively, this file may be used under the terms of Open CASCADE
|
|
-- commercial license or contractual agreement.
|
|
|
|
class PointDriver from DNaming inherits Driver from TFunction
|
|
|
|
---Purpose: Driver for PointXYZ and RelativePoint
|
|
|
|
uses
|
|
Label from TDF,
|
|
Logbook from TFunction,
|
|
Function from TFunction
|
|
|
|
is
|
|
Create returns PointDriver from DNaming;
|
|
---Purpose: Constructor
|
|
|
|
---Purpose: validation
|
|
-- ==========
|
|
|
|
Validate(me; theLog : in out Logbook from TFunction)
|
|
is redefined;
|
|
---Purpose: Validates labels of a function in <log>.
|
|
-- In regeneration mode this method must be called (by the
|
|
-- solver) even if the function is not executed, to build
|
|
-- the valid label scope.
|
|
|
|
---Purpose: execution of function
|
|
-- ======================
|
|
|
|
MustExecute (me; theLog : Logbook from TFunction)
|
|
---Purpose: Analyse in <log> if the loaded function must be executed
|
|
-- (i.e.arguments are modified) or not.
|
|
-- If the Function label itself is modified, the function must
|
|
-- be executed.
|
|
returns Boolean from Standard
|
|
is redefined;
|
|
|
|
Execute (me; theLog : in out Logbook from TFunction)
|
|
---Purpose: Execute the function and push in <log> the impacted
|
|
-- labels (see method SetImpacted).
|
|
returns Integer from Standard
|
|
is redefined;
|
|
|
|
end PointDriver;
|