1 -- Created on: 1993-02-02
2 -- Created by: Christian CAILLET
3 -- Copyright (c) 1993-1999 Matra Datavision
4 -- Copyright (c) 1999-2012 OPEN CASCADE SAS
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.
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.
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.
23 deferred class GeneralModule from StepData
24 inherits GeneralModule from Interface
26 ---Purpose : Specific features for General Services adapted to STEP
29 EntityIterator , CopyTool, Check, ShareTool
33 -- Reconduction because limitation cdl --
35 FillSharedCase (me; casenum : Integer; ent : Transient;
36 iter : in out EntityIterator) is deferred;
37 ---Purpose : Specific filling of the list of Entities shared by an Entity
38 -- <ent>. Can use the internal utility method Share, below
40 CheckCase (me; casenum : Integer; ent : Transient; shares : ShareTool;
41 ach : in out Check) is deferred;
42 ---Purpose : Specific Checking of an Entity <ent>
44 CopyCase (me; casenum : Integer;
45 entfrom : Transient; entto : mutable Transient;
46 TC : in out CopyTool) is deferred;
47 ---Purpose : Specific Copy ("Deep") from <entfrom> to <entto> (same type)
48 -- by using a TransferControl which provides its working Map.
49 -- Use method Transferred from TransferControl to work
51 -- ImpliedCase (me; casenum : Integer;
52 -- entfrom : Transient; entto : mutable Transient;
54 ---Purpose : Specific Copying of Implied References
55 -- A Default is provided which does nothing (must current case !)
56 -- Already copied references (by CopyFrom) must remain unchanged
57 -- Use method Search from TransferControl to work