1 | :h2 res=410
|
---|
2 | width=30%
|
---|
3 | .somGetClass
|
---|
4 | :link reftype=hd res=411
|
---|
5 | auto dependent group=2.
|
---|
6 | :p.
|
---|
7 | :link reftype=hd res=411.Syntax:elink.
|
---|
8 | .br
|
---|
9 | :link reftype=hd res=413 dependent.Returns:elink.
|
---|
10 | .*.br
|
---|
11 | .*:link reftype=hd res=314 dependent.Remarks:elink.
|
---|
12 | .*.br
|
---|
13 | .*:link reftype=hd res=315.Usage:elink.
|
---|
14 | .*.br
|
---|
15 | .*:link reftype=hd res=416 dependent.Example:elink.
|
---|
16 |
|
---|
17 | :h2 res=411
|
---|
18 | x=30%
|
---|
19 | width=70%
|
---|
20 | hide
|
---|
21 | group=2
|
---|
22 | .somGetClass - Syntax
|
---|
23 | :xmp.
|
---|
24 | /* Get the class object from an object */
|
---|
25 |
|
---|
26 | theObject /* Object for which the class is requested */
|
---|
27 | :p.
|
---|
28 | classObject=MFldrCallWPSFunc("somGetClass", theObject);
|
---|
29 | :exmp.
|
---|
30 |
|
---|
31 |
|
---|
32 | :h2 res=413
|
---|
33 | x=30%
|
---|
34 | width=70% height=35%
|
---|
35 | group=3
|
---|
36 | hide
|
---|
37 | .somGetClass - Return value
|
---|
38 | :p.
|
---|
39 | :hp2.classObject:ehp2. numeric
|
---|
40 | :p.
|
---|
41 | The return value is numeric. It's a pointer to the class object for the object
|
---|
42 | :hp2.theObject:ehp2.
|
---|
43 |
|
---|
44 | .******************************************************
|
---|
45 |
|
---|
46 | :h2 res=420
|
---|
47 | width=30%
|
---|
48 | .somGetClassName
|
---|
49 | :link reftype=hd res=421
|
---|
50 | auto dependent group=2.
|
---|
51 | :p.
|
---|
52 | :link reftype=hd res=421.Syntax:elink.
|
---|
53 | .br
|
---|
54 | :link reftype=hd res=423 dependent.Returns:elink.
|
---|
55 | .*.br
|
---|
56 | .*:link reftype=hd res=314 dependent.Remarks:elink.
|
---|
57 | .*.br
|
---|
58 | .*:link reftype=hd res=315.Usage:elink.
|
---|
59 | .*.br
|
---|
60 | .*:link reftype=hd res=416 dependent.Example:elink.
|
---|
61 |
|
---|
62 | :h2 res=421
|
---|
63 | x=30%
|
---|
64 | width=70%
|
---|
65 | hide
|
---|
66 | group=2
|
---|
67 | .somGetClassName - Syntax
|
---|
68 | :xmp.
|
---|
69 | /* Get the class name an object is an
|
---|
70 | instance of. */
|
---|
71 |
|
---|
72 | theObject /* Object for which the class name is requested */
|
---|
73 | :p.
|
---|
74 | className=MFldrCallWPSFunc("somGetClassName", theObject);
|
---|
75 | :exmp.
|
---|
76 |
|
---|
77 |
|
---|
78 | :h2 res=423
|
---|
79 | x=30%
|
---|
80 | width=70% height=35%
|
---|
81 | group=3
|
---|
82 | hide
|
---|
83 | .somGetClassName - Return value
|
---|
84 | :p.
|
---|
85 | :hp2.className:ehp2. string
|
---|
86 | :p.
|
---|
87 | The return value is the name of the class the object
|
---|
88 | :hp2.theObject:ehp2. is an instance of.
|
---|
89 |
|
---|
90 |
|
---|
91 | .******************************************************
|
---|
92 |
|
---|
93 | :h2 res=430
|
---|
94 | width=30%
|
---|
95 | .somGetname
|
---|
96 | :link reftype=hd res=431
|
---|
97 | auto dependent group=2.
|
---|
98 | :p.
|
---|
99 | :link reftype=hd res=431.Syntax:elink.
|
---|
100 | .br
|
---|
101 | :link reftype=hd res=433 dependent.Returns:elink.
|
---|
102 | .*.br
|
---|
103 | .*:link reftype=hd res=314 dependent.Remarks:elink.
|
---|
104 | .*.br
|
---|
105 | .*:link reftype=hd res=315.Usage:elink.
|
---|
106 | .*.br
|
---|
107 | .*:link reftype=hd res=416 dependent.Example:elink.
|
---|
108 |
|
---|
109 | :h2 res=431
|
---|
110 | x=30%
|
---|
111 | width=70%
|
---|
112 | hide
|
---|
113 | group=2
|
---|
114 | .somGetname - Syntax
|
---|
115 | :xmp.
|
---|
116 | /* Get the class name from an class pointer */
|
---|
117 |
|
---|
118 | theClass /* Class object for which the name is requested */
|
---|
119 | :p.
|
---|
120 | className=MFldrCallWPSFunc("somGetname", theClass);
|
---|
121 | :exmp.
|
---|
122 |
|
---|
123 |
|
---|
124 | :h2 res=433
|
---|
125 | x=30%
|
---|
126 | width=70% height=35%
|
---|
127 | group=3
|
---|
128 | hide
|
---|
129 | .somGetname - Return value
|
---|
130 | :p.
|
---|
131 | :hp2.className:ehp2. string
|
---|
132 | :p.
|
---|
133 | The return value is the name of the class
|
---|
134 | :hp2.theClass:ehp2..
|
---|
135 |
|
---|
136 |
|
---|
137 | .******************************************************
|
---|
138 |
|
---|
139 | :h2 res=440
|
---|
140 | width=30%
|
---|
141 | .somGetVersionNumbers
|
---|
142 | :link reftype=hd res=441
|
---|
143 | auto dependent group=2.
|
---|
144 | :p.
|
---|
145 | :link reftype=hd res=441.Syntax:elink.
|
---|
146 | .br
|
---|
147 | :link reftype=hd res=443 dependent.Returns:elink.
|
---|
148 | .*.br
|
---|
149 | .*:link reftype=hd res=314 dependent.Remarks:elink.
|
---|
150 | .*.br
|
---|
151 | .*:link reftype=hd res=315.Usage:elink.
|
---|
152 | .*.br
|
---|
153 | .*:link reftype=hd res=416 dependent.Example:elink.
|
---|
154 |
|
---|
155 | :h2 res=441
|
---|
156 | x=30%
|
---|
157 | width=70%
|
---|
158 | hide
|
---|
159 | group=2
|
---|
160 | .somGetVersionNumbers - Syntax
|
---|
161 | :xmp.
|
---|
162 | /* Get the class version from an class pointer */
|
---|
163 |
|
---|
164 | theClass /* Class object for which version is requested */
|
---|
165 | :p.
|
---|
166 | classVersion=MFldrCallWPSFunc("somGetVersionNumbers", theClass);
|
---|
167 | :exmp.
|
---|
168 |
|
---|
169 |
|
---|
170 | :h2 res=443
|
---|
171 | x=30%
|
---|
172 | width=70% height=35%
|
---|
173 | group=3
|
---|
174 | hide
|
---|
175 | .somGetVersionNumbers - Return value
|
---|
176 | :p.
|
---|
177 | :hp2.classVersion:ehp2. string
|
---|
178 | :p.
|
---|
179 | The return value is the major.minor version of the class for example :hp2.1.3:ehp2..
|
---|
180 |
|
---|
181 |
|
---|
182 | .***************************************************
|
---|
183 | :h2 res=710
|
---|
184 | width=30%
|
---|
185 | .somIsObj
|
---|
186 | :link reftype=hd res=711
|
---|
187 | auto dependent group=2.
|
---|
188 | :p.
|
---|
189 | :link reftype=hd res=711.Syntax:elink.
|
---|
190 | .br
|
---|
191 | :link reftype=hd res=713 dependent.Returns:elink.
|
---|
192 | .*.br
|
---|
193 | .*:link reftype=hd res=314 dependent.Remarks:elink.
|
---|
194 | .*.br
|
---|
195 | .*:link reftype=hd res=315.Usage:elink.
|
---|
196 | .*.br
|
---|
197 | .*:link reftype=hd res=416 dependent.Example:elink.
|
---|
198 |
|
---|
199 | :h2 res=711
|
---|
200 | x=30%
|
---|
201 | width=70%
|
---|
202 | hide
|
---|
203 | group=2
|
---|
204 | .somIsObj - Syntax
|
---|
205 | :xmp.
|
---|
206 | /* Check if an object pointer is valid */
|
---|
207 |
|
---|
208 | theObject /* Object to be checked */
|
---|
209 | :p.
|
---|
210 | bValid=MFldrCallWPSFunc("somIsObj", theObject);
|
---|
211 | :exmp.
|
---|
212 |
|
---|
213 |
|
---|
214 | :h2 res=713
|
---|
215 | x=30%
|
---|
216 | width=70% height=35%
|
---|
217 | group=3
|
---|
218 | hide
|
---|
219 | .somIsObj - Return value
|
---|
220 | :p.
|
---|
221 | :hp2.bValid:ehp2. numeric
|
---|
222 | :p.
|
---|
223 | The return value is numeric. It's 0 if the parameter isn't an object pointer.
|
---|
224 |
|
---|
225 |
|
---|
226 |
|
---|
227 |
|
---|
228 |
|
---|
229 |
|
---|