1 mike 1.2 class TestSP_Calc
2 {
3 [Key] uint32 kv;
4 };
5
6
7 [Description ( "Comments B" )]
8 class TestSP_Calc_Adv : TestSP_CALC
9 {
10 [key] uint32 kv;
11
12 [Static]
13 uint32 Add( [in] uint32 Left, [In]uint32 Right, [out]uint32 total);
14
15 uint32 Square([iN]uint32 base, [oUt] uint64 value);
16 };
17
18
19 // bug 52165 - [CodeGen] - Generated code should use single name for derived and base class properties in case of a name clash.
20 class TestBase
21 {
22 mike 1.2 Real64 v_real64;
23 };
24
25 class TestDerived : TestBase
26 {
27 Real64 v_REAL64;
28 };
29
30
31 // bug 50460 [CIMProvider] - Name of the EmbeddedInstance object in the qualifier is considered case sensitive while generating code
32 Class TestSP_Value_Instance
33 {
34 [key] uint32 kv;
35 };
36
37 class TestSP_EmbeddedProperty
38 {
39 [key] sint8 p_key_sint;
40 [emBeddedInstance("TestSP_VALUE_Instance")] string embeddedProperty = "TEST";
41 };
42
43 mike 1.2
44 // bug 53649 - stack overflow
45
46 class X
47 {
48 [static]
49 uint64 Foo(
50 [out, emBeddedInstance("X")] string embeddedProperty);
51
52 };
53
|