1 -- Created on: 1993-03-26
2 -- Created by: Christian CAILLET
3 -- Copyright (c) 1993-1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
6 -- This file is part of Open CASCADE Technology software library.
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
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.
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
17 class DefaultGeneral from StepData inherits GeneralModule from StepData
19 ---Purpose : DefaultGeneral defines a GeneralModule which processes
20 -- Unknown Entity from StepData only
22 uses OStream, Transient ,
23 EntityIterator , CopyTool, Check, ShareTool
27 Create returns DefaultGeneral;
28 ---Purpose : Creates a Default General Module
30 -- Reconduction because limitation cdl --
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.
37 CheckCase (me; casenum : Integer; ent : Transient; shares : ShareTool;
39 ---Purpose : Specific Checking of an Entity <ent>
41 NewVoid (me; CN : Integer; entto : out Transient)
43 ---Purpose : Specific creation of a new void entity
45 CopyCase (me; casenum : Integer;
46 entfrom : Transient; entto : 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