blob: b1c7d20f210ee7d40e9364a3047cc7509f85388e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
-- File: IGESSelect_ComputeStatus.cdl
-- Created: Wed Jun 1 16:18:06 1994
-- Author: Christian CAILLET
-- <cky@bravox>
---Copyright: Matra Datavision 1994
class ComputeStatus from IGESSelect inherits ModelModifier from IGESSelect
---Purpose : Computes Status of IGES Entities for a whole IGESModel.
-- This concerns SubordinateStatus and UseFlag, which must have
-- some definite values according the way they are referenced.
-- (see definitions of Logical use, Physical use, etc...)
--
-- Works by calling a BasicEditor from IGESData. Works on the
-- whole produced (target) model, because computation is global.
uses AsciiString from TCollection,
IGESModel, CopyTool, ContextModif
is
Create returns mutable ComputeStatus;
---Purpose : Creates an ComputeStatus, which uses the system Date
Performing (me; ctx : in out ContextModif;
target : mutable IGESModel;
TC : in out CopyTool);
---Purpose : Specific action : it first evaluates the required values for
-- Subordinate Status and Use Flag (in Directory Part of each
-- IGES Entity). Then it corrects them, for the whole target.
-- Works with a Protocol. Implementation uses BasicEditor
Label (me) returns AsciiString from TCollection;
---Purpose : Returns a text which is
-- "Compute Subordinate Status and Use Flag"
end ComputeStatus;
|