blob: 075e1fe5cb963c0619c5e381a8d951e2923a1924 (
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
-- File: TransferInput.cdl
-- Created: Tue Feb 4 14:57:17 1992
-- Author: Christian CAILLET
-- <cky@phobox>
---Copyright: Matra Datavision 1992
class TransferInput from Transfer
---Purpose : A TransferInput is a Tool which fills an InterfaceModel with
-- the result of the Transfer of CasCade Objects, once determined
-- The Result comes from a TransferProcess, either from
-- Transient (the Complete Result is considered, it must contain
-- only Transient Objects)
uses InterfaceModel, EntityIterator, Protocol from Interface,
TransferIterator, TransientProcess, FinderProcess
raises TransferFailure
is
Create returns TransferInput;
---Purpose : Creates a TransferInput ready to use
Entities (me; list : in out TransferIterator) returns EntityIterator
---Purpose : Takes the transient items stored in a TransferIterator
raises TransferFailure;
-- Error if one of the Resulting Objects is defined not Transient
FillModel (me; proc : TransientProcess;
amodel : mutable InterfaceModel)
---Purpose : Fills an InterfaceModel with the Complete Result of a Transfer
-- stored in a TransientProcess (Starting Objects are Transient)
-- The complete result is exactly added to the model
raises TransferFailure;
-- Error if one of the Resulting Objects is defined not Transient
FillModel (me; proc : TransientProcess;
amodel : mutable InterfaceModel;
proto : Protocol from Interface;
roots : Boolean = Standard_True)
---Purpose : Fills an InterfaceModel with results of the Transfer recorded
-- in a TransientProcess (Starting Objects are Transient) :
-- Root Result if <roots> is True (Default), Complete Result else
-- The entities added to the model are determined from the result
-- by by adding the referenced entities
raises TransferFailure;
-- Error if one of the Resulting Objects is defined not Transient
FillModel (me; proc : FinderProcess;
amodel : mutable InterfaceModel)
---Purpose : Fills an InterfaceModel with the Complete Result of a Transfer
-- stored in a TransientProcess (Starting Objects are Transient)
-- The complete result is exactly added to the model
raises TransferFailure;
-- Error if one of the Resulting Objects is defined not Transient
FillModel (me; proc : FinderProcess;
amodel : mutable InterfaceModel;
proto : Protocol from Interface;
roots : Boolean = Standard_True)
---Purpose : Fills an InterfaceModel with results of the Transfer recorded
-- in a TransientProcess (Starting Objects are Transient) :
-- Root Result if <roots> is True (Default), Complete Result else
-- The entities added to the model are determined from the result
-- by by adding the referenced entities
raises TransferFailure;
-- Error if one of the Resulting Objects is defined not Transient
end TransferInput;
|