0024509: Suspect unused variable in TPrsStd_ConstraintTools.cxx
[occt.git] / src / Dynamic / Dynamic_FuzzyInstance.cdl
CommitLineData
b311480e 1-- Created on: 1993-12-23
2-- Created by: Gilles DEBARBOUILLE
3-- Copyright (c) 1993-1999 Matra Datavision
973c2be1 4-- Copyright (c) 1999-2014 OPEN CASCADE SAS
b311480e 5--
973c2be1 6-- This file is part of Open CASCADE Technology software library.
b311480e 7--
d5f74e42 8-- This library is free software; you can redistribute it and/or modify it under
9-- the terms of the GNU Lesser General Public License version 2.1 as published
973c2be1 10-- by the Free Software Foundation, with special exception defined in the file
11-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12-- distribution for complete text of the license and disclaimer of any warranty.
b311480e 13--
973c2be1 14-- Alternatively, this file may be used under the terms of Open CASCADE
15-- commercial license or contractual agreement.
7fd59977 16
17generic class FuzzyInstance from Dynamic (Dictionary as Transient)
18
19inherits
20
21 FuzzyClass from Dynamic
22
23 ---Purpose: This class describes the facilities available to
24 -- manipulate fuzzy objects. It is a generic class
25 -- because the creation of a FuzzyInstance requests a
26 -- specific dictionary of definitions.
27
28uses
29
30 CString from Standard,
31 Integer from Standard,
32 Real from Standard,
33 Boolean from Standard,
34 OStream from Standard,
35 FuzzyDefinition from Dynamic,
36 Parameter from Dynamic,
37 AsciiString from TCollection
38
39is
40
41 Create(atype : CString from Standard) returns mutable FuzzyInstance from Dynamic;
42 --- Purpose: Creates a FuzzyInstance object of the type
43 -- <atype>. If <atype> is not defined in the dictionary, the
44 -- object created will have no definition.
45
46 Create(afuzzyinstance : FuzzyInstance from Dynamic) returns mutable FuzzyInstance from Dynamic;
47 --- Purpose: Creates a FuzzyInstance with as definition the fuzzy
48 -- instance <afuzzyinstance>.
49
50 Type(me) returns AsciiString from TCollection is redefined;
51 ---Purpose: Returns the type of object read in the definition.
52
53 Definition(me) returns FuzzyClass from Dynamic is static;
54 ---Purpose: Returns a reference to the definition of the
55 -- FuzzyInstance.
56
57 Parameter(me : mutable ; aparameter : CString from Standard; avalue : Boolean from Standard) is redefined;
58 ---Purpose: Adds to the instance <me> the parameter <aparameter>
59 -- with the boolean value <avalue>.
60
61 Parameter(me : mutable ; aparameter : CString from Standard; avalue : Integer from Standard) is redefined;
62 ---Purpose: Adds to the instance <me> the parameter <aparameter>
63 -- with the integer value <avalue>.
64
65 Parameter(me : mutable ; aparameter : CString from Standard ; avalue : Real from Standard) is redefined;
66 ---Purpose: Adds to the instance <me> the parameter <aparameter>
67 -- with the real value <avalue>.
68
69 Parameter(me : mutable ; aparameter : CString from Standard; astring : CString from Standard) is redefined;
70 ---Purpose: Adds to the instance <me> the parameter <aparameter>
71 -- with the string <astring>.
72
73 Parameter(me : mutable ; aparameter : CString from Standard ; anobject : any Transient) is redefined;
74 ---Purpose: Adds to the instance <me> the parameter <aparameter>
75 -- with the object value <anobject>.
76
77 Value(me ; aparameter : CString from Standard ; avalue : out Boolean from Standard)
78 returns Boolean from Standard is redefined;
79 ---Purpose: Returns True, if there is a parameter <aparameter>
80 -- previously stored in the instance <me> and there is
81 -- the corresponding boolean value in the output argument
82 -- <avalue>, False otherwise.
83
84 Value(me ; aparameter : CString from Standard ; avalue : out Integer from Standard)
85 returns Boolean from Standard is redefined;
86 ---Purpose: Returns True, if there is a parameter <aparameter>
87 -- previously stored in the instance <me> and there is
88 -- the corresponding integer value in the output argument
89 -- <avalue>, False otherwise.
90
91 Value(me ; aparameter : CString from Standard ; avalue : out Real from Standard)
92 returns Boolean from Standard is redefined;
93 ---Purpose: Returns True, if there is a parameter <aparameter>
94 -- previously stored in the instance <me> and there is
95 -- the corresponding real value in the output argument
96 -- <avalue>, False otherwise.
97
98 Value(me ; aparameter : CString from Standard ; avalue : out AsciiString from TCollection)
99 returns Boolean from Standard is redefined;
100 ---Purpose: Returns True, if there is a parameter <aparameter>
101 -- previously stored in the instance <me> and there is
102 -- the corresponding string in the output argument
103 -- <avalue>, False otherwise.
104
105 Value(me ; aparameter : CString from Standard ; avalue : out any Transient)
106 returns Boolean from Standard is redefined;
107 ---Purpose: Returns True, if there is a parameter <aparameter>
108 -- previously stored in the instance <me> and there is
109 -- the corresponding object value in the output argument
110 -- <avalue>, False otherwise.
111
112 Dump(me ; astream : in out OStream from Standard) is redefined;
113 ---Purpose: Useful for debugging.
114
115fields
116
117 thedefinition : FuzzyClass from Dynamic;
118
119end FuzzyInstance;