mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-06-04 11:36:52 +08:00
Integration of OCCT 6.5.0 from SVN
This commit is contained in:
42
src/IFSelect/IFSelect_Modifier.cdl
Executable file
42
src/IFSelect/IFSelect_Modifier.cdl
Executable file
@@ -0,0 +1,42 @@
|
||||
-- File: IFSelect_Modifier.cdl
|
||||
-- Created: Thu Aug 26 15:58:50 1993
|
||||
-- Author: Christian CAILLET
|
||||
-- <cky@bravox>
|
||||
---Copyright: Matra Datavision 1993
|
||||
|
||||
|
||||
deferred class Modifier from IFSelect inherits GeneralModifier
|
||||
|
||||
---Purpose : This class gives a frame for Actions which can work globally
|
||||
-- on a File once completely defined (i.e. afterwards)
|
||||
--
|
||||
-- Remark : if no Selection is set as criterium, the Modifier is
|
||||
-- set to work and should consider all the content of the Model
|
||||
-- produced.
|
||||
|
||||
uses CString, InterfaceModel, CopyTool, Protocol from Interface, ContextModif
|
||||
|
||||
is
|
||||
|
||||
Initialize (maychangegraph : Boolean);
|
||||
---Purpose : Calls inherited Initialize, transmits to it the information
|
||||
-- <maychangegraph>
|
||||
|
||||
Perform (me; ctx : in out ContextModif;
|
||||
target : mutable InterfaceModel;
|
||||
protocol : Protocol from Interface;
|
||||
TC : in out CopyTool) is deferred;
|
||||
---Purpose : This deferred method defines the action specific to each class
|
||||
-- of Modifier. It is called by a ModelCopier, once the Model
|
||||
-- generated and filled. ModelCopier has already checked the
|
||||
-- criteria (Dispatch, Model Rank, Selection) before calling it.
|
||||
--
|
||||
-- <ctx> detains informations about original data and selection.
|
||||
-- The result of copying, on which modifications are to be done,
|
||||
-- is <target>.
|
||||
-- <TC> allows to run additional copies as required
|
||||
--
|
||||
-- In case of Error, use methods CCheck from the ContextModif
|
||||
-- to aknowledge an entity Check or a Global Check with messages
|
||||
|
||||
end Modifier;
|
||||
Reference in New Issue
Block a user