summaryrefslogtreecommitdiff
path: root/src/tests/eolian_cxx/generic.eo
blob: 72722a9c6cca6d231c65ccc9baf0b2ccf55d91df (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
import ecore_types;

class Generic (Eo.Base)
{
   legacy_prefix: null;
   data: Generic_Data;
   methods {
      @property req_ctor_a_value {
         get {
         }
         values {
            value: int;
         }
      }
      @property opt_ctor_a_value {
         get {
         }
         values {
            value: int;
         }
      }
      required_ctor_a {
         params {
            @in value: int;
         }
      }
      required_ctor_b {
         params {
            @in cb: Ecore_Cb;
            @in data: void*;
         }
      }
      optional_ctor_a {
         params {
            @in value: int;
         }
      }
      optional_ctor_b {
         params {
            @in cb: Ecore_Cb;
            @in data: void*;
         }
      }
      call_req_ctor_b_callback {
      }
      call_opt_ctor_b_callback {
      }
   }
   constructors {
      .required_ctor_a;
      .required_ctor_b;
      .optional_ctor_a @optional;
      .optional_ctor_b @optional;
   }
   implements {
      Eo.Base.constructor;
   }
}