b311480e |
1 | -- Created on: 1993-03-26 |
2 | -- Created by: Christian CAILLET |
3 | -- Copyright (c) 1993-1999 Matra Datavision |
973c2be1 |
4 | -- Copyright (c) 1999-2014 OPEN CASCADE SAS |
b311480e |
5 | -- |
973c2be1 |
6 | -- This file is part of Open CASCADE Technology software library. |
b311480e |
7 | -- |
d5f74e42 |
8 | -- This library is free software; you can redistribute it and/or modify it under |
9 | -- the terms of the GNU Lesser General Public License version 2.1 as published |
973c2be1 |
10 | -- by the Free Software Foundation, with special exception defined in the file |
11 | -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT |
12 | -- distribution for complete text of the license and disclaimer of any warranty. |
b311480e |
13 | -- |
973c2be1 |
14 | -- Alternatively, this file may be used under the terms of Open CASCADE |
15 | -- commercial license or contractual agreement. |
7fd59977 |
16 | |
17 | class DefaultGeneral from StepData inherits GeneralModule from StepData |
18 | |
19 | ---Purpose : DefaultGeneral defines a GeneralModule which processes |
20 | -- Unknown Entity from StepData only |
21 | |
22 | uses OStream, Transient , |
23 | EntityIterator , CopyTool, Check, ShareTool |
24 | |
25 | is |
26 | |
27 | Create returns mutable DefaultGeneral; |
28 | ---Purpose : Creates a Default General Module |
29 | |
30 | -- Reconduction because limitation cdl -- |
31 | |
32 | FillSharedCase (me; casenum : Integer; ent : Transient; |
33 | iter : in out EntityIterator); |
34 | ---Purpose : Specific filling of the list of Entities shared by an Entity |
35 | -- <ent>, which is an UnknownEntity from StepData. |
36 | |
37 | CheckCase (me; casenum : Integer; ent : Transient; shares : ShareTool; |
38 | ach : in out Check); |
39 | ---Purpose : Specific Checking of an Entity <ent> |
40 | |
41 | NewVoid (me; CN : Integer; entto : out mutable Transient) |
42 | returns Boolean; |
43 | ---Purpose : Specific creation of a new void entity |
44 | |
45 | CopyCase (me; casenum : Integer; |
46 | entfrom : Transient; entto : mutable Transient; |
47 | TC : in out CopyTool); |
48 | ---Purpose : Specific Copy ("Deep") from <entfrom> to <entto> (same type) |
49 | -- by using a CopyTool which provides its working Map. |
50 | -- Use method Transferred from TransferControl to work |
51 | |
52 | |
53 | end DefaultGeneral; |