1 -- Created on: 1993-10-14
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 class ToolLineWidening from IGESAppli
25 ---Purpose : Tool to work on a LineWidening. Called by various Modules
26 -- (ReadWriteModule, GeneralModule, SpecificModule)
28 uses LineWidening from IGESAppli,
29 IGESReaderData, ParamReader, IGESWriter, EntityIterator,
30 DirChecker, ShareTool, Check, CopyTool, IGESDumper, Messenger from Message
36 Create returns ToolLineWidening;
37 ---Purpose : Returns a ToolLineWidening, ready to work
40 ReadOwnParams (me; ent : mutable LineWidening;
41 IR : IGESReaderData; PR : in out ParamReader)
42 raises DomainError is static;
43 ---Purpose : Reads own parameters from file. <PR> gives access to them,
44 -- <IR> detains parameter types and values
46 WriteOwnParams (me; ent : LineWidening;
47 IW : in out IGESWriter) is static;
48 ---Purpose : Writes own parameters to IGESWriter
51 OwnShared (me; ent : LineWidening;
52 iter : in out EntityIterator) is static;
53 ---Purpose : Lists the Entities shared by a LineWidening <ent>, from
54 -- its specific (own) parameters
56 OwnCorrect (me; ent : mutable LineWidening) returns Boolean is static;
57 ---Purpose : Sets automatic unambiguous Correction on a LineWidening
58 -- (NbPropertyValues forced to 5, Level cleared if Subordinate != 0)
60 DirChecker (me; ent : LineWidening) returns DirChecker is static;
61 ---Purpose : Returns specific DirChecker
63 OwnCheck (me; ent : LineWidening;
64 shares : ShareTool; ach : in out Check) is static;
65 ---Purpose : Performs Specific Semantic Check
68 OwnCopy (me; entfrom : LineWidening; entto : mutable LineWidening;
69 TC : in out CopyTool) is static;
70 ---Purpose : Copies Specific Parameters
73 OwnDump (me; ent : LineWidening;
74 dumper : IGESDumper; S : Messenger from Message; own : Integer)
76 ---Purpose : Dump of Specific Parameters