1 -- File: TDataStd_Relation.cdl
2 -- Created: Wed Dec 10 11:05:48 1997
3 -- Author: Denis PASCAL
4 -- <dp@dingox.paris1.matra-dtv.fr>
5 ---Copyright: Matra Datavision 1997
9 class Relation from TDataStd inherits Attribute from TDF
11 ---Purpose: Relation attribute.
14 -- * Data Structure of the Expression is stored in a
15 -- string and references to variables used by the string
17 -- Warning: To be consistent, each Variable referenced by the
18 -- relation must have its equivalent in the string
21 uses Attribute from TDF,
26 RelocationTable from TDF,
27 ExtendedString from TCollection,
28 AttributeList from TDF
33 ---Purpose: class methods
37 ---C++: return const &
38 returns GUID from Standard;
41 Set (myclass ; label : Label from TDF)
42 ---Purpose: Find, or create, an Relation attribute.
43 returns Relation from TDataStd;
45 ---Purpose: Real methods
49 returns mutable Relation from TDataStd;
52 ---Purpose: build and return the relation name
53 returns ExtendedString from TCollection;
55 SetRelation (me : mutable; E : ExtendedString from TCollection);
58 returns ExtendedString from TCollection;
59 ---C++: return const &
61 GetVariables (me : mutable)
63 returns AttributeList from TDF;
65 ---Category: TDF_Attribute methods
66 -- =====================
69 ---C++: return const &
70 returns GUID from Standard;
72 Restore (me: mutable; With : Attribute from TDF);
75 returns mutable Attribute from TDF;
77 Paste (me; Into : mutable Attribute from TDF;
78 RT : mutable RelocationTable from TDF);
80 Dump(me; anOS : in out OStream from Standard)
81 returns OStream from Standard
87 myRelation : ExtendedString from TCollection;
88 myVariables : AttributeList from TDF;