1 -- Created on: 1993-10-14
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 ToolViewsVisibleWithAttr from IGESDraw
19 ---Purpose : Tool to work on a ViewsVisibleWithAttr. Called by various Modules
20 -- (ReadWriteModule, GeneralModule, SpecificModule)
22 uses ViewsVisibleWithAttr from IGESDraw,
23 IGESReaderData, ParamReader, IGESWriter, EntityIterator,
24 DirChecker, ShareTool, Check, CopyTool, IGESDumper, Messenger from Message
30 Create returns ToolViewsVisibleWithAttr;
31 ---Purpose : Returns a ToolViewsVisibleWithAttr, ready to work
34 ReadOwnParams (me; ent : ViewsVisibleWithAttr;
35 IR : IGESReaderData; PR : in out ParamReader)
36 raises DomainError is static;
37 ---Purpose : Reads own parameters from file. <PR> gives access to them,
38 -- <IR> detains parameter types and values
40 WriteOwnParams (me; ent : ViewsVisibleWithAttr;
41 IW : in out IGESWriter) is static;
42 ---Purpose : Writes own parameters to IGESWriter
45 OwnShared (me; ent : ViewsVisibleWithAttr;
46 iter : in out EntityIterator) is static;
47 ---Purpose : Lists the Entities shared by a ViewsVisibleWithAttr <ent>, from
48 -- its specific (own) parameters shared not implied, i.e. all but
49 -- the Displayed Entities
51 OwnImplied (me; ent : ViewsVisibleWithAttr;
52 iter : in out EntityIterator) is static;
53 ---Purpose : Lists the Entities shared by a ViewsVisible <ent>, from
54 -- its specific (own) implied parameters : the Displayed Entities
56 DirChecker (me; ent : ViewsVisibleWithAttr) returns DirChecker is static;
57 ---Purpose : Returns specific DirChecker
59 OwnCheck (me; ent : ViewsVisibleWithAttr;
60 shares : ShareTool; ach : in out Check) is static;
61 ---Purpose : Performs Specific Semantic Check
64 OwnCopy (me; entfrom : ViewsVisibleWithAttr; entto : ViewsVisibleWithAttr;
65 TC : in out CopyTool) is static;
66 ---Purpose : Copies Specific Parameters shared not implied, i.e. all but
67 -- the Displayed Entities
69 OwnRenew (me; entfrom : ViewsVisibleWithAttr; entto : ViewsVisibleWithAttr;
70 TC : CopyTool) is static;
71 ---Purpose : Copies Specific implied Parameters : the Displayed Entities
72 -- which have already been copied
74 OwnWhenDelete (me; ent : ViewsVisibleWithAttr) is static;
75 ---Purpose : Clears specific implied parameters, which cause looping
76 -- structures; required for deletion
79 OwnDump (me; ent : ViewsVisibleWithAttr;
80 dumper : IGESDumper; S : Messenger from Message; own : Integer)
82 ---Purpose : Dump of Specific Parameters
84 OwnCorrect (me; ent : ViewsVisibleWithAttr) returns Boolean is static;
85 ---Purpose : Sets automatic unambiguous Correction on a ViewsVisibleWithAttr
86 -- (all displayed entities must refer to <ent> in directory part,
87 -- else the list is cleared)
89 end ToolViewsVisibleWithAttr;