1 -- Created on: 1993-09-08
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 IGESData inherits GeneralModule from IGESData
19 ---Purpose : Processes the specific case of UndefinedEntity from IGESData
22 uses OStream, Transient,
23 InterfaceModel, Check, ShareTool, EntityIterator, CopyTool,
24 IGESEntity, DirChecker
28 Create returns DefaultGeneral;
29 ---Purpose : Creates a DefaultGeneral and puts it into GeneralLib,
30 -- bound with a Protocol from IGESData
32 OwnSharedCase (me; CN : Integer; ent : IGESEntity;
33 iter : in out EntityIterator);
34 ---Purpose : Lists the Entities shared by an IGESEntity, which must be
38 DirChecker (me; CN : Integer; ent : IGESEntity) returns DirChecker;
39 ---Purpose : Returns a DirChecker, specific for each type of Entity
40 -- Here, Returns an empty DirChecker (no constraint to check)
42 OwnCheckCase (me; CN : Integer; ent : IGESEntity; shares : ShareTool;
44 ---Purpose : Performs Specific Semantic Check for each type of Entity
45 -- Here, does nothing (no constraint to check)
48 NewVoid (me; CN : Integer; entto : out Transient)
50 ---Purpose : Specific creation of a new void entity (UndefinedEntity only)
52 OwnCopyCase (me; CN : Integer;
53 entfrom : IGESEntity; entto : IGESEntity;
54 TC : in out CopyTool);
55 ---Purpose : Copies parameters which are specific of each Type of Entity