| 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 |
| 5 | -- |
| 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. |
| 10 | -- |
| 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. |
| 13 | -- |
| 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. |
| 20 | |
| 21 | |
| 22 | |
| 23 | class ToolPWBArtworkStackup from IGESAppli |
| 24 | |
| 25 | ---Purpose : Tool to work on a PWBArtworkStackup. Called by various Modules |
| 26 | -- (ReadWriteModule, GeneralModule, SpecificModule) |
| 27 | |
| 28 | uses PWBArtworkStackup from IGESAppli, |
| 29 | IGESReaderData, ParamReader, IGESWriter, EntityIterator, |
| 30 | DirChecker, ShareTool, Check, CopyTool, IGESDumper, Messenger from Message |
| 31 | |
| 32 | raises DomainError |
| 33 | |
| 34 | is |
| 35 | |
| 36 | Create returns ToolPWBArtworkStackup; |
| 37 | ---Purpose : Returns a ToolPWBArtworkStackup, ready to work |
| 38 | |
| 39 | |
| 40 | ReadOwnParams (me; ent : mutable PWBArtworkStackup; |
| 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 |
| 45 | |
| 46 | WriteOwnParams (me; ent : PWBArtworkStackup; |
| 47 | IW : in out IGESWriter) is static; |
| 48 | ---Purpose : Writes own parameters to IGESWriter |
| 49 | |
| 50 | |
| 51 | OwnShared (me; ent : PWBArtworkStackup; |
| 52 | iter : in out EntityIterator) is static; |
| 53 | ---Purpose : Lists the Entities shared by a PWBArtworkStackup <ent>, from |
| 54 | -- its specific (own) parameters |
| 55 | |
| 56 | DirChecker (me; ent : PWBArtworkStackup) returns DirChecker is static; |
| 57 | ---Purpose : Returns specific DirChecker |
| 58 | |
| 59 | OwnCheck (me; ent : PWBArtworkStackup; |
| 60 | shares : ShareTool; ach : in out Check) is static; |
| 61 | ---Purpose : Performs Specific Semantic Check |
| 62 | |
| 63 | |
| 64 | OwnCopy (me; entfrom : PWBArtworkStackup; entto : mutable PWBArtworkStackup; |
| 65 | TC : in out CopyTool) is static; |
| 66 | ---Purpose : Copies Specific Parameters |
| 67 | |
| 68 | |
| 69 | OwnDump (me; ent : PWBArtworkStackup; |
| 70 | dumper : IGESDumper; S : Messenger from Message; own : Integer) |
| 71 | is static; |
| 72 | ---Purpose : Dump of Specific Parameters |
| 73 | |
| 74 | end ToolPWBArtworkStackup; |