0024157: Parallelization of assembly part of BO
[occt.git] / src / IFSelect / IFSelect_Modifier.cdl
CommitLineData
b311480e 1-- Created on: 1993-08-26
2-- Created by: Christian CAILLET
3-- Copyright (c) 1993-1999 Matra Datavision
4-- Copyright (c) 1999-2012 OPEN CASCADE SAS
5--
6-- The content of this file is subject to the Open CASCADE Technology Public
7-- License Version 6.5 (the "License"). You may not use the content of this file
8-- except in compliance with the License. Please obtain a copy of the License
9-- at http://www.opencascade.org and read it completely before using this file.
10--
11-- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
12-- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
13--
14-- The Original Code and all software distributed under the License is
15-- distributed on an "AS IS" basis, without warranty of any kind, and the
16-- Initial Developer hereby disclaims all such warranties, including without
17-- limitation, any warranties of merchantability, fitness for a particular
18-- purpose or non-infringement. Please see the License for the specific terms
19-- and conditions governing the rights and limitations under the License.
20
7fd59977 21
22
23deferred class Modifier from IFSelect inherits GeneralModifier
24
25 ---Purpose : This class gives a frame for Actions which can work globally
26 -- on a File once completely defined (i.e. afterwards)
27 --
28 -- Remark : if no Selection is set as criterium, the Modifier is
29 -- set to work and should consider all the content of the Model
30 -- produced.
31
32uses CString, InterfaceModel, CopyTool, Protocol from Interface, ContextModif
33
34is
35
36 Initialize (maychangegraph : Boolean);
37 ---Purpose : Calls inherited Initialize, transmits to it the information
38 -- <maychangegraph>
39
40 Perform (me; ctx : in out ContextModif;
41 target : mutable InterfaceModel;
42 protocol : Protocol from Interface;
43 TC : in out CopyTool) is deferred;
44 ---Purpose : This deferred method defines the action specific to each class
45 -- of Modifier. It is called by a ModelCopier, once the Model
46 -- generated and filled. ModelCopier has already checked the
47 -- criteria (Dispatch, Model Rank, Selection) before calling it.
48 --
49 -- <ctx> detains informations about original data and selection.
50 -- The result of copying, on which modifications are to be done,
51 -- is <target>.
52 -- <TC> allows to run additional copies as required
53 --
54 -- In case of Error, use methods CCheck from the ContextModif
55 -- to aknowledge an entity Check or a Global Check with messages
56
57end Modifier;